Jump to content

Use groups with Cryptomatte via Stylesheets?

Recommended Posts

Posted (edited)


I've made this post before: 


But I am still confused and this has become a new question altogether, and the thread seems dead too, so here is a new post.

How do I use groups in stylesheets to use in Cryptomatte? I would like a somewhat detailed explanation, as I don't really understand what's up with User Properties, how this connects to groups, how I should read anim's comment Posted Tuesday at 01:15 AM, and how I can use the stylesheets for group mattes without overriding the original materials.

Would really appreciate your help. Thanks. :)

Edited by that Abstract guy

Share this post

Link to post
Share on other sites

again, not for groups, but if you create primitive string attribute on your geo you can use stylesheets to override cryptomatte property


1. create primitive string attribute that holds your "id" value or unique name (or just convert your groups to name attrib) (in this case I created unique s@name attrib per box)

2. create property on your object (in this case I called it: masks)

3. create stylesheets override for Primitives with Override Script that uses name attribute binding to override your cryptomatte property

example file:



  • Like 4

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now