Batch rendering 102

Report this File

Lg_code

Views:

12,711

Updated:

Jun 09, 2009

Readership Level:

Intermediate

Tags:

Maya Versions:

4.x, 5.x, 6.x, 7.x, 8.x, 2008, 2009

Platforms:

windows

Owner:

Language:

English

Batch Rendering 102:
If you are new to batch rendering I suggest you have a look at my step-by-step tutorial here:

Rendering several maya scenes and cameras

The following tutorial is to answer the most common questions I am e-mailed regarding batch rendering

How do I make the batch renderer use Mental ray
While you can code any rendering aspect you care for in the batch renderer in general it is often easier to just set up your scene in maya and select file output, size, quality ect all in mayas render globals before you save your scene...but by default Maya uses its native Maya software rendering engine even if your scene is set to mental ray, to specify mental ray you need to add in:


How do render a file if my .bat file is not in the same folder

The whole point of batch rendering is to render a number of scenes one after the other while you sleep and most often those scenes will be saved in various project folders.

To set the project where maya will find the file :


How do I specify a folder for the rendered image

This is where maya needs to place the rendered images


Give an example of a typical simple command line

A typical command line to render a specific project and place the rendered image in a specific folder:
click for larger version

Where would you save your .bat file ?
You can save it anywhere you like, personally I keep it on the links windows tool bar for easy access. When I am standing up from my desk for a meeting, lunch or to clock off, I just click it and walk away. To stop the batch render just turn off the dos window..

click for larger version


happy rendering,
Andrew Kerr
www.andrew.kerr.name
Dotnamestudios -lead



Comments

Dashboard_avatar
Jun 15, 2009
Post id: 4989
Report this comment to moderators [SPAM]

thank you it was really helpfull!!!

Dashboard_avatar
Oct 13, 2009
Post id: 8748
Report this comment to moderators [SPAM]

you can also render with the frame you want to render the code is just -s(is for start) -e(is for end) e.g.
Render -r mr -s 1 -e 100 -rd -project D:\tRex_tarbosaurus\3d D:\tRextarbosaurus\3d scenes_mb\RenderAttackneck.mb

you can find a further tutorial like in:
http://www.jawa9000.com/Technical/batch/batch-rendering.htm

but i think just use the plug in that you can in http://www.creativecrash.com/maya/tutorials/rendering-lighting/c/batch-tool-for-rendering-and-file-processing i think is a lot easier to use.

Write a Comment

You must be logged in and have verified your email address to leave a comment. Login or create an account