silhouette-2024.5 : Nodes : Cryptomatte
Cryptomatte
Description
Cryptomatte is a tool created at Psyop by Jonah Friedman and Andy Jones designed to create ID mattes using organizational information available at render time. Cryptomatte generated images are very colorful, assigning each layer or shape a different random color.
In Silhouette, Roto shapes and layers are automatically assigned an ID and rank with layers and shapes being two entirely different sets of Cryptomatic data. Each layer gets its own ID based on its layer name while shapes get their own ID based on their shape name and layer hierarchy.
When the Roto > Data output is connected to the Data input of a:
Cryptomatte node: The Cryptomatte data is displayed with each layer or shape as a different color.
Output Multi-Part node: The Cryptomatte layer and shape data are written into their own EXR channels at render.
The Roto layers/shapes in the rendered Cryptomatte EXR file can then be selectively turned on or off in other products that support Cryptomatte like Nuke and After Effects.
See Cryptomatte for more information.
Go to the Cryptomatte tutorial to see how it works.
Node Group
Key.
Controls
Type
Determines whether layer or shape Cryptomatte data is displayed.
Layers
Displays layer Cryptomatte data.
Shapes
Displays shape Cryptomatte data.
Using Cryptomatte
Creating
Roto layers and shapes are automatically assigned an ID and rank with layers and shapes being two entirely different sets of Cryptomatic data. Each layer gets its own ID based on its layer name while shapes get their own ID based on their shape name and layer hierarchy.
Visualizing
The Data output of the Roto node passes the Cryptomatte data through the Data input of the Cryptomatte node for display. The different layers/shapes are each colored a different hue.
Rendering
The Data output of the Roto node passes the Cryptomatte data through the Data input of the Output Multi-Part Data input where layer and shape Cryptomatte data are written into their own EXR channel.