Houdini 20.5 Nodes Copernicus nodes

Z Composite Copernicus node

Composites two layers by depth.

On this page

This operation does a depth-based composite of two images. This involves doing an Over blend with the pixel with lowest depth used as the foreground, and the one with a greater depth as the background.

Because ID layer can’t be mixed, this will output ID value of least depth.

Parameters

Signature

The layer type that the source accepts.

See Signatures for more information.

Inputs

bg

The layer used for the output size and resolution. Whether it is the background or foreground will depend on relative depth values.

bgdepth

The per-pixel depth of the background layer.

fg

The nominal foreground layer; it will be comped behind the background if its depth is greater, however.

fgdepth

The per-pixel depth of the foreground layer.

Outputs

result

The composited layer. The closest pixel will be comped in front of the farther pixel.

depth

A Mono layer with the combined depth.

See also

Copernicus nodes