Bounding Volume Hierarchy Compression for Ray Tracing Efficiency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Ray tracing operations are computationally expensive due to the need to test rays against a large number of triangles in a scene, which can be inefficient without proper spatial acceleration structures.

Innovation Solution

The use of a bounding volume hierarchy (BVH) with compressed triangle blocks that share vertices, allowing for efficient ray intersection tests by eliminating boxes and triangles from consideration and unpacking triangles for detailed intersection checks.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If a bounding volume hierarchy with compressed triangle blocks is used, then the number of ray-triangle intersections required is reduced, but the data structure complexity increases

Engineering Contradiction:
Improvecomputational efficiencyVSAvoiddata structure complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent segments the bounding volume hierarchy into distinct block types (box blocks and triangle blocks) with specialized compression schemes for each, allowing efficient ray traversal while managing complexity through modular organization

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent merges multiple triangles that share vertices into compressed triangle blocks, reducing redundant vertex storage and improving cache efficiency while maintaining accurate ray intersection testing

Inventive Principle:
Principle #5Merging (Combining)

2Quantity of substance

If vertices are shared between multiple triangles in compressed blocks, then memory usage is reduced, but the unpacking and intersection test complexity increases

Engineering Contradiction:
Improvememory usageVSAvoidunpacking complexity
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The patent performs preliminary organization of triangles into blocks with shared vertices during scene preparation, pre-computing the compressed representation to enable efficient runtime traversal without excessive unpacking complexity

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent applies different compression strategies to different block types (boxes vs. triangles) based on their specific characteristics, optimizing memory usage locally while managing complexity through specialized handling

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS11321903B2Bounding volume hierarchy compression
Publication Date: 2022.05.03 ADVANCED MICRO DEVICES INC
  • US11321903B2 patent drawing
  • US11321903B2 patent drawing
  • US11321903B2 patent drawing

AI summary

A technique for performing ray tracing operations is provided. The technique includes receiving a ray for an intersection test, testing the ray against boxes specified in a bounding volume hierarchy to eliminate one or more boxes or triangles from consideration, unpacking a triangle from a compressed triangle block of the bounding volume hierarchy, the compressed triangle block including two or more triangles that share at least one vertex, and testing the ray for intersection against at least one of the unpacked triangles.