Top Banner
Anton S. Kaplanyan Karlsruhe Institute of Technology, Germany Adaptive Progressive Photon Mapping Adaptive PPM Original PPM
26

Adaptive Progressive Photon Mapping

Jan 01, 2016

Download

Documents

Megan Douglas

Adaptive Progressive Photon Mapping. Adaptive PPM. Original PPM. Anton S. Kaplanyan Karlsruhe Institute of Technology, Germany. Progressive Photon Mapping in Essence. Pixel estimate using eye and light subpaths Generate full path by joining subpaths. Photon radiance. Eye subpath - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Adaptive  Progressive  Photon Mapping

Anton S. Kaplanyan

Karlsruhe Institute of Technology, Germany

Adaptive Progressive Photon Mapping

Adaptive PPM Original PPM

Page 2: Adaptive  Progressive  Photon Mapping

2

Progressive Photon Mapping in Essence

Pixel estimate using eye and light subpaths

Generate full path by joining subpathsEye subpathimportance

Photonradiance

𝛾𝑖+1

Kernel-regularized connection of subpaths

𝑊 𝑁 𝛾𝑖

Page 3: Adaptive  Progressive  Photon Mapping

3

Reformulation of Photon Mapping

PPM = recursive (online) estimator [Yamato71]

Rearrange the sum to see that

Kernelestimation

Pathcontribution

Page 4: Adaptive  Progressive  Photon Mapping

4

Radius Shrinkage

Shrink radius (bandwidth) for th photon map

User-defined parameters and

Problem:

Optimal value of and are unknown

Usually globally constant / k-NN defined

Page 5: Adaptive  Progressive  Photon Mapping

5

Box scene(reference)

User Parameters Example

Page 6: Adaptive  Progressive  Photon Mapping

6

User Parameters Example

Larger 𝛼

Larg

er

𝒓 𝒓

𝒓 𝒓Differenceimage

Page 7: Adaptive  Progressive  Photon Mapping

7

Radius Shrinkage Parameters

𝑟0

𝑟0

𝑟0

…𝛼

Page 8: Adaptive  Progressive  Photon Mapping

Optimal Convergence of Progressive Photon Mapping

Page 9: Adaptive  Progressive  Photon Mapping

10

Optimal Asymptotic Convergence Rate

𝑟0

𝑟0

𝑟0

…𝛼

Page 10: Adaptive  Progressive  Photon Mapping

11

𝛼  𝐨𝐩𝐭

Optimal Convergence Rate

Variance and bias depend on [KZ11]

Optimal rate is with Asymptotic convergence

Unbiased Monte Carlo is faster:

Page 11: Adaptive  Progressive  Photon Mapping

12

Convergence Rate of Kernel Estimation

Convergence rate for dimensions

Suffers from curse of dimensionality

Adding a dimension reduces the rate!Shutter time kernel estimation – not recommended

Wavelength kernel estimation – not recommended

Volumetric photon mapping

Page 12: Adaptive  Progressive  Photon Mapping

Adaptive Bandwidth Selection

Page 13: Adaptive  Progressive  Photon Mapping

14

Optimal Asymptotic Convergence Rate

𝑟0

𝑟0

𝑟0

…𝛼

Page 14: Adaptive  Progressive  Photon Mapping

15

Adaptive Bandwidth Selection

might not yield minimal

Minimize with respect to Achieve variance ↔ bias tradeoff

Select optimal using past samples

Page 15: Adaptive  Progressive  Photon Mapping

16

Estimation ErrorMean Squared Error [Hachisuka et al. 2010]

Page 16: Adaptive  Progressive  Photon Mapping

17

Estimation Error

Variance is two-fold: Path measurement contribution

Kernel estimation

Page 17: Adaptive  Progressive  Photon Mapping

18

Estimation Error

Measurement variance is higher

Page 18: Adaptive  Progressive  Photon Mapping

19

Estimation Error

So, MSE has noise (path variance) and bias

Variance Bias

Page 19: Adaptive  Progressive  Photon Mapping

20

Adaptive Bandwidth Selection

Both variance and bias depend on

Where is a pixel Laplacian

Laplacian is unknown

Page 20: Adaptive  Progressive  Photon Mapping

21

Estimating Pixel Laplacian

consists of Laplacians at all shading pointsWeighted per-vertex Laplacians

Page 21: Adaptive  Progressive  Photon Mapping

22

𝑥 𝑥+h𝑢𝑥− h𝑢

∆ 𝐿𝑢=𝐿𝑥+ h𝑢 +𝐿𝑥− h𝑢 −2𝐿𝑥

h2

Estimating Per-Vertex Laplacian

Estimate per-vertex Laplacian at a point

Recursive finite differences [Ngen11]

Yet another recursive estimator

Another shrinking bandwidth

Robust estimation on discontinuities

Page 22: Adaptive  Progressive  Photon Mapping

23

Adaptive Bandwidth Selection

Estimate all unknownsPath variance

Pixel Laplacian

Minimize MSE as MSE(r)

Lower initial error Keeps noise-bias balance

Data-driven bandwidth selector

Page 23: Adaptive  Progressive  Photon Mapping

24

Progressive Photon Mapping Adaptive PPM

20 seconds!

Results

Page 24: Adaptive  Progressive  Photon Mapping

25

Progressive Photon Mapping Adaptive PPM

3 seconds!

Results

Page 25: Adaptive  Progressive  Photon Mapping

26

Conclusion

Optimal asymptotic convergence rateAsymptotically slower than unbiased methods

Not always optimal in finite time

Adaptive bandwidth selectionBased on previous samples

Balances variance-bias

Speeds up convergence

Attractive for interactive preview

Page 26: Adaptive  Progressive  Photon Mapping

Thank you for your attention.