| CPC G06T 15/06 (2013.01) [G06F 9/5027 (2013.01); G06T 15/08 (2013.01); G06T 17/10 (2013.01); G06T 17/205 (2013.01)] | 20 Claims |

|
1. A ray tracing method comprising:
receiving a value defining a ray;
receiving vertex values defining a first primitive;
receiving vertex values defining a second primitive;
determine, based on the received vertex values defining the first primitive and the vertex values defining the second primitive, whether the first primitive and the second primitive share at least a portion of an edge;
when the first and second primitives are determined to share at least a portion of an edge, using a common vertex based calculation to test both (a) whether the ray intersects the first primitive and (b) whether the ray intersects the second primitive;
when the first and second primitives are determined not to share at least a portion of an edge, using a first vertex based calculation to test whether the ray intersects the first primitive; and
using a second vertex based calculation different from the first vertex based calculation to test whether the ray intersects the second primitive.
|