Your Ad Here

Appendix B: Creating camera output passes with mental ray for Maya

You can obtain advanced control over the lighting and color values in your scene by creating camera output passes. Using this method, you can isolate the color information into separate passes, for example, RGBA in 8 bit.

To create camera output passes

  1. Create a camera.
  2. In the camerashape node Attribute Editor, expand the mental ray section.
  3. Expand the Output Passes section and click the Create button to create your first output pass. The mentalrayOutputPass node appears.

  1. In the Attribute Editor for the mentalrayOutputPass node, select the type of color information that you would like to output from the Data Type drop-down list. Enable the File Mode attribute and enter the Image Format and the File Name of your first output pass.

Repeat as necessary to create multiple output passes.

For each output pass, the output pass filename is appended to the scene render filename set in the Render Settings window. See Step 6 for more information.

  1. Open the Render Settings window. Enter a filename for the scene render output. In the Renderable Cameras section, select the camera for which you created your output passes.

  1. Batch render your scene.

Your render output includes one image for your scene and one image for each of your output passes. For each output pass, the output pass filename is appended to the scene render output filename.

For example, if you create two output passes, with the filenames output_pass_1 and output_pass_2, and your scene render file name is scene_render, then your batch render output will include the following images: scene_render, scene_render_output_pass_1 and scene_render_output_pass_2.

 

Return to Autodesk Index


Your Ad Here