improved vpl distribution

37
Improved VPL Distribution Jaroslav Křivánek Charles University in Prague (Optimizing) Realistic Rendering with Many-Light Methods (part of the “Handling difficult light paths” section)

Upload: sumi

Post on 22-Feb-2016

31 views

Category:

Documents


0 download

DESCRIPTION

Improved VPL Distribution. (Optimizing) Realistic Rendering with Many-Light Methods. (part of the “Handling difficult light paths” section). Jaroslav K řivánek Charles University in Prague. VPL rendering. Render with VPLs. Distribute VPLs. Why alternate VPL distribution?. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Improved VPL Distribution

Improved VPL Distribution

Jaroslav KřivánekCharles University in Prague

(Optimizing) Realistic Rendering with Many-Light Methods

(part of the “Handling difficult light paths” section)

Page 2: Improved VPL Distribution

1. Distribute VPLs

2

VPL rendering

2. Render with VPLs

Page 3: Improved VPL Distribution

• VPLs may not end up where needed

3

Why alternate VPL distribution?

Page 4: Improved VPL Distribution

4

Example: Large environments

light source

camera

scenereference

inst. radiosity

Images courtesy of Ben Segovia and Bernard Péroche

Page 5: Improved VPL Distribution

Example: Local light inter-reflections

no local light inter-reflections

clampingreference

artifacts

instant radiosity

5

Page 6: Improved VPL Distribution

• Purpose– Ensure VPLs end up where needed

• Approaches– Rejection of unimportant VPLs– Metropolis sampling for VPL distribution– Distribute VPLs by tracing paths from the

camera

6

Purpose & approach

Page 7: Improved VPL Distribution

Rejection of unimportant VPLs

Page 8: Improved VPL Distribution

• Autodesk 360 Rendering– Covered by Adam later in the course

• [Georgiev et al., EG 2010] – Covered on the following slides

(courtesy of Iliyan Georgiev)

• Good for large environments but not for local interactions

8

Rejection of unimportant VPLs

Page 9: Improved VPL Distribution

• Accept VPLs proportionately to their total image contribution– Reject some of those that contribute

less than average

9

VPL rejection – Idea

Page 10: Improved VPL Distribution

• Accept VPLs proportionately to their total image contribution– Reject some of those that contribute

less than average

10

VPL rejection – Idea

Page 11: Improved VPL Distribution

• Want VPLs with equal image contribution Fv

• For each VPL candidate i

– Estimate total image contribution Fi

– Accept w/ probability

(divide energy of an accepted VPL by pi )11

VPL rejection – Algorithm

FF

1,min v

iip

Page 12: Improved VPL Distribution

• No need to be accurate

• Estimating Fv (average VPL contribution)– Based on a few pilot VPLs

• Estimating Fi (contribution of VPL candidate i )– Contribution to only a few image pixels

12

Estimating image contribution

Page 13: Improved VPL Distribution

VPL rejection – Results

Instant Radiosity [Georgiev et al. 2010] (7% acceptance)

Page 14: Improved VPL Distribution

• Cheap & simple

• Can help a lot

• “One-pixel image” assumption– Not suitable for local light inter-

reflections

14

VPL rejection – Conclusion

Page 15: Improved VPL Distribution

Metropolis sampling for VPL distribution

Page 16: Improved VPL Distribution

• “Metropolis instant radiosity”[Segovia et al., EG 2007]

• Good for large environments but not for local interactions

16

Metropolis sampling for VPL distrib.

Page 17: Improved VPL Distribution

17

Metropolis IR – Path mutation

light source

camera

VPL = 2nd vertex from the camera

Page 18: Improved VPL Distribution

18

Metropolis IR – Path mutation

light source

camera

VPL = 2nd vertex from the camera

Page 19: Improved VPL Distribution

19

Metropolis IR – Path mutation

light source

camera

VPL = 2nd vertex from the camera

Page 20: Improved VPL Distribution

20

Metropolis IR – Resulting VPL set

light source

camera

Page 21: Improved VPL Distribution

21

Metropolis IR – Results

Instant Radiosity Metropolis Instant Radiosity

Images courtesy of Ben Segovia and Bernard Péroche

Page 22: Improved VPL Distribution

• Same goal: VPLs with same image contribution

• Similar VPL set quality

22

VPL rejection vs. Metropolis IR

VPL rejection Metropolis IRPerformance(not-so-complex cases)Performance (difficult cases)Implementation

Page 23: Improved VPL Distribution

Sampling VPLs from the camera

(Local VPLs)

Page 24: Improved VPL Distribution

• Address the local inter-reflection problem

• Guaranteed to produce VPLs important for the image

24

Sampling VPLs from the camera

Page 25: Improved VPL Distribution

• “Bidirectional instant radiosity”[Segovia et al., EGSR 2006]

• “Local VPLs”[Davidovič et al., SIGGRAPH Asia 2010]

25

Sampling VPLs from the camera

Page 26: Improved VPL Distribution

• Split illumination

[Davidovič et al. 2010]

26

indirect illumination

Compensation

Clamping Global componentClassic VPLs

Local componentLocal VPLs

Page 27: Improved VPL Distribution

• Kollig & Keller compensation

27

Review of compensation

3) Contribute

Clamped

energy

2) Connect

1) Shoot path

global

Page 28: Improved VPL Distribution

• [Davidovič et al. 2010]

28

Local VPLs – Idea

Create local light

Contribute to a tile

global

local

Page 29: Improved VPL Distribution

• [Davidovič et al. 2010]

29

Local VPLs – Technical solution

local

from tile pixels

Probability density

Jittertiles

global

local

Page 30: Improved VPL Distribution

• [Davidovič et al. 2010]

30

Local VPLs – Technical solution

One-samplevisibility

global

local

• Key idea: Tile visibility approximation

Page 31: Improved VPL Distribution

31

The complete local solution

Local solution(compensation)

Generate local lights

Connect to global lights

Contributeto a tile

Page 32: Improved VPL Distribution

32

The complete local solution

Local solution(compensation)

Global solution (clamped)

Indirect illuminationsolution

Page 33: Improved VPL Distribution

33

Local VPLs – ResultsVSL: 6 min 25 sec

[Davidovič et al.]: 5 min 28 sec

reference: 6360 min

• local lights:17,100,000

Page 34: Improved VPL Distribution

34

Local VPLs – Results

• local lights:17,100,000

VSL: 6 min 25 sec

[Davidovič et al.]: 5 min 28 sec

reference: 6360 min

Page 35: Improved VPL Distribution

35

Local VPLs – Limitations

• Loss of shadow definition• Small loss of energy

[Davidovič et al.]: 5 min 28 sec reference: 6360 min

Page 36: Improved VPL Distribution

• Good for local inter-reflections

• Really useful only when used in conjunction with a separate “global” solution

36

Local VPLs – Conclusions

Page 37: Improved VPL Distribution

Thank you