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

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 the problems of excessively rigid shadow edges, affecting rendering performance, and high triangle fill rate, and achieve the effect of softening edge details, saving computing resources, and eliminating aliasing.

Inactive Publication Date: 2015-07-15
南京安讯网络服务有限公司
View PDF1 Cites 0 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 also some technologies that use ordinary shadow maps (Shadow Maps) to render projections in a certain direction, but cannot achieve the omnidirectional projection characteristics of the point light source model.

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

[0026] 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.

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

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

[0029] 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

technical field [0001] 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 [0002] 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. [0003] As a point light source model widely used in indoor scenes, because its projection is omnidirectional, many technologies use Shadow Volume to achieve...

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