GPU Texture Pipeline Ray-Box Intersection Testing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current ray tracing techniques, particularly in graphics processing, face inefficiencies in ray-box intersection testing due to cumbersome computations, necessitating a more efficient method to accelerate the process.

Innovation Solution

The use of texture pipeline hardware in a graphics processing unit (GPU) to perform ray intersection testing, specifically through calculating dot products and determining intersections using specialized hardware units, such as dot-product units, to enhance ray-box intersection testing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional ray-box intersection testing algorithms are used, then accurate intersection detection is achieved, but computational complexity increases and processing speed decreases

Engineering Contradiction:
Improveintersection detection accuracyVSAvoidray tracing processing speed
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent replaces traditional mechanical/computational intersection testing algorithms with an optical analogy system. By mapping ray-box intersection problems to optical refraction scenarios and using Snell's law calculations, the system achieves accurate intersection detection through physics-based optical models rather than complex geometric computations, thereby improving both accuracy and processing efficiency.

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

Solution Approach 2:

The patent transforms the ray-box intersection problem by changing the parameter representation and calculation methodology. Instead of using traditional geometric parameters and iterative algorithms, the system reformulates the problem using optical parameters (refraction indices, angles) and closed-form mathematical solutions, which reduces computational complexity while maintaining precision.

Inventive Principle:
Principle #35Parameter changes

2Productivity

If specialized hardware units are introduced for dot product calculations, then ray-box intersection testing efficiency is improved, but device complexity increases

Engineering Contradiction:
Improveintersection testing efficiencyVSAvoidGPU hardware complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent makes the texture pipeline hardware multi-functional by enabling it to perform ray-box intersection testing in addition to its traditional texture sampling functions. By reusing existing dot-product units and algebraic logic circuits already present in the GPU for a different purpose (intersection testing), the system improves processing efficiency without adding specialized hardware, thus avoiding increased device complexity.

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

Solution Approach 2:

The patent enables the existing GPU texture pipeline to serve itself by performing ray-box intersection testing using its own built-in computational resources. The dot-product units and algebraic logic within the texture pipeline are leveraged to handle intersection calculations, allowing the hardware to perform multiple functions without external assistance or additional specialized components.

Inventive Principle:
Principle #25Self-service

Data Source

PatentEP3207526B1Ray-box intersection testing using dot product-based fixed function logic
Publication Date: 2019.01.09 QUALCOMM INC
  • EP3207526B1 patent drawingFigure 1
  • EP3207526B1 patent drawingFigure 2
  • EP3207526B1 patent drawingFigure 3~4

AI summary

A method and apparatus for ray tracing may include using texture pipeline hardware of a GPU to perform ray intersection testing for a first ray and a first shape. Using the texture pipeline hardware to perform ray intersection testing may include calculating a plurality of dot products with the texture pipeline hardware, and determining whether the first ray intersects the first shape based on the plurality of dot products.