Object-specific mental ray attributes - Attribute Editor

 
 
 

Find this section in the selected object’s shape node. Expand the mental ray section of the shape node’s Attribute Editor to see these options.

mental ray

The following options are on by default: Visible In Transparency, Transmit Transparency, Trace Reflection, Transmit Refraction, Final Gather Cast, and Final Gather Receive.

In most cases, you want to leave these options on. For example, you want transparency and refraction rays to be transmitted through your object, or you want reflection rays to reflect through your scene several times.

In some cases, however, you may want to customize your scene by switching off one or more of these options. Refer to the descriptions below for the effects that can be obtained by unchecking each of these attributes.

Visible In Transparency

Uncheck this option so that the object is not be visible if behind a transparent object.

Transmit Transparency

Uncheck this option so that transparency rays do not transmit through the object and treats the object as if it were opaque.

Trace Reflection

Uncheck this option so that reflection rays stop immediately after they hit the object instead of bouncing in a scene several times.

Transmit Refraction

Uncheck this option so that transparency rays are transmitted through the object but refractive rays are not. Use in conjunction with Refractive Index under the Raytrace options section of the object’s shader node.

Final Gather Cast

Uncheck this option so that object does not contribute any light to final gather.

Final Gather Receive

Uncheck this option so that object does not receive any final gather light.

Note

Areas surrounding the selected object may appear darkened or shadowed even if both Final Gather Cast and Final Gather Receive are unchecked for the object. This effect occurs because although the object does not contribute any light to final gather, final gather rays still hit the object and interpret the object as dark.

Render Proxy

Select your render proxy .mi file to render your render proxy instead of your base geometry placeholder.

For each instance of your base geometry, you can make the selection between rendering the base geometry or replacing it with the render proxy. Use the per-instance Renderable flag. See Renderable for more information.

Bounding Box Update

Proxy and geometry bounding boxes

Update the placeholder object with both the render proxy bounding box attributes and the render proxy geometry. This is the default.

Proxy bounding box only

Update the placeholder object with only the render proxy bounding box attributes but not the render proxy geometry.

Geometry bounding box only

Update the placeholder object with only the render proxy geometry but not the render proxy bounding box attributes.

None

Does not update the placeholder object.

Anti-aliasing Sampling Override

Use the Min Sample Level and Max Sample Level attributes to set the range of samples used for the selected object. Note that the min and max sample level values set for each object are bound by the global min and max sample level values. See Anti-Aliasing Quality for more information regarding the global sample level values.

Min Sample Level

This is the object specific minimum number of samples per pixel used when processing an image. This value is clamped to the global min sample level value. For example, if the object specific min sample level is set to -1 and the global min sample level is set to 1, then the global setting of 1 will be used. Based on the Anti-aliasing Contrast (adaptive) settings, mental ray for Maya will increase these samples as needed.

Max Sample Level

This is the object specific maximum number of samples per pixel used when processing an image. This value is clamped to the global max sample level value. For example, if the object specific max sample level is set to 3 and the global max sample level is set to 2, then the global setting of 2 will be used.

Rasterizer Shading Quality Override / Shading Quality

This attribute controls the rasterizer’s shading samples on a per-object basis. See Render Settings: mental ray tabs for more information about the rasterizer.

Final Gather Override

When on, the object overrides the global final gather settings that you have set in the Render Settings window.

Final Gather Rays

Controls how many rays are shot in each final gathering step to compute the indirect illumination. The default is 1000 per sample point, but this tends to be high for test renders (renders can take hours). Test rendering at lower values, usually 100 or 200, is sufficient; higher values are required for final renders. Increasing the value reduces noise but also increases the rendering time.

Min Radius, Max Radius

Max Radius and Min Radius control the size of the sampling region within which Final Gather rays search for irradiance information from other surfaces.

With the default values, Maya calculates values that seem appropriate based on scene dimensions to speed up the render, but this calculation doesn’t allow for complex geometry. Generally, enter a value that is 10% of scene’s overall dimension for the Max Radius, then enter 0.0 for Min Radius. Make further adjustments based on scene geometry detail, how the geometry is arranged in the scene, and how the render looks. For example, use smaller radii to achieve better detailing in nooks and crannies in your scene.

View (Radii in Pixel Size)

This option causes the Min Radius and Max Radius of final gather rays to be calculated in pixel size, rather than in object space. This allows you to set the visual quality in pixel size, without knowing the object or scene bounds.

Filter

Use this to control how Final Gather uses a speckle elimination filter to prevent samples with extreme brightness from skewing the overall energy stored in a Final Gather sampling region.

Neighboring samples are filtered so that extreme values are discarded in the filter size. By default, the filter size is 1. Setting this to 0 disables speckle elimination, which can add speckles but will better converge towards the correct total image brightness for extremely low accuracy settings. Size values greater than 1 eliminate more speckles and soften sample contrasts. Sizes greater than 4 or so are not normally useful.

Global Illumination Override

When on, the object overrides the global global illumination settings that you have set in the Render Settings window.

Global Illum Accuracy

Change the number of photons used to compute the local intensity of global illumination. The default number is 64; larger numbers make the global illumination smoother but increase render time.

Global Illum Radius

Controls the maximum distance at which mental ray for Maya considers photons for global illumination. When left at 0 (the default), mental ray for Maya calculates an appropriate amount of radius, based on the bounding box size of the scene. If the result is too noisy, increasing this value (to 1 to start, then by small increments up to 2) decreases noise but gives a more blurry result. To reduce the blur, you must increase the number of global illumination photons (Global illumination Accuracy) emitted by the light source.

Caustics Override

When on, the object overrides the global caustics settings that you have set in the Render Settings window.

Caustic Accuracy

Controls the number of photons used to estimate the caustic brightness. The default is 64. Higher settings (up to 100 to start, tested in small increments) larger numbers make the caustic smoother.

Caustic Radius

Controls the maximum distance at which mental ray for Maya considers photons for caustics. When left at 0 (the default), mental ray for Maya calculates an appropriate amount of radius, based on the bounding box size of the scene. If the result is too noisy, increasing this value (to 1 to start, then by small increments up to 2) decreases noise but gives a more blurry result. To reduce the blur, you must increase the number of caustic photons (Caustic Accuracy) emitted by the light source.

Override Maximum Displace

When on, the object overrides the global Max Displace settings that you have set in the Render Settings window.

Maximum Displace

Specifies the maximum displacement applied to object control points in a normal direction. This provides control over the otherwise automated displacement range to better focus tessellation where most needed. Set this value if you have any displaced objects in your scene. See Max Displace for more information.

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