Creating matte passes for individual objects or a specific group of objects is incredibly easy when using Arnold in Cinema 4D. Quite honestly, because of the nature of mattes and masks in After Effects, I tend to try and keep things simple. If I don’t need to have nested pre-comps within other pre-comps, I try and make do without them. Sometime I just want to simply drag a sequence into my timeline and immediately start using it to matte different layers and effects. Until After Effects gets some way to utilize Cryptomatte, this is the best way for me to generate flawless mattes.
Creating a custom AOV mask is as simple as adding an Arnold Object Mask tag to an object. What’s great is that you can add an Arnold Object mask tag to multiple objects and simply give them all the same AOV name if you want them to be included in the same mask. You can even add multiple AOV tags to a single object, so you can render a mask of a single object as well as grouped with multiple other objects. It’s very flexible and any object with a tag automatically renders pure white, while everything else renders black. You can even embed an alpha of the object/s if you wanted to, and objects not tag will cut out the tagged object if they occlude it. Here how you use Arnold Object Mask tags:
As this is a frequently asked question we have provided both the question and answer in this thread.
This is great, and you provided a very detailed answer, however, when it comes to rendering a project that is not an image, it basically doesn't render
i'm pulling my hairs. i give the object that is animated a custom AOV and when i render it in the IPR(no animation, just still image) it gives me the mask correctly, but i want that mask to follow the animated object, so i hit render to render the mask animated, but instead of giving me the mask animated, it renders the whole scene, no respect for any AOV
@dadeFC4BK
@sirima3565 wrote:but instead of giving me the mask animated, it renders the whole scene, no respect for any AOV
Not sure what you mean, can you show me screenshots of the result and your setup? Animation and still frames should work the same, you just have to add the Arnold Object Mask tag to your object(s) and enable your custom AOV in the drivers.