Versions Compared

Key

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

This page provides information on the Render ID Render Element which renders individual objects with different colors based on their internally assigned node handlesIDs.

 

Floatingpagetoc

Overview

...

Section
Column
width50%

The Render ID Render Element creates selection masks based on the node handle of each object or the IDs automatically assigned by V-Ray assigned render ID. In Maya, each object is internally assigned a unique node handle when the object is created. When V-Ray is rendering, each object is assigned a render IDduring rendering to all objects in the scene. Each object is assigned a unique integer number and each number is colored differently. The intended use for the Render ID channel is to quickly create masks , based on the node handles or the render IDs, for various for all objects in a scene without having to set up a separate Multi Matte Render Element for themElements. The masks can be separated by their integer values or by the color used to represent them in compositing applications. A wide variation of colors is used so no two objects will have the same color in the render element.

Node handles and render There is no anti-aliasing with the Render ID Render Element; where the edge of one object meets another object, the pixel color at that spot is the color from the object that contributes most to the pixel value. The Coverage Render Element can be multiplied by the Render ID Rrender Element in compositing to add anti-aliasing to the Render ID.

Render IDs are not the same as the Object ID: The node handle is assigned by Maya (and can only be changed by Maya internally), and IDs: the render ID is automatically assigned by V-Ray during rendering only. Meanwhile the Object ID is , while Object IDs are assigned by the user and can be changed at any time. In addition, while several objects can be assigned the same Object ID, each node handle and render ID are is unique to a specific scene object. To create a channel that renders object colors based on Object IDs, use the Object ID (vrayRE_ObjectID) Render Element.

Specific node handle values can be retrieved using MEL commands, but it is not necessary to do this to use the Render ID Render Element.

There is no anti-aliasing with the Render ID Render Element; where the edge of one object meets another object, the pixel color at that spot is the color from the object that contributes most to the pixel value. The Coverage Render Element can be multiplied by the Render ID Rrender Element in compositing to add anti-aliasing to the Render ID.

Column
width5%
 
Column
width45%

UI Path

...

 

||Render Settings window|| > Render Elements tab > Render ID

...