Light Baking Path Guiding for Accurate Scene Ray Sampling

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current light baking methods in game development result in low rendering quality due to ineffective ray sampling in complex scenes, leading to inefficient use of computational resources and time.

Innovation Solution

Implementing path guiding to optimize ray sampling by using a spatial directional tree, which reduces unnecessary ray samples and improves the accuracy of incident ray distribution, thereby enhancing rendering quality.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional light baking methods are used in complex scenes, then rendering can be performed, but rendering quality is low due to ineffective ray sampling

Engineering Contradiction:
Improverendering qualityVSAvoidray samples
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent applies preliminary action by pre-calculating and storing light path information in a spatial directional tree before rendering. This allows the rendering system to query pre-computed light paths instead of performing expensive real-time ray tracing, thereby improving rendering quality while reducing the number of ray samples needed during actual rendering

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces a spatial directional tree as an intermediary data structure that stores light path information. This intermediary allows the system to avoid direct expensive ray tracing operations by querying pre-computed light paths, thus improving rendering quality without requiring numerous ray samples

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If more ray samples are used to improve rendering quality, then rendering accuracy increases, but computational time and resources increase

Engineering Contradiction:
Improveincident ray distribution accuracyVSAvoidcomputational time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent performs preliminary computation of light paths and stores them in the spatial directional tree before rendering. This pre-computation transfers the computational burden from real-time rendering to an offline preparation phase, allowing accurate incident ray distribution without increasing real-time computational time

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent creates a copy of light path information in the form of the spatial directional tree structure. Instead of repeatedly computing light paths during rendering, the system copies and reuses pre-computed light path data, thereby maintaining accuracy while reducing computational time

Inventive Principle:
Principle #26Copying

3Productivity

If traditional ray sampling is used, then rendering can be performed, but computational resources are inefficiently utilized

Engineering Contradiction:
Improverendering efficiencyVSAvoidcomputational resource waste
Core Design Contradiction:
ProductivityVSLoss of energy

Solution Approach 1:

The patent extracts light path information from expensive real-time ray tracing operations and stores it separately in the spatial directional tree. This extraction allows the rendering system to use efficient queries on pre-computed data instead of performing resource-intensive ray tracing during rendering, thereby improving productivity and reducing computational resource waste

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent creates a copy of light path data in the spatial directional tree structure, enabling efficient retrieval and reuse without repeating expensive computational operations. This copying mechanism improves rendering efficiency while minimizing computational resource consumption

Inventive Principle:
Principle #26Copying

Data Source

PatentUS12592025B2Image rendering based on light baking
Publication Date: 2026.03.31 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • US12592025B2 patent drawing
  • US12592025B2 patent drawing
  • US12592025B2 patent drawing

AI summary

This application describes a rendering method and apparatus, a device, and a storage medium. The method comprises: determining a texture element in a to-be-rendered scene, and determining a target spatial directional tree corresponding to the to-be-rendered scene. The target spatial directional tree represents an incident ray distribution corresponding to the texture element in the to-be-rendered scene. The method further comprises determining, based on the target spatial directional tree, a scene spatial region for the texture element, determining the incident ray distribution corresponding to the texture element based on a quantity of light paths and light energy in the scene spatial region; and determining a light rendering result corresponding to the texture element based on an incident ray corresponding to the incident ray distribution.