| CPC G06T 15/06 (2013.01) [G06T 15/005 (2013.01); G06T 2210/21 (2013.01)] | 20 Claims |

|
1. A method of determining, in a ray tracing system, whether a ray intersects a three-dimensional axis-aligned box, wherein the box represents a volume defined by a front-facing plane and a back-facing plane for each dimension of the three-dimensional axis-aligned box, the method comprising:
identifying which of the front-facing planes intersects the ray at a position that is furthest along a direction of the ray; and
determining whether the ray intersects the axis-aligned box in dependence on comparing (i) the position at which the ray intersects the identified front-facing plane with (ii) at least one position at which the ray intersects one of the back-facing planes for the two dimensions for which the front-facing plane was not identified;
wherein the method determines whether the ray intersects the box without comparing the position at which the ray intersects the identified front-facing plane with a position at which the ray intersects the back-facing plane in the dimension for which the front-facing plane was identified.
|