PDA

View Full Version : Mental Ray Batch Render with .bat file


jedijrmax
04-25-2005, 03:35 PM
Hey everyone,

I tried searching this site, and I found information about Mental Ray Batch Renders, but it seems as if they are all executed through the maya gui.
I am trying to understand how to write a .txt file (to save as a .bat) so that I can run that file and start a render.

As an example, this is what I would write to do the same thing with the original Maya renderer:

render -n 0 -s 1 -e 3 -im new_file_name -rd F:\student_folder Mayafile01.mb
render -n 0 -s 1 -e 30 -im new_file_name_cam1 -cam cameraname01 -rd F:\student_folder Mayafile01.mb
render -n 0 -s 200 -e 300 -im new_file_name_cam4 -cam cameraname04 -rd F:\student_folder Mayafile03.mb
xcopy F:\student_folder F:\student_homespace\renders /i /s /y


But the problem is, is that, I have no idea how to write all of that for a Mental Ray render. Does anybody know how or can anybody point me in any direction?

Thanks in advance!

~Jeff

jedijrmax
04-25-2005, 03:41 PM
** As an update


I did find another thread through more searching on this site, but it doesn't seem that there was any definite answer.

And I don't know if this matters, but this is all just for my personal computer. I am not rendering over any type of network.

_John_
04-28-2005, 08:16 PM
to specify mental ray as the renderer , use the "-r mr" flag

so it gives you "render -r mr"

Others flags are nearly the same ( -rd -im etc.. ) , but take a look at the help
with "render -r mr -h"

enjoy :)

CGTalk Moderation
04-28-2005, 08:16 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.