US 11,983,811 B2
Intersection testing in a ray tracing system using convex polygon edge parameters
Peter Smith-Lacey, Hertfordshire (GB); Rostam King, Hertfordshire (GB); Gregory Clark, Hertfordshire (GB); and Simon Fenney, Hertfordshire (GB)
Assigned to Imagination Technologies Limited, Kings Langley (GB)
Filed by Imagination Technologies Limited, Kings Langley (GB)
Filed on Feb. 8, 2023, as Appl. No. 18/107,440.
Application 18/107,440 is a continuation of application No. 17/700,220, filed on Mar. 21, 2022, granted, now 11,593,986, issued on Feb. 28, 2023.
Claims priority of application No. 2104058 (GB), filed on Mar. 23, 2021.
Prior Publication US 2023/0186547 A1, Jun. 15, 2023
This patent is subject to a terminal disclaimer.
Int. Cl. G06T 15/06 (2011.01); G06T 15/00 (2011.01); G06T 17/20 (2006.01)
CPC G06T 15/06 (2013.01) [G06T 15/005 (2013.01); G06T 17/20 (2013.01); G06T 2210/21 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method of performing intersection testing, in a ray tracing system, for a ray with respect to a plurality of convex polygons, wherein each of the convex polygons is defined by a set of vertices, the method comprising:
projecting the vertices of the convex polygons onto a pair of axes orthogonal to the ray direction, wherein an origin of the pair of axes corresponds with the ray origin, and wherein a vertex ordering scheme defines an ordering of the projected vertices; and
for each of the convex polygons:
for each edge of the convex polygon defined by two of the projected vertices, in response to determining that the ray intersects a point on the edge:
determining a parameter indicative of which side of the edge the ray passes on based upon whether the ordering, defined by the vertex ordering scheme of the projected vertices defining the edge, matches an ordering of the vertices in the set of vertices defining the convex polygon prior to the projection of the vertices, and
determining whether the ray intersects the convex polygon based on the parameters determined for the edges of the convex polygon.