NEW IN R20

Material Manager Material Nodes Individual Assets Info Render Object
Function available in CINEMA 4D Prime, Visualize, Broadcast, Studio & BodyPaint 3D
Render Object

Preview Basic Outputs Context

Outputs

Position [XYZ ]

The global position of the rendered object to which the material is assigned and belongs to the Render Object Node.

Matrix

The global matrix of the rendered object. A Matrix is made up of a vector for the Position and the three axis vectors of the object system. The length of these vectors defines the object’s scaling whereas the direction of the axis vectors defines the object’s rotation.

Center [XYZ ]

This is the position of the object’s center of gravity. Its position is calculated based on the positions of all points, including the object axis system’s position. For most unconverted parametric primitives, the Center position is identical to the object’s position.

Radius [XYZ ]

This vector outputs the respective maximum distance of the X, Y and Z directions of the object axis system originating from the Center value. In conjunction with the Center and Radius settings, the scale around an object’s bounding box can be calculated.

Object Index [-2147483648..2147483647]

Each object in the scene is assigned a unique number. Also Generators such as MoGraph Cloner objects sequentially number the objects they generate. This number is output here for the object currently being rendered to which the material is assigned.

Object ID [-2147483648..2147483647]

This is the unique internal number of the object being rendered. Contrary to the Object Index, this number is not necessarily sequential because virtual objects, which, for example, are created when using Generators, are also counted.

Material ID [-2147483648..2147483647]

A unique number with which the object’s material that is currently being calculated is identified.

Polygon ID [-2147483648..2147483647]

The index number of the object’s polygon that is currently being calculated. The count will always start at 0 for the first polygon.

Sub-Polygon ID [-2147483648..2147483647]

If a material uses Sub-Polygon Displacement, new polygons will be created during rendering that will also be assigned new index numbers. The number of the Sub-Polygon Displacement polygon that is currently being calculated can be retrieved here.

Display Color

Each object’s basic settings has an option for assigning a unique color for the Viewport display, even if no material has yet been assigned to it. As a rule, an assigned material will cover and replace this Display Color. This output can be used to query the Display Color of the object for the Viewport.

Second Triangle

Triangles are the smallest entity that can make up an object. Two triangles can also be combined to form a square. Such pair are displayed as quads in the Viewport. If a render sample hits such a pair of triangles, this output will send out a positive result, i.e., 1 or TRUE. Otherwise it will output 0 or FALSE.

Instance

If the object being calculated is an instance, this output will send a positive result (1 or TRUE). For an original object 0 or FALSE will be output.

Name

Here you can ascertain the name of the rendered object.