Parallel BVH Reinsertion Conflict Resolution for Ray-Tracing Efficiency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for optimizing bounding volume hierarchies (BVHs) in ray tracing, such as those described by Meister and Bittner, face inefficiencies due to the discarding of potentially beneficial reinsertions that conflict with higher scoring reinsertions, and the restriction to binary tree structures, which limits computational cost reduction.

Innovation Solution

A method that allows for non-binary reinsertions, retries conflicted reinsertions, and restricts the search scope to nodes closer to the root, while maintaining a deterministic allocation scheme using process IDs to manage node slots, thereby optimizing the BVH for reduced computational cost.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If parallel reinsertion optimization is performed on BVH, then computational cost reduction is achieved, but conflicts between simultaneous reinsertions cause some beneficial reinsertions to be discarded

Engineering Contradiction:
Improvecomputational cost reductionVSAvoidreinsertion selection accuracy
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent performs a preliminary conflict detection phase before executing reinsertions. It identifies all conflicting reinsertion pairs in advance, calculates their scores, and determines the winner of each conflict beforehand. This preliminary action allows the system to resolve conflicts deterministically without losing beneficial reinsertions, as the winner selection is made before any reinsertions are actually applied to the BVH.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent segments the reinsertion process into distinct phases: identification of candidate reinsertions, conflict detection between pairs, score calculation for each pair, winner selection, and final execution. By segmenting the process, the system can handle conflicts systematically without interference between simultaneous operations, ensuring that beneficial reinsertions are not discarded due to race conditions or timing issues.

Inventive Principle:
Principle #1Segmentation

2Productivity

If binary tree structure is enforced for BVH, then implementation simplicity is maintained, but opportunities for computational cost reduction are limited

Engineering Contradiction:
Improvecomputational cost reductionVSAvoidtree structure complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent introduces dynamic node degree flexibility to the BVH structure. Instead of enforcing a fixed binary tree structure where each node has exactly two children, the system allows nodes to have variable degrees (different numbers of children). This dynamic approach enables the BVH to adapt its structure to the specific geometry being rendered, creating more optimal traversal paths and reducing computational cost without making the implementation excessively complex.

Inventive Principle:
Principle #15Dynamics

3Manufacturing precision

If all candidate reinsertions are evaluated and executed, then optimal BVH is achieved, but processing time increases due to conflict resolution overhead

Engineering Contradiction:
ImproveBVH optimization qualityVSAvoidprocessing time
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The patent implements a selective execution strategy where not all candidate reinsertions are executed, but only the winners of conflict pairs. By evaluating all candidates to identify conflicts and determine winners, then executing only the winning reinsertions, the system achieves a balance between optimization quality and processing efficiency. This partial execution approach avoids the excessive time cost of resolving all possible conflicts while still capturing the most beneficial reinsertions.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentEP4254346B1Parallel optimisation of bounding volume hierarchy with conflict resolution mechanism
Publication Date: 2025.07.09 IMAGINATION TECH LTD
  • EP4254346B1 patent drawingFigure 1~2
  • EP4254346B1 patent drawingFigure 3a~4b
  • EP4254346B1 patent drawingFigure 5

AI summary

A method comprising, in each of one or more iterations: i) for each of a plurality of input nodes of a current bounding volume hierarchy (BVH), searching for a candidate reinsertion which would move the input node from an old parent to a new parent, and which would reduce an expected computational cost of searching the BVH for a ray intersection; and ii) performing a first update to update the current BVH with one or more selected reinsertions from among the candidates. The selection comprises a conflict check to determine whether any group of the candidates would affect a same part of the current BVH, and if so selecting only one of the group to include in the first update. At least one of the iterations further comprises, after the first update, performing a second update within the same iteration to update the current BVH with another of said group.