Houdini 20.5 Nodes Copernicus nodes

Layer Copernicus node

Generates a Layer.

On this page

This operation creates a layer. A layer is a 2d array of pixels, of Mono, UV, RGB, RGBA or ID values.

Often explicit Layer COPs are unnecessary - the default project settings will be used instead. But if you wish specific resolutions, precisions, or other options, an explicit Layer COP can be used as the input to size_ref.

Parameters

Signature

Controls what sort of layer to generate.

Value

The value to initialize Mono layers.

Value

The value to initialize UV layers.

Color

The value to initialize RGB layers.

Color

The value to initialize RGBA layers.

Value

The value to initialize ID layers.

Resolution

Set an explicit resolution. This is the number of pixels to make the layer. The actual number of buffer elements may be higher or lower depending on Pixel scale.

Pixel Aspect Ratio

Usually pixels have a square shape in display windows. Overriding this can create anistropic pixels.

Pixel Padding

Pixel Padding

The provided resolution will fit the display window. This will further expand or erode the data window to allow overscan or cropping effects.

Left/Right

Adjustments for left and right of the data window.

Top/Bottom

Adjustments for top and bottom of the data window.

Precision

Explicitly set the precision of the layer. 16-bit takes twice the memory of 8-bit, and 32-bit twice the memory again. Note that 16-bit floats lack enough precision for nice derivatives, so if doing height workflows you likely want 32-bit.

8-bit is only supported for ID layers.

Border

The behaviour of the layer when operations read outside of its data window.

Constant

Treat the border as zero, with the boundary interpolating to balck.

Clamp

Clamp boundary values steraking them outwards.

Mirror

Reflect along the boundaries.

Wrap

Wrap to the opposite boundary.

Type Info

When enabled, changes the layer’s type info. This controls the visualization of the layer in the 3D viewport.

See the Copernicus glossary for a description of type infos.

Pixel Scale

Adjust the pixel scale of the layer. This is the number of pixels that will fit across one buffer element. Thus a value of 2 would mean a 640x480 image would have only 320x240 buffer elements to store the data. This allows fast proxy cooking without changing measurements that are specified in pixels.

Inputs

size_ref

A representative layer that determines the size of the output image and controls the metadata.

Outputs

layer

A constant layer of the provided dimensions.

See also

Copernicus nodes