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.