precomputed shadow fields for dynamic scenes
DESCRIPTION
Microsoft Research Asia. Precomputed Shadow Fields for Dynamic Scenes. Kun Zhou Yaohua Hu Stephen Lin Baining Guo Heung-Yeung Shum. 1. Outline. • Introduction • Method Overview • Detail • Results. • Introduction • Method Overview • Detail • Results. Introduction. Soft Shadow: - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Precomputed Shadow Fields for Dynamic Scenes](https://reader036.vdocuments.mx/reader036/viewer/2022062807/5681507d550346895dbe7af1/html5/thumbnails/1.jpg)
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
![Page 2: Precomputed Shadow Fields for Dynamic Scenes](https://reader036.vdocuments.mx/reader036/viewer/2022062807/5681507d550346895dbe7af1/html5/thumbnails/2.jpg)
Outline
• Introduction
• Method Overview
• Detail
• Results
![Page 3: Precomputed Shadow Fields for Dynamic Scenes](https://reader036.vdocuments.mx/reader036/viewer/2022062807/5681507d550346895dbe7af1/html5/thumbnails/3.jpg)
• Introduction
• Method Overview
• Detail
• Results
![Page 4: Precomputed Shadow Fields for Dynamic Scenes](https://reader036.vdocuments.mx/reader036/viewer/2022062807/5681507d550346895dbe7af1/html5/thumbnails/4.jpg)
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
![Page 5: Precomputed Shadow Fields for Dynamic Scenes](https://reader036.vdocuments.mx/reader036/viewer/2022062807/5681507d550346895dbe7af1/html5/thumbnails/5.jpg)
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
![Page 6: Precomputed Shadow Fields for Dynamic Scenes](https://reader036.vdocuments.mx/reader036/viewer/2022062807/5681507d550346895dbe7af1/html5/thumbnails/6.jpg)
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
![Page 7: Precomputed Shadow Fields for Dynamic Scenes](https://reader036.vdocuments.mx/reader036/viewer/2022062807/5681507d550346895dbe7af1/html5/thumbnails/7.jpg)
Introduction
PRT (Precomputed Radiance Transfer):These spherical functions can be compressed by using some basis functions:
Spherical harmonics Wavelet
77
![Page 8: Precomputed Shadow Fields for Dynamic Scenes](https://reader036.vdocuments.mx/reader036/viewer/2022062807/5681507d550346895dbe7af1/html5/thumbnails/8.jpg)
Introduction
88
![Page 9: Precomputed Shadow Fields for Dynamic Scenes](https://reader036.vdocuments.mx/reader036/viewer/2022062807/5681507d550346895dbe7af1/html5/thumbnails/9.jpg)
• Introduction
• Method Overview
• Detail
• Results
![Page 10: Precomputed Shadow Fields for Dynamic Scenes](https://reader036.vdocuments.mx/reader036/viewer/2022062807/5681507d550346895dbe7af1/html5/thumbnails/10.jpg)
Method Overview
1010
![Page 11: Precomputed Shadow Fields for Dynamic Scenes](https://reader036.vdocuments.mx/reader036/viewer/2022062807/5681507d550346895dbe7af1/html5/thumbnails/11.jpg)
Method Overview
1111
Compute Incoming radiance of each point
![Page 12: Precomputed Shadow Fields for Dynamic Scenes](https://reader036.vdocuments.mx/reader036/viewer/2022062807/5681507d550346895dbe7af1/html5/thumbnails/12.jpg)
Method Overview
1212
Compute Occlusion Field for each Object
![Page 13: Precomputed Shadow Fields for Dynamic Scenes](https://reader036.vdocuments.mx/reader036/viewer/2022062807/5681507d550346895dbe7af1/html5/thumbnails/13.jpg)
Method Overview
1313
Compute Occlusion Field for each Object
![Page 14: Precomputed Shadow Fields for Dynamic Scenes](https://reader036.vdocuments.mx/reader036/viewer/2022062807/5681507d550346895dbe7af1/html5/thumbnails/14.jpg)
Method Overview
1414
Compute Occlusion Field for each Object
![Page 15: Precomputed Shadow Fields for Dynamic Scenes](https://reader036.vdocuments.mx/reader036/viewer/2022062807/5681507d550346895dbe7af1/html5/thumbnails/15.jpg)
Method Overview
1515
Compute Occlusion Field for each Object
![Page 16: Precomputed Shadow Fields for Dynamic Scenes](https://reader036.vdocuments.mx/reader036/viewer/2022062807/5681507d550346895dbe7af1/html5/thumbnails/16.jpg)
Method Overview
1616
Compute radiance field for each Light Source
![Page 17: Precomputed Shadow Fields for Dynamic Scenes](https://reader036.vdocuments.mx/reader036/viewer/2022062807/5681507d550346895dbe7af1/html5/thumbnails/17.jpg)
Method Overview
1717
Compute Radiance Field for each Light Source
![Page 18: Precomputed Shadow Fields for Dynamic Scenes](https://reader036.vdocuments.mx/reader036/viewer/2022062807/5681507d550346895dbe7af1/html5/thumbnails/18.jpg)
Method Overview
1818
multiply these and self-visibility at the point together
=> Incident radiance distribution
![Page 19: Precomputed Shadow Fields for Dynamic Scenes](https://reader036.vdocuments.mx/reader036/viewer/2022062807/5681507d550346895dbe7af1/html5/thumbnails/19.jpg)
Method Overview
1919
Combine with the BRDF to get the final radiance at the point
![Page 20: Precomputed Shadow Fields for Dynamic Scenes](https://reader036.vdocuments.mx/reader036/viewer/2022062807/5681507d550346895dbe7af1/html5/thumbnails/20.jpg)
Method Overview
2020
Combine with the BRDF to get the final radiance at the point
![Page 21: Precomputed Shadow Fields for Dynamic Scenes](https://reader036.vdocuments.mx/reader036/viewer/2022062807/5681507d550346895dbe7af1/html5/thumbnails/21.jpg)
• Introduction
• Method Overview
• Detail
• Results
![Page 22: Precomputed Shadow Fields for Dynamic Scenes](https://reader036.vdocuments.mx/reader036/viewer/2022062807/5681507d550346895dbe7af1/html5/thumbnails/22.jpg)
Detail
SRF and OOF Precomputation
2222
![Page 23: Precomputed Shadow Fields for Dynamic Scenes](https://reader036.vdocuments.mx/reader036/viewer/2022062807/5681507d550346895dbe7af1/html5/thumbnails/23.jpg)
Detail
Data SamplingFor low frequency shadow: 16 concentric spheresFor all frequency shadow: 32 concentric spheres
Intermediate points: trilinear interpolation with 8 nearest samples
2323
![Page 24: Precomputed Shadow Fields for Dynamic Scenes](https://reader036.vdocuments.mx/reader036/viewer/2022062807/5681507d550346895dbe7af1/html5/thumbnails/24.jpg)
Detail
Data CompressionHow?approximate the function using basis functions
2424
![Page 25: Precomputed Shadow Fields for Dynamic Scenes](https://reader036.vdocuments.mx/reader036/viewer/2022062807/5681507d550346895dbe7af1/html5/thumbnails/25.jpg)
Detail
Data CompressionFor low frequency shadow: Spherical harmonics
2525
![Page 26: Precomputed Shadow Fields for Dynamic Scenes](https://reader036.vdocuments.mx/reader036/viewer/2022062807/5681507d550346895dbe7af1/html5/thumbnails/26.jpg)
Detail
Data CompressionSpherical harmonics reconstruction
2626
![Page 27: Precomputed Shadow Fields for Dynamic Scenes](https://reader036.vdocuments.mx/reader036/viewer/2022062807/5681507d550346895dbe7af1/html5/thumbnails/27.jpg)
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
![Page 28: Precomputed Shadow Fields for Dynamic Scenes](https://reader036.vdocuments.mx/reader036/viewer/2022062807/5681507d550346895dbe7af1/html5/thumbnails/28.jpg)
Detail
Data CompressionFor all frequency shadow: Wavelet Basis
2828
![Page 29: Precomputed Shadow Fields for Dynamic Scenes](https://reader036.vdocuments.mx/reader036/viewer/2022062807/5681507d550346895dbe7af1/html5/thumbnails/29.jpg)
Detail
Data CompressionSpherical harmonics VS Wavelet
2929
![Page 30: Precomputed Shadow Fields for Dynamic Scenes](https://reader036.vdocuments.mx/reader036/viewer/2022062807/5681507d550346895dbe7af1/html5/thumbnails/30.jpg)
Detail
Incident Radiance Computation
3030
![Page 31: Precomputed Shadow Fields for Dynamic Scenes](https://reader036.vdocuments.mx/reader036/viewer/2022062807/5681507d550346895dbe7af1/html5/thumbnails/31.jpg)
Detail
Soft Shadow Rendering
Acceleration -Culling
-Lazy Occlusion Updating occluders for a specific light source remain unchanged, the
cached visibility can be reused
3131
![Page 32: Precomputed Shadow Fields for Dynamic Scenes](https://reader036.vdocuments.mx/reader036/viewer/2022062807/5681507d550346895dbe7af1/html5/thumbnails/32.jpg)
• Introduction
• Method Overview
• Detail
• Results
![Page 33: Precomputed Shadow Fields for Dynamic Scenes](https://reader036.vdocuments.mx/reader036/viewer/2022062807/5681507d550346895dbe7af1/html5/thumbnails/33.jpg)
Results
![Page 34: Precomputed Shadow Fields for Dynamic Scenes](https://reader036.vdocuments.mx/reader036/viewer/2022062807/5681507d550346895dbe7af1/html5/thumbnails/34.jpg)
LOGO
34