Ray Tracing Intersection Tie-Breaking With Orientation Offsets

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 in primitives, leading to visible holes and color inconsistencies.

Innovation Solution

Implement a method for intersection testing that includes determining offset intersection distances based on the orientation of primitives, using offsets that depend on the primitive's orientation to resolve ties and ensure non-redundant watertight intersection selection.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

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

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

Solution Approach 1:

The patent modifies the intersection distance parameter by introducing orientation-based offsets. Instead of using raw floating-point intersection distances, the system computes offset intersection distances that incorporate orientation information (clockwise/anticlockwise winding order) as additional parameters. This transforms the single-value distance parameter into a composite parameter that resolves ties caused by rounding errors, thereby improving measurement precision without significantly impacting rendering speed.

Inventive Principle:
Principle #35Parameter changes

2Ease of manufacture

If primitives share edges and vertices, then geometric efficiency is improved, but rendering reliability deteriorates due to non-deterministic intersection selection

Engineering Contradiction:
Improvegeometric efficiencyVSAvoidintersection selection determinism
Core Design Contradiction:
Ease of manufactureVSReliability

Solution Approach 1:

The patent introduces asymmetry in the intersection selection process by using orientation-based offsets that treat different winding orders (clockwise vs. anticlockwise) differently. This asymmetric treatment breaks the symmetry of shared edges and vertices, ensuring that intersections at shared geometry are resolved in a deterministic manner based on the primitive's orientation rather than relying on unstable floating-point comparisons. This maintains geometric efficiency while improving rendering reliability.

Inventive Principle:
Principle #4Asymmetry

Solution Approach 2:

The patent uses orientation information as an intermediary to resolve intersection distance ties. Instead of directly comparing raw intersection distances (which are prone to rounding errors), the system introduces orientation-based offsets as an intermediary mechanism that mediates the comparison process. This intermediary resolves the non-determinism by providing a stable, orientation-dependent tie-breaking rule that ensures consistent rendering results.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Measurement precision

If orientation-based offset intersection distances are used, then rendering accuracy is improved, but computational complexity increases

Engineering Contradiction:
Improveintersection distance accuracyVSAvoidintersection testing complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent applies partial action by only computing orientation-based offsets when necessary (i.e., when intersection distances are equal or very close). Rather than always performing complex orientation-based comparisons, the system uses simple distance comparison first and only introduces orientation-based offset calculation when ties occur. This partial application of the more complex method reduces overall computational complexity while maintaining high accuracy where needed.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS12469205B2Intersection testing in a ray tracing system using offset intersection distances
Publication Date: 2025.11.11 IMAGINATION TECH LTD
  • US12469205B2 patent drawing
  • US12469205B2 patent drawing
  • US12469205B2 patent drawing

AI summary

A method and an intersection testing module for performing intersection testing in a ray tracing system determines a first offset intersection distance which is equal to a sum of an intersection distance at which a ray intersects a first primitive and a first offset which is dependent upon the orientation of the first primitive. A second offset intersection distance is determined which is equal to a sum of an intersection distance at which the ray intersects a second primitive and a second offset which is dependent upon the orientation of the second primitive. The determined first and second offset intersection distances are compared to select the intersection of the ray with one of the first and second primitives.