# US 2023/0410426 A1 · Volume intersection using rotated bounding volumes

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

- Number: US 2023/0410426 A1
- Document ID: US20230410426A1
- Status: Published application
- Kind: A1
- Application number: 17/843,075
- Filed: 2022-06-17
- Published: 2023-12-21
- Earliest claimed: 2022-06-17
- Assignees: Advanced Micro Devices, Inc.
- Applicants: Advanced Micro Devices, Inc.
- Inventors: Miikka Kangasluoma; Kiia Kallio; Daniel James Skinner
- Web page: https://patentgrep.com/patent/US20230410426A1

## CPC

- G06T 15/06: Ray-tracing
- G06T 17/10: Constructive solid geometry [CSG] using solid primitives, e.g. cylinders, cubes
- G06T 15/08: Volume rendering
- G06T 17/005: {Tree description, e.g. octree, quadtree}
- G06T 2210/21: Collision detection, intersection
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

One or more rotated bounding volumes are generated for one or more nodes of a bounding volume hierarchy (BVH). Volume intersection ray tracing tests are then be performed using the rotated bounding volumes with the aim of reducing the number of calculations required relative to an original, non-rotated bounding volume. Rotated bounding volumes are selected from a plurality of candidate rotations, and selection of one of the candidate rotations are based on surface areas, such as minimum total surface areas, of bounding volumes corresponding to each of the candidate rotations. In order to minimize data storage and increase performance, a number of candidate rotations may be limited to a predetermined set of rotations.

## Claims

### Claim 1

A method comprising:
for a first node of a bounding volume hierarchy (BVH) tree, rotating a first bounding volume associated with the first node; and
determining an intersection of a ray with the first node based on the rotated first bounding volume.

### Claim 2 (depends on 1)

The method of claim 1, wherein rotating the first bounding volume comprises:
selecting the rotated first bounding volume from a plurality of candidate rotations.

### Claim 3 (depends on 2)

The method of claim 2, wherein selecting the rotated first bounding volume comprises selecting based on surface areas of bounding volumes corresponding to each of the candidate rotations.

### Claim 4 (depends on 3)

The method of claim 3, wherein selecting the rotated first bounding volume comprises selecting the candidate rotation associated with the bounding volume having a smallest surface area.

### Claim 5 (depends on 2)

The method of claim 2, wherein the plurality of candidate rotations comprise rotations of 45 degrees in one or more dimensions.

### Claim 6 (depends on 5)

The method of claim 5, wherein the plurality of candidate rotations comprise twenty-one unique rotations each separated by 45 degrees in at least one dimension.

### Claim 7 (depends on 2)

The method of claim 2, further comprising:
for a second node of the BVH tree, rotating a second bounding volume associated with the second node based on the selected rotated first bounding volume, wherein the second node is a child node of the first node.

### Claim 8 (depends on 2)

The method of claim 2, further comprising:
for a second node of the BVH tree, rotating a second bounding volume associated with the second node based on at least one of the selected rotated first bounding volume and a second bounding volume associated with the first node, wherein the second node is a child node of the first node.

### Claim 9 (depends on 2)

The method of claim 2, further comprising:
for a second node of the BVH tree, rotating a second bounding volume associated with the second node, wherein the rotating comprises selecting the rotated second bounding volume from the plurality of candidate rotations and the second node is a child node of the first node.

### Claim 10 (depends on 9)

The method of claim 9, further comprising:
determining areas of overlap of the first bounding volume and the second bounding volume for one of the plurality of candidate rotations, wherein selecting the rotated second bounding volume comprises selecting based on an overlapping surface area of the first bounding volume and the second bounding volume in at least one flattened dimension.

### Claim 11 (depends on 10)

The method of claim 10, wherein selecting the rotated second bounding volume comprises selecting the candidate rotation associated with the second bounding volume having a smallest overlapping surface area.

### Claim 12 (depends on 1)

The method of claim 1, further comprising:
determining an intersection of a ray with the first node of the BVH tree based on the rotated first bounding volume and a bounding volume for a parent node of the first node.

### Claim 13 (depends on 1)

The method of claim 1, wherein the rotating comprises rotating the ray.

### Claim 14

A processing system comprising:
one or more central processing units (CPUs);
one or more co-processors; and
one or more memories coupled to the one or more CPUs and the one or more co-processors, the one or more memories storing instructions configured to manipulate at least one of the one or more CPUs or the one or more co-processors to:
for a first node of a bounding volume hierarchy (BVH) tree, rotate a first bounding volume associated with the first node; and
determine an intersection of a ray with the first node based on the rotated first bounding volume.

### Claim 15 (depends on 14)

The processing system of claim 14, wherein the instructions configured to manipulate at least one of the one or more CPUs or the one or more co-processors to rotate the first bounding volume comprise instructions configured to manipulate at least one of the one or more CPUs or the one or more co-processors to:
select the rotated first bounding volume from a plurality of candidate rotations.

### Claim 16 (depends on 15)

The processing system of claim 15, wherein the instructions configured to manipulate at least one of the one or more CPUs or the one or more co-processors to select the rotated first bounding volume comprise instructions configured to manipulate at least one of the one or more CPUs or the one or more co-processors to:
select based on surface areas of bounding volumes corresponding to each of the candidate rotations.

### Claim 17 (depends on 16)

The processing system of claim 16, wherein the instructions configured to manipulate at least one of the one or more CPUs or the one or more co-processors to select the rotated first bounding volume comprise instructions configured to manipulate at least one of the one or more CPUs or the one or more co-processors to:
select the candidate rotation associated with the bounding volume having a smallest surface area.

### Claim 18 (depends on 15)

The processing system of claim 15, wherein the plurality of candidate rotations comprise rotations of 45 degrees in one or more dimensions.

### Claim 19 (depends on 18)

The processing system of claim 18, wherein the plurality of candidate rotations comprise twenty-one unique rotations each separated by 45 degrees in at least one dimension.

### Claim 20

A processing system comprising:
one or more central processing units (CPUs); and
one or more co-processors, wherein at least one of the one or more CPUs and one or more co-processors is configured to:
for a first node of a bounding volume hierarchy (BVH) tree, rotate a first bounding volume associated with the first node; and
determine an intersection of a ray with the first node based on the rotated first bounding volume.
