Path Guiding Sebastian Herholz 1 Yangyang Zhao 2 Oskar Elek 3 - - PowerPoint PPT Presentation

path guiding
SMART_READER_LITE
LIVE PREVIEW

Path Guiding Sebastian Herholz 1 Yangyang Zhao 2 Oskar Elek 3 - - PowerPoint PPT Presentation

Volumetric Zero-Variance-Based Path Guiding Sebastian Herholz 1 Yangyang Zhao 2 Oskar Elek 3 Jaroslav Kivnek 3 Derek Nowrouzezahrai 2 Hendrik P. A. Lensch 1 1 University Tbingen 2 McGill University Montreal 3 Charles University Prague S.


slide-1
SLIDE 1
  • S. Herholz: A Unified Manifold Framework for Efficient BRDF Sampling …

Sebastian Herholz1 Yangyang Zhao2 Oskar Elek3 Derek Nowrouzezahrai 2 Hendrik P. A. Lensch1 Jaroslav Křivánek3

Volumetric Zero-Variance-Based Path Guiding

1University Tübingen 2McGill University Montreal 3Charles University Prague

slide-2
SLIDE 2

MOTIVATION

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

2

slide-3
SLIDE 3

MOTIVATION

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

3

slide-4
SLIDE 4

MOTIVATION

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

4

slide-5
SLIDE 5

MOTIVATION

  • Introduction in Volumetric Light transport
  • Volumetric Path tracing
  • Samling decisions

Volumetric Path Guiding

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

5

slide-6
SLIDE 6

MONTE-CARLO

𝑔 𝑌 p 𝑌

  • Variance:

𝜏2 = 𝑊 𝑔(𝑌) 𝑞(𝑌) 𝐽 = න 𝑔 𝑌 𝑒𝑌

  • Estimator:

መ 𝐽(𝑌1, … , 𝑌𝑂) = 1 𝑂 ෍ 𝑔(𝑌𝑗) 𝑞(𝑌𝑗)

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

6

slide-7
SLIDE 7

ZERO VARIANCE MONTE-CARLO

𝑔 𝑌 p𝑨𝑤 𝑌

(optimal)

  • Estimator:

መ 𝐽 𝑌1, … , 𝑌𝑂 = 1 𝑂 ෍ 𝑔 𝑌𝑗 𝑞𝑨𝑤 𝑌𝑗 = 𝑑 = 𝐽

  • Zero-Variance:

𝜏2 = 𝑊 𝑔(𝑌) 𝑞𝑨𝑤(𝑌) = 0 𝐽 = න 𝑔 𝑌 𝑒𝑌

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

7

slide-8
SLIDE 8

THE 4 SAMPLING DECISIONS: SCATTER

  • Scatter:
  • Is the next path vertex inside or behind the volume?
  • Scatter probability: 𝑄

𝑛 𝒚𝑘, 𝜕𝑘

𝑄

𝑛 𝒚𝑘, 𝜕𝑘

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

8

slide-9
SLIDE 9

THE 4 SAMPLING DECISIONS: DISTANCE

  • Distance:
  • The distance (𝑒𝑘+1) the next scattering occurs
  • Distance PDF: 𝑞𝑒 𝑒𝑘+1|𝒚𝑘, 𝜕𝑘

𝑞𝑒 𝑒𝑘+1|𝒚𝑘, 𝜕𝑘

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

9

slide-10
SLIDE 10

THE 4 SAMPLING DECISIONS: DIRECTION

  • Direction:
  • In which direction (𝜕𝑘+1) should the path continue?
  • Directional PDF: 𝑞𝜕 𝜕𝑘+1|𝒚𝑘+1, 𝜕𝑘

𝑞𝜕 𝜕𝑘+1|𝒚𝑘+1, 𝜕𝑘

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

10

slide-11
SLIDE 11

THE 4 SAMPLING DECISIONS: TERMINATION

  • Russian Roulette Termination:
  • Should we continue generating the random path/walk?
  • Termination probability PDF: 𝑄𝑆𝑆 𝒚𝑘, 𝜕𝑘−1

𝑄𝑆𝑆 𝒚𝑘, 𝜕𝑘−1

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

11

slide-12
SLIDE 12

VOLUMETRIC RANDOM WALK - DECISIONS

  • Path-segment PDF:

𝑞 𝒚𝑘+1, 𝜕𝑘+1|𝒚𝑘, 𝜕𝑘 = 𝑄

𝑛 …

∙ 𝑞𝑒 … ∙ 𝑞𝜕 … ∙ 1 − 𝑄𝑆𝑆 … 𝑦0 𝜕0 𝑦𝑘 𝜕𝑘 𝑦𝑘+1 𝜕𝑘+1 𝑦𝑁−1 𝜕𝑁−1 𝑦𝑘+2 𝜕𝑘+2

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

12

slide-13
SLIDE 13

VOLUMETRIC RANDOM WALK - DECISIONS

𝑦0 𝜕0 𝑦𝑘 𝜕𝑘 𝑦𝑘+1 𝜕𝑘+1 𝑦𝑁−1 𝜕𝑁−1 𝑦𝑘+2 𝜕𝑘+2

  • Path-segment PDF:

𝑞 𝒚𝑘+1, 𝜕𝑘+1|𝒚𝑘, 𝜕𝑘 = 𝑄

𝑛 …

∙ 𝑞𝑒 … ∙ 𝑞𝜕 … ∙ 1 − 𝑄𝑆𝑆 …

  • Path PDF:

𝑞 𝒀 = ෑ

𝑘=1 𝑁−1

𝑞 𝒚𝑘+1, 𝜕𝑘+1|𝒚𝑘, 𝜕𝑘

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

13

slide-14
SLIDE 14

VOLUMETRIC RANDOM WALK - DECISIONS

𝑦0 𝜕0 𝑦𝑘 𝜕𝑘 𝑦𝑘+1 𝜕𝑘+1 𝑦𝑁−1 𝜕𝑁−1 𝑦𝑘+2 𝜕𝑘+2

  • Path-segment PDF:

𝑞 𝒚𝑘+1, 𝜕𝑘+1|𝒚𝑘, 𝜕𝑘 = 𝑄

𝑛 …

∙ 𝑞𝑒 … ∙ 𝑞𝜕 … ∙ 1 − 𝑄𝑆𝑆 …

  • Path PDF:

𝑞 𝒀 = ෑ

𝑘=1 𝑁−1

𝑞 𝒚𝑘+1, 𝜕𝑘+1|𝒚𝑘, 𝜕𝑘 Source of variance

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

14

slide-15
SLIDE 15

VOLUME RENDERING EQUATION

  • Incident radiance:
  • In-scattered radiance:

𝑀 𝑦, 𝜕 = 𝑈 𝑦, 𝑦𝑡 ⋅ 𝑀𝑝(𝑦𝑡, 𝜕) + න𝑈 𝑦, 𝑦𝑒 ⋅ 𝜏𝑡(𝑦𝑒) ⋅ 𝑀𝑗(xd, 𝜕)d𝑒 𝑀𝑗 x𝑒, 𝜕 = න𝑔 𝜕, 𝜕′ ⋅ 𝑀(xd, 𝜕′)d𝜕′

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

15

slide-16
SLIDE 16

VOLUME RENDERING EQUATION

  • Incident radiance (volume):
  • In-scattered radiance:

𝑀 𝑦, 𝜕 = 𝑈 𝑦, 𝑦𝑡 ⋅ 𝑀𝑝(𝑦𝑡, 𝜕) + න𝑈 𝑦, 𝑦𝑒 ⋅ 𝜏𝑡(𝑦𝑒) ⋅ 𝑀𝑗(xd, 𝜕)d𝑒 𝑀𝑗 x𝑒, 𝜕 = න𝑔 𝜕, 𝜕′ ⋅ 𝑀(xd, 𝜕′)d𝜕′

Known Local Quantities

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

16

slide-17
SLIDE 17

VOLUME RENDERING EQUATION

  • Incident radiance (volume):
  • In-scattered radiance:

𝑀 𝑦, 𝜕 = 𝑈 𝑦, 𝑦𝑡 ⋅ 𝑀𝑝(𝑦𝑡, 𝜕) + න𝑈 𝑦, 𝑦𝑒 ⋅ 𝜏𝑡(𝑦𝑒) ⋅ 𝑀𝑗(xd, 𝜕)d𝑒 𝑀𝑗 x𝑒, 𝜕 = න𝑔 𝜕, 𝜕′ ⋅ 𝑀(xd, 𝜕′)d𝜕′

Known Local Quantities Unknown Light Transport Quantities

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

17

slide-18
SLIDE 18

CHALLENGES FOR VOLUME SAMPLING

18

slide-19
SLIDE 19

LIGHT SHAFTS

𝑦 𝜕 𝑦𝑘

  • Light shafts:
  • We need to scatter inside the light shaft.
  • We need to follow the direction of the light shaft.
  • We need to scatter towards the light shaft.

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

19

slide-20
SLIDE 20

LIGHT SHAFTS

𝑦 𝜕 𝑦𝑘 𝜕𝑘

  • Light shafts:
  • We need to scatter inside the light shaft.
  • We need to follow the direction of the light shaft.
  • We need to scatter towards the light shaft.

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

20

slide-21
SLIDE 21

LIGHT SHAFTS

𝑦 𝜕

  • Light shafts:
  • We need to scatter inside the light shaft.
  • We need to follow the direction of the light shaft.
  • We need to scatter towards the light shaft.

𝑦𝑘 𝜕𝑘

  • Specialized solutions:

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

21

slide-22
SLIDE 22

SUB-SURFACE-SCATTERING

𝑦 𝜕

  • Sub-Surface-Scattering:
  • We ‘often’ need stay close to the surface

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

22

slide-23
SLIDE 23

SUB-SURFACE-SCATTERING

𝑦 𝜕

  • Sub-Surface-Scattering:
  • We ‘often’ need stay close to the surface
  • We need to leave the object with the right direction
  • Specialized solutions:

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

23

slide-24
SLIDE 24

DENSE MEDIA

  • Dense media:
  • We may need to ‘avoid’ generating a scattering

event even if the transmittance is low (e.g. strong light source behind the volume).

𝑦 𝜕

  • Specialized solutions:

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

24

slide-25
SLIDE 25

NON-DENSE MEDIA

𝑦 𝜕

  • Non-dense media:
  • We may need to ‘force’ a scattering event

even if the transmittance is high (e.g. no contribution from behind the volume).

  • Specialized solutions:

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

25

slide-26
SLIDE 26

SPECIALIZED SOLUTIONS: SHORTCOMMINGS

  • Many individual solutions/algorithms:
  • Complicates the rendering code
  • Only considering special cases:
  • Surface-bounded volumes
  • Homogenous or isotropic volumes
  • Single scattering
  • Not intuitive (for an artist) to decided which feature helps when.

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

26

slide-27
SLIDE 27

ZERO-VARIANCE RANDOM WALK THEORY

  • Theoretical framework for the optimal segment PDF
  • All 4 local decision have to be optimal:

𝑞𝑨𝑤 … = 𝑄

𝑛 𝑨𝑤 . . .

∙ 𝑞𝑒

𝑨𝑤 . . .

∙ 𝑞𝜕

𝑨𝑤 . . .

∙ (1 − 𝑄𝑆𝑆

𝑨𝑤 . . . )

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

27

slide-28
SLIDE 28

ZERO-VARIANCE PDF EXAMPLES

  • Opt. distance PDF:

𝑞𝑒

𝑨𝑤 𝑒𝑘+1|𝒚𝑘, 𝜕𝑘 ∝ 𝑈(𝒚𝑘, 𝒚𝑘+1) ⋅ 𝜏𝑡(𝒚𝑘+1) ⋅ 𝑀𝑗 (𝒚𝑘+1, 𝜕𝑘)

  • Opt. direction PDF:

𝑞𝜕

𝑨𝑤 𝜕𝑘+1|𝒚𝑘+1, 𝜕𝑘 ∝ 𝑔 𝑦𝑘+1, 𝜕𝑘, 𝜕𝑘+1 ∙ 𝑀(𝑦𝑘+1, 𝜕𝑘+1)

Unknown Light Transport Quantities

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

28

slide-29
SLIDE 29

FUN FACT: STD. VOLUME SAMPLING AND ZERO-VARIANCE

  • Std. volume sampling resolves to a zero-variance estimator if:
  • Its variance depends on the deviation of the actual volumetric light transport

to this assumption!

  • Consequence:

Any conservative guiding towards the actual VLT results in a variance reduction !!!

∀ 𝒚, 𝜕

𝑀 𝒚, 𝜕 = 𝑑𝑝𝑜𝑡𝑢 𝑀𝑗 𝒚, 𝜕 = 𝑑𝑝𝑜𝑡𝑢

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

29

slide-30
SLIDE 30

ZERO-VARIANCE-BASED VOLUMETRIC PATH GUIDING

30

slide-31
SLIDE 31

ZV-BASED VOLUMETRIC PATH GUIDING: GOALS

  • Consider the complete volumetric light transport
  • No prior assumptions or special cases
  • Leverage success of local surface guiding methods
  • Extend the concept to volumes

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

31

slide-32
SLIDE 32

ZV-BASED VOLUMETRIC PATH GUIDING: CONTRIBUTIONS

  • Guiding all local sampling decisions:
  • 1+2 Guided product distance sampling:
  • 3 Guided product directional sampling:
  • 4 Guided Russian roulette and Splitting:

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

32

slide-33
SLIDE 33

Standard Sampling 45 min

slide-34
SLIDE 34

45 min Our Guided Sampling

slide-35
SLIDE 35

Standard Sampling 45 min Our Guided Sampling

slide-36
SLIDE 36

VOLUME RADIANCE ESTIMATES

  • Pre-processing step to fit estimates from photons (50M)
  • Spatial caches via BSP-tree: max. 2K photons per node

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

36

slide-37
SLIDE 37

VON MISES FISHER MIXTURE MODEL (VMM)

𝑊 𝜕|Θ = ෍

𝐿

𝜌𝑗𝑤(𝜕|𝜈𝑗, 𝜆𝑗) Θ = {𝜌0 … , 𝜈0 … , 𝜆0 … }

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

37

slide-38
SLIDE 38

VON MISES FISHER MIXTURE MODEL (VMM)

𝑊 𝜕|Θ = ෍

𝐿

𝜌𝑗𝑤(𝜕|𝜈𝑗, 𝜆𝑗) Θ = {𝜌0 … , 𝜈0 … , 𝜆0 … }

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

38

slide-39
SLIDE 39

VMM: PRODUCT

𝜌𝑗𝑤(𝜕|𝜈𝑗, 𝜆𝑗) ⋅ 𝜌𝑘𝑤(𝜕|𝜈𝑘, 𝜆𝑘) = 𝜌𝑗𝑘𝑤(𝜕|𝜈𝑗𝑘, 𝜆𝑗𝑘)

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

39

slide-40
SLIDE 40

VMM: PRODUCT

𝜌𝑗𝑤(𝜕|𝜈𝑗, 𝜆𝑗) ⋅ 𝜌𝑘𝑤(𝜕|𝜈𝑘, 𝜆𝑘) = 𝜌𝑗𝑘𝑤(𝜕|𝜈𝑗𝑘, 𝜆𝑗𝑘)

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

40

slide-41
SLIDE 41

VMM: CONVOLUTION

𝑤𝑗(… ) ∗ 𝑤𝑘(… ) = 𝑤𝑗𝑘(… )

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

41

slide-42
SLIDE 42

VMM: CONVOLUTION

𝑤𝑗(… ) ∗ 𝑤𝑘(… ) = 𝑤𝑗𝑘(… )

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

42

slide-43
SLIDE 43

INCIDENT RADIANCE ESTIMATES

  • Scaled Incident Radiance Distribution:
  • Fluence:

Φ 𝑦 = ׬

𝑇 𝑀 𝑦, 𝜕′ 𝑒𝜕′

෨ 𝑀 𝑦, 𝜕 = Φ 𝑦 ⋅ 𝑊 𝜕 Θ 𝑦

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

43

slide-44
SLIDE 44

INCIDENT RADIANCE ESTIMATES

  • Scaled Incident Radiance Distribution:
  • Fluence:

Φ 𝑦 = ׬

𝑇 𝑀 𝑦, 𝜕′ 𝑒𝜕′

෨ 𝑀 𝑦, 𝜕 = Φ 𝑦 ⋅ 𝑊 𝜕 Θ 𝑦

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

44

slide-45
SLIDE 45

INCIDENT RADIANCE ESTIMATES

Ground truth (2K spp) Our estimates (VMM)

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

45

slide-46
SLIDE 46

IN-SCATTERED RADIANCE ESTIMATES

  • Convolution between 𝑀 and phase function:

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

46

slide-47
SLIDE 47

IN-SCATTERED RADIANCE ESTIMATES

  • Convolution between 𝑀 and phase function:

𝑊

𝑀𝑗 𝜕 = (𝑊 𝑔 ∗ 𝑊 𝑀)(𝜕)

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

47

slide-48
SLIDE 48

IN-SCATTERED RADIANCE ESTIMATES

  • Convolution between 𝑀 and phase function:

𝑊

𝑀𝑗 𝜕 = (𝑊 𝑔 ∗ 𝑊 𝑀)(𝜕)

෨ 𝑀𝑗 𝑦, 𝜕 = Φ 𝑦 ⋅ 𝑊

𝑀𝑗(𝜕|Θ𝑀𝑗(𝑦))

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

48

slide-49
SLIDE 49

IN-SCATTERED RADIANCE ESTIMATES

Ground truth (2K spp) Our estimates (VMM)

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

49

slide-50
SLIDE 50

GUIDED SAMPLING DECISIONS

50

slide-51
SLIDE 51

GUIDED PRODUCT DISTANCE SAMPLING

  • 1. Scatter decision
  • 2. Scatter distance

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

51

slide-52
SLIDE 52

GUIDED PRODUCT DISTANCE SAMPLING

  • Optimal ZV-PDF:

𝑞𝑒

𝑨𝑤 𝑒𝑘+1|𝒚𝑘, 𝜕𝑘 = 𝑈(𝒚𝑘, 𝒚𝑘+1) ⋅ 𝜏𝑡(𝒚𝑘+1) ⋅ 𝑀𝑗 (𝒚𝑘+1, 𝜕𝑘)

𝑀 (𝒚𝑘, 𝜕𝑘)

  • Our guided PDF:

෤ 𝑞𝑒

𝑨𝑤 𝑒𝑘+1|𝒚𝑘, 𝜕𝑘 = 𝑈 𝒚𝑘, 𝒚𝑘+1 ⋅ 𝜏𝑡 𝒚𝑘+1 ⋅ ෨

𝑀𝑗(𝒚𝑘+1, 𝜕𝑘) ෨ 𝑀(𝒚𝑘, 𝜕𝑘) Our estimates

1+2. Event distance

Traditional distance sampling

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

52

slide-53
SLIDE 53

INCREMENTAL GUIDED DISTANCE SAMPLING

  • Incremental approach:
  • At each step make a local decision, if we scatter inside the bin.

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

53

slide-54
SLIDE 54

INCREMENTAL GUIDED DISTANCE SAMPLING

  • Local bin scatter probability:

𝑄𝑗 𝐸 ≤ 𝑒𝑗+1 ≈ 1 − 𝑈(𝑒𝑗, 𝑒𝑗+1) 𝜏𝑢(𝑒𝑗) ⋅ 𝜏𝑡 𝑒𝑗 ⋅ ෨ 𝑀𝑗(𝑒𝑗) ෨ 𝑀(𝑒𝑗, 𝜕)

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

54

slide-55
SLIDE 55

INCREMENTAL GUIDED DISTANCE SAMPLING

  • We only need to step until the scattering event happens

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

55

slide-56
SLIDE 56

No guiding (256 spp) Distance guiding (256 spp)

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

56

slide-57
SLIDE 57

No guiding (1024 spp) Distance guiding (1024 spp)

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

57

slide-58
SLIDE 58

45 min

slide-59
SLIDE 59

No guiding Spp: 960 relMSE: 1.342

45 min

slide-60
SLIDE 60

No guiding Distance guiding Spp: 960 relMSE: 1.342 Spp: 424 relMSE: 0.901

45 min

slide-61
SLIDE 61

GUIDED PRODUCT DIRECTIONAL SAMPLING

  • Optimal ZV-PDF:

𝑞𝜕

𝑨𝑤 𝜕𝑘+1|𝒚𝑘+1, 𝜕𝑘 ∝ 𝑔 𝑦𝑘+1, 𝜕𝑘, 𝜕𝑘+1 ∙ 𝑀(𝑦𝑘+1, 𝜕𝑘+1)

  • Our guided PDF:

෤ 𝑞𝜕

𝑨𝑤 𝜕𝑘+1|𝒚𝑘+1, 𝜕𝑘 ∝ ሚ

𝑔 𝑦𝑘+1, 𝜕𝑘, 𝜕𝑘+1 ∙ ෨ 𝑀(𝑦𝑘+1, 𝜕𝑘+1) Traditional directional sampling Our estimates

  • 3. Scatter direction

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

61

slide-62
SLIDE 62

GUIDED PRODUCT DIRECTIONAL SAMPLING

  • Product between two VMM is a VMM:

𝑊

𝑔 𝜕 𝑊 𝑀 𝜕 = 𝑊 𝑔 ⊗ 𝑊 𝑀

𝜕 = 𝑊

⊗(𝜕)

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

62

slide-63
SLIDE 63

GUIDED PRODUCT DIRECTIONAL SAMPLING

  • Product between two VMM is a VMM:

𝑊

𝑔 𝜕 𝑊 𝑀 𝜕 = 𝑊 𝑔 ⊗ 𝑊 𝑀

𝜕 = 𝑊

⊗(𝜕)

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

63

slide-64
SLIDE 64

GUIDED PRODUCT DIRECTIONAL SAMPLING

  • Product between two VMM is a VMM:

𝑊

𝑔 𝜕 𝑊 𝑀 𝜕 = 𝑊 𝑔 ⊗ 𝑊 𝑀

𝜕 = 𝑊

⊗(𝜕)

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

64

slide-65
SLIDE 65

30 min

65

slide-66
SLIDE 66

30 min

No guiding Spp: 2212 relMSE: 0.376

slide-67
SLIDE 67

Directional guiding Spp: 1756 relMSE: 0.048

30 min

No guiding Spp: 2212 relMSE: 0.376

slide-68
SLIDE 68

Directional guiding Dist + Direct Spp: 1756 relMSE: 0.048 Spp: 1228 relMSE: 0.034

30 min

No guiding Spp: 2212 relMSE: 0.376

slide-69
SLIDE 69

IMPORTANCE OF THE PRODUCT FOR DIRECTIONAL GUIDING

  • Phase function PDF:

𝑞𝜕

𝑔 …

∝ 𝑔 …

  • Incident Radiance PDF:

𝑞𝜕

𝑀 …

∝ 𝑀(𝑦𝑘+1, 𝜕𝑘+1)

  • Mixture PDF:

𝑞𝜕

𝑕𝑣𝑗𝑒𝑓 …

= 𝛽 ∙ 𝑞𝜕

𝑔 …

+ (1 − 𝛽) ∙ 𝑞𝜕

𝑀 …

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

69

slide-70
SLIDE 70

IMPORTANCE OF THE PRODUCT FOR DIRECTIONAL GUIDING

  • Mixture PDF:

𝑞𝜕

𝑛𝑗𝑦 …

= 𝛽 ∙ 𝑞𝜕

𝑔 …

+ (1 − 𝛽) ∙ 𝑞𝜕

𝑀 …

  • Product PDF:

෤ 𝑞𝜕

𝑨𝑤 …

∝ ሚ 𝑔 … ∙ ෨ 𝑀(… )

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

70

slide-71
SLIDE 71

GUIDED RUSSIAN ROULETTE AND SPLITTING

  • Post-sampling compensation strategies:
  • Identify, if we did a sub-optimal sampling decision
  • Terminate: to increase performance
  • Split: bound/reduce sample variance
  • 4a. Termination
  • 4b. Splitting

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

71

slide-72
SLIDE 72

GUIDED RUSSIAN ROULETTE AND SPLITTING

  • 4a. Termination
  • 4b. Splitting

Distance Directional

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

72

slide-73
SLIDE 73

GUIDED RUSSIAN ROULETTE AND SPLITTING

  • Path contribution: 𝐹[𝑌]
  • The expected contribution

if we continue the path

  • Reference solution: 𝐽
  • the final pixel value

𝑟 = 𝐹 𝑌 𝐽

Path contribution Reference solution survival prob / splitting factor

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

73

slide-74
SLIDE 74

GUIDED RUSSIAN ROULETTE AND SPLITTING

  • Path contribution: 𝐹[𝑌]
  • The expected contribution

if we continue the path

  • Reference solution: 𝐽
  • the final pixel value

𝑟 = 𝐹 𝑌 𝐽 = 1

Path contribution Reference solution survival prob / splitting factor

Zero-Variance Estimator

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

74

slide-75
SLIDE 75

GUIDED RUSSIAN ROULETTE AND SPLITTING

  • If q′ ≤ 1: Russian Roulette
  • Terminates low contributing paths
  • Survival probability: q′
  • If q′ > 1: Spitting
  • Splits an under sampled paths with

a potential high contribution (q′ times)

𝑟 = 𝐹 𝑌 𝐽

Path contribution Reference solution survival prob / splitting factor

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

75

slide-76
SLIDE 76

VOLUME RENDERING EQUATION

  • See course notes or paper for more details

෨ 𝑀𝑗 𝒀 𝐹 𝒀 = 𝑏′(𝒀) ⋅ ෨ 𝑀𝑗 𝑦𝑘, 𝜕𝑘−1

Path throughput: 𝑔(𝒀)/𝑞(𝒀) In-scattered radiance estimate 𝑦𝑘 𝜕𝑘−1

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

76

slide-77
SLIDE 77

GUIDED RUSSIAN ROULETTE AND SPLITTING: PIXEL ESTIMATE

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

77

slide-78
SLIDE 78

GUIDED RUSSIAN ROULETTE AND SPLITTING: PIXEL ESTIMATE

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

78

slide-79
SLIDE 79

No RR Spp: 468 relMSE: 0.454

45 min

slide-80
SLIDE 80

No RR Guided RR Spp: 468 relMSE: 0.454 Spp: 1500 relMSE: 0.174

45 min

slide-81
SLIDE 81

No RR Guided RR Spp: 468 relMSE: 0.454 Spp: 1500 relMSE: 0.174

45 min

+ Guided splitting Spp: 1340 relMSE: 0.066

slide-82
SLIDE 82

Guided RR + Guided splitting

Spp: 1500 relMSE: 0.174 Spp: 1340 relMSE: 0.066

Sebastian Herholz | Volumetric Zero-Variance-Based Path Guiding

82

slide-83
SLIDE 83

No guiding

Time: 60 min Spp: 10644 relMSE: 11.58

slide-84
SLIDE 84

Distance guiding

Time: 60 min Spp: 4624 relMSE: 3.520

slide-85
SLIDE 85

Distance + directional guiding

Time: 60 min Spp: 4448 relMSE: 0.468

slide-86
SLIDE 86

Distance + directional guiding + GRRS

Time: 60 min Spp: 3796 relMSE: 0.321

slide-87
SLIDE 87

ADDITIONAL RESULTS

Motivation Zero-Variance Theory Volume Guiding Guided Decisions Results Future Work

87