NEW IN R20

Material Manager Material Nodes Individual Assets Context Get Context
Function available in CINEMA 4D Prime, Visualize, Broadcast, Studio & BodyPaint 3D
Get Context

Preview Basic Outputs Context

Outputs

 Geometry

Position [XYZ ]

This is the position of the currently rendered position on the surface in the global coordinates.

Ray Direction [XYZ ]

This is the standardized direction from which the render sample hits the point currently being rendered.

Ray Origin [XYZ ]

This is the global start position of the render sample currently being calculated. This is, as a rule, identical to the position of the active render camera.

Original Normal [XYZ ]

This is the Normal direction prior to adding Normal mapping.

Phong Normal [XYZ ]

This is the final Normal direction at the point currently being rendered as is defined after the Normal Map, Phong tag or Normal tag has been evaluated.

Geometry Normal [XYZ ]

Here you will find the original Normal direction as is defined by the polygon’s position.

Tangent [XYZ ]

The calculation of the surface Normals is based on the point of intersection between two edge directions of a polygon. This calculation is, however, not enough to get a smoothed Normal because the surrounding polygons must be included in the calculation. For this purpose, curves will be generated that run in the U and V directions. Tangents can be generated along these curves that will produce smoothed Normals at every location on the surface. The Tangent output displays the tangent in the U direction.

Bitangent [XYZ ]

This tangent represents the tangent in the V direction.

Original UVW [XYZ ]

These are the unmodified UVW coordinates of the surface at the point currently being rendered.

UVW [XYZ ]

These are the UVW coordinates – possibly modified via the Context input – at the point currently being rendered.

Barycentric [XYZ ]

The position of a polygon’s corner points relative to the center of the polygon can be used to define a coordinate system whose axis lengths are dependent on their distance from the corner points to the center. These Barycentric coordinates can be read out via the Center output.

The Barycentric coordinates define an alternative coordinate system that spans a polygon’s plane. This axis’ origin lies at the Center of the respective triangle or quad. Positions within the polygon can then be defined based on their distance from the surface’s (limiting) edges. The position of the rendered point relative to the center point of the respective polygon will be defined.

 Pixel

Pixel [XYZ ]

Here the coordinates of the currently rendered pixel will be output.

Sub-Pixel [XYZ ]

For sampling, multiple render rays have to be emitted to different locations within a pixel. Sub-Pixel defines the position of the sub-pixel currently being rendered.

Screen Position [XYZ ]

The position of each surface point can also be output relative to the image coordinates, via the surface position. This coordinate system has its origin at the top left corner of the image and is therefore independent of the position of the textured object.

These coordinates output the position of each surface point relative to the image coordinates. The image coordinate system has its origin at the top left corner.

Render Resolution [XYZ ]

Outputs the render resolution currently being used from the active Render Settings.