Community
Arnold for Cinema 4D Forum
Rendering with Arnold in CINEMA 4D using the C4DtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How do I create object matte passes using Arnold in Cinema 4D?

3 REPLIES 3
Reply
Message 1 of 4
dadeFC4BK
4710 Views, 3 Replies

How do I create object matte passes using Arnold in Cinema 4D?

 
Labels (5)
3 REPLIES 3
Message 2 of 4
dadeFC4BK
in reply to: dadeFC4BK

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.

16-objectmasktag-masks-001.jpg

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:

  1. Select the object/s that you want a mask for and click Create/Tag/C4DtoA/Arnold Object Mask or right-click on the object and select the tag.
  2. In the Arnold Object Mask Dialog, give the new AOV a unique name. You can always add more objects later by simply adding the Arnold Object Mask tag to them and using the same name.
  3. Now assuming you already know how to set up standard AOVs, Click the ‘Setup AOVs…’ button either in the display driver settings or render settings. You’ll now see your (custom) mask listed in ‘Inactive AOVs’. Simply move it to Active AOVs and it will now be added to the list of outputs.
  4. All you need to do now, is change the Data type to either RGB or RGBA (if you want an alpha of the object/s) and leave the filter mode set at ‘Use driver’s filter’. Set the render path, and when you hit render you’ll get perfectly separated greyscale mattes that work flawlessly in After Effects.

17-objectmasktag-process-001.png

As this is a frequently asked question we have provided both the question and answer in this thread.

Message 3 of 4
sirima3565
in reply to: dadeFC4BK

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 

Message 4 of 4
peter_horvath
in reply to: sirima3565


@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.


// Peter Horvath
// C4DtoA developer

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums