Progressive Photon Mapping
description
Transcript of Progressive Photon Mapping
![Page 1: Progressive Photon Mapping](https://reader036.fdocuments.net/reader036/viewer/2022062519/56814ce9550346895db9e6c5/html5/thumbnails/1.jpg)
Progressive Photon Mapping
최인창 (Inchang Choi)
KAIST (Korea Advanced Institute of Science and Technology)
![Page 2: Progressive Photon Mapping](https://reader036.fdocuments.net/reader036/viewer/2022062519/56814ce9550346895db9e6c5/html5/thumbnails/2.jpg)
2
● can simulate specular and diffuse material
● Problems:● Caustics (LS+DE)● SDS paths (LSDSE)
Intro: MC based methods
![Page 3: Progressive Photon Mapping](https://reader036.fdocuments.net/reader036/viewer/2022062519/56814ce9550346895db9e6c5/html5/thumbnails/3.jpg)
3
Intro: Photon Mapping
● Two pass algorithm● First pass: Photon Tracing● Second pass: Ray Tracing using the
photon maps
● Problem:● Scenes dominated by caustics->We don’t have infinite memory
![Page 4: Progressive Photon Mapping](https://reader036.fdocuments.net/reader036/viewer/2022062519/56814ce9550346895db9e6c5/html5/thumbnails/4.jpg)
4
Intro:Progressive Photon Mapping
● An extension of Photon Mapping● Include SDS paths with arbitrary
accuracy without infinite memory
● Multi-pass algorithm● First Pass: Ray Tracing● Subsequent Passes: Photon Tracing
![Page 5: Progressive Photon Mapping](https://reader036.fdocuments.net/reader036/viewer/2022062519/56814ce9550346895db9e6c5/html5/thumbnails/5.jpg)
5
Photon Mapping
![Page 6: Progressive Photon Mapping](https://reader036.fdocuments.net/reader036/viewer/2022062519/56814ce9550346895db9e6c5/html5/thumbnails/6.jpg)
6
Photon Mapping:First Pass: Photon Tracing
● Shoot photons from the light source● -using MC technique and Russian Roulette● -store photons in K-d tree
●Position, incident direction, flux
● Manage two photon maps● Caustic map● Global photon map
Caustic mapphotons
Global mapphotons
From John C. Hart’s ppt
![Page 7: Progressive Photon Mapping](https://reader036.fdocuments.net/reader036/viewer/2022062519/56814ce9550346895db9e6c5/html5/thumbnails/7.jpg)
7
● Trace rays ● Calculate illumination using two
photon maps
Photon Mapping:Second Pass: Ray Tracing
Use the nearest N photons to estimate L at point x
A = r2
From John C. Hart’s ppt
![Page 8: Progressive Photon Mapping](https://reader036.fdocuments.net/reader036/viewer/2022062519/56814ce9550346895db9e6c5/html5/thumbnails/8.jpg)
8
Photon Mapping:Second Pass: Ray Tracing
Direct Illumination
Diffuse Indirect Illumination
Specular Illumination
CausticIllumination
From Michael Kaiser and Christian Finger’s ppt
![Page 9: Progressive Photon Mapping](https://reader036.fdocuments.net/reader036/viewer/2022062519/56814ce9550346895db9e6c5/html5/thumbnails/9.jpg)
9
● 1. Make the number of photons very large● (lim n->∞)● Use an Iterative method
● 2. Reduce the radius r● (limt r-> 0)● Reduce the radius every iteration
How can it be improved?
![Page 10: Progressive Photon Mapping](https://reader036.fdocuments.net/reader036/viewer/2022062519/56814ce9550346895db9e6c5/html5/thumbnails/10.jpg)
10
Progressive Photon Mapping
![Page 11: Progressive Photon Mapping](https://reader036.fdocuments.net/reader036/viewer/2022062519/56814ce9550346895db9e6c5/html5/thumbnails/11.jpg)
11
Progressive Photon MappingFirst Pass: Ray Tracing
● Shoot a ray from eye to the scene● Trace the path until the first non-
specular surface● Store the hit point if the surface has
non-specular(diffuse) component in the BRDF
![Page 12: Progressive Photon Mapping](https://reader036.fdocuments.net/reader036/viewer/2022062519/56814ce9550346895db9e6c5/html5/thumbnails/12.jpg)
12
Progressive Photon MappingFirst Pass: Ray Tracing
● A Hit Point Structure
These are updated each subsequent passes
![Page 13: Progressive Photon Mapping](https://reader036.fdocuments.net/reader036/viewer/2022062519/56814ce9550346895db9e6c5/html5/thumbnails/13.jpg)
13
● In each Pass● Trace a given number of photons into the
scene
Progressive Photon MappingSubsequent Pass: Photon Tracing
![Page 14: Progressive Photon Mapping](https://reader036.fdocuments.net/reader036/viewer/2022062519/56814ce9550346895db9e6c5/html5/thumbnails/14.jpg)
14
● After each Pass● Loop all hit points
●:Find the photons within the radius●:refine the estimate of the illumination●(Reduce R, increase N, update τ)
Progressive Photon MappingSubsequent Pass: Photon Tracing
![Page 15: Progressive Photon Mapping](https://reader036.fdocuments.net/reader036/viewer/2022062519/56814ce9550346895db9e6c5/html5/thumbnails/15.jpg)
15
Progressive Photon MappingRadius Reduction
![Page 16: Progressive Photon Mapping](https://reader036.fdocuments.net/reader036/viewer/2022062519/56814ce9550346895db9e6c5/html5/thumbnails/16.jpg)
16
Progressive Photon MappingFlux Correction
![Page 17: Progressive Photon Mapping](https://reader036.fdocuments.net/reader036/viewer/2022062519/56814ce9550346895db9e6c5/html5/thumbnails/17.jpg)
17
Progressive Photon MappingRadiance Evaluation
![Page 18: Progressive Photon Mapping](https://reader036.fdocuments.net/reader036/viewer/2022062519/56814ce9550346895db9e6c5/html5/thumbnails/18.jpg)
18
A Video Result
● http://www.youtube.com/watch?v=zg9NcCw53iA
![Page 19: Progressive Photon Mapping](https://reader036.fdocuments.net/reader036/viewer/2022062519/56814ce9550346895db9e6c5/html5/thumbnails/19.jpg)
19
Result Comparison
![Page 20: Progressive Photon Mapping](https://reader036.fdocuments.net/reader036/viewer/2022062519/56814ce9550346895db9e6c5/html5/thumbnails/20.jpg)
20
Thank you for listening
● Any Questions?