IP Library › Granted Patent US 12,106,423
Granted Patent B2
US 12,106,423 · App. 17/946,201 · Granted Oct 1, 2024

Reducing false positive ray traversal using ray clipping

Inventors: Gregory Muthler (Chapel Hill, NC); John Burgess (Austin, TX); Magnus Andersson (Lund, SE); Ian Kwong (Santa Clara, CA); Edward Biddulph (Helsinki, FI)
Assignee: NVIDIA CORPORATION
G06T15/06G06T15/005G06T15/30G06T2210/12G06T2210/21
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,106,423
App. No.
17/946,201
Granted
Oct 1, 2024
Kind
B2
Abstract

Techniques applicable to a ray tracing hardware accelerator for traversing a hierarchical acceleration structure with reduced false positive ray intersections are disclosed. The reduction of false positives may be based upon one or more of selectively performing a secondary higher precision intersection test for a bounding volume, identifying and culling bounding volumes that degenerate to a point, and parametrically clipping rays that exceed certain configured distance thresholds.

Claims (33)

1. A ray tracing acceleration hardware device, comprising:

memory configured to store at least portions of an acceleration structure (AS) that comprises at least one geometry AS, and at least one instance AS;

ray storage configured to store data representing a ray to traverse the AS, wherein the at least portions of the AS and the data are received from a processor;

ray management circuitry configured to adjust an origin of the ray based on a minimum intersection point corresponding to the ray and a bounding volume corresponding to a node in the AS;

intersection detection circuitry configured to perform a ray-bounding volume intersection test to detect whether the ray, based on the adjusted origin, intersects the bounding volume; and

traversal circuitry configured to traverse the AS in accordance with a result of the performed ray-bounding volume intersection test.

2. The ray acceleration hardware device according to claim 1 , wherein the ray management circuitry is configured to adjust the origin of the ray to a new location closer to the bounding volume.

3. The ray acceleration hardware device according to claim 2 , wherein the ray management circuitry is configured to perform said adjusting the origin after the ray is transformed in accordance with a transform specified by an instance node in the instance AS.

4. The ray acceleration hardware device according to claim 1 , wherein the ray management circuitry is configured to adjust the origin of the ray in accordance with the minimum intersection point after the minimum intersection point is adjusted by a preconfigured magnitude.

5. The ray acceleration hardware device according to claim 1 , wherein the ray management circuitry is configured to adjust the origin of the ray based further upon at least one of a preconfigured clip threshold and a preconfigured clip distance.

6. The ray acceleration hardware device according to claim 5 , wherein the clip distance and the clip threshold are stored in the node.

7. The ray acceleration hardware device according to claim 6 , wherein the ray management circuitry is further configured to use the clip distance or the clip threshold stored in the node to override a globally defined second clip distance or a globally defined second clip threshold.

8. The ray acceleration hardware device according to claim 5 , wherein the ray management circuitry is further configured to, before the adjusting, compare the minimum intersection point to the clip threshold.

9. The ray acceleration hardware device according to claim 5 , wherein the ray management circuitry is further configured to, before the adjusting, subtract the clip distance from the minimum intersection point to the clip threshold.

10. The ray acceleration hardware device according to claim 5 , wherein the ray management circuitry is configured to adjust the origin of the ray without returning the ray to the processor.

11. The ray acceleration hardware device according to claim 1 , wherein the minimum intersection point is obtained from a value stored after an already performed another ray bounding volume intersection test.

12. The ray acceleration hardware device according to claim 11 , wherein the already performed another ray bounding intersection test is a test of a second bounding volume that encompasses a same set of geometry as the first bounding volume.

13. The ray acceleration hardware device according to claim 12 , wherein the second bounding volume is defined with a higher numerical precision than the first bounding volume.

14. The ray acceleration hardware device according to claim 12 , wherein the second bounding volume is defined for a complet that includes the node.

15. The ray acceleration hardware device according to claim 1 , wherein the intersection detection circuitry is configured to:

perform the ray bounding volume intersection test to detect whether the ray, based on the adjusted origin and without introducing a bloat to the ray, intersects the bounding volume; and

perform ray-primitive intersection tests to detect whether the ray, based on the adjusted origin and without introducing a bloat to the ray, intersects one or more geometry primitives encompassed by the bounding volume.

16. The ray acceleration hardware device according to claim 1 , wherein the ray management circuitry is further configured to store a delta corresponding to the difference between the original ray origin and the adjusted ray origin.

17. A ray tracing acceleration method, comprising:

accessing, in a memory on a ray acceleration hardware device, at least portions of an acceleration structure (AS) that comprises at least one geometry AS, and at least one instance AS;

adjusting, by a ray management circuitry on the ray acceleration hardware device, an origin of a ray based on a minimum intersection point corresponding to the ray and a bounding volume corresponding to a node in the AS, wherein data representing the ray and the at least portions of the AS are received from a processor;

performing, by intersection detection circuitry on the ray acceleration hardware device, a ray-bounding volume intersection test to detect whether the ray, based on the adjusted origin, intersects the bounding volume; and

traversing, by a traversal circuitry on the ray acceleration hardware device, the AS in accordance with a result of the performed ray-bounding volume intersection test.

18. The ray acceleration method according to claim 17 , further comprising, adjusting, by the ray management circuitry, the origin of the ray to a new location closer to the bounding volume.

19. The ray acceleration method according to claim 17 , further comprising, adjusting, by the ray management circuitry, the origin of the ray in accordance with the minimum intersection point after the minimum intersection point is adjusted by a preconfigured magnitude.

20. The ray acceleration method according to claim 17 , further comprising, the intersection detection circuitry:

performing the ray bounding volume intersection test to detect whether the ray, based on the adjusted origin and without introducing a bloat to the ray, intersects the bounding volume; and

performing ray-primitive intersection tests to detect whether the ray, based on the adjusted origin and without introducing a bloat to the ray, intersects one or more geometry primitives encompassed by the bounding volume.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 1, 2024
From: MUTHLER, GREGORY; BURGESS, JOHN; ANDERSSON, MAGNUS; KWONG, IAN; BIDDULPH, EDWARD
To: NVIDIA CORPORATION
Reel/Frame 067886/0078 →
Continuity (1)
Related Publication 20240095995A1 · Mar 21, 2024