bidirectional photon mapping jiří vorba charles university in prague faculty of mathematics and...

22
Bidirectional Photon Mapping Jiří Vorba Charles University in Prague Faculty of Mathematics and Physics 1

Upload: bobby-vile

Post on 01-Apr-2015

224 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Bidirectional Photon Mapping Jiří Vorba Charles University in Prague Faculty of Mathematics and Physics 1

1

Bidirectional Photon Mapping

Jiří VorbaCharles University in Prague

Faculty of Mathematics and Physics

Page 2: Bidirectional Photon Mapping Jiří Vorba Charles University in Prague Faculty of Mathematics and Physics 1

2

Motivation

Goal: Robust Global IlluminationPhoton Mapping good at:

CausticsReflections of causticsSmall light sources

Photon Mapping bad at:Glossy scenes

© H.W.Jensen

© Wojciech Jarosz

Page 3: Bidirectional Photon Mapping Jiří Vorba Charles University in Prague Faculty of Mathematics and Physics 1

3

Our contribution

Photon Mapping

Page 4: Bidirectional Photon Mapping Jiří Vorba Charles University in Prague Faculty of Mathematics and Physics 1

4

Outline

Review of Photon Mapping (Jensen et al.)Main ideaAlgorithm overviewResultsApplication to progressive methodsConclusion

Page 5: Bidirectional Photon Mapping Jiří Vorba Charles University in Prague Faculty of Mathematics and Physics 1

5

Photon Mapping review

First passPhoton shootingOverall lighting approximation

© Kavita Bala

Page 6: Bidirectional Photon Mapping Jiří Vorba Charles University in Prague Faculty of Mathematics and Physics 1

6

Photon Mapping review

Second passLight path connection heuristic

Primary rays

BRDF lobe

PMquery

Secondary rays

Page 7: Bidirectional Photon Mapping Jiří Vorba Charles University in Prague Faculty of Mathematics and Physics 1

7

PM issues

1. Correlated queries

Page 8: Bidirectional Photon Mapping Jiří Vorba Charles University in Prague Faculty of Mathematics and Physics 1

8

PM issues

2. Radiance estimate variance

Page 9: Bidirectional Photon Mapping Jiří Vorba Charles University in Prague Faculty of Mathematics and Physics 1

9

Main idea

PMquery

PMquery

PMquery

Page 10: Bidirectional Photon Mapping Jiří Vorba Charles University in Prague Faculty of Mathematics and Physics 1

10

1st strategy

PMquery

Page 11: Bidirectional Photon Mapping Jiří Vorba Charles University in Prague Faculty of Mathematics and Physics 1

11

2nd strategy

PMquery

Page 12: Bidirectional Photon Mapping Jiří Vorba Charles University in Prague Faculty of Mathematics and Physics 1

12

3rd strategy

PMquery

Page 13: Bidirectional Photon Mapping Jiří Vorba Charles University in Prague Faculty of Mathematics and Physics 1

13

Strategy combination

Multiple importance sampling (Veach 97)

321

11

PPP

Pw

321

22

PPP

Pw

321

33

PPP

Pw

Page 14: Bidirectional Photon Mapping Jiří Vorba Charles University in Prague Faculty of Mathematics and Physics 1

14

Algorithm overview

First passthe same as in PM

Second passPath-TracingRadiance estimate at every path vertexlight path contribution multiplied by

MIS weight

Page 15: Bidirectional Photon Mapping Jiří Vorba Charles University in Prague Faculty of Mathematics and Physics 1

15

Results

Photon Mapping Our Bidirectional Photon Mapping

Page 16: Bidirectional Photon Mapping Jiří Vorba Charles University in Prague Faculty of Mathematics and Physics 1

16

Application to progressive methods (not a part of the CESCG article)

Overcoming the memory limitsSolving finer detailsConsistent method

Our implementationBased on Stochastic Progressive PM

Page 17: Bidirectional Photon Mapping Jiří Vorba Charles University in Prague Faculty of Mathematics and Physics 1

17

Progressive resultsOur progressive bidirectional method Our bidirectional method

(not progressive)

Page 18: Bidirectional Photon Mapping Jiří Vorba Charles University in Prague Faculty of Mathematics and Physics 1

18

Results

Photon Mapping Progressive Bidirectional Photon Mapping

Page 19: Bidirectional Photon Mapping Jiří Vorba Charles University in Prague Faculty of Mathematics and Physics 1

19

Reference - PT(320x320, 4 days on 6 cores)

PBDPM (512x512, 1 day 3h on 6 cores)

Results

Page 20: Bidirectional Photon Mapping Jiří Vorba Charles University in Prague Faculty of Mathematics and Physics 1

20

Limitation

Bias introduced by an inappropriate MIS weights “gap” between a photon hit and a camera ray end point

PMquery

PMquery

Our assumption

Reality

Page 21: Bidirectional Photon Mapping Jiří Vorba Charles University in Prague Faculty of Mathematics and Physics 1

21

Conclusion

ContributionNew more robust photon mapping based

method Future works

“Area light source” strategyCompensate the bias introduced by

inappropriate MIS weights

Page 22: Bidirectional Photon Mapping Jiří Vorba Charles University in Prague Faculty of Mathematics and Physics 1

22

The end

Thank you!Questions?

Reference - PT(320x320, 4 days on 6 cores)

PBDPM (512x512, 1 day 3h on 6 cores)