Chaos Corona Forum

Chaos Corona for Cinema 4D => [C4D] Feature Requests => [C4D] Resolved Feature Requests => Topic started by: iacdxb on 2017-08-10, 19:02:24

Title: "Material ID" Atuo set
Post by: iacdxb on 2017-08-10, 19:02:24
By selecting all materials, wishing to have a small script or tool to run with auto Material ID numbers.

With many materials its hard to give one by one. I ma sure it will be  time saving tool.


Thanks.
Title: Re: "Material ID" Atuo set
Post by: Rhodesy on 2017-08-19, 12:37:09
Can't you achieve this auto result by just selecting ID and then material in the drop down in the multipass settings? That randomly applies a different colour on every material or object if you prefer or both.
Title: Re: "Material ID" Atuo set
Post by: houska on 2017-08-21, 09:30:03
Definitely a must!!!
Also (i don`t know if is a bug or is the way it should be)the ID masks are affected by the exposure setting when i save the .CXR. For example when the exposure is set to -4 the masks are darker, so u have to save the masks separatly, with the exposure set to 0.

Seems like a bug to me!
Title: Re: "Material ID" Atuo set
Post by: Alexandre SCELLIER on 2017-08-21, 10:08:54
Unique material ID ;)
https://cg-source.com/uniquematerialids.php
Title: Re: "Material ID" Atuo set
Post by: Rhodesy on 2017-08-21, 10:33:33
Yes that would be nice. Some variation can be achieved with the variance shader but it would be great if corona had its own native one like Max version seems to have.

What would be great is to have it vary by connected poly sets - so for example if we have a tree with a single leaf material and a single object for all the leaf polys corona would look for all the connected polys (a full single leaf) and give that an ID and maybe group a bunch together randomly so we could have say 5 different variations / leaf colours. I think Vray can do this now.