Stencil Mapped Shadowing for Ray Tracing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current ray tracing technologies face challenges in load balancing, high processing costs due to acceleration structures, and excessive intersection tests, which hinder efficient rendering of large scenes and power consumption, especially in battery-powered devices like smartphones and laptops.

Innovation Solution

The method employs a uniform grid of cells with stencil maps that cache relevant scene data locally, eliminating the need for acceleration structures and reducing intersection tests, allowing for efficient parallel processing and improved load balancing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If acceleration structures are used for ray tracing, then intersection tests can be performed, but processing cost and construction time increase significantly

Engineering Contradiction:
Improveintersection test accuracyVSAvoidprocessing cost
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The scene is divided into a uniform grid of cells, with each cell maintaining a stencil map that stores only the geometric data relevant to that cell. This segmentation eliminates the need for global acceleration structures while enabling localized intersection tests within each cell, reducing both construction time and processing cost.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Each cell in the uniform grid has its own stencil map containing only the geometric data necessary for shadowing calculations in that specific cell. This local quality approach ensures that each processor working on a cell has access to only the data it needs, minimizing memory access overhead and eliminating the need for complex global acceleration structures.

Inventive Principle:
Principle #3Local quality

2Productivity

If uniform grid of cells with stencil maps is used, then processing efficiency improves, but data distribution complexity increases

Engineering Contradiction:
Improverendering efficiencyVSAvoiddata distribution complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The uniform grid structure serves multiple functions simultaneously: it provides spatial organization for scene data, defines processor work domains, and organizes stencil map storage. This multi-functionality simplifies data distribution compared to complex hierarchical structures while maintaining high rendering efficiency through localized processing.

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

Data Source

PatentUS9117306B2Method of stencil mapped shadowing
Publication Date: 2015.08.25 SNAP INC
  • US9117306B2 patent drawing
  • US9117306B2 patent drawing
  • US9117306B2 patent drawing

AI summary

Aspects comprise shadowing method as part of ray tracing. It is based on uniform grid of cells, and on local stencils in cells. The acceleration structures are abandoned along with high traversal and construction costs of these structures. The amount of intersection tests is cut down. The stencils are generated in the preprocessing stage and utilized in runtime. The relevant part of scene data, critical for shadowing of all visible intersection points in a cell, is registered in the local stencil map, as a volumetric data. The runtime use of stencils allows a complete locality at each cell, enhanced utilization of processing resources and load balancing of parallel processing.