Vray Batch Rendering


#1

Hi. Using Maya 2013 and Vray 2. The only way I know how to render out an animation is by using the render view window. Although this works and it does save the images to disk I would rather not have the render window open and would like to shut maya down as well to free up some ram.

How do I do this?


#2

An old article but it still does the job

http://www.jawa9000.com/Technical/batch/batch-rendering.htm

To use vray add in “-r vray” after render (without quotation marks)


#3

Example of a batch file:

“C:\Program Files\Autodesk\Maya2014\bin\render” -r vray -s 1 -e 45 -b 1 -x 1920 -y 1080 -cam persp -im ImageName -rd e:\Images\ e:\PROJECTS\ProjectName\scenes\File.mb


#4

I would like to keep it as simple as possible. The example above me is good but I’m looking for simpler. My scene has been saved with all the render settings I like. So what would the example be?

I would like to to load up this scene: D/Germany/scenes/main_road.mb and render to the images folder. All other settings are set up already in the render settings.


#5

Just remove the switches you don’t need, V-Ray will still read all settings from your scene.

(From memory) you may be able to get away with just this;

“C:\Program Files\Autodesk\Maya2014\bin\render” -r vray e:\PROJECTS\ProjectName\scenes\File.mb