Does Crytomatte work in non EXR (32 bit) files?

Tried using the Cryptomatte render element in After Effects using their Cryptomatte plugin and nothing came in.

Does this mean that I can’t use it for a PNG sequence?

If this is true, what are my only other options? Multimatte?

I forgot to mention to that I’m trying to mask out different objects in my render sequence.

Cryptomatte is designed for multi-channeled images. Either of the other matte render elements should work for you.

EDIT:
Not saying it won’t work - it will as an integer-colored image, however, you won’t benefit from the mask selection functionality.

I sometimes save out a Cryptomatte from the frame buffer as png and use that in photoshop. or key out in animation in After Effects as png sequence.

Thanks.

I’m now trying a material wrapper to mask to get the alpha I need.

Any idea of how to get rid of this blackness around my masked layer in AE? I’ve tried the interpret footage settings (Ignore, Straight, Premultiplied) and no luck.

I rendered out the dome light sky as a separate layer in Maya while making it invisible in the ship render layer.​

Was the ship render layer’s background black? This usually happens when it’s not.

Yeah. I had the dome light marked invisible. So I should render everything and just use a multimatte or Cryptomatte (if doing EXR)?

Edit: I just tried the renderid and Cryptomatte and everything is aliased (jagged) how do I get around that if I want to use these in After Effects?

So I tried Cryptomatte and saved a test image out as an EXR and I can’t extract a semi-transparent object (some Phoenix FD smoke).

Any ideas why this is happening?

Simply adding a VRayCryptomatte, rendering, and saving to a multi-channeled image format should do the trick.

There is no antialiasing with the Render ID Render Element.

Are you rendering with V-Ray GPU? Because it’s not yet supported. Check all the supported elements here.

I’m rendering with CPU and bucket.

The black issue around the object can be many things. Do you mind posting the multi-exr you rendered here so I can take a look, 1 frame is enough. It can be an issue of premultiplciation. If you have an option to unpremultiply the mask in the cryptomatte selector, then try that.

It’s because I was rendering out my shot with the Sky Dome set to invisible.

How do you save out a Cryptomatte mask as PNG?

Sorry I meant jpg

Either way, how do you do this?

To help in photoshop comps I save out from the frame buffer the crytptomatte as jpg
Select cryptomatte in the drop down list in the VFB save as jpg.

This is what I get when I save the cryptomatte channel as JPG (see below). How do I use this given that the edges are not anti-aliased? I am looking for a way to save out the black and white mask that you see when you use the “show preview when selected” option.

If comping in photoshop you’d need to save out as multi exr and use the plugin @ exr-io.com/
This can split out all you mattes into layers.

Thanks for clarifying. Unfortunately, I don’t use Photoshop, but Affinity Photo, so I can’t use the exr-io plug-in. I guess there’s no other way to extract a black and white mask from V-Ray with cryptomatte? It would have been great if we could do this given that we can already preview the cryptomatte selection as a normal black and white mask in the VFB.

Use a multimatte render element make sure you turn Use material ID to ON. then input your number.
Select the material you want masked and assign material ID, give it that same number.
This will render a mask for that material.

I already use multimatte, but it’s not as flexible as cryptomatte. With cryptomatte you don’t need to prepare things for masking in advance. You just render and then pick any object or material that you want interactively.