Ray Tracing Memory Management for Rendering Performance

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The existing ray tracing methods face performance deterioration due to memory stalls caused by insufficient memory space when dealing with multiple light sources and objects, leading to inefficient memory usage in rendering systems.

Innovation Solution

A method and system for effectively managing memory by controlling the storage and generation of rays, where primary rays are stored only if they can generate secondary rays, and information is deleted when no further secondary rays are generated, optimizing memory usage and enhancing rendering performance.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If all primary rays are stored in memory for generating secondary rays, then rendering accuracy is improved, but memory capacity is exceeded causing memory stalls

Engineering Contradiction:
Improverendering accuracyVSAvoidmemory capacity
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent changes the parameter of ray information storage by selectively storing only primary rays that can generate secondary rays, rather than storing all primary rays. This parameter change in storage strategy resolves the contradiction by maintaining rendering accuracy for rays that matter while reducing overall memory usage.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent applies local quality by differentiating between different types of primary rays and applying different storage policies to each. Rays that can generate secondary rays are stored with full information, while rays that cannot generate secondary rays are not stored. This localized differentiation resolves the memory capacity issue while maintaining necessary rendering accuracy.

Inventive Principle:
Principle #3Local quality

2Productivity

If memory space is increased to store all ray information, then rendering performance is improved, but system complexity and cost increase

Engineering Contradiction:
Improverendering performanceVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent changes the storage parameter from storing all ray information to storing only essential ray information (primary rays that generate secondary rays). This parameter change improves rendering performance by eliminating memory stalls while avoiding the complexity and cost of increasing overall memory capacity.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If ray information is stored continuously in memory, then secondary ray generation is improved, but memory access efficiency deteriorates due to memory stalls

Engineering Contradiction:
Improvesecondary ray generationVSAvoidmemory access speed
Core Design Contradiction:
ReliabilityVSSpeed

Solution Approach 1:

The patent applies discarding and recovering by not storing primary ray information in memory when it is not needed (when the ray cannot generate secondary rays). This eliminates unnecessary memory access operations, improving memory access speed while maintaining secondary ray generation capability for rays that require it.

Inventive Principle:
Principle #34Discarding and recovering

Data Source

PatentUS10186071B2Rendering system and method for generating ray
Publication Date: 2019.01.22 SAMSUNG ELECTRONICS CO LTD
  • US10186071B2 patent drawing
  • US10186071B2 patent drawing
  • US10186071B2 patent drawing

AI summary

A method for performing a rendering process of a rendering system includes generating a primary ray to render an image, determining whether the primary ray is capable of generating at least one secondary ray, storing information on the primary ray in a reference memory in response to determining that the primary ray is capable of generating the at least one secondary ray; and generating the at least one secondary ray based on the stored information on the primary ray.