Batch rendering your composite

 
 
 

You can batch render your render targets. In addition, you can use the Renderable flag on each render pass, render layer, or render target's Attribute Editor to determine whether it is also included in the batch render.

To include a render pass or render target or render layer in your batch render

  1. Double-click your render pass/target/layer in the Hypershade to open its Attribute Editor. Select the Renderable flag so that the pass/target/layer is rendered with your batch render.

You can also choose to perform only a 2D render or only a 3D render, or to do both.

To batch render only your render targets (2D) or the dependencies (3D)

  1. Select Render > Batch Render > to open the mental ray Batch Render Option window.
  2. Under Rendered Output, select among All Renderable, Render Targets Only and Omit Render Targets.

    By selecting All Renderable, all renderable dependencies and render targets are included in the batch render. Select Render Targets Only to perform a 2D render and render only the render targets. This option is ideal if you are satisified with your 3D renders and you are only tweaking your composite. Select Omit Render Targets to perform a 3D render and render only the renderable dependencies.

NoteThe Rendered Output option only appears in the mental ray Batch Render Option window if your scene contains render targets.
NoteThe SGI (rgb), PSD (psd), PSD Layered (psd), and Alias PIX (als) image output formats are not supported for render target rendering.

Command line rendering

You can use command line rendering to perform your batch render. Render flags that are the equivalent of the options: All Renderable, Render Targets Only, and Omit Render Targets are available. See Render from the command line and mental ray for Maya renderer command line renderer flags for more information.

Render output

After selecting Render > Batch Render, a separate folder is created for each render layer in your images directory. Your render target output is saved to the masterLayer folder if its renderLayer input is either not connected, or connected to the masterLayer (in other words, defaultRenderLayer). If you've connected a different render layer to the render target renderLayer input, then the render target output is saved to the folder for that layer.

Rendered image filename options

Use render tokens to customize the filenames of your render output. Use the <RenderPass> token to add your render target name to the created subfolder or image file name.

For instance, in the example above, using a Filename prefix of <RenderLayer>\<RenderPass>\ will create separate folders for each render layer as well as separate folders for each render pass and the render target. The render target folder is saved to the masterLayer folder.

NoteThe <RenderPass> token serves two purposes: it adds the the pass name to the subfolder/image file name when rendering straight render passes, and it adds the render target name to the subfolder/image file name when rendering a pre-compositing graph.