How can i render Object Masks for Procedural Objects?

How can i render Object Masks for Procedural Objects?

Anonymous
Not applicable
805 Views
4 Replies
Message 1 of 5

How can i render Object Masks for Procedural Objects?

Anonymous
Not applicable
 
0 Likes
Accepted solutions (1)
806 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable

When an Object Mask Tag is added to an Arnold Procedural, the object mask aov does not create any result. It seems as if it is a problem for the Object mask to work on an external file/object that is not in the scene?

0 Likes
Message 3 of 5

peter.horvath6V6K3
Advisor
Advisor
Accepted solution

It's a limitation, object mask can not be used with a procedural.

Object mask is actually an aov_write_float shader added to the root of the shading tree, thus it would require to modify the shader network inside the procedural, which is rather complicated.

0 Likes
Message 4 of 5

Anonymous
Not applicable

Thanks for the clarification, Peter!

0 Likes
Message 5 of 5

peter.fagerberg
Enthusiast
Enthusiast

Any creative ideas on the best work-around for this? Cryomattes seem to work with procedurals so that's one way to go, but it's a lot of manual work if you just want a mask in Photoshop... Is there a better way mayhaps?

0 Likes