Ray Tracing Intersection Selection for Shared-Edge Determinism

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing ray tracing systems face issues with non-deterministic rendering and rendering artefacts due to equal intersection distances and rounding errors in floating-point calculations, particularly when dealing with shared edges and vertices, leading to visible holes and color inconsistencies.

Innovation Solution

Implement a method for intersection testing in ray tracing systems that considers both the orientation and intersection distance differences between primitives, using a threshold to select the appropriate intersection based on orientation when distances are equal, and applying offsets based on primitive orientations to resolve ties.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional intersection testing is used with floating-point calculations, then rendering speed is maintained, but rendering precision deteriorates due to rounding errors and non-deterministic results

Engineering Contradiction:
Improveintersection distance precisionVSAvoidrendering speed
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent changes the parameter used for intersection distance comparison from absolute floating-point values to relative differences. By comparing the difference in intersection distances against a threshold rather than using absolute values, the system achieves more reliable comparisons that are less sensitive to floating-point rounding errors while maintaining rendering performance.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent replaces the traditional floating-point based intersection testing mechanism with a new approach that uses orientation information and relative distance comparisons. This substitution eliminates the non-deterministic behavior caused by floating-point rounding errors while preserving the speed of traditional ray tracing methods.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Reliability

If intersection testing is performed on shared edges and vertices, then geometric completeness is improved, but rendering quality deteriorates due to visible holes and color inconsistencies

Engineering Contradiction:
Improvegeometric completenessVSAvoidrendering artefacts
Core Design Contradiction:
ReliabilityVSObject-affected harmful factors

Solution Approach 1:

The patent introduces asymmetric handling of primitives based on their orientation. By distinguishing between front-facing and back-facing primitives and applying different intersection selection rules based on orientation, the system resolves ambiguities at shared edges and vertices in a consistent manner that eliminates visible holes and color inconsistencies while maintaining geometric completeness.

Inventive Principle:
Principle #4Asymmetry

Solution Approach 2:

The patent applies different intersection selection criteria to different primitives based on their local orientation properties. Front-facing and back-facing primitives are handled differently in the intersection selection process, allowing the system to maintain geometric completeness at shared edges while producing visually consistent rendering results.

Inventive Principle:
Principle #3Local quality

3Reliability

If deterministic intersection selection is implemented using orientation, then rendering quality is improved, but device complexity increases

Engineering Contradiction:
Improverendering determinismVSAvoidintersection testing complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent makes the existing intersection testing infrastructure universal by adding orientation-based selection logic that works alongside the traditional geometric intersection tests. The same code paths handle both traditional intersection selection and the new orientation-based selection, avoiding the need for separate complex systems while achieving deterministic rendering results.

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

Data Source

PatentUS20250349065A1Intersection Testing in a Ray Tracing System Using Comparison of Intersection Distance Differences Between Primitive Intersections
Publication Date: 2025.11.13 IMAGINATION TECH LTD
  • US20250349065A1 patent drawing
  • US20250349065A1 patent drawing
  • US20250349065A1 patent drawing

AI summary

A method and an intersection testing module for performing intersection testing in a ray tracing system determines if a difference between an intersection distance at which a ray intersects a first primitive and an intersection distance at which the ray intersects a second primitive satisfies a comparison condition with respect to a threshold, and if the orientations of the first and second primitives are different. If so the intersection of the ray with the one of the first and second primitives which has a particular orientation is selected.