Unified Sampling

 
 
 

When rendering using mental ray for Maya, you can select the Unified Sampling mode under the Sampling Mode attribute of the Quality tab of the Render Settings window.

With legacy sampling methods, you must adjust many different attributes to control your sampling, for example, Motion Blur Time Samples, shader samples, light samples, shadow samples, and Volume Samples. With Unified Sampling, however, you primarily only have to adjust the Quality slider. You can still make adjustments to shaders and lights when necessary, or increase the Max Samples if you see artifacts even after the maximum number of samples have been reached.

If you are loading a legacy scene (Maya 2013 and below), and you want to render with Unified Sampling, you should lower the local sampling settings on shaders and lights to their default values to avoid very long render times. Specifically, adjust the following:

The rendering time may be slightly longer than that of the legacy sampling methods, but the render result is much improved.

TipHair and fur renders may benefit from use of the Legacy Rasterizer Mode. Volume rendering may be slower when unified sampling is used. In this case, use the legacy sampling modes instead.

For more information regarding the Unified Sampling mode options, see Quality tab.

Unified sampling progressive mode for IPR

If you select the Unified Sampling mode, you can also enable progressive rendering for use with IPR rendering.

Progressive rendering begins with a lower sampling rate and then progressively refines the number of samples towards the final result. Follow these steps to enable the unified sampling progressive mode.

  1. Select Unified Sampling under the Rendering Settings: Quality tab, under the Sampling section, from the Sampling Mode drop-down list.
  2. Set Progressive Mode to IPR Only.
  3. (Optional) Set the Subsample Size to a larger value to initially undersample for a faster preview.
  4. (Optional) Set the Max Time to set the render time limit (in seconds). A setting of 0 denotes unlimited time.
  5. In the Render View, enable IPR > IPR Quality > IPR Progressive Mode.

Diagnostic framebuffers

You can generate a diagnostic framebuffer in the form of a diagnostic.exr file that includes the following channels:

To generate the diagnostic framebuffer

  1. Select Unified Sampling under the Rendering Settings: Quality tab, under the Sampling section, from the Sampling Mode drop-down list.
  2. Enable Diagnose samples under Sample Options.

To view the diagnostic framebuffer

  1. In the Render View window, select File > Load Render Pass > Diagnose samples to load the diagnostic.exr in imf_disp.

    Alternatively, the diagnostic.exr file is also located in the renderData\mentalray folder of your project directory.

  2. In imf_disp, select Layer > mr_diagnostic_buffer_* to view the various channels of the framebuffer.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License