Radeon ProRender



Ray description for rrCmdIntersect().

Applies to

All supported backends


Name Type Description
origin[3] float The point in the 3-dimensional environment from which the ray is cast by us.
min_t float The mininum travel time of the ray.
direction[3] float The direction of the ray. We look for points of intersection of this ray with the geomentry set ih the scene. Any intescection point satisfies the equation P = origin + t * direction, where t is the travel time, min_t <= t <= max_t.
max_t float The maximum travel time of the ray.