Ray Tracing Intersection with Oriented Bounding Boxes

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Ray tracing operations in image synthesis face challenges due to errors introduced by floating-point calculations, particularly in rotating rays for intersection tests with oriented bounding boxes, leading to gaps between primitives and incorrect rendering.

Innovation Solution

The technique involves determining error bounds for ray rotation calculations and selectively growing bounding boxes to compensate for these errors, ensuring accurate intersection tests by treating potential misses as hits within the error margin.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If floating-point calculations are used for ray rotation, then computational efficiency is improved, but rendering accuracy deteriorates due to gaps between primitives

Engineering Contradiction:
Improvecomputational efficiencyVSAvoidrendering accuracy
Core Design Contradiction:
ProductivityVSManufacturing precision

Solution Approach 1:

The patent applies beforehand cushioning by calculating error bounds for floating-point ray rotation operations and using these bounds to grow bounding boxes before intersection testing. This compensates for potential floating-point errors in advance, ensuring that rays that should intersect primitives due to rounding errors are correctly identified as hits, thus eliminating gaps between primitives while maintaining computational efficiency.

Inventive Principle:
Principle #11Beforehand cushioning (Prior cushioning)

2Reliability

If bounding boxes are grown to compensate for floating-point errors, then intersection test reliability is improved, but computational complexity increases

Engineering Contradiction:
Improveintersection test reliabilityVSAvoidcomputational complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent applies parameter changes by modifying the bounding box dimensions based on calculated error bounds. Instead of using fixed bounding boxes, the system dynamically adjusts box sizes by adding error compensation margins to the min and max coordinates. This approach improves intersection test reliability by accounting for floating-point errors while maintaining relatively simple computational operations.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS12315069B2Technique for testing ray for intersection with oriented bounding boxes
Publication Date: 2025.05.27 ADVANCED MICRO DEVICES INC
  • US12315069B2 patent drawing
  • US12315069B2 patent drawing
  • US12315069B2 patent drawing

AI summary

A technique for performing ray tracing operations is provided. The technique includes determining error bounds for a rotation operation for a ray; selecting a technique for determining whether the ray intersects a bounding box based on the error bounds; and determining whether the ray hits the bounding box based on the selected technique.