Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A Generic Shadow Map Method for Generating Shadows

A shadow map and linear shadow map technology, used in image analysis, image data processing, instruments, etc., can solve the problems that the distortion/fitting method cannot handle projection aliasing, the processing effect depends on the size of the resolution, and the algorithm efficiency is low. Achieve the effect of improving shadow generation quality and algorithm performance, eliminating aliasing, and reducing performance overhead

Active Publication Date: 2017-09-12
ZHEJIANG UNIV
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

where warping / fitting (Lloyd DB, Govindaraju N K, Quammen C, et al. Logarithmic perspectiveshadowmaps[J]. ACM Transactions on Graphics, 2008, 27(4): Article No.106) and z-segmentation (Lloyd DB, Tuft D, Yoon S e, et a1. Warping and Partitioning for Low ErrorShadowMaps [C]. Proceedings of the 17th Eurographics Conference on Rendering Techniques. Aire-la-Ville: Eurographics Association Press, 2006: 215-226) method is more efficient, But they can only make the aliasing evenly distributed in the scene, the processing effect of aliasing is still heavily dependent on the size of the resolution, and the warping / fitting method cannot deal with projection aliasing
Adaptive segmentation (Fernando R, Fernandez S, Bala K, et al. Adaptive shadow maps [C]. Proceeding of the 28th annual conference on Computer graphics and interactive techniques (SIGGRAPH'01). New York: ACM Press, 2001: 387-390) Algorithms such as Aila T, LaineS.Alias-free shadow maps[C]. Proceedings of the FifteenthEurographics conference on Rendering Techniques. Aire-la-Ville: Eurographics Association Press, 2004: 161-166) can theoretically completely avoid shadow maps. Aliasing problem, but the efficiency of the algorithm is low, and it does not directly play a big role in real-time applications
On the other hand, compared with the original shadow map algorithm, which only needs to store a single-channel depth map, methods such as z-segmentation, adaptive segmentation, and aliasing removal require more additional shadow map storage space.

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
  • A Generic Shadow Map Method for Generating Shadows
  • A Generic Shadow Map Method for Generating Shadows
  • A Generic Shadow Map Method for Generating Shadows

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] Such as figure 1 As shown, the technical solution adopted by the present invention is: a general auxiliary shadow map algorithm to generate shadows, and the implementation steps are as follows:

[0050] 1) Pre-calculate the contour template in the de-pixelated contour reconstruction technique involved in the present invention to obtain a contour sampling point lookup table.

[0051] First, enumerate the similarity map near the texel: For each depth sampling point, first determine the continuous relationship between it and the adjacent depth sampling values ​​of the eight neighborhoods. If the difference between the two depth values ​​is less than a given threshold, then It means that there is geometric continuity between the two; on the contrary, there is no geometric continuity between the two, thus generating a similarity graph. Then each edge in the similarity graph is regarded as two halves, and the two halves belong to adjacent depth sampling points. Taking each depth...

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 an auxiliary technology for generating shadows from a general shadow map, including: pre-calculating the contour line template to obtain a contour line sampling point lookup table; drawing the scene from the light source space, and combining the shadow map algorithm based on uniform point sampling to form a linear Shadow map; draw the scene from the viewing space, transform the pixels to the light source space, and classify the pixels into contour pixels and non-contour pixels; use linear interpolation to calculate the depth of the occluder for the non-contour pixels, and compare the depth values ​​​​to get the shadow result ; For the contour line pixels, the contour line sampling points are read in the pre-built contour line sampling point lookup table through the local similarity relationship, and the shadow result is obtained according to the positional relationship between the pixel coordinates and the contour line sampling points. The invention provides an auxiliary technology for generating shadows from shadow maps. On the basis of existing shadow map algorithms, the shadow generation quality or algorithm performance of these algorithms is improved with less additional performance overhead.

Description

Technical field [0001] The invention relates to the field of computer graphics shadow drawing, in particular to a method for generating shadows from a general shadow map. Background technique [0002] Shadow is one of the important elements of the real world, and it is also an indispensable part of the realistic rendering of synthetic images. It carries important information such as the position of the light source and the direction of light transmission in the scene. Although the shadow drawing algorithm has been a classic problem in computer graphics, the problem of how to generate shadows efficiently and robustly has not been completely solved. The two mainstream algorithms for drawing shadows are the shadow map algorithm and the shadow volume algorithm, which represent two hard shadow generation ideas based on image and geometry respectively. The biggest feature of the shadow map algorithm is simple and efficient, and the performance of the algorithm is basically independen...

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): G06T7/11G06T7/507
Inventor 冯结青杜文俊梅井翔
Owner ZHEJIANG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products