Photon collection method and photon mapping rendering method based on shared video memory optimization

A photon collection and photon mapping technology, which is applied in the field of photon mapping and rendering, can solve the problems of blurring and easy deviation of photon mapping methods, and achieve the effect of improving rendering efficiency.

Active Publication Date: 2022-05-03
PEKING UNIV
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Unlike the drawbacks of Monte Carlo ray tracing, the photon-mapping method is prone to bias, a phenomenon known as ambiguity

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Photon collection method and photon mapping rendering method based on shared video memory optimization
  • Photon collection method and photon mapping rendering method based on shared video memory optimization
  • Photon collection method and photon mapping rendering method based on shared video memory optimization

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The present invention will be described in further detail below through specific embodiments and accompanying drawings.

[0043] The technical scheme process that the present invention adopts is as figure 1 As shown, the steps include:

[0044] Step 1: Divide the 3D scene space evenly into a large number of cubic grids, and number them starting from 0. These cubic grids constitute a grid network. For convenience, the side length of each grid is set to the size r of the photon search radius, so that each point only needs to visit the 3×3×3 area centered on the small cube it is in when searching. All possible contributing photons are searched.

[0045] First, calculate the origin position and size of the entire grid. Objects in the entire 3D scene are usually composed of triangular grids, which can be contained by a bounding box. The origin of the grid grid can be set to the vertex with the smallest coordinates in each dimension of the bounding box, which is recorded a...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a photon collection method and a photon mapping rendering method based on shared video memory optimization. The method for collecting photons of the present invention comprises: 1) dividing the entire three-dimensional scene to be rendered into hash grids; 2) the light source emits photons, and when the photons intersect with the diffuse reflection surface in the scene, record the position of the photons, Energy and incident direction information; 3) According to the position of the photon in the record, calculate the corresponding hash value, reorder the photons according to the order of the hash value from small to large and generate an index array; 4) Starting from the viewpoint, to each The pixel emits light, calculates the first intersection point p on the path with the diffuse reflection surface of the scene, and records the position and incident direction of the intersection point p; 5) divides the pixels to be calculated into groups and assigns a thread to each pixel; 6) judges a Whether the hit points of the pixels in the group are located in the same grid, and if they are located in the same grid, shared video memory is used for acceleration.

Description

technical field [0001] The invention belongs to the technical field of software, and relates to a photon collection method and a photon mapping rendering method based on shared video memory optimization in photon mapping. Background technique [0002] Ray tracing is a solution to solve the problem of global illumination in high-fidelity rendering, but its inherent computational complexity requires the Monte Carlo method to simulate the illumination of complex surface materials. The defect of the Monte Carlo method is the noise problem when the number of samples is insufficient. Even if a powerful neural network noise reduction model is used, it is still difficult to obtain good results directly due to insufficient information. [0003] The photon mapping algorithm is one of many variants of the ray tracing algorithm. It originated from reverse ray tracing, and then Jensen improved the algorithm using k-nearest neighbor estimation (Jensen H.W.: Global illumination using phot...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06T17/20G06T15/20G06T1/60
CPCG06T17/205G06T15/205G06T1/60
Inventor 周闻达段元兴李胜
Owner PEKING UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products