Global illumination with many-light methods
Jaroslav Křivánek
Charles University, Prague
Global illumination with many-light methods Jaroslav Kivnek - - PowerPoint PPT Presentation
Global illumination with many-light methods Jaroslav Kivnek Charles University, Prague Review: Path integral formulation of light transport Veach , 1998 Zobrazovac rovnice v 3b form ulaci o ' i
Jaroslav Křivánek
Charles University, Prague
M r
x
e 2
i
i
' θ
Důležitost emitovaná z x’ do x
(Značení: šipka = směr šíření světla, nikoli důležitosti)
x’... na senzoru x … na ploše scnény
× ′
M M j
x x
(j) e
Rovnovážná radiance
(Řešení zobrazovací rovnice)
Cíl: místo integrální rovnice chceme formulovat
transport světla jako integrál přes cesty:
Ω
j j
Hodnota (“měření“) j-tého pixelu Prostor všech světelných cest Spojujících zdroj světla s pixelem j Příspěvek cesty x k hodnotě pixelu (contribution function) Míra na množině světelných cest
množina cest všech možných délek … množina cest délky k
k
1
Diferenciální míra pro cesty délky k
k
k x x
vrchol cesty jedna „fajfka“
Odhad integrálu pomocí klasických Monte Carlo metod: Jak definovat a spočítat hustotu na prostoru cest?
Ω
j j
j j ≈
Hustota pravděpodobnosti cesty
Sdružená hustota pozic vrcholů cesty: Součin podmíněných hustot pro jednotlivé vrcholy
(vzhledem k plošné míře)
k
1
1 2 1 1
k
Hustota p-nosti není invariantní vůči míře Nutno konvertovat z dω na dA
i
12
SIGGRAPH 1997
13
14
15
16
17
VPL power VPL emission distribution (BRDF lobe at p – for a diffuse VPL can be folded into Φ) Geometry term
Visibility
18
“correlated noise”
19
VPL power VPL emission distribution (BRDF lobe at p – for a diffuse VPL can be folded into Φ) Geometry term
Visibility
20
1000 VPLs - no clamping missing energy 1000 VPLs - clamping reference (path tracing)
21
22
23
24
25
Images: Brabec et al. 2002
Option 1: Hemicube shadow maps. slow (render scene 5 times) Option 2: Paraboloid mapping
26
Images: Brabec et al. 2002
[Dachsbacher and Stamminger 05]
28
29
I3D 2005
30
31
32
Sampling pattern w/ sample weights
33
34
EGSR 2007
Slide courtesy Samuli Laine
Slide courtesy Samuli Laine
Slide courtesy Samuli Laine
Slide courtesy Samuli Laine
Slide courtesy Samuli Laine
Slide courtesy Samuli Laine
Slide courtesy Samuli Laine
Slide courtesy Samuli Laine
Slide courtesy Samuli Laine
Resolution Time (ms) FPS 1024×7680 17.0 48.6 1600×1200 30.1 25.9
Triangles: tessellated 109k
45
Imperfect Shadow Maps for Efficient Computation of Indirect Illumination, T. Ritschel et al., SIGGRAPH Asia 2008. Singapore, Dec. 12th, 2008
Direct light
Frame t+1
Direct light
Frame t Indirect shadow
No indirect shadow
Slide courtesy Tobias Ritschel
Imperfect Shadow Maps for Efficient Computation of Indirect Illumination, T. Ritschel et al., SIGGRAPH Asia 2008. Singapore, Dec. 12th, 2008
This is 30VPLs. You may need 1000…
Slide courtesy Tobias Ritschel
Imperfect Shadow Maps for Efficient Computation of Indirect Illumination, T. Ritschel et al., SIGGRAPH Asia 2008. Singapore, Dec. 12th, 2008
32 32
Slide courtesy Tobias Ritschel
Imperfect Shadow Maps for Efficient Computation of Indirect Illumination, T. Ritschel et al., SIGGRAPH Asia 2008. Singapore, Dec. 12th, 2008
Slide courtesy Tobias Ritschel
Imperfect Shadow Maps for Efficient Computation of Indirect Illumination, T. Ritschel et al., SIGGRAPH Asia 2008. Singapore, Dec. 12th, 2008
Imperfect Classic Imperfect Smaller points Less points
Slide courtesy Tobias Ritschel
Imperfect Shadow Maps for Efficient Computation of Indirect Illumination, T. Ritschel et al., SIGGRAPH Asia 2008. Singapore, Dec. 12th, 2008
VPL / Depth map
Slide courtesy Tobias Ritschel
Imperfect Shadow Maps for Efficient Computation of Indirect Illumination, T. Ritschel et al., SIGGRAPH Asia 2008. Singapore, Dec. 12th, 2008
3D 2D Without pull-push Classic With pull-push
Slide courtesy Tobias Ritschel
Imperfect Shadow Maps for Efficient Computation of Indirect Illumination, T. Ritschel et al., SIGGRAPH Asia 2008. Singapore, Dec. 12th, 2008
With pull-push
Without pull-push Classic
Slide courtesy Tobias Ritschel
Imperfect Shadow Maps for Efficient Computation of Indirect Illumination, T. Ritschel et al., SIGGRAPH Asia 2008. Singapore, Dec. 12th, 2008
With pull-push
Without pull-push
Slide courtesy Tobias Ritschel
Imperfect Shadow Maps for Efficient Computation of Indirect Illumination, T. Ritschel et al., SIGGRAPH Asia 2008. Singapore, Dec. 12th, 2008
Direct + Indirect Direct only Indirect only G-Buffer Simple blur Edge-aware
Slide courtesy Tobias Ritschel
Imperfect Shadow Maps for Efficient Computation of Indirect Illumination, T. Ritschel et al., SIGGRAPH Asia 2008. Singapore, Dec. 12th, 2008
Slide courtesy Tobias Ritschel
Imperfect Shadow Maps for Efficient Computation of Indirect Illumination, T. Ritschel et al., SIGGRAPH Asia 2008. Singapore, Dec. 12th, 2008
Slide courtesy Tobias Ritschel
58