Stochastic Ray Culling for Realistic Rendering Performance

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current ray tracing techniques require significant computational power and processing time, especially when rendering complex scenes, making it challenging to achieve fast and realistic rendering for applications like animation.

Innovation Solution

The method involves stochastic culling and addition of secondary rays during the ray tracing process, reducing the number of rays traced and introducing minor imperfections to improve performance and realism, using a spatial index and multiple core processing elements to distribute workload efficiently.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If traditional ray tracing is used to render realistic images, then image realism is improved, but computational power requirements and processing time increase significantly

Engineering Contradiction:
Improveimage realismVSAvoidcomputational power requirements
Core Design Contradiction:
Manufacturing precisionVSPower

Solution Approach 1:

The patent applies partial action by stochastically selecting whether to trace secondary rays (reflected, refracted, or shadow rays) based on a random number generator. Instead of always tracing all possible secondary rays to maximize realism, the system traces only a subset determined by a probability threshold, thereby reducing computational workload while maintaining acceptable image quality

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The patent changes the parameter of ray tracing completeness from 100% to a stochastic probability-based approach. By introducing a random number generator that compares against a threshold value, the system dynamically adjusts the number of secondary rays traced per original ray, transforming a deterministic computational process into a probabilistic one that balances realism and performance

Inventive Principle:
Principle #35Parameter changes

2Measurement precision

If the number of rays traced is increased to improve rendering accuracy, then image quality is improved, but rendering time increases

Engineering Contradiction:
Improverendering accuracyVSAvoidrendering time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent implements partial action by not always tracing the maximum number of secondary rays. Instead, it uses a stochastic approach where the number of secondary rays traced varies based on random selection, allowing the system to achieve sufficient rendering accuracy for many pixels while avoiding unnecessary computations for others

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The patent applies periodic action through the repeated use of random number generation during the ray tracing process. For each original ray that intersects a primitive, the system generates a random number and uses it to determine whether to trace secondary rays, creating a rhythmic pattern of computation that balances accuracy and speed

Inventive Principle:
Principle #19Periodic action

3Reliability

If all secondary rays are traced to ensure complete rendering, then rendering completeness is improved, but processing speed decreases

Engineering Contradiction:
Improverendering completenessVSAvoidprocessing speed
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent applies partial action by selectively tracing secondary rays based on stochastic criteria rather than completing all possible ray traces. This approach maintains rendering completeness for the most important rays while skipping less critical ones, thereby improving processing speed without significantly compromising overall rendering quality

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The patent uses a virtual copy of the complete ray tracing algorithm that incorporates randomization. Instead of executing the full deterministic algorithm, the system executes a probabilistic version that may skip steps based on random number comparisons, effectively creating a simplified copy of the rendering process that achieves acceptable results faster

Inventive Principle:
Principle #26Copying

Data Source

PatentUS8085267B2Stochastic addition of rays in a ray tracing image processing system
Publication Date: 2011.12.27 ACTIVISION PUBLISHING INC
  • US8085267B2 patent drawing
  • US8085267B2 patent drawing
  • US8085267B2 patent drawing

AI summary

According to embodiments of the invention, rays may be stochastically culled before they are issued into the three-dimensional scene. Stochastically culling rays may reduce the number of rays which need to be traced by the image processing system. Furthermore, by stochastically culling rays before they are issued into the three-dimensional scene, minor imperfections may be added to the final rendered image, thereby improving the realism of the rendered image. Therefore, stochastic culling of rays may improve the performance of the image processing system by reducing workload imposed on the image processing system and improving the realism of the images rendered by the image processing system. According to another embodiment of the invention, the realism of images rendered by the image processing system may also be improved by stochastically adding secondary rays after ray-primitive intersections have occurred.