Register-Based Ray Traversal for Acceleration Structure Optimization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Ray tracing methods for rendering 3D objects into 2D images impose a significant computational load, making high-speed rendering challenging despite the use of acceleration structures.

Innovation Solution

The method involves setting bit stack values and route values in an acceleration structure based on the number of ray-crossing child nodes to efficiently traverse the structure, allowing for reduced computational load by determining untraversed child nodes and adjusting traversal paths without using stacks.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If ray tracing method is applied to achieve high quality image rendering, then image quality is improved, but computational load increases significantly

Engineering Contradiction:
Improveimage qualityVSAvoidcomputational load
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The acceleration structure is divided into a hierarchical tree structure with root nodes, internal nodes, and leaf nodes. Each node represents a spatial region, and the hierarchy allows progressive refinement from coarse to fine levels, enabling efficient culling of non-intersecting regions and reducing the number of intersection tests required for high-quality rendering.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The acceleration structure is pre-computed and stored before ray tracing execution. Bit stack values and route values are pre-calculated for each node based on spatial relationships, allowing the rendering process to directly traverse the pre-organized structure without performing complex spatial queries during actual ray tracing, thus reducing real-time computational load.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If traditional acceleration structure traversal is used, then rendering efficiency is improved, but memory usage increases due to stack requirements

Engineering Contradiction:
Improverendering efficiencyVSAvoidmemory usage
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The traditional stack-based traversal mechanism is replaced with a register-based system. Bit stack values are stored in fixed-position registers rather than dynamic stack memory, eliminating the need for stack allocation and deallocation operations. This substitution reduces memory usage while maintaining traversal efficiency through direct register access.

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

Solution Approach 2:

The traversal state is represented by changing parameter values (bit stack values and route values) rather than stack operations. Each node's traversal state is encoded in bit flags that can be set, cleared, or tested directly, replacing the need for push/pop operations and reducing memory overhead associated with stack data structures.

Inventive Principle:
Principle #35Parameter changes

3Measurement precision

If comprehensive traversal of all child nodes is performed, then accuracy is improved, but processing speed decreases

Engineering Contradiction:
Improvetraversal accuracyVSAvoidprocessing speed
Core Design Contradiction:
Measurement precisionVSSpeed

Solution Approach 1:

The system pre-identifies and marks child nodes that do not intersect with the ray by setting their bit stack values appropriately. This preliminary anti-action prevents unnecessary traversal of non-intersecting nodes, maintaining traversal accuracy by ensuring all intersecting nodes are visited while eliminating wasted processing on nodes that can be safely culled.

Inventive Principle:
Principle #9Preliminary anti-action

Solution Approach 2:

Instead of traversing all child nodes uniformly, the system performs partial traversal only on nodes that may contain intersections. The bit stack mechanism allows selective continuation of traversal based on intersection potential, performing exactly the necessary work without excessive processing of nodes that will not contribute to the final image quality.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS9728000B2Apparatus and method of using acceleration structure in ray tracing
Publication Date: 2017.08.08 SAMSUNG ELECTRONICS CO LTD
  • US9728000B2 patent drawing
  • US9728000B2 patent drawing
  • US9728000B2 patent drawing

AI summary

An apparatus and a method of using an acceleration structure in ray tracing, and a method of ray tracing are provided. The method involves setting a bit stack value of a level of an acceleration structure, moving to a child node among the ray-crossing child nodes and setting a route value of a corresponding level of the acceleration structure, and determining a pop level based on one or more bit stack values.