Material Manager Material Nodes Individual Assets Generator Trace Ray
Function available in CINEMA 4D Prime, Visualize, Broadcast, Studio & BodyPaint 3D
Trace Ray

Preview Basic Inputs Outputs Context


Color [XYZ ]

The surface color at the point of impact is output here.

Geometry Normal [XYZ ]

This vector represents the perpendicular element on the front side of the hit surface.

Phong Normal [XYZ ]

These are surface Normals at the sample’s point of impact on the surface modified by the Phong or Normal tag.

Position [XYZ ]

This global position defines the sample’s point of impact on the surface.

Distance [-∞..+∞]

The distance between the Origin of the sample and the point of impact found is output here.

Normalized Distance [-∞..+∞]

This value lies between 0 and 1 or 0% and 100% and defines how far away the point of impact of the sample is from the Origin relative to the Max Distance value.

Index [-2147483648..2147483647]

Each polygon has a sequential number on the polygon, which is output here for the impacted surface.


Here you will find a Boole signal, i.e., the value between 1 and 0 or TRUE or FALSE, depending on whether or not a point of impact was found along the sample’s path.