team hon amp lead programmer 김 철 웅

Post on 23-Jan-2016

42 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

Pseudo Subsurface Scattering for Translucent Objects. Team HON AMP Lead Programmer 김 철 웅. First, Translucency. 반투명 : 부분적으로 또는 불완전하게 빛이 매질 내부에서 분산되어 투과되는 것. Bidirectional Function. Bidirectional Function F( θ i , φ i ; θ o, φ o). Light Transport Models. - PowerPoint PPT Presentation

TRANSCRIPT

NCsoft CORPORATION

158-16, Samsung-dong, Kangnam-gu, Seoul 135-090, KOREA | Tel: +82-2-2186-3300 Fax : +82-2-556-6206

Copyright NCsoft Corporation. All Rights Reserved ⓒWWW.NCSOFT.COM

Team HON AMPLead Programmer

김 철 웅

Pseudo Subsurface Scattering for Translucent Objects

2

First, Translucency

반투명 : 부분적으로 또는 불완전하게 빛이 매질 내부에서 분산되어 투과되는 것

3

Bidirectional Function

• Bidirectional Function– F(θi ,φi ; θo, φo)

4

Light Transport Models

- BRDF : Bidirectional Reflectance Distribution Function

- BSSRDF : Bidirectional Sub-Surface Reflectance Distribution Function

- BTDF : Bidirectional Transmittance Distribution Function

- BSDF : Bidirectional Scattering Distribution Function

- Generalization of BRDF + BTDF

5

Ambient Occlusion

• 어느 각도에서 빛을 비추어도 주변보다 항상 상대적으로 어두운 부분이 존재한다 .– 주변에 비해 항상 상대적으로 간접광이 적게

비춰지는 곳이 있다 .

6

7

8

Calculating Ambient Occlusion

9

Ambient Occlusion 의 역이용

• 어느 각도에서 빛을 비추어도 주변보다 항상 상대적으로 덜 투과되는 ( 혹은 더 투과되는 ) 부분이 존재한다 .– 매질 내부에서 Scattering 되는 빛을 주변에

비해 항상 상대적으로 덜 받는 곳이 있다 .

• 간단히 말해 AO 계산을 할 때 Normal 을 뒤집어서 뒷면의 AO 를 계산하면…

• Devils in the detail

10

프로젝트의 목표

• Ambient Occlusion 기술을 응용해 반투명한 오브젝트의 BSDF 를 근사해 실시간에 렌더링할 수 있는 기술을 구현한다 .

11

원하는 결과물

12

Spec

• AO & Transmittance Map Baker– 기능

• GPU Acceleration 응용할 것– 성능

• 20,000 Polygon Object, Map Size 2048x2048 기준으로– 2 분 이내에 AO Map 출력– 2 분 이내에 Transmittance Map 출력

• Renderer– 기능

• Dynamic Shadow(Self Shadowing 포함 )• AO Map 과 Transmittance Map 적용• Deferred Shading

– Forward Shading 사용시 뒤의 오브젝트가 굴절되어 제대로 비춰지도록 해야 하는 페널티 추가

– 성능• 20,000 Polygon Object 1 개만이므로 400fps 이상

• 기준 하드웨어 – CPU : Intel I7, GPU : GeForce 560 GTS

13

평가기준

Spec 에서 1 개라도 미달 시 실패

14

Questions?

?

15

Ambient Transmittance Map

16

BRDF : Simple Analytical Function Fitting Examples

Cook-Torrance

Blinn-Phong

Ward

Lafortune

17

Spherical Harmonic Function

18

Fitting Arbitrary Distribution Functions with Spherical Harmonics

top related