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
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
