Not as in “how do I use it”, but “how does it work technically”?
Using something like Render ID also creates a shade of color per ID, but doesn’t support blending colors (aa, motion blur, dof), since you wouldn’t be able to accurately isolate the colors at the edges as they mix with each other. What does cryptomatte do to get around this? It’s still just an image file with RGB values right?
first render a scene with VRAY 3.6 with cryptomatte render element
Important: you have to write the EXR from the V-Ray raw image in the framebuffer rollout in V-Ray tab in the render setup dialogbox, don’t try to save direct from the VFB that does not work.
1) install FUSION 8.x
2) get the cryptomatte file on the GitHub
3) copy
- lmurmurhash3.lua
- simplejson.lua
- struct.lua
to C:\Program Files\Blackmagic Design\Fusion 8
4) copy
- cryptomatte.fuse
to C:\Program Files\Blackmagic Design\Fusion 8\Fuses
5) Start Fusion
6) create a loader and load your EXR, copy this loader to have two
7) In the first loader right click and select insert tools / cryptomatte / cryxptomatte (this will change automatically the channel assignement of your loader, without that nothing is working )
8 ) Assign the cryptomatte1 node/tile to one of the fusion viewport
9) Then move the small red axis to the object you want to matte and click the Add button
10) Your object is selected with correct AA
11) Now add an effect to the second loader for exemple colorcorrect (rightclick - insert tools / color/ colorcorrector)
12) Set some color correction for test in ColorCorrector1
13) Then add the output of the cryptomatte to “ColorCorrector1.effect mask”
14) Assign the ColorCorrector1 to one of the fusion viewport
You got it your object is color corrected with perfect AA
Now you can play with the Cryptomatte1 to add more object to your mask