# US 2024/0203033 A1 · Intersectable instance nodes for ray tracing acceleration structure nodes

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0203033 A1
- Document ID: US20240203033A1
- Status: Published application
- Kind: A1
- Application number: 18/081,407
- Filed: 2022-12-14
- Published: 2024-06-20
- Earliest claimed: 2022-12-14
- Assignees: Advanced Micro Devices, Inc.; ATI Technologies ULC
- Applicants: Advanced Micro Devices, Inc.; ATI Technologies ULC
- Inventors: David William John Pankratz; David Kirk McAllister; David Ronald Oldcorn; Michael John Livesley; Daniel James Skinner
- Web page: https://patentgrep.com/patent/US20240203033A1

## CPC

- G06T 15/06: Ray-tracing
- G06T 15/08: Volume rendering
- G06T 15/80: Shading
- G06T 17/005: {Tree description, e.g. octree, quadtree}
- G06T 2210/21: Collision detection, intersection
- G06T 2210/61: Scene description
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A technique for performing ray tracing operations is provided. The technique includes, in a first iteration of a ray traversal technique, traversing to an instance node of a bounding volume hierarchy; in a second iteration of the ray traversal technique that is subsequent to the first iteration, transforming a ray based on an instance transform of the instance node to generate a transformed ray; and in the second iteration, performing a ray-box intersection test for box node data of the instance node based on the transformed ray.

## Claims

### Claim 1

A method for performing ray tracing operations, the method comprising:
in a first iteration of a ray traversal technique, traversing to an instance node of a bounding volume hierarchy;
in a second iteration of the ray traversal technique that is subsequent to the first iteration, transforming a ray based on an instance transform of the instance node to generate a transformed ray; and
in the second iteration, performing a ray-box intersection test for box node data of the instance node based on the transformed ray.

### Claim 2 (depends on 1)

The method of claim 1, wherein traversing to the instance node is performed in response to encountering a pointer to the instance node during traversal of the bounding volume hierarchy.

### Claim 3 (depends on 1)

The method of claim 1, wherein transforming the ray includes performing one or more of translation, scaling, or shearing of the ray.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
during each iteration of the ray traversal technique, fetching one or more nodes of the bounding volume hierarchy from a working set, testing the ray for intersection against the one or more nodes, and storing intersected nodes of the one or more nodes into the working set.

### Claim 5 (depends on 1)

The method of claim 1, wherein performing the ray-box intersection test comprises determining whether the transformed ray intersects the box node data.

### Claim 6 (depends on 1)

The method of claim 1, wherein the instance node points to a root node of an acceleration structure.

### Claim 7 (depends on 1)

The method of claim 1, wherein the box node data includes a bounding box and a box node pointer.

### Claim 8 (depends on 1)

The method of claim 1, wherein the instance node includes box node data for a smaller number of box nodes than a box node of the bounding volume hierarchy.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
shading pixels based on results of traversal of the bounding volume hierarchy.

### Claim 10

A system for performing ray tracing operations, the system comprising:
a memory configured to store a bounding volume hierarchy; and
a processor configured to perform operations comprising:
in a first iteration of a ray traversal technique, traversing to an instance node of the bounding volume hierarchy;
in a second iteration of the ray traversal technique that is subsequent to the first iteration, transforming a ray based on an instance transform of the instance node to generate a transformed ray; and
in the second iteration, performing a ray-box intersection test for box node data of the instance node based on the transformed ray.

### Claim 11 (depends on 10)

The system of claim 10, wherein traversing to the instance node is performed in response to encountering a pointer to the instance node during traversal of the bounding volume hierarchy.

### Claim 12 (depends on 10)

The system of claim 10, wherein transforming the ray includes performing one or more of translation, scaling, or shearing of the ray.

### Claim 13 (depends on 10)

The system of claim 10, wherein the processor is further configured to:
during each iteration of the ray traversal technique, fetch one or more nodes of the bounding volume hierarchy from a working set, testing the ray for intersection against the one or more nodes, and storing intersected nodes of the one or more nodes into the working set.

### Claim 14 (depends on 10)

The system of claim 10, wherein performing the ray-box intersection test comprises determining whether the transformed ray intersects the box node data.

### Claim 15 (depends on 10)

The system of claim 10, wherein the instance node points to a root node of an acceleration structure.

### Claim 16 (depends on 10)

The system of claim 10, wherein the box node data includes a bounding box and a box node pointer.

### Claim 17 (depends on 10)

The system of claim 10, wherein the instance node includes box node data for a smaller number of box nodes than a box node of the bounding volume hierarchy.

### Claim 18 (depends on 10)

The system of claim 10, wherein the processor is further configured to:
shade pixels based on results of traversal of the bounding volume hierarchy.

### Claim 19

A non-transitory computer-readable medium storing instructions that, when executed by a processor, cause the processor to perform operations comprising:
in a first iteration of a ray traversal technique, traversing to an instance node of a bounding volume hierarchy;
in a second iteration of the ray traversal technique that is subsequent to the first iteration, transforming a ray based on an instance transform of the instance node to generate a transformed ray; and
in the second iteration, performing a ray-box intersection test for box node data of the instance node based on the transformed ray.

### Claim 20 (depends on 19)

The non-transitory computer-readable medium of claim 19, wherein traversing to the instance node is performed in response to encountering a pointer to the instance node during traversal of the bounding volume hierarchy.
