Precomputed Shadow Fields for Dynamic Scenes
description
Transcript of Precomputed Shadow Fields for Dynamic Scenes
LOGO
Precomputed Shadow Fields for Dynamic ScenesPrecomputed Shadow Fields for Dynamic Scenes
Kun Zhou Yaohua Hu Stephen Lin Baining Guo Heung-Yeung Shum
Microsoft Research Asia
1
Outline
• Introduction
• Method Overview
• Detail
• Results
• Introduction
• Method Overview
• Detail
• Results
Introduction
Soft Shadow:multiple shadow maps -[Heckbert and Herf] 1997
Exntnd shadow volume -[Assarsson and Akenine-Moller] 2003
Fake approach -[Chan and Durand] 2003
44
Introduction
Why this is not good?
For a dynamic scene: -scene complexity -recomputed for each frame
For illuminants: -point-like or small light source
55
Introduction
PRT (Precomputed Radiance Transfer):
based on two main assumptions: 1.all objects in the scene are non-emitters2.the incoming light direction is independent with the position of a point x
66
Introduction
PRT (Precomputed Radiance Transfer):These spherical functions can be compressed by using some basis functions:
Spherical harmonics Wavelet
77
Introduction
88
• Introduction
• Method Overview
• Detail
• Results
Method Overview
1010
Method Overview
1111
Compute Incoming radiance of each point
Method Overview
1212
Compute Occlusion Field for each Object
Method Overview
1313
Compute Occlusion Field for each Object
Method Overview
1414
Compute Occlusion Field for each Object
Method Overview
1515
Compute Occlusion Field for each Object
Method Overview
1616
Compute radiance field for each Light Source
Method Overview
1717
Compute Radiance Field for each Light Source
Method Overview
1818
multiply these and self-visibility at the point together
=> Incident radiance distribution
Method Overview
1919
Combine with the BRDF to get the final radiance at the point
Method Overview
2020
Combine with the BRDF to get the final radiance at the point
• Introduction
• Method Overview
• Detail
• Results
Detail
SRF and OOF Precomputation
2222
Detail
Data SamplingFor low frequency shadow: 16 concentric spheresFor all frequency shadow: 32 concentric spheres
Intermediate points: trilinear interpolation with 8 nearest samples
2323
Detail
Data CompressionHow?approximate the function using basis functions
2424
Detail
Data CompressionFor low frequency shadow: Spherical harmonics
2525
Detail
Data CompressionSpherical harmonics reconstruction
2626
Detail
Data CompressionSpherical harmonics has two properties:1.Rotationaly invariant
2.Integrating the product of two SH functions = a dot product of their coefficients.
2727
Detail
Data CompressionFor all frequency shadow: Wavelet Basis
2828
Detail
Data CompressionSpherical harmonics VS Wavelet
2929
Detail
Incident Radiance Computation
3030
Detail
Soft Shadow Rendering
Acceleration -Culling
-Lazy Occlusion Updating occluders for a specific light source remain unchanged, the
cached visibility can be reused
3131
• Introduction
• Method Overview
• Detail
• Results
Results
LOGO
34