Help - Search - Members - Calendar
Full Version: Render All Renderable Cameras
Board Index > 3D Forums > Maya Boards > Rendering/Lighting/Shading
pootang
Hi,

I have 75 cameras in my maya scene. Rendering with maya renderer. How can I run a batch render that will render all my cameras, rather than making a maya scene for each. I thought maybe generate a mel script that will launch batch renders, setting the camera to each of my cameras one after the other. But its far from ideal.

Thanks loads.
gmask


In any version you can simply enable rendering for each camera and they will all render with one render command.

you could also specify which camera you want to render on the command line with the -cam flag

in newer version of maya you can easily add additional cameras in the render settings

which version of maya are you using?
pootang
Using 2008. In previous versions I remember it automaically rendered all renderable cams. But that doesn't seem to happen in 2008. I don't particularly want to send it all to command line if I can help it.


QUOTE(gmask @ 11/03/08, 11:01 AM) *
In any version you can simply enable rendering for each camera and they will all render with one render command.

you could also specify which camera you want to render on the command line with the -cam flag

in newer version of maya you can easily add additional cameras in the render settings

which version of maya are you using?

gmask
QUOTE(pootang @ 11/03/08, 01:02 PM) *
Using 2008. In previous versions I remember it automaically rendered all renderable cams. But that doesn't seem to happen in 2008. I don't particularly want to send it all to command line if I can help it.



It still does.. any camera that has renderable checked in it attributes will be rendered.

you can use this script to enable the selected cameras to be renderable.

CODE
for($n in `ls -sl -l`){
setAttr ($n+".renderable") 1;
}
pootang
OK...I did of course have all those cameras set to renderable. hats why I was puzzled as to it not working. However, running that little bit of mel fixed it :-) I guess maybe they all displyed as renderable, but weren't....a maya bg or something. So thanks LOADS, you fxed it :-)

Cheers

QUOTE(gmask @ 11/03/08, 01:24 PM) *
It still does.. any camera that has renderable checked in it attributes will be rendered.
you can use this script to enable the selected cameras to be renderable.

CODE
for($n in `ls -sl -l`){
setAttr ($n+".renderable") 1;
}

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.