Ray Tracing Memory Management for Rendering Performance
Find Innovative SolutionsGenerate 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
Engineering 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
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.
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.
2Productivity
If memory space is increased to store all ray information, then rendering performance is improved, but system complexity and cost increase
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.
3Reliability
If ray information is stored continuously in memory, then secondary ray generation is improved, but memory access efficiency deteriorates due to memory stalls
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.
Data Source
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.


