Cryptomatte changes all the time

Forums: Cryptomatte changes all the time
Generic forum to discuss Octane Render, post ideas and suggest improvements.
Forum rules
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB

Cryptomatte changes all the time

Postby doca » Wed Aug 04, 2021 3:35 pm

doca Wed Aug 04, 2021 3:35 pm
Hi guys,

Whenever we update render version from octane cryptomattes change(no changes in materials or geometry being made)

I'm talking CryptoMaterialNode in this specific case.
When we render same file on two different PC's we have different cryptomattes.

It is rather irritating for compositing artist to have to pick masks on each render update.

Any clue why that happens and is there any solution to it or expected bug fix if this is a registered bug at all?

Thanks.
Ivan
doca
Licensed Customer
Licensed Customer
 
Posts: 90
Joined: Sat Mar 13, 2010 12:12 pm

Re: Cryptomatte changes all the time

Postby doca » Wed Aug 04, 2021 3:36 pm

doca Wed Aug 04, 2021 3:36 pm
...and this happens on Windows under Octane 2020.2.4
doca
Licensed Customer
Licensed Customer
 
Posts: 90
Joined: Sat Mar 13, 2010 12:12 pm

Re: Cryptomatte changes all the time

Postby bepeg4d » Thu Aug 05, 2021 7:21 am

bepeg4d Thu Aug 05, 2021 7:21 am
Hi doca,
quoting from the devs:
you should not use crypto passes "CryptoMaterialNode" and "CryptoObjectNode", but instead "CryptoMaterialNodeName" or "CryptoObjectNodeName".

The reason for that is that the crypto matte passes "CryptoMaterialNode" and "CryptoObjectNode" generate a unique ID/colour using the material/object layer node names and unique node ID. Every time a new node is created inside a node graph it will get a new unique ID. When you restart rendering, the plugin deletes all existing nodes and recreates them, resulting in new unique IDs, which is then causing the cryptomatte ID to change as well. On the other hand, the render passes "CryptoMaterialNodeName" and "CryptoObjectNodeName" use only the names of the material/object layer nodes, resulting in reproducible cryptomatte IDs, even after a render restart.


ciao Beppe
User avatar
bepeg4d
Octane Guru
Octane Guru
 
Posts: 9940
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy

Return to General Discussion


Who is online

Users browsing this forum: Google [Bot] and 12 guests

Thu Mar 28, 2024 11:58 pm [ UTC ]