Ray-Node Intersection Test Using Mixed Precision Arithmetic

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing ray tracing methods face inefficiencies in performing ray-node intersection tests due to the computational costs associated with using either floating-point or fixed-point operations, as the range of values processed can vary widely, necessitating a method that balances precision and cost effectively.

Innovation Solution

A method and apparatus for performing ray-node intersection tests that involve receiving fixed-point coordinates of a bounding box and an origin coordinate, calculating difference values, and obtaining multiplication values using a reciprocal direction vector, which is a floating-point number, while shifting the results to maintain precision and reduce computational costs.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If floating-point operations are used for ray-node intersection tests, then measurement precision is improved, but use of energy increases and productivity decreases

Engineering Contradiction:
ImproveprecisionVSAvoidcomputational cost
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent changes the parameter representation by using reciprocal direction vectors (1/dx, 1/dy, 1/dz) instead of original direction vectors, and employs fixed-point arithmetic with carefully managed precision. This allows maintaining sufficient precision for intersection tests while enabling more efficient hardware implementation that reduces computational cost and energy consumption.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent uses fixed-point numbers instead of floating-point numbers for the intersection test calculations. Fixed-point arithmetic is computationally cheaper and can be implemented more efficiently in hardware, sacrificing some precision but maintaining sufficient accuracy for the application while significantly reducing computational cost.

Inventive Principle:
Principle #27Cheap short-living objects (Disposable)

2Productivity

If fixed-point operations are used for ray-node intersection tests, then use of energy is reduced, but measurement precision deteriorates

Engineering Contradiction:
Improvecomputational costVSAvoidprecision
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The patent transforms the calculation parameters by using reciprocal direction vectors and adjusting the fixed-point representation to accommodate the range of values. This parameter transformation allows fixed-point arithmetic to maintain sufficient precision for intersection tests while enabling efficient computational implementation.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent performs preliminary calculations to determine the minimum and maximum intersection parameters (tmin, tmax) for each axis before completing the intersection test. This preliminary action allows the algorithm to early-out when no intersection exists, reducing the number of precision-critical operations needed and making fixed-point arithmetic sufficient.

Inventive Principle:
Principle #10Preliminary action

3Measurement precision

If floating-point operations are used for direction vectors, then measurement precision is improved, but device complexity increases

Engineering Contradiction:
ImproveprecisionVSAvoidcomputational complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent changes how direction vector information is represented and used by employing reciprocal direction vectors. This transformation simplifies the intersection test mathematics and allows the use of fixed-point arithmetic for the majority of calculations, reducing device complexity while maintaining necessary precision through selective use of floating-point operations only when absolutely required.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS9830733B2Method and apparatus for performing ray-node intersection test
Publication Date: 2017.11.28 SAMSUNG ELECTRONICS CO LTD
  • US9830733B2 patent drawing
  • US9830733B2 patent drawing
  • US9830733B2 patent drawing

AI summary

A method and apparatus to perform a ray-node intersection test are provided. The method includes receiving an input representing coordinates of a bounding box and an origin coordinate of a ray as fixed-point numbers, obtaining difference values between the input coordinates of the bounding box and the origin coordinate, and obtaining multiplication values between the obtained difference values and a reciprocal number of a direction vector of the ray, where the reciprocal number is a floating-point number.