Bounding Volume Hierarchy Early Termination for Ray Tracing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Ray tracing techniques are computationally expensive and require efficient methods to reduce the number of ray-triangle intersections for improved rendering performance.

Innovation Solution

The implementation of a bounding volume hierarchy with early termination box nodes allows for early termination of ray intersection tests, reducing the number of ray-triangle intersections by testing rays against axis-aligned bounding boxes and triangles, and determining whether the ray intersects geometry based on these tests.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If ray tracing is performed using traditional ray-triangle intersection methods, then rendering accuracy is maintained, but computational cost and processing time increase significantly

Engineering Contradiction:
Improverendering accuracyVSAvoidrendering efficiency
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent segments the scene geometry into hierarchical bounding volume groups (BVH) where each node represents a spatial partition. By organizing geometry into a tree structure with internal nodes representing bounding volumes and leaf nodes representing actual geometry, the system divides the complex ray-triangle intersection problem into multiple simpler ray-bounding volume tests, reducing the computational burden while maintaining accuracy.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent performs preliminary organization of scene geometry into a bounding volume hierarchy structure before ray tracing begins. This pre-computed spatial partitioning allows the rendering system to quickly eliminate large portions of the scene that cannot be intersected by a ray, performing the expensive ray-triangle intersection tests only on relevant geometry rather than all geometry in the scene.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If all ray-triangle intersections are performed to ensure accurate rendering, then rendering quality is maintained, but processing resources and time are excessively consumed

Engineering Contradiction:
Improverendering qualityVSAvoidprocessing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent segments the scene into a hierarchical bounding volume structure where internal nodes represent spatial partitions and leaf nodes contain actual geometry. This segmentation allows the system to perform quick rejection tests at internal nodes, eliminating entire branches of the hierarchy when no intersection is possible, thereby avoiding unnecessary ray-triangle intersection computations while preserving rendering accuracy for visible geometry.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements early termination of the ray traversal process when a ray intersects a bounding volume node. Instead of traversing the entire bounding volume hierarchy or performing all possible ray-triangle intersections, the system terminates the traversal early once an intersection is detected, performing only the necessary portion of the intersection tests required to determine visibility, thus reducing processing time while maintaining rendering quality.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS11521308B2Ambient occlusion using bounding volume hierarchy bounding box tests
Publication Date: 2022.12.06 ADVANCED MICRO DEVICES INC
  • US11521308B2 patent drawing
  • US11521308B2 patent drawing
  • US11521308B2 patent drawing

AI summary

A technique for performing a ray intersection test, the method comprising: receiving a request for an early termination ray intersection test for a ray; testing the ray against one or more early termination box nodes and one or more normal box nodes of a bounding volume hierarchy; and based on the test of the ray against the one or more early termination box nodes, determining whether to end traversal of the bounding volume hierarchy and determine whether the ray intersects geometry for the purpose of the ray intersection test.