Houdini 20.5 Nodes Copernicus nodes

Cryptomatte Encode Copernicus node

Encodes a coverage and object hash into a cryptomatte layer.

On this page

The Cryptomatte format represents a canonical way to pack object IDs and coverage information into 32-bit RGBA layers. This operation will pack a Mono layer for coverage and ID layer for the ID.

Note

The integer ID layer is the result of a hash on the original human readable name, so processing this directly will require knowledge of the hash values. This can be done either be re-hashing using the standard hash, or by looking at the EXR metadata where the hash values are stored explicitly.

Cyrptomattes usually have multiple RGBA layers that need to be read together to gain access to all the coverage values, but this operation packs just one of them.

Inputs

id_a

The hash value of the first object.

cov_a

The coverage of the first object.

id_b

The hash value of the second object.

cov_b

The coverage value of the second object.

Outputs

crypto

An RGBA cryptomatte layer.

See also

Copernicus nodes