Versions Compared

Key

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

This page provides information about the ZDepth Render Element in V-Ray for Cinema 4D.

 


Overview

...

Section
Column
width57%
The Z-Depth Render Element is a grayscale image that renders each pixel based on its distance from the camera in the view. It 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. You can adjust this render channel so that objects (or portions of objects) closest to the camera appear as black, while those furthest away appear white or vice versa.

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, 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.

 


UI Path: ||V-Ray|| > Render Elements > ZDepth

 
Column
width5%


Column
width38%

Multiexcerpt include
MultiExcerptNameAddBackground
PageWithExcerptAtmospheric Effects RE

How to add a render element to a scene

...

Section
Column
width57%

Enable Deep OutputSpecifies whether to include this render element in deep images.

Depth from CameraSpecifies whether to use to 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 will render as black. 

Depth WhiteObjects further than this distance from the camera will render as white. 

Depth ClampClamps the Z-Depth colors to a linear 0-1 range.

Filtering – Applies an image filter to this channel.

Depth InvertInverts the colors of the Z-Depth render element. Objects closest to the camera render as white, while those furthest away are black.

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

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

 
Column
width5%


Column
width38%