05 ’ digital image synthesis presented by jen-yuan chiang

29
Efficient Simulation of Light Trans port in Scenes with Participating Media using Photon Maps - Henrik Wann Jensen Per H. Christensen 05’ Digital Image Synthesis Presented by Jen-Yuan Chiang

Upload: samson

Post on 30-Jan-2016

27 views

Category:

Documents


0 download

DESCRIPTION

Efficient Simulation of Light Transport in Scenes with Participating Media using Photon Maps - Henrik Wann Jensen Per H. Christensen. 05 ’ Digital Image Synthesis Presented by Jen-Yuan Chiang. Issues addressed by the paper. Realistic Volume Rendering - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: 05 ’  Digital Image Synthesis Presented by Jen-Yuan Chiang

Efficient Simulation of Light Transport in Scenes with Participating Media using Photon Maps- Henrik Wann Jensen Per H. Christensen

05’ Digital Image SynthesisPresented by Jen-Yuan Chiang

Page 2: 05 ’  Digital Image Synthesis Presented by Jen-Yuan Chiang

Issues addressed by the paper Realistic Volume Rendering The ability to simulate following effects:

Multiple Volume Scattering Color Bleeding between volumes and surfaces Volume Caustics

Page 3: 05 ’  Digital Image Synthesis Presented by Jen-Yuan Chiang

Multiple Scattering Single Scattering

Multiple Scattering

Page 4: 05 ’  Digital Image Synthesis Presented by Jen-Yuan Chiang

Color Bleeding

Without participating media With participating media

Page 5: 05 ’  Digital Image Synthesis Presented by Jen-Yuan Chiang

Caustics Surface Caustics

Light reflected from or transmitted through one or more specular surfaces strikes a diffuse surface.

Page 6: 05 ’  Digital Image Synthesis Presented by Jen-Yuan Chiang

Caustics Volume Caustics

Light reflected from or transmitted through specular surfaces and then scattered by amedium

Page 7: 05 ’  Digital Image Synthesis Presented by Jen-Yuan Chiang

Issues addressed in this paper Extends the method of photon mapping

to achieve the global illumination of scenes with participating media

Page 8: 05 ’  Digital Image Synthesis Presented by Jen-Yuan Chiang

Outline

Overview of Photon mapping for surfaces

Light transport in participating media Extending Photon Mapping to

Participating Media Results

Page 9: 05 ’  Digital Image Synthesis Presented by Jen-Yuan Chiang

Overview of Photon Mapping for Surfaces

Global Illumination technique Two-pass particle-tracing algorithm

First pass: Building the photon maps using photon tracing

Second pass: Rendering using these photon maps

Page 10: 05 ’  Digital Image Synthesis Presented by Jen-Yuan Chiang

First pass Photons emitted from light sources Simulate the transport of each photon Store photon in photon maps when it hits none

specular surfaces Direct map Caustics map Indirect map

Balanced kd-tree is used to handle photons

Page 11: 05 ’  Digital Image Synthesis Presented by Jen-Yuan Chiang

3 photon maps

Ex. LSSSDSSSSD

Caustic map Indirect map

Page 12: 05 ’  Digital Image Synthesis Presented by Jen-Yuan Chiang

Second Pass

Specular reflection

Direct Illumination

CausticsIndirect illumination

Page 13: 05 ’  Digital Image Synthesis Presented by Jen-Yuan Chiang

Second Pass Illumination at a point is divided into four parts

Specular reflection: ray tracing Direct illumination: direct map or ray tracing Caustics: caustics photon map Indirect illumination: indirect photon map

2

2

2

|cos|),(),(),(),,(

|cos|),(),,(

|cos|),(),,(

,,,S iiiciiiiidiio

S iiiiio

S iiiiio

dpLpLpLpf

dpLpf

dpLpf

Page 14: 05 ’  Digital Image Synthesis Presented by Jen-Yuan Chiang

Radiance Estimate Information of Photons

Position(p), power( ), incoming direction( ) pp

N

p

ppprr r

xxfxL

12

),(),,(),(

Page 15: 05 ’  Digital Image Synthesis Presented by Jen-Yuan Chiang

Outline

Overview of Photon mapping for surfaces

Light transport in participating media Extending Photon Mapping to

Participating Media Results

Page 16: 05 ’  Digital Image Synthesis Presented by Jen-Yuan Chiang

Light Transport in Participating media

x

Radiance L changes continuously from L(p,w) to L(q,w)

p q

x

Page 17: 05 ’  Digital Image Synthesis Presented by Jen-Yuan Chiang

Volume Scattering Emission

In-Scattering

Absorption

Out-Scattering

),()( xLx e

),()( xLx i

),()( xLx

),()( xLx

Absorption coefficient

Scattering coefficient

Page 18: 05 ’  Digital Image Synthesis Presented by Jen-Yuan Chiang

Volume Rendering Equation

Extinction coefficient

Ray marching

Page 19: 05 ’  Digital Image Synthesis Presented by Jen-Yuan Chiang

Ray Marching Computes the contribution from the medium by

dividing the ray into smaller segments

x

emission

in-scattering

extinction(assuming medium properties are the same through )

X0X1 X2

Xk

xx x x

x

Page 20: 05 ’  Digital Image Synthesis Presented by Jen-Yuan Chiang

Outline

Overview of Photon mapping for surfaces

Light transport in participating media Extending Photon Mapping to

Participating Media Results

Page 21: 05 ’  Digital Image Synthesis Presented by Jen-Yuan Chiang

Extending Photon Mapping to participating media

From for surfaces to for volumes Still 2 pass particle tracing algorithm

First pass: additional volume photon map

Second pass: rendering using ray marching

Page 22: 05 ’  Digital Image Synthesis Presented by Jen-Yuan Chiang

Volume Radiance Estimate Estimate radiance using volume photon

map

Page 23: 05 ’  Digital Image Synthesis Presented by Jen-Yuan Chiang

Volume Radiance Estimate for Ray Marching For each ray through the volume, we can get the

radiance caused by volume scattering by marching along the ray and cumulating every ),( wxL k

in-scattered radiance

single scattering (direct):by ray tracing

Multiple scattering (indirect):by volume radiance estimate

Page 24: 05 ’  Digital Image Synthesis Presented by Jen-Yuan Chiang

Outline

Overview of Photon mapping for surfaces

Light transport in participating media Extending Photon Mapping to

Participating Media Results

Page 25: 05 ’  Digital Image Synthesis Presented by Jen-Yuan Chiang

Features of Volumetric Photon Mapping

Can model- Homogeneous as well as non-homogeneous media. Isotropic as well as anisotropic media. Since decoupled from geometry (photons stored in k

d-tree), so capable of handling complex scene.

Page 26: 05 ’  Digital Image Synthesis Presented by Jen-Yuan Chiang

Some Results Anisotropic and non-homogeneous medium

Page 27: 05 ’  Digital Image Synthesis Presented by Jen-Yuan Chiang

Underwater Scene with Volume Caustics

Page 28: 05 ’  Digital Image Synthesis Presented by Jen-Yuan Chiang

Pseudo code for volume photon mapping

http://www-graphics.stanford.edu/courses/cs348b-competition/cs348b-05/abandoned/index.html

Page 29: 05 ’  Digital Image Synthesis Presented by Jen-Yuan Chiang

Thanks!