# US 9,355,492 B2 · System, method, and computer program product for utilizing a wavefront path tracer

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

- Number: US 9,355,492 B2
- Document ID: US9355492B2
- Status: Granted
- Kind: B2
- Application number: 14/098,468
- Filed: 2013-12-05
- Published: 2014-11-20
- Granted: 2016-05-31
- Earliest claimed: 2013-05-15
- Assignees: NVIDIA Corporation
- Applicants: NVIDIA Corporation
- Inventors: Marc Droske; Daniel Johannes Seibert; Stefan Radig; Alexander Keller; Julia Floetotto; Samuli Matias Laine; Tero Tapani Karras; Timo Oskari Aila; Leonhard Gruenschloss
- Web page: https://patentgrep.com/patent/US9355492B2

## CPC

- G06T 15/06: Ray-tracing
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A system, method, and computer program product are provided for utilizing a wavefront path tracer. In use, a set of light transport paths associated with a scene is identified. Additionally, parallel path tracing is performed, utilizing a wavefront path tracer.

## Claims

### Claim 1

A method, comprising:
identifying, by a processor, a set of light transport paths associated with a scene;
performing, by the processor, parallel path tracing, utilizing a wavefront path tracer that uses a structure of arrays (SOA) memory layout, wherein performing the parallel path tracing further comprises regenerating one or more new light transport paths, utilizing one or more queues associated with one or more chunks.

### Claim 2 (depends on 1)

The method of claim 1, wherein the scene includes a multimedia scene.

### Claim 3 (depends on 1)

The method of claim 1, wherein each path is one of a plurality of paths that are stored within a pool accessible by the wavefront path tracer.

### Claim 4 (depends on 1)

The method of claim 1, wherein the wavefront path tracer includes a path tracer that is decomposed into a plurality of stages.

### Claim 5 (depends on 4)

The method of claim 4, wherein each of the stages of the wavefront path tracer include one or more kernels.

### Claim 6 (depends on 4)

The method of claim 4, wherein a first stage of the wavefront path tracer includes a logic stage.

### Claim 7 (depends on 6)

The method of claim 6, wherein the logic stage of the wavefront path tracer may include a single logic kernel.

### Claim 8 (depends on 7)

The method of claim 7, wherein performing the path tracing on the path includes advancing the path by one segment, utilizing the logic kernel.

### Claim 9 (depends on 7)

The method of claim 7, wherein performing the path tracing may include performing one or more additional operations, utilizing the logic kernel, where the one or more additional operations include:
calculating multiple importance sampling weights for one or more light and extension segments;
updating a throughput of an extended path;
accumulating a light sample contribution in a path radiance if a shadow ray is not blocked;
determining if a path should be terminated;
accumulating a pixel value for a terminated path;
producing a light sample for a path segment; and
determining a material at an extension ray hit point.

### Claim 10 (depends on 4)

The method of claim 4, wherein a second stage of the wavefront path tracer includes a material stage.

### Claim 11 (depends on 10)

The method of claim 10, wherein the material stage includes a new path kernel as well as one or more material kernels.

### Claim 12 (depends on 11)

The method of claim 11, wherein each of the kernels in the material stage include a queue.

### Claim 13 (depends on 12)

The method of claim 12, wherein one or more of the queues receives requests from the logic stage for the kernel associated with the queue.

### Claim 14 (depends on 11)

The method of claim 11, wherein each of the one or more material kernels is associated with a material.

### Claim 15 (depends on 10)

The method of claim 10, wherein one or more ray cast requests are generated at the material stage.

### Claim 16 (depends on 4)

The method of claim 4, wherein a third stage of the wavefront path tracer includes a ray cast stage.

### Claim 17 (depends on 16)

The method of claim 16, wherein the ray cast stage includes an extension ray cast kernel and a shadow ray cast kernel.

### Claim 18 (depends on 1)

The method of claim 1, wherein performing the parallel path tracing further comprises:
precomputing Sobol sequences for the first 32 dimensions of each of the set of light transport paths;
sharing the precomputed Sobol sequences between all pixels in the scene; and
generating a quasirandom number on a GPU by performing a first lookup from the precomputed Sobol sequences and a second lookup from a scramble value buffer and XORing the results of the first lookup with the results of the second lookup.

### Claim 19 (depends on 18)

The method of claim 18, wherein performing the parallel path tracing further comprises loading or generating chunk data, utilizing one or more chunk queues.

### Claim 20 (depends on 19)

The method of claim 19, wherein the chunk data is represented in cache memory with low latency.

### Claim 21 (depends on 18)

The method of claim 18, wherein performing the parallel path tracing further comprises allocating a memory block to store tessellation data and an acceleration hierarchy for all active processing elements.

### Claim 22 (depends on 19)

The method of claim 19, wherein a queue scheduler is associated with the one or more chunk queues and accounts for a priority associated with each light transport path.

### Claim 23 (depends on 19)

The method of claim 19, wherein a mechanism to regenerate new light transport paths when a light transport path is terminated is generalized to queue management for a partition of data chunks.

### Claim 24

A method, comprising:
identifying, by a processor, a set of light transport paths associated with a scene;
performing, by the processor, parallel path tracing, utilizing a wavefront path tracer, wherein performing the parallel path tracing further comprises regenerating one or more new light transport paths, utilizing one or more queues associated with one or more chunks.

### Claim 25 (depends on 24)

The method of claim 24, wherein performing the parallel path tracing further comprises, after an execution of a trace kernel of a given chunk, removing shadow rays with a positive occlusion test from all queues of other chunks having a bounding box overlapping with the shadow ray.

### Claim 26 (depends on 1)

The method of claim 1, wherein performing the parallel path tracing further comprises:
extending eye and light paths according to sampling a material reflectance distribution; and
creating shadow tests between vertices; or
creating new bidirectional image samples upon termination of previous samples.

### Claim 27

A non-transitory computer-readable storage medium storing instructions that, when executed by a processor, cause the processor to perform steps comprising:
identifying, by a processor, a set of light transport paths associated with a scene;
performing, by the processor, parallel path tracing, utilizing a wavefront path tracer that uses a structure of arrays (SOA) memory layout, wherein performing the parallel path tracing further comprises regenerating one or more new light transport paths, utilizing one or more queues associated with one or more chunks.

### Claim 28

A system, comprising:
a processor for:
identifying a light transport path associated with a scene,
performing parallel path tracing, utilizing a wavefront path tracer that uses a structure of arrays (SOA) memory layout, wherein performing the parallel path tracing further comprises regenerating one or more new light transport paths, utilizing one or more queues associated with one or more chunks.
