Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
Column
width62%

In Maya, Object IDs can be added as an Extra V-Ray Attribute. Two or more objects in the scene can share the same Object ID.

The Object ID Render Element creates selection masks based on Object ID that shows each object (by Object ID) in a solid unshaded color.

 

UI Expand
titleUI Path: ||Display Render Settings button|| > Render Elements tab > Object ID
Section
Column
width25%

 

Column
width50%

Multiexcerpt include
MultiExcerptNameRE
PageWithExcerptRender Elements

Column
width25%

 

Image Removed

 

To use render elements, select from the Available render elements column and click the Add button to add the passes you wish to generate at render time. When you render the scene, the added render elements listed in the column on the right, will also render, which can be viewed from the VFB window's channel drop-down menu.

For more information on the parameters on this dialog, see the Render Elements tab page.

Column
width5%

 

Column
width33%

...

Section
Column
width10%

 

Column
width40%


Original beauty render

 

Column
width40%


Glow and brightening added to the composite using matte created from
Object ID Render Element red channel (as a mask in composite)

 

Column
width10%

 

 

Setup

...

Section
Column
width62%
Fancy Bullets
typecircle
  • Select the geometry that an Object ID Render Element is needed for.

 

  • Add

...

  • the Object ID

...

  •  attribute Attributes > VRay > Object ID

...

  •  while the shape node is active for the geometry.

 

...

  • Set

...

  • the Object ID to the required value. Note: each number corresponds to a different color.

 

Image Removed

...

  • Open Render Settings

...

  •  and go to

...

  • the Render Elements

...

  •  tab and from

...

  • the Available render elements

...

  •  add an Object ID

...

  •  render element.

Column
width5%

 

...

Column
width33%

Image Added

 


 

Image Added

 

 

UI Text Box
typenote

The name of the Object ID render element must consist of the name of the Object ID itself, a dot and then any other string to be properly read in Nuke. For example, VRayObjectID.example . Do not include numbers in the name.