Ai Utility - Object ID Mode

Login to Follow
  • Film & VFX
  • Games
  • Design Visualization
  • Rendering
  • 1.0
  • Shading
  • Maya
  • Arnold
Skill Level
  • Beginner
15 min

We will cover a way to write custom color information (set as the beauty render) triggered by an Ai Utility shader to a particular AOV. If you want to have, for example, 'Object ID' as one of your AOVs.

?The Ai WriteColor shader can also be used to achieve a similar effect.?

  • In the AOVs tab in the Arnold render settings, Add a custom AOV called ObjectID.

  • Assign an Ai Standard shader to an object.
  • Create an Ai Utility node and set the Color Mode to Object ID:

  • Go to the Shading Group where the standard shader is connected. In the Arnold section, you will see an ObjectID attribute under Other AOVs:
  • Drag and drop the Utility shader from the Hypershade to the ObjectID attribute in the Shading Group.

Drag Utility shader onto ObjectID of Standard's SG

The Ai Utility that is connected to the custom AOV will only be executed in objects with that particular shader.

Now the custom 'ObjectID' AOV will get its value from the Ai Utility node, but you can also use the rest of the standard AOV's:

Posted By
  • Maya
  • Arnold
  • Rendering
  • 1.0
  • Shading
1 Comment
To post a comment please login or register
| 2 years ago
This is incorrect. In the aiUtlity node the color mode should be set to color not ObjectID.
Edited by 0OGgT6Kx 2 years ago