Research on Real-Time Soft Shadow Algorithm Based on Visibility Map
- Author
- LiuZhiXu
- Advisor
- GongFaMing
- School
- China University of Petroleum
- Major
- Computer Science and Technology
- Classification
- TP391.41 Image recognition device
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 23
- Citations
- 0
Abstract
Shadow is an important technology to enhance the computer virtual reality. Shadow effects play an important role in 3D games. It is necessary to military simulation filed. It is much more realistic and vivid if adding shadow to 3D scene. High-quality shadow effects, not only make the virtual scene closer to the real world, but also provide more rich information to it, such as shadows can reflect the relative distance of light, occlusion body and receiver. The size and shape of the shadows can reflect the attributes of geometry and surface of the occlusion body and receiver in the scene.Shadow computation is mainly including image-based and object-based algorithms. The advantages of image-based algorithms are the ability to quickly generate interactive shadows, and independent of the scene complexity, but with the disadvantages of aliasing, etc. Object-based methods are directly to analyze the scene to generate high-quality and accurate shadows, but they are not suitable for rendering real-time shadows because of high complexity.As a classical image-based technology, the shadow map can generate shadows which only need two paths for rendering. In this paper, we carefully study and analyze the shadow map and its series of improved algorithms, and summarize the general expansion technical route of it.Real-time shadows and soft shadows are the shadows with high-quality which need a lot of calculations. The traditional shadow maps can only generate hard shadows. This paper proposes bivariate attenuation function during the process of shadow map generation to expend the traditional shadow map. Fisrt of all, generating the shadow width and shadow depth map, and then constructing attenuation function, computing adjustment factors, adjusting the brightness of pixel and generating shadows. There are some problems when simulation soft shadows for a single sample point, such as aliasing. This paper also proposes visibility map algorithm for shadow generation. Sampled by the light source, generate a visibility map for the scene. The map stores visibility relative of each pixel with light source, and then adjusting the brightness of pixel using visibility to generate the final shadow.The two methods can achieve perfectly real-time performance by the rapidly computing ability of GPU. The borders of shadows also have good softness.
Table of contents
Summary 4-5
Abstract 5-10
first chapter 10-16
1.1 Introduction 10
the purpose and significance of the 1.2 topics 10-11
1.3 research status 11-14
1.3.1 programmable graphics hardware GPU 11-12 < br /> 1.3.2 China Research 12-13
1.3.3 domestic research the 1.4 research objectives and the research content 13-14
14 < br /> 1.5 papers organizational structure 14-16
the Chapter II real-time shadow algorithms 16-28
2.1 Introduction 16
2.2 shadow algorithm The basic concepts 16-20
2.2.1 What is a shadow the 16-17 2.2.2 the affect shadow of factors
17
2.2.3 shadow The role 17-18
2.2.4 hard shadows (Hard Shadow) 18
the 2.2.5 soft shadows (Soft Shadow) 18-19 <br / > 2.2.6 Real-time shadows (Real-Time Shadow) 19-20
2.2.7 the pseudo shadow (Fake Soft Shadow) 20
2.3 real-time shadow algorithms 20-27
2.3.1 plane projection 20-22
2.3.2 shadow map algorithms 22-24
2.3.3 shadow volume algorithm 24-27
2.4 Chapter Summary 27-28
Chapter soft shadow algorithm 28-41
3.1 Introduction 28
3.2 nbsp algorithm based on image space; the 28-37
3.2.1 combine multiple sampling points shadow maps to Figure 28-30
3.2.2 level attenuation algorithm 30 - 32
3.2.3 of PCF-based PCSS soft shadows algorithm the 32-34
3.2.4 linear light sources, soft shadows algorithm 34-35
3.2.5 soft shadow algorithm using a single sampling point the 35-36
3.2.6 convolution technique 36-37
3.3 object space algorithm 37-40
3.3.1 combine multiple hard shadows 37
3.3.2 plateau body (plateaus) to generate the plane soft shadows 37-38
3.3.3 using smooth wing the the 38-39
3.3.4 penumbra, wedge 39-40
3.4 Chapter Summary 40-41
Chapter classic shadow algorithm and analysis 41-48
4.1 Introduction 41
the 4.2 Experimental ready the 4.2.1 experimental environment 41-43
41
4.2.2 framework design 41-43
4.3 traditional shadow maps algorithm 43-47
4.4 Chapter Summary 47-48
Chapter based the dual variable attenuation function of real-time soft shadows algorithms 48-54
5.1 Introduction to 48
5.2 algorithm outlined 48-51
5.2.1 tradition shadow map algorithm processes 48-49
5.2.2 algorithm improvements 49
5.2.3 Parameter Description 49-50
5.2.4 bivariate The attenuation function 50-51
5.3 algorithm processes 51-52
5.4 Experimental results and analysis 52-53
5.5 Chapter Summary 53-54
Chapter VI visibility map-based real-time soft shadows algorithms 54-62
6.1 Introduction 54
6.2 Algorithms 54 -58
6.2.1 light source characteristics extraction 54-56
6.2.2 scene hierarchy divided 56-57
6.2.3 visibility The Figure 57-58
6.2.4 visibility of Figure merger 58
6.2.5 visibility diagram optimization 58
6.2.6 adjust the pixel brightness 58
6.3 algorithm processes 58-60
6.4 Experimental results and analysis 60-61
6.5 Chapter Summary 61-62 <br / the> conclusion the 62-64
Reference 64-68
Acknowledgements 68
Related dissertations
- The Research and Apply on Real-time Shadow
- Research of Soft Shadow Algorithm Based on GPGPU
- Algorithm of Soft Shadow Based on Multilayer Shadow Map
- 3D Graphics Engine Application for Real-time Soft Shadows
- The Research and Development of the Real-time Rendering Framwork and Features in the Virtual Home Design System
- Modelling Contagion Effect of Credit Risk and Pricing of Credit Derivatives
- Research on KBE Based Cavity Design System for Injection Mold
- Compressible packing model based on the properties of cement-based composite materials
- Soft Shadow Rendering for 3D Games and Animations
- Dynamic real-time soft shadows technology
- The Research and Implementation of Real-time Shadow Algorithms in 3D Scene
- Software for virtual surgery geometric modeling and deformation algorithm
- Generation Research of Real-Time Shadow on Visual Simulation System in Train Driving Simulator
- Research and Implementation of 3D graphics engine design and lighting effects
- A Study on GPU-based Soft Shadows Technology