Abstract:
A ray tracing apparatus includes a ray generator and a traversal (TRV)/intersection test (IST) integrator. The ray generator is configured to generate a ray. The TRV/IST integrator is configured to receive the ray, determine one of a ray-node intersection test, an intersection distance test, and a hit point test to be performed based on a state of the ray input thereto, and perform the determined test with respect to the ray. The ray-node intersection test, the intersection distance test, and the hit point test are performed with respect to the ray through same pipeline.
Abstract:
A method and apparatus to perform a ray-node intersection test are provided. The method includes receiving an input representing coordinates of a bounding box and an origin coordinate of a ray as fixed-point numbers, obtaining difference values between the input coordinates of the bounding box and the origin coordinate, and obtaining multiplication values between the obtained difference values and a reciprocal number of a direction vector of the ray, where the reciprocal number is a floating-point number.
Abstract:
Provided is an apparatus and method of traversing an acceleration structure (AS) in a ray tracing. The method includes determining whether each child node of a target node that is included in the AS intersects a ray, determining a type of a child node that intersects the ray; and performing an operation corresponding to a leaf node, in response to the child node being the leaf node, thereby reducing a time taken to traverse the AS.