Psyop / Cryptomatte

Cryptomatte Nuke plugin, Fusion plugin, sample images, and specification
BSD 3-Clause "New" or "Revised" License
632 stars 151 forks source link

Cryptomatte with negative values and color management #81

Open nukepy opened 6 years ago

nukepy commented 6 years ago

Hi,

   Thank you for sharing Cryptomatte. This is awesome :+1: 

I encountered with one issue. I have *.exr render which contain all the ID's, materials etc. render also contain negative values for ID in R,G,B.The tool is working fine, but in Nuke it not showing the proper colors, instead it shows white and black where values are negative. I use clamp node to set the values this gives me proper color, but will select some object. This works as expected in nuke default color management . can we have same for the ACES as well.

Render Ouptput from Maya using Arnold Nuke ColorSpace/ColorManagement ACES 1.0.3

will Changing the setting of the merge operation help?

cryptomatte_issue expected

Regards, Tushar

jonahfriedman commented 6 years ago

Hi @nukepy,

Thanks for that. Can you try setting the read node to raw data, and see if that fixes it? I suspect the issue is the colorspace conversion is changing the values.

We may need a better way of handling this, for cases where an EXR contains both managed color data and Cryptomattes.

nukepy commented 6 years ago

I try with raw data on in read node as well, still facing the same issue.

Regards, Tushar