Ray Traversal Control Using Node Masks and Programmable Operations

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Ray tracing in real-time computer graphics is computationally challenging due to the lack of coherence in ray paths through diverse materials, leading to inefficiencies in testing intersections with scene geometry, which existing acceleration structures like BVHs and DXR instance masking cannot fully address.

Innovation Solution

Implementing a ray tracing coprocessor that performs node masking and programmable ray operations in hardware, allowing multiple selection tests per ray, including instance masking and geometric level of detail, to enhance traversal efficiency and flexibility.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If traditional BVH acceleration structures are used for ray tracing, then intersection testing can be performed, but false positives occur and traversal efficiency is insufficient for real-time rendering

Engineering Contradiction:
Improveray tracing speedVSAvoidintersection testing accuracy
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent divides the scene into multiple instance groups, each with its own bounding volume hierarchy. This segmentation allows the ray tracer to test against coarser instance-level bounding volumes first, filtering out entire groups of primitives that don't intersect the ray, thereby reducing false positives while maintaining traversal efficiency for real-time rendering

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an additional hierarchical level above the traditional BVH by organizing primitives into instance groups with instance-level bounding volumes. This dimensional addition creates a two-level filtering system that reduces false positives without sacrificing the detailed intersection testing capability needed for accuracy

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Adaptability or versatility

If DXR instance masking is implemented, then some traversal filtering is achieved, but multiple selection tests per ray are not supported and flexibility is limited

Engineering Contradiction:
Improvetraversal selection flexibilityVSAvoidhardware operation complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent implements a universal node masking mechanism that can be applied at multiple hierarchical levels (instance level and primitive level) and supports multiple selection tests per ray. This multi-functional approach allows a single hardware mechanism to handle various traversal filtering needs, including instance masking, level of detail control, and custom selection criteria, thereby increasing flexibility without proportionally increasing hardware complexity

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent pre-computes and stores masking information for nodes in the acceleration structure, allowing the traversal algorithm to perform rapid filtering decisions without complex runtime computations. This preliminary preparation enables multiple selection tests to be executed efficiently during ray traversal, enhancing flexibility while keeping hardware operations manageable

Inventive Principle:
Principle #10Preliminary action

3Reliability

If comprehensive intersection testing is performed against all primitives, then accurate visibility is achieved, but computational cost increases significantly for real-time applications

Engineering Contradiction:
Improvevisibility determination accuracyVSAvoidframes per second
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent segments the scene into instance groups with hierarchical bounding volumes, enabling a two-stage filtering process. Rays first intersect against coarse instance-level bounding volumes to identify candidate groups, then perform detailed primitive-level intersection testing only on relevant candidates. This segmentation maintains visibility accuracy while reducing the total number of intersection tests required, enabling real-time frame rates

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements a hierarchical filtering approach that performs partial intersection testing at the instance level before committing to full primitive-level testing. This partial action approach tests against a superset of potential intersections (instance bounding volumes) and then filters down to the actual primitive intersections needed, achieving accurate visibility determination with reduced computational cost for real-time rendering

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS12511817B2Techniques for traversing data employed in ray tracing
Publication Date: 2025.12.30 NVIDIA CORP
  • US12511817B2 patent drawing
  • US12511817B2 patent drawing
  • US12511817B2 patent drawing

AI summary

Ray tracing hardware accelerators supporting multiple specifiers for controlling the traversal of a ray tracing acceleration data structure are disclosed. For example, traversal efficiency and complex ray tracing effects can be achieved by specifying traversals through such data structures using both programmable ray operations and explicit node masking. The explicit node masking utilizes dedicated fields in the ray and in nodes of the acceleration data structure to control traversals. Ray operations, however, are programmable per ray using opcodes and additional parameters to control traversals. Traversal efficiency is improved by enabling more aggressive culling of parts of the data structure based on the combination of explicit node masking and programmable ray operations. More complex ray tracing effects are enabled by providing for dynamic selection of nodes based on individual ray characteristics.