Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
Column
width60%

Cryptomatte is a method developed by Psyop for efficiently encoding accurate mattes. It typically uses three to five automatically generated render channels stored in a multichannel OpenEXR file which removes the hassle of creating dozens or hundreds of Multimattes. Using the Cryptomatte plugin for NUKE or Fusion, mattes can be extracted through directly picking objects or entering object names.

Compared to the Multimatte Render Element, Cryptomatte offers the following:

Fancy Bullets
typecircle
  • Does not require a setup with object IDs, etc.
  • Only requires a fixed number of additional render elements, typically four.
  • Cannot be propagated through reflections or refractions.
UI Text Box
typenote

With V-Ray 5, update 2, the Cryptomatte Render Element works with Progressive Image Sampler as well.

UI Text Box
typenote

The Cryptomatte Render Element supports reading of Multi/Sub-Object materials.

UI Expand
titleUI Path: ||Render Setup window|| > Render Elements tab > Add button > VRayCryptomatte

 

Column
width5%
 
Column
width35%

Image RemovedImage Added

 

Parameters

...

Section
Column
width60%

This render element is enabled through the Render Elements tab of the Render Setup window in 3ds Max and displays its parameters in a rollout at the bottom of the window:

VRayVFB – When enabled, the render element appears in the V-Ray Frame Buffer.

Deep output – Specifies whether to include this render element in deep images.

ID type – Specifies how the ID mattes are determined.

Node name – Creates mattes by node names.
Node name with hierarchy – Creates mattes by node names and takes the node hierarchy into account for linked or grouped objects.
Node material name – Creates mattes based on the materials in the scene.
Node user property – Creates mattes from a property specified in the Node user property field. 
Layer name – Creates mattes based on the layer names in the scene.

Num levels – Specifies the number of levels for the render element, which determines the number of objects that can be distinguished per pixel. If multiple objects intersect at a single pixel, higher-order elements contain non-zero results. The default value of 6 is normally enough for most cases.

Node user property – Specifies a user-defined property for creating ID mattes when ID type is set to Node user property.

Column
width5%

 

Column
width35%

 

 

Common Use

...

After producing a multichannel exr image with the Cryptomatte layer, we can use it in a compositing application, such as Nuke, to color correct the image. This example shows the before and after color correcting.

Before after
darktrue
Panel
borderStylenone

Image Added

Panel
borderStylenone

Image Added

 

References

...

Fancy Bullets
typecircle