Partial shadow image-based high-quality soft shadow fast generation method

A technology of local shadows and shadow maps, applied in 3D image processing, image data processing, instruments, etc., can solve problems such as efficiency reduction, achieve the effect of reducing the number, improving rendering efficiency, and speeding up rendering

Inactive Publication Date: 2013-10-23
BEIHANG UNIV
View PDF0 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when the view point is close to the shadow, the area of ​​the penumbra area on the screen becomes larger, and the number of sampling points obtained by the algorithm easily reaches the maximum value, resulting in a sharp drop in efficiency.

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
  • Partial shadow image-based high-quality soft shadow fast generation method
  • Partial shadow image-based high-quality soft shadow fast generation method
  • Partial shadow image-based high-quality soft shadow fast generation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments of the present invention.

[0029] (1) into a sampling point shadow map

[0030] The soft shadow method of the present invention is based on multiple shadow maps, which are generated in two stages. The first stage generates a shadow map at the initial sampling point (for a rectangular surface light source, that is, the shadow map at the four vertices of the surface light source). The initial shadow map is a complete shadow map, which is generated using a unified perspective projection matrix and viewport that only depends on the scene, and does not change with the movement of the viewpoint. The second stage generates shadow maps at subdivision sampling points to improve shadow quality. The projection matrix and viewport that generate these shadow maps change with the ALSMR corresponding to the current viewpoint, and the partial shadow maps are o...

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 partial shadow image-based high-quality soft shadow fast generation method. The flow chart of the method comprises the following two parts: adaptive light source sampling and partial shadow image acceleration, wherein whether light source sampling points are further subdivided is judged by back projecting a generated partial shadow image on a camera viewpoint so as to perform the adaptive sampling on a light source and generate a shadow image which is enough to ensure high-quality shadow; and calculating a surface light source shadow image region corresponding to visible shadow pixels when the back projection of the shadow image is performed, and adjusting a projection matrix and a viewport generated by the shadow image so as to accelerate the shadow image. By the method, the high-quality shadow is ensured, and meanwhile, the rendering efficiency can be greatly improved; the method is particularly suitable for the scene with a larger number of invisible shadow parts. The method supports a dynamic surface light source, a dynamic deformable scene, does not need calculation, and has the advantages of easiness in implementation, lifelike effect, high rendering effect and the like.

Description

technical field [0001] The invention belongs to the technical field of high-quality soft shadows, and in particular relates to a method for generating soft shadows based on multiple shadow maps. Background technique [0002] In real nature, soft shadows can be seen in any scene. Many hard shadow generation methods have been widely used in games, animation and virtual reality systems. However, how to quickly generate high-quality soft shadows to enhance the realism of virtual scenes and make scenes more realistic is still a complex task. high research value. In recent years, people have proposed many methods for soft shadow generation, mainly focusing on the improvement and extension of the Shadow Maps algorithm and Shadow Volumes algorithm. Because the physics-based soft shadow generation method requires a lot of visibility calculations, most of the current interactive applications use a method based on a single shadow map, and use a heuristic method to approximate the pen...

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 Applications(China)
IPC IPC(8): G06T15/60
Inventor 王莉莉张鑫维马志强
Owner BEIHANG 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