a layered depth-of-field method for solving partial occlusion

35
A Layered Depth-of-Field Method for Solving Partial Occlusion David C. Schedl Michael Wimmer [email protected] [email protected] Institute of Computer Graphics and Algorithms Vienna University of Technology WSCG – 26 th June 2012

Upload: malory

Post on 22-Feb-2016

79 views

Category:

Documents


1 download

DESCRIPTION

A Layered Depth-of-Field Method for Solving Partial Occlusion. David C. Schedl Michael Wimmer [email protected] [email protected] Institute of Computer Graphics and Algorithms Vienna University of Technology. WSCG – 26 th June 2012. Real life partial occlusion. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

A Layered Depth-of-Field Method for Solving Partial

OcclusionDavid C. Schedl Michael [email protected] [email protected]

Institute of Computer Graphics and AlgorithmsVienna University of Technology

WSCG – 26th June 2012

Page 2: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

David C. Schedl

Real life partial occlusion

f=18 mm, N=4

Page 3: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

David C. Schedl

Intro/Overviewdepth-of-field approximation

post processingpartial occlusion in realtime

Page 4: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

David C. Schedl

Thin lens

Page 5: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

David C. Schedl

Previous workPotmesil and Chakravarty, 1981

CoC - equationfirst post-processing methodblur according to CoCsstill a referenceartifacts

Page 6: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

David C. Schedl

Artifacts

color bleeding:

[Demers2004]

[Riguer2005]

depth discontinuity:

Page 7: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

David C. Schedl

Partial Occlusionpinhole vs. finite aperture

Page 8: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

David C. Schedl

Partial Occlusion

pinhole: finite aperture:

Page 9: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

David C. Schedl

Previous work – solve partial occlusion

non-realtime:ray-tracing (Cook et al., 1984)Accumulation B. (Haeberli and Akeley, 1990)

layered methods:Kraus and Strengert, 2007

occluded scene content only interpolated

Lee et al., 2010image composition via ray traversalsimulate more lens effectsmore complex and slower than ours

Page 10: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

David C. Schedl

Our Method

Page 11: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

David C. Schedl

Our Method

Page 12: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

David C. Schedl

Overview

Page 13: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

David C. Schedl

Rendering& Depth PeelingIm

ages

Page 14: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

David C. Schedl

Matting – functionsw

eigh

t

depth

Page 15: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

David C. Schedl

Matting – functionsw

eigh

t

depth

Page 16: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

David C. Schedl

Matting – layers In

put

Page 17: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

David C. Schedl

Matting – layers In

put

Page 18: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

David C. Schedl

Matting – layers In

put

Laye

rs

Page 19: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

David C. Schedl

Matting – layers In

put

Laye

rs

Page 20: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

David C. Schedl

Matting – layers In

put

Laye

rs

Page 21: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

David C. Schedl

Blurringuniformly blur layersGaussian filter

Page 22: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

David C. Schedl

Blurring

Page 23: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

David C. Schedl

Blurring

Page 24: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

David C. Schedl

Composealpha-blend back to front

Page 25: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

David C. Schedl

Optimizationreduce filter widthrecursive Gaussians

Page 26: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

David C. Schedl

Optimization - front

Page 27: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

David C. Schedl

Optimization - front

Page 28: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

David C. Schedl

Optimization - front

Page 29: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

David C. Schedl

Optimization - Compositing

Page 30: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

David C. Schedl

Results - Homunculus

f=100mm, N =1.4, focus=18 500 mm, 17 layers, 3x DP

Page 31: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

David C. Schedl

Results - Dragons

f=100mm, N =1.4, focus=3 000 mm, 22 layers, 3x DP

Page 32: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

David C. Schedl

Results – BenchmarksIntel Core i7 920, Geforce GTX 480OpenGL and GLSL1024 x 1024px

ours Lee et. al. 2010 Accum. B.

optimized non-rec. 256 rays 256 views

Homunculus(74k tri.) 102 ms 1.4x 13.2x 47x

Dragons(610k tri.) 98 ms 1.3x 14.7x 42x

Page 33: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

David C. Schedl

Conclusionlayered DoF methodpartial occlusion solvedcomparison to:

Accumulation Buffer Lee et al., 2010

optimized by recursive Gaussiansefficient composition with alpha blending

Page 34: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

David C. Schedl

Outlookscreen-spaced antialiasingavoid empty layers: clusteringinaccurate but faster blurring methodscombine with eye-tracker

Page 35: A  Layered Depth-of-Field Method for Solving  Partial  Occlusion

Thank you!

slides will be available at: http://www.cg.tuwien.ac.at/research/publications/2012/schedl-2012-dof/

David C. Schedl