Real-time soft shadow rendering method for point light sources

A point light source and soft shadow technology, applied in the field of graphics, can solve problems such as high triangle filling rate, excessively hard shadow edges, and affect rendering performance, and achieve the effect of eliminating aliasing, softening edge details, and saving computing resources

Inactive Publication Date: 2012-11-07
南京安讯网络服务有限公司
View PDF1 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

They have the inherent disadvantages of shadow bodies: the shadow edges are too hard to achieve the effect of real soft shadows; the triangle fill rate is too high, which affects rendering performance
There are

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
  • Real-time soft shadow rendering method for point light sources
  • Real-time soft shadow rendering method for point light sources
  • Real-time soft shadow rendering method for point light sources

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The technical solutions provided by the present invention will be described in detail below in conjunction with specific examples. It should be understood that the following specific embodiments are only used to illustrate the present invention and are not intended to limit the scope of the present invention.

[0028] The real-time point light source soft shadow rendering method provided by the present invention includes the following steps:

[0029] (1) First obtain the list of visible point lights (Visible point lights).

[0030] Determine whether the point light source in the scene is a visualized point light source by calculating whether the viewing angle cone and the point light source illumination sphere intersect, and obtain all the visualized point light sources. figure 1 Schematic diagram of the 2D projection of a view frustum and a sphere illuminated by a point light source. Among them, point V is the viewpoint, the triangular area in the figure is the cone 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 method based on cubic texture shadow mapping in order to overcome the shortcomings that shadow edges are ubiquitously too hard in shadow mapping at present, and real soft shadows cannot be achieved. The shadow edges are softened in a special optimization mode, jags are eliminated, and satisfactory soft shadow effects of point light sources are achieved. The method includes the steps: judging whether the point light sources in a scene are visual point light sources or not by calculating whether a visual angle cone and a point light source illumination sphere are intersected or not to obtain a visual point light source list; judging whether each visual point light source is a potential projector or not by calculating whether the point light source illumination sphere and a spherical bounding box in the scene are intersected or not to obtain a potential projector list; rendering the potential projector into a cubic texture for each visual point light source; and performing scene illumination rendering for each visual point light source and optimizing shadow edge quality by a percentage approach filtering algorithm during shadow processing.

Description

[0001] technical field [0002] The invention relates to the field of graphics, in particular to a method for real-time shadow rendering for a point light source model. Background technique [0003] Shadows are of great significance to human observation and cognition of the three-dimensional world. Shadows can help people judge the position, size and geometric information of occluded objects, and can also help people understand the geometric shape of occluded objects. Shadows give information about the position of light sources in the scene and highlight the spatial relationship between objects, so shadows can greatly enhance the realism of the scene and are an indispensable part of rendering technology. Shadow rendering is used in computer graphics images, Digital multimedia and other fields have broad application prospects. [0004] As a point light source model widely used in indoor scenes, because its projection is omnidirectional, many technologies use Shadow Volume t...

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
IPC IPC(8): G06T15/60
Inventor 张子龙
Owner 南京安讯网络服务有限公司
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