Proper workflow for cryptomatte

Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderators: ChrisHekman, aoktar

hausgross
Licensed Customer
Posts: 32
Joined: Wed Feb 08, 2017 8:27 am

Hi all,


I'm trying to figure out how to output exr files with proper cryptomattes, that I can use in After Effects. Unfortunately there is not much information out there on how to render them using Cinema 4D.

Inside Octane LV I can see the cryptomattes (nice pastel colours), so I think they are properly set up and I selected "EXR (Octane)" in the Octane render settings.

Hey all, I'm just updating this post (16.12.2019) , because I've got some new information. I now know, that the Windows version of R21 has a bug with DWAA, that's what caused the issue with the images in the first place using C4Ds multilayer output. Also we currently need to use the Octane EXR output and "CryptoMaterialNodeName" for stable matte generation between renderjobs.

You can still find the original post below for reference.

If I render using the picture viewer with no output path in the Octane render settings, they show up as completely green and yellow in the PV. If I import these renderings in AE using ProEXR 2.0 there is something wrong, they appear black without any effect and using EXtractoR (without choosing a layer) the beauty layer is displayed messed up.
Messed up beauty layer
Messed up beauty layer
When I try to use the Cryptomatte effect I get the error "No cryptomatte layers found." Most of the time AE crashes afterwards.


When I specify an output path in the Octane render settings there is a second exr file and in AE it seems to contain cryptomatte layers, but the result is completely unusable, I can see some jumbled up outlines, but that's it.
Octane EXR cryptomatte
Octane EXR cryptomatte
Can somebody share their Cryptomatte workflow?


Here are some questions, that are important to us:

Can cryptomattes be rendered and saved without specifying a path in the Octane render settings and without using Octane standalone? No.
Can you render cryptomattes using DWAA compression? Yes (using EXR (Octane))
Can you render cryptomattes using the "half-float" option? Seems to work fine.
Does tonemapping work with cryptomattes?


Thank you!
Last edited by hausgross on Mon Dec 16, 2019 2:43 pm, edited 1 time in total.
Raoul
Licensed Customer
Posts: 78
Joined: Sun May 25, 2014 8:24 am

hey just a quick answer here.. But i've found DWAA totally breaks the Cryptomattes annoyingly.. So i use PIZ for now. Seems to be a good compromise between quality/size/read speed in AE.
I use Half float enabled for most things.
User avatar
KeeWe
Licensed Customer
Posts: 296
Joined: Wed Nov 27, 2013 11:32 am

Is there a way to get the same Cryptomatte Colors when rendering a sequence again? Its kinda annoying to go into my comps again and select the mattes again just because there color value changed, even if I just changed a non related thing. Especially when rendering just a couple of frames again thats a pretty huge pain in the ass.
6850k // 32 GB // 1080, 1080 Ti, 2080 Ti // Win 10 // C4D 19.068
ceen
Licensed Customer
Posts: 110
Joined: Wed Jun 10, 2015 9:43 pm

KeeWe wrote:Is there a way to get the same Cryptomatte Colors when rendering a sequence again? Its kinda annoying to go into my comps again and select the mattes again just because there color value changed, even if I just changed a non related thing. Especially when rendering just a couple of frames again thats a pretty huge pain in the ass.
They implemented Cryptomatte without fixing the randomizing matte color issue? Unbelievable. This is getting ridiculous.
3080ti
hausgross
Licensed Customer
Posts: 32
Joined: Wed Feb 08, 2017 8:27 am

Raoul wrote:hey just a quick answer here.. But i've found DWAA totally breaks the Cryptomattes annoyingly.. So i use PIZ for now. Seems to be a good compromise between quality/size/read speed in AE.
I use Half float enabled for most things.

Thank you, I will try it :)

ceen wrote:
KeeWe wrote:Is there a way to get the same Cryptomatte Colors when rendering a sequence again? Its kinda annoying to go into my comps again and select the mattes again just because there color value changed, even if I just changed a non related thing. Especially when rendering just a couple of frames again thats a pretty huge pain in the ass.
They implemented Cryptomatte without fixing the randomizing matte color issue? Unbelievable. This is getting ridiculous.
Uh, that's a major bummer. If I get it to work I'll create a bug report so it can be fixed hopefully.
User avatar
KeeWe
Licensed Customer
Posts: 296
Joined: Wed Nov 27, 2013 11:32 am

Well, can someone from the staff certainly confirm that the cryptomatte pass gets a new set of color palette everytime? Or is there just an option I'm missing? I'm going to finish a project in the next 2 weeks and it would be nice to know if I have to watch out for this.

And if this is the case: Ahmet, or you planning on fixing this in the near future?
6850k // 32 GB // 1080, 1080 Ti, 2080 Ti // Win 10 // C4D 19.068
User avatar
aoktar
Octane Plugin Developer
Posts: 16064
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

KeeWe wrote:Well, can someone from the staff certainly confirm that the cryptomatte pass gets a new set of color palette everytime? Or is there just an option I'm missing? I'm going to finish a project in the next 2 weeks and it would be nice to know if I have to watch out for this.

And if this is the case: Ahmet, or you planning on fixing this in the near future?
I didn't see this case on my sample scenes. Have you changed the count of objects in the scene while rendering?
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
KeeWe
Licensed Customer
Posts: 296
Joined: Wed Nov 27, 2013 11:32 am

No, I just started the rendering again. If I can spare some time, I'll try some scenarios.

But even if I change the Objects or material count, isn't it possible to maintain the already given color plaette? Say my scene is finished but the client wants one more treet far in the back. I think its a no go if adding the object screws up my entire Postwork I already did, there has to be a solution. I can't believe big studios could work with this limitation.

Maybe other users could share there experiences with cryptomattes...?
6850k // 32 GB // 1080, 1080 Ti, 2080 Ti // Win 10 // C4D 19.068
ceen
Licensed Customer
Posts: 110
Joined: Wed Jun 10, 2015 9:43 pm

Hi Keewe,

that was already the case with the MatID pass before. You find several threads here about the issue. I can be a serious show stopper in a production.
3080ti
User avatar
KeeWe
Licensed Customer
Posts: 296
Joined: Wed Nov 27, 2013 11:32 am

Meh, thats a bummer. I just ran in the same behaviour again. Restart the rendering, no changes, completely different mattes. I hope I find the time to reproduce it in a simple scene I can share. The way it is right now is a no go for any larger project...
6850k // 32 GB // 1080, 1080 Ti, 2080 Ti // Win 10 // C4D 19.068
Post Reply

Return to “Maxon Cinema 4D”