Houdini 21.0 Nodes Copernicus nodes

Convert Depth Copernicus node

Converts depth layers between height, depth, and distance.

On this page
Since 21.0

This node converts depth layers. A Depth map stores the distance to the eye perpendicular to the imaging plane, where all the pixels have the same depth value. A Distance map stores the Euclidean distance of the pixel to the eye, where the corners are farther from the eye than the center. A Height map stores the offset from the image plane towards the eye, which matches how heightfields work so it’s easily visualized.

Parameters

Source Space

The incoming layer’s depth type.

Depth

The input is a perpendicular distance to the eye. Zero values are taken to represent missed rays.

Distance

The input is a Euclidean distance to the eye. Zero values are taken to represent missed rays.

Height

The input is a heightfield where distances are offset from the image plane in the direction of the eye.

Dest Space

The outgoing layer’s depth type.

Depth

The output is a perpendicular distance to the eye.

Distance

The output is a Euclidean distance to the eye.

Height

The output is a heightfield where distances are offset from the image plane in the direction of the eye. The output type info is set to height to allow for visualization.

Zero Depth Value

The set depth for zero depths and distances. Zero depths and distances represent a missed ray, so are at an infinite distance. They require a specific value when you convert to a heightfield.

Inputs

depth

The layer that represents the incoming depth.

Outputs

depth

The layer that provides the converted depth.

See also

Copernicus nodes