Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: update links to REN26
Info

This workflow is deprecated.

Have you tried Cryptomatte instead of MatteIDs for automatic ID generation?

 


Assigning Matte IDs to rendered object and outputting them as part of the AOVs can be useful for later compositing because this allows compositors to isolate objects.

...

First we'll assign a Green MatteID to the sphere. We can do this by selecting the transform and adding the RenderMan user attribute for MatteID0:

 


If you were to render at this point, even if you added the correct render pass, it would not work. You need to connect a PxrMatteID to the material. You can do this using the Node Editor and connecting to the Utility Pattern Connection of the PxrSurface material:

...

Now you can add additional PxrMatteIDs and chain together more patterns for different results in your renders. Your compositor will thank you.