cryptomatte with dwa compression

182 views
Skip to first unread message

Derek Flood

unread,
Sep 20, 2017, 8:19:07 PM9/20/17
to alshaders
It appears that Cryptomatte is not working with a render saved with dwa compression (both dwaa and dwab). That is I cannot pick the mask in Nuke. If the file is rendered with zip compression it works fine. 

Is this a known issue? 

I'm guessing it has to do with how the crypotomatte aovs are being compressed by dwa. I suspect it is getting lossy compression which is then messing up the mattes.

Note that the test I did was for Arnold 4 using the ALsurface shader in Maya. I have not tested this in Arnold 5.

Anders Langlands

unread,
Sep 20, 2017, 8:34:45 PM9/20/17
to Derek Flood, alshaders
Yeah DWA is lossy. The mattes are hashes encoded as colours so anything which changes the colour values even slightly is going to break it.
--
You received this message because you are subscribed to the Google Groups "alshaders" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alshaders+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Derek Flood

unread,
Sep 20, 2017, 11:12:23 PM9/20/17
to alshaders
That's a pity. Is there a way to make DWA use RLE or ZIP compression on the cryptomatte AOVs instead? Maybe Jonah has some ideas? (...mentally summoning Jonah...)

Anders Langlands

unread,
Sep 20, 2017, 11:26:43 PM9/20/17
to Derek Flood, alshaders
Pretty sure you can't mix compression within the same file. If you split the cryptomatte AOVs out to a different file you could change the compression type just for that file. 



Anders Langlands

unread,
Sep 20, 2017, 11:48:14 PM9/20/17
to Derek Flood, alshaders
I stand corrected, DWA has some hard-coded magic constants to recognise channels that it thinks are worthy of losless compression. I'm not sure if there's a way with the current build to change the channel names that Cryptomatte outputs to play nice with DWA. 

Jonah Friedman

unread,
Sep 21, 2017, 10:13:41 AM9/21/17
to Anders Langlands, Derek Flood, alshaders
Hi Derek,

I'm not sure if you're sharktacos or if this is a coincidence, but this thread posted last night is quite interesting.

To unsubscribe from this group and stop receiving emails from it, send an email to alshaders+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "alshaders" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alshaders+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--

JONAH FRIEDMAN


psyop_logo_signature.png


PSYOP

NYC | LA

OFFICE: +1 (212) 533-9055

MOBILE: +1 (347) 873-3992

45 HOWARD ST, 5TH FLOOR, NEW YORK NY 10013

b-facebook-128.png   b-twitter-128.png   b-instagram-128.png

Derek Flood

unread,
Sep 21, 2017, 11:56:34 AM9/21/17
to alshaders
Hi Jonah,

Indeed, we are one and the same.

JONAH FRIEDMAN

Reply all
Reply to author
Forward
0 new messages