PDA

View Full Version : How do I make a linux batch render file?


DBretodeau
02-10-2006, 03:29 AM
I know how to make a .bat executable batch file for Maya 7 on Windows.

How do I do this for Maya on Linux?

magsnus
02-10-2006, 04:02 PM
put this command in a text file, name it batch_file for example
render -r mr file.mb
or
render -r sw file.mb for software
then type
chmod u+x
in the command line and execute it with the command:
./batch_file
You can put as many lines of render commands in the file as you have files to render, then it starts spitting them out. The tag after -r specifies what renderer to use, mr for example is mental ray and sw is software, you have the different options if you type, render -help

Best of luck!

eddgarpv
02-10-2006, 04:22 PM
If there's an error use 'Render' instead. Unless you have an alias for 'Render' (or symbolink) that won't work.

CGTalk Moderation
02-10-2006, 04:22 PM
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.