# US 2023/0410403 A1 · Ray tracing hardware and method

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

- Number: US 2023/0410403 A1
- Document ID: US20230410403A1
- Status: Published application
- Kind: A1
- Application number: 17/747,871
- Filed: 2022-05-18
- Published: 2023-12-21
- Earliest claimed: 2021-05-18
- Assignees: Bolt Graphics, Inc.
- Applicants: Bolt Graphics, Inc.
- Inventors: Darwesh Singh; Rufino Olay
- Web page: https://patentgrep.com/patent/US20230410403A1

## CPC

- G06T 15/005: {General purpose rendering architectures}
- G06T 15/06: Ray-tracing
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A ray tracing system and method of operation comprising one or more memories configured to store data used by the ray tracing system and one or more memory interfaces configured read and or write data to the one or more memories. A ray tracing engine, in communication with the memory via the one or more memory interfaces, comprising one or more ray generation modules configured to generate ray data defining rays. Also part of the ray tracing engine are one or more acceleration structure generators configured to process geometry data that is stored in the one or more memories to create an acceleration structure based on the geometry data. One or more intersection testers are configured to compare the ray data to the acceleration structure to determine which rays intersect which elements in the acceleration structure and generate secondary ray data, such that the secondary rays represent reflections.

## Claims

### Claim 1

A ray tracing system comprising:
one or more memories configured to store data used by the ray tracing system;
one or more memory interfaces configured read and or write data to the one or more memories;
a ray tracing engine comprising:
one or more ray generation modules configured to generate ray data defining rays;
one or more acceleration structure generators configured to process geometry data that is stored in the one or more memories to create an acceleration structure based on the geometry data;
one or more intersection testers configured to compare the ray data to the acceleration structure to determine which rays intersect which elements in the acceleration structure and generate secondary ray data, such that the secondary rays represent reflections.

### Claim 2 (depends on 1)

The system of claim 1 wherein the one or more ray generation modules, the one or more acceleration structure generators, and the one or more intersection testers are configured in hardware.

### Claim 3 (depends on 1)

The system of claim 1 wherein the geometry data defines a scene within a frame.

### Claim 4 (depends on 1)

The system of claim 1 wherein the acceleration structure generator generates a tree structure from the geometry data to reduce processing time of the intersection testers.

### Claim 5 (depends on 1)

The system of claim 1 further comprising a spatial coherence engine configured to sort the secondary rays.

### Claim 6 (depends on 1)

The system of claim 1 wherein at least one of the one or more memories is a cache memory.

### Claim 7 (depends on 1)

The system of claim 1 wherein the acceleration structure is an octree that supports multiple types of primitives.

### Claim 8

A ray tracing system for calculating ray tracing within a computer generated scene comprising:
one or more integrated circuits configured with:
a memory interface configured to perform read/write operations with at least one memory;
a ray generation module configured to generate ray data representing rays;
an acceleration structure generation module configured to process scene geometry stored in a memory, accessible by the memory interface, to generate an acceleration structure;
at least one intersection tester module comprising:
at least one bounding volume intersection tester module configured to compare ray data, representing a ray, with bounding volumes for bounding volume intersections; and
at least one primitive intersection module configured to, responsive to an intersection between a ray and a bounding volumes, compare ray data with one or more primitives primitive intersections.

### Claim 9 (depends on 8)

The system of claim 8 wherein the one or more primitives comprises two or more different types of primitives.

### Claim 10 (depends on 8)

The system of claim 8 wherein the memory interface is configured to access a cache memory.

### Claim 11 (depends on 8)

The system of claim 8 Further comprising a spatial coherence module included in the one or more integrated circuits, the spatial coherence module configured to:
receive secondary ray data from the intersection tester module;
processing the secondary ray data to generate sorted and batched secondary rays;
provide the sorted and batched secondary rays to at least one of the intersection tester modules for further processing.

### Claim 12 (depends on 8)

The system of claim 8 further comprising an accelerated shader module included in the one or more integrated circuits, the accelerated shader module comprising fixed-function hardware logic.

### Claim 13 (depends on 8)

The system of claim 8 wherein the acceleration structure comprises an octree supporting a variety of primitive types and is generated using fixed-function hardware logic.

### Claim 14

A method for calculating ray tracing data for use in a computer generated scene comprising:
receiving and storing in memory geometry data representing elements in a computer generated scene;
receiving and storing in memory ray parameters;
processing the ray parameters with a ray generation module to generate ray data;
processing the geometry data with an acceleration structure generation module to generate an acceleration structure;
processing the ray data and the acceleration structure with one or more intersection tester modules to calculate primary intersections between ray data and elements of the acceleration structure;
using the intersections, calculating secondary ray data;
sorting and batching the secondary rays and providing the secondary rays to at least one of the intersection tester modules to calculate secondary intersections between secondary ray data and elements of the acceleration structure;
outputting and storing pixel data in memory, the pixel data representing pixel values which can be used to represent the scene on a display.

### Claim 15 (depends on 14)

The method of claim 14 wherein if the intersection tester modules are unable to process additional ray data, the ray generation module stops generating rays until the intersection tester modules are able process ray data.

### Claim 16 (depends on 14)

The method of claim 14 wherein the memory includes a cache memory.

### Claim 17 (depends on 14)

The method of claim 14 further comprising, with a spatial coherence module, receive secondary ray data from the intersection tester module and processing the secondary ray data to generate sorted and batched secondary rays, and then providing the sorted and batched secondary rays to at least one of the intersection tester modules for further processing.

### Claim 18 (depends on 14)

The method of claim 14 wherein an accelerated shader module generates the pixel data.

### Claim 19 (depends on 14)

The method of claim 14 wherein the acceleration structure comprises an octree supporting a variety of primitive types and is generated using fixed-function hardware logic.
