dof depth of field

27
Depth of Field

Upload: ozlael-ozlael

Post on 20-May-2015

6.544 views

Category:

Technology


0 download

DESCRIPTION

DOF Depth of Field

TRANSCRIPT

Page 1: DOF Depth of Field

Depth of Field

Page 2: DOF Depth of Field

DOF 란

● 피사계심도

● 사진 렌즈로 어떤 거리의 피사체에 초점을 맞추면 그 앞쪽 [ 近點 ] 과 뒤쪽 [ 遠點 ] 의 일정한 거리 내에 초점이 맞는데 이때 그 범위를 이르는 말 .

● PhotoRealistic Rendering

Page 3: DOF Depth of Field

Pinhole Camera Model

Page 4: DOF Depth of Field

Thin Lens Camera Model

Page 5: DOF Depth of Field

Implementation

● Simulation of CoC

● Pass 1 : Scene Rendering

● Pass 2 : Pos-processing

● RPostEffectDOF

Page 6: DOF Depth of Field

Pass 1 : Scene Rendering

● 장면 랜더링

● Depth and Blurriness factor

● MRT 사용

Page 7: DOF Depth of Field

Pass 1 : Scene Rendering

● 장면 랜더링

● Depth and Blurriness factor

● MRT 사용

SIMPLEIn

Deferred

Page 8: DOF Depth of Field

Pass 1 : Scene Rendering

● 장면 랜더링

● Depth and Blurriness factor

● MRT 사용

G-buffer Depth

원래있는거

Page 9: DOF Depth of Field

Pass 1 : Scene Rendering

● 장면 랜더링

● Depth and Blurriness factor

● MRT 사용

Blurriness factor

추가작업

Page 10: DOF Depth of Field

Pass 1 : Scene Rendering

● Mapping Depth to Blur

1

-1

Focal Range

Focal Dist

Blurriness

Depth

Focal Near Focal Far

Page 11: DOF Depth of Field

Pass 2 : Pos-processing

● Use CoC

● Poisson distribution

Page 12: DOF Depth of Field

Pass 2 : Pos-processing

● Blurriness 와 Filter Size

Page 13: DOF Depth of Field

Pass 2 : Pos-processing

● Gaussian

원경의 샘플링 탭은요놈으로

Page 14: DOF Depth of Field

// 블러값이1이어서가우시안의컬러만추출하게되면, // 가우시안의해상도가낮은것때문에 // 전반적인해상도가떨어져보인다.// 블러값이아무리높아도// 원본의컬러가어느정도반영되도록하여// 해상도를높인다

Page 15: DOF Depth of Field

No DOF

Page 16: DOF Depth of Field

DOF Result

Page 17: DOF Depth of Field

이렇게 되게 해주세요

바이오닉코만도

Page 18: DOF Depth of Field

하지만 현실은 시궁창

Page 19: DOF Depth of Field

GPU Gems 3Chapter 28.

Practical Post-Process Depth of Field

Page 20: DOF Depth of Field

GPU Gems 3Chapter 28.

Practical Post-Process Depth of Field

Page 21: DOF Depth of Field

GPU Gems 3Chapter 28.

Practical Post-Process Depth of Field

아 신발 뭐래는거야

Page 22: DOF Depth of Field

빠르고간단한방법을 생각생각생각생각

Page 23: DOF Depth of Field

영역 확장

Blurriness

Page 24: DOF Depth of Field

영역 확장

Blurriness -> expand

속도를 위해 저해상도로

Page 25: DOF Depth of Field

영역 확장

Blurriness -> expand -> filter

속도를 위해 저해상도로

Page 26: DOF Depth of Field

영역 확장

Blurriness -> expand -> filter-> Result

Page 27: DOF Depth of Field

THE END . . .