Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
Column
width62%

The Z-Depth Render Element provides information about each object's distance from the camera in the current view. Each pixel representing the object is evaluated for distance individually; different pixels for the same object can have different grayscale values. In this render element, objects (or portions of objects) closest to the camera appear as black, while those furthest away appear white. Objects between the furthest and nearest points are rendered in varying shades of gray. The darker the gray, the closer an object pixel is to the camera.

The most common usage of the Z-Depth Render Element is as a control for depth of field in the composite. Depth of field can be challenging to do correctly within Maya, requiring many tweaks and re-renders; using the Z-Depth Render Element in a composite is usually much faster, and allows easier and faster adjustment than trying to get it exactly right within the render from Maya.

UI Text Box
typenote
Specific objects can be excluded from this Render Element by disabling the Generate Render Elements option in the VRayObjectProperties node for the selected object(s).
UI Expand
titleUI Path: ||Display Render Settings button|| > Render Elements tab > Z-depth
Section
Column
width25%

Column
width50%

Multiexcerpt include
MultiExcerptNameRE
PageWithExcerptRender Elements
 

Column
width25%

 

 

To use render elements, select from the Available render elements column and click the Add button to add the passes you wish to generate at render time. When you render the scene, the added render elements listed in the column on the right, will also render, which can be viewed from the VFB window's channel drop-down menu.

For more information on the parameters on this dialog, see the Render Elements tab page.

Column
width5%

 

Column
width33%

...

Section

The parameters for this render element appear in the Attribute Editor under Extra V-Ray Attributes.

Column
width62%

Enabled – When checked, the Z-Depth pass appears in the V-Ray Frame Buffer.

Deep Output – Specifies whether to include this render element in deep images.

Use Depth From The Camera – Specifies whether to use to the camera clip boundaries as the minimum and maximum Z-Depth distance. Enabling this option disables the Depth Black and Depth White parameters.

Depth Black – Objects up to this distance from the camera render as black. This option is available only when Use Depth From The Camera is disabled.

Depth White – Objects further than this distance from the camera render as white. This option is available only when Use Depth From The Camera is disabled.

Depth Clamp – Clamps the Z-Depth colors to a linear 0-1 range.

Filename Suffix – The text added to the end of the rendered file, when saved as a separate file (e.g. myrender.zDepth.vrimg).

Filtering – Applies the image filter to this channel. Image filter settings are in the Image Sampler rollout in the VRay tab of the Render Settings.

UI Text Box
typeinfo

When using the Progressive image sampler, even if disabled, Filtering will affect this render channel. 

Don't Filter Environment – When enabled, only outlines of overlaying objects are filtered. When Filtering is enabled and Don't Filter Environment is enabled, pixels bordering scene objects and the environment remain unfiltered, while pixels bordering different objects are still filtered.

Force Black At Infinity - When enabled, overrides the infinity color, turning it black. Everything beyond the Depth White amount (if not using Depth From The Camera) is the infinity color.

Column
width5%

 

Column
width33%

 

...