View Full Version : Command Line Batch Render Uses Wrong Renderer
LavenPillay 07-10-2007, 12:48 AM Firstly, the batch render does not work from inside Maya (for this scene).
So this is the set of flags i used at the command line :
render -r sw -x 640 -y 480 -cam persp -im prepare -of iff -s 0 -e 90 -b 1 -pad 3 -alpha on -eaa 0
and this is the output
Starting "E:\Apps\_Graphics\Maya8.5\bin\mayabatch.exe"
mental ray for Maya 8.5
mental ray: version 3.5.6.7, 22 Nov 2006, revision 19663
mental ray: mental ray for Maya - startup done
File read in 0 seconds.
Result: ./animation_test.mb
Scene animation_test.mb completed.
As you can see, it tried using mentalray despite me specifying to use Sofware. And thats all it did.
Any ideas why it would do that ?
| |
SirRender
07-10-2007, 03:10 AM
That does not mean that it is using mental ray for rendering, but just checking to see if mental ray license is properly installed (which normally it is if you have your Maya license running properly). This check always occurs when you command line render.
If you want to render a maya scene, lets call it renderMe.mb, with the default render (sw), camera (persp), file format (iff), alpha (on), and start & end frames (set in your render globals) do this:
1. Run CMD prompt.
2. Navigate to the scene folder of where renderMe.mb would live (Maya project directory)
3. Type the following exactely at the prompt:
Render renderMe.mb (ofcourse you should type your particular scene name)That's it. It will use default settings that I mentioned above, plus the padding, frame size, start & end frames are you have chosen in your render globals.
By the way. The internal Maya Batch render should also work, which leaves me to believe that there is something else going on with your scene file. Hard to diagnos without actually seeing the file.
LavenPillay
07-10-2007, 09:05 AM
Thanks for the replay SirRender.
I'm not sure either what the deal is but i tried exporting the contents of the scene and importing it into a new one, and then it worked.
At a guess I'd say it was something to do with the cameras, cos in one attempt it mentioned something like "found perspShape" but didnt do anything.
But its sorted for now. If you're really curious I can mail you the file for investigation. I'm sure figuring out why would help other newbies.
Thanks again.
CGTalk Moderation
07-10-2007, 09:05 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2009, Jelsoft Enterprises Ltd.