Houdini 20.5 Nodes Copernicus nodes

Fill Copernicus node

Fills a layer with a constant value.

On this page

This operation fills the layer with a constant value, possibly restricted by the provided mask. The main difference with the Constant COP is the value to fill can come from an input layer.

Parameters

Signature

The layer type that the source accepts.

See Signatures for more information.

Mask

The amount of the new value to mix in with the original value. Higher values mix in more of the new value. Lower values mix in less of the new value. You can also set the RGBA channels to which you apply the effects of this node.

The default value is 1, which means this node uses only the new value. See Mask for more information.

Source

The source of the color to fill with.

Value

The provided integer id will be used for ID layers, and the provided color will be used for other layers.

Image Location

A specific location in the input image will be used. This is specified in image coordinates.

First Pixel

The very first valid pixel in the input, which is the bottom left value, is used. This is useful to blast out the result of a prefix sum.

Last Pixel

The very last valid pixel in the input, which is the top right value, is used. This is useful to blast out the result of a prefix sum.

Color

The color to fill Mono, UV, RGB, and RGBA layers when in Value mode.

ID

The integer to fill ID layers when in value mode.

Image Location

The image location to extract the colour of the input. If fillvalue is provided, that layer is used. Otherwise the source input is used.

Inputs

source

The layer to fill with new values.

fillvalue

A layer to use as a source for the color to fill. If not wired, the source is used instead.

mask

An optional per-pixel mask amount that’s scaled by the Mask parameter.

Outputs

fill

The source layer filled in according to the mask.

See also

Copernicus nodes