Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2]...

58
Microfacet Model and Material Appearance 19.05.14 Student Presentation 20193163 Hakyeong Kim

Transcript of Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2]...

Page 1: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Microfacet Model and

Material Appearance

19.05.14

Student Presentation

20193163 Hakyeong Kim

Page 2: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Review

• Light Transport for Participating Media (Joowon Lim)

– Point based light global illumination

– Higher-Dimensional photon samples for volumetric light transport

2

Page 3: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Microfacet theory

Surface light transport framework

• Assumption: Surface is made up of tiny flat microfacets

• Surface normal 𝝎𝒈 is average of microfacet normals 𝝎𝒎

3

𝝎𝒈𝝎𝒎

Page 4: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Microfacet theory

Surface light transport framework

• Assumption: Surface is made up of tiny flat microfacets

• Surface normal 𝝎𝒈 is average of microfacet normals 𝝎𝒎

• Described by normal distribution function NDF 𝑫(𝝎𝒎)

4

𝜔𝑚

𝑫(𝝎𝒎)

Page 5: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Microfacet theory

Surface light transport framework

• Assumption: Surface is made up of tiny flat microfacets

• Surface normal 𝝎𝒈 is average of microfacet normals 𝝎𝒎

• Described by normal distribution function NDF 𝑫(𝝎𝒎)

5

Page 6: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Papers

[1] Multiple Scattering Microfacet BSDFs

with the Smith ModelEric Heitz, Johannes Hanika, Eugene d’Eon

SIGGRAPH 2016

[2] A Two-Scale Microfacet Reflectance Model

Combining Reflection and DiffractionNicolas Holzschuch, Romain Pacanowski, SIGGRAPH 2017

6

Page 7: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Papers

[1] Multiple Scattering Microfacet BSDFs

with the Smith ModelEric Heitz, Johannes Hanika, Eugene d’Eon

SIGGRAPH 2016

[2] A Two-Scale Microfacet Reflectance Model

Combining Reflection and DiffractionNicolas Holzschuch, Romain Pacanowski, SIGGRAPH 2017

7

Microfacet model

• The Smith Model

• Cook-Torrance Model

Volumetric Scattering

Microflake theory+

Single-Scattering BSDF/

Unphysical Multiple-Scattering

Multiple-Scattering BSDF

=

Page 8: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Papers

[2] A Two-Scale Microfacet Reflectance Model

Combining Reflection and DiffractionNicolas Holzschuch, Romain Pacanowski, SIGGRAPH 2017

8

Microfacet model

• The Smith Model

• Cook-Torrance Model

Diffraction model

Harvey-Shack Theory+

New Reflectance model

that both considers

Reflection and Diffraction=

Page 9: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

MULTIPLE SCATTERING MICROFACET BSDFS

WITH THE SMITH MODELERIC HEITZ, JOHANNES HANIKA, EUGENE D’EON

SIGGRAPH 2016

9

Page 10: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Overview

1. Background

• Smith Model

• Microflake Theory

2. Model

• Define medium

• Track intersection (Extinction coefficient & free-path distribution)

• Track light scatter (Phase function)

• Simulate random walk

• Define multiple-scattering BSDF (Expectation of random walk)

3. Evaluation

10

Page 11: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Smith Model

Statistical model of random microsurface described by

Distributions of Heights and Distributions of Normals

Main Assumption : 𝑃1 (ℎ) and 𝐷(𝜔𝑚) is independent

⟹ Final reflectance is independent of height distribution

𝑷𝟏 (𝒉) : Uniform, Gaussain

𝑫(𝝎𝒎) : Anisotropic Beckmann distribution, GGX distribution

11

1

2

3

𝜔𝑚 = 𝑥𝑚, 𝑦𝑚 , 𝑧𝑚

Page 12: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Smith Model

Classic Single-Scattering BSDF(Bidirectional Scattering Distribution Function)

12

1

2

3

2

1

( , , )

( , )( , ) ( , , ) , ( )i m o

ii m

G

i o m i m o o m m mGf f D d

Page 13: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Smith Model

Classic Single-Scattering BSDF(Bidirectional Scattering Distribution Function)

13

1

2

3

2

1

( , , )

( , )( , ) ( , , ) , ( )i m o

ii m

G

i o m i m o o m m mGf f D d

Micro-BRDF

𝒇𝒎 of each materials :

• Rough dielectric

• Rough conductor 𝑓𝑟𝑑𝑖𝑒𝑙 + 0

• Rough diffuse𝑎

𝜋𝜔𝑜, 𝜔𝑚

BRDF(Reflection) BTDF(Transmission)

Page 14: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Smith Model

Classic Single-Scattering BSDF(Bidirectional Scattering Distribution Function)

14

1

2

3

2

1

( , , )

( , )( , ) ( , , ) , ( )i m o

ii m

G

i o m i m o o m m mGf f D d

Masking-shadowing function

Visible Normal Distribution

Masking function

Visibility to viewer

Shadowing function

Visibility to light

Multiple Scattering

Only allows single scattering

Masking-shadowing function Visible Normal Distribution

1 ( ) , ( )( )

cosi

dist

i i m m

m

i

G DD

1cos ( , ) ,i i m i m m mG D d

Smith-like masking function Microflake theory

Page 15: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Microflake theory

[Jakob et al. 2010]

• Framework that describes volumetric scattering

• Use oriented non-spherical particals defined by distribution of normals

15

1

2

3

Page 16: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Microflake theory

Light Transport in Volume : Anisotropic Radiative Transfer Equation

16

1

2

3

( ) ( ) ( ) ( ) ( ) ( ) ( )i i t i i s i p i o o o iL L f L d Q

Directional derivative of radiance

Page 17: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Microflake theory

Light Transport in Volume : Anisotropic Radiative Transfer Equation

17

1

2

3

( ) ( ) ( ) ( ) ( ) ( ) ( )i i t i i s i p i o o o iL L f L d Q

Directional derivative of radiance

( ) ( )

( ) ( )

: volume density

: direction independent albedo

: microflake projected area

( ) , ( )

t i i

s i i

i i m m mD d

Attenuation

coefficientScattering

coefficient

Page 18: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Microflake theory

Light Transport in Volume : Anisotropic Radiative Transfer Equation

18

1

2

3

( ) ( ) ( ) ( ) ( ) ( ) ( )i i t i i s i p i o o o iL L f L d Q

Directional derivative of radiance

Phase Function

1

, ,( )

p i o

m i o i m m m

i

f

p D d

Page 19: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Microflake theory

Light Transport in Volume : Anisotropic Radiative Transfer Equation

19

1

2

3

( ) ( ) ( ) ( ) ( ) ( ) ( )i i t i i s i p i o o o iL L f L d Q

Directional derivative of radiance

Phase Function

1

, ,( )

p i o

m i o i m m m

i

f

p D d

“Smith-like” masking function

1cos ( , ) ,i i m i m m mG D d

Without shadowing function Multiple Scattering

Recall Smith model

Page 20: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Multiple Scattering BSDF Model

1) Build medium

20

1

2

3

Page 21: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Multiple Scattering BSDF Model

1) Build medium

21

1

2

3

1

1

1|Smith

h h P hh P h h h

C h

1

1

SmithP h

hC h

( ) , ( )microflake

r r m m mD d

( ) , ( ) ( ) cosSmith

r r m m m r rD d

( ) ( )microflake microflake microflake

t r r ( ) ( )Smith Smith Smith

t r r

Volume density

Projected area

Extinction coefficient

Page 22: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Multiple Scattering BSDF Model

1) Build medium

22

1

2

3

Page 23: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Multiple Scattering BSDF

2) Track intersection

• Microsurface intersection Probability

• Free-Path Distribution

23

1

2

3

𝜏′ 𝜏′ + 𝑑𝜏′

1

0

( ) ( )1 1

1 1

1

, ,

exp , cot

( ) ( )

( cot ) ( )

r r

dist

r r

Smith

t r r r

r r r

G h

dh d

C h C h

C h C h

Probability that there is no intersection in [0, 𝜏]

1

, 1 1

0 if 0

1 , , if 0

1 if r r

dist

h r r rC h G h

Page 24: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Multiple Scattering BSDF

2) Track intersection

• Free Path Sampling1

2

3

Page 25: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Multiple Scattering BSDF

3) Track light scatter

• Phase Function

25

1

2

3

, , , ,ii o m m i o i m m mp f D d

, ( ) , ( )( )

( ), ( )i

i m m i m m

m Smith

ii m m m

D DD

D d

Page 26: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Multiple Scattering BSDF

4) Simulate random walk

26

1

2

3

Track intersection

Track light scatter

Page 27: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Multiple Scattering BSDF

5) Define multiple scattering BSDF

: Expectation of random walk

27

1

2

3

Random walk

Sequence of N heights, directions and energy throughput 𝜔1, ℎ1, 𝑒1 , … , 𝜔𝑁, ℎ𝑁, 𝑒𝑁 ,

Distribution

• Contribution of 𝑟𝑡ℎ bounce in direction 𝜔𝑂

• Total scattered energy by random walk

• Mutiple Scattering BRDF

1

( ) , ( , )dist

r o r r o o rE e p G h

1,...,

1

( ) ( )N

N o r o

r

E E

1

1,...,

1

( , ) cos ( )

, ( , )

i o o N o

Ndist

r r o o r

r

f E

e p G h

Page 28: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Multiple Scattering BSDF

Result

- Practical rendering

28

1

2

3

Page 29: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

A TWO-SCALE MICROFACET REFLECTANCE MODEL

COMBINING REFLECTION AND DIFFRACTIONNICOLAS HOLZSCHUCH, ROMAIN PACANOWSKI

SIGGRAPH 2017

29

Page 30: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Papers

[2] A Two-Scale Microfacet Reflectance Model

Combining Reflection and DiffractionNicolas Holzschuch, Romain Pacanowski, SIGGRAPH 2017

30

Microfacet model

• The Smith Model

• Cook-Torrance Model

Diffraction model

Harvey-Shack Theory+

New Reflectance model

that both considers

Reflection and Diffraction=

Page 31: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Overview

1. Background

• Cook-Torrance Model

• Modified Harvey-Shack Theory

2. Model

• Two-scale BRDF model

• NDF

3. Evaluation

31

Page 32: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Cook-Torrance Model

Main Assumption:

1. Microfacet is larger than light wavelength Geometric optic applies

2. Each microfacet act as specular mirror

32

1

2

3

𝜔𝑚 𝑜

𝑖

( ( ), )( , ) ( , )

cosF

o

refl i oi o F i o

( , )F i o

Page 33: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Cook-Torrance Model

33

𝑫(𝝎𝒎)

( ( ), )( , ) ( , )

cosF

o

refl i oi o F i o

Main Assumption:

1. Microfacet is larger than light wavelength Geometric optic applies

2. Each microfacet act as specular mirror

( , )4cos cos

Cook Torrance i o

i o

DFG

𝜔𝑚 𝑜

𝑖

( , )F i o

1

2

3

Page 34: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Cook-Torrance Model

34

𝑫(𝝎𝒎)

( ( ), )( , ) ( , )

cosF

o

refl i oi o F i o

Main Assumption:

1. Microfacet is larger than light wavelength Geometric optic applies

2. Each microfacet act as specular mirror

( , )4cos cos

Cook Torrance i o

i o

DFG

𝜔𝑚 𝑜

𝑖

( , )F i o𝑭(𝜼, 𝜽𝒅) : Fresnel term• Defines material color

• Only wavelength determinant

1

2

3

Page 35: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Harvey-Shack theory

• Based on optical path length (OPD) difference

• Phase difference:

35

(cos cos ) ( , )i oOPD h x y

(2 / )(cos cos ) ( , )i o h x y 1

2

3

Page 36: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Harvey-Shack theory

• Based on optical path length (OPD) difference

• Phase difference:

36

(cos cos ) ( , )i oOPD h x y

(2 / )(cos cos ) ( , )i o h x y

( ( ), )( , ) ( , ) (1 ) ( , ) ( )

cos

i odiff i o i o i o HS

o

reflAF A Q S f

Specular lobe Scattered lobe

Average

1

2

3

Page 37: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Harvey-Shack theory

• Based on optical path length (OPD) difference

• Phase difference:

37

(cos cos ) ( , )i oOPD h x y

(2 / )(cos cos ) ( , )i o h x y

( ( ), )( , ) ( , ) (1 ) ( , ) ( )

cos

i odiff i o i o i o HS

o

reflAF A Q S f

AverageMirror reflection direction

2

02 cos cossi

A e

𝝈𝒔: Surface roughness

= Variance of height distribution

1

2

3

Page 38: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Two-Scale BRDF model

• Surface detail

– Micro-geometry : larger than light wavelength

– Nano-geometry : similar to light wavelength

38

1

2

3

Page 39: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Two-Scale BRDF model

• Generic BRDF in original microfacet framework

39

( , ) ( , , ) , ( , ) ( )i m o mi o s i m o o m i o m m

i n o n

f G D d

1

2

3

Page 40: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Two-Scale BRDF model

• Generic BRDF in original microfacet framework

40

( , ) ( , ) ( ( ), )F i o F i o refl i o

Recall) Cook- Torrance model if microfacet reflectance is Dirac,

( , ) ( , , ) , ( , ) ( )i m o mi o s i m o o m i o m m

i n o n

f G D d

1

2

3

Page 41: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Two-Scale BRDF model

• Generic BRDF in original microfacet framework

41

( , , ) ( , ) ( ( ), ) (1 ) ( , ) ( )s i o m i o i o i o HSf AF refl A Q S f

Diffraction model

( , ) ( , , ) , ( , ) ( )i m o mi o s i m o o m i o m m

i n o n

f G D d

1

2

3

Page 42: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Two-Scale BRDF model

• Generic BRDF in original microfacet framework

42

( , , ) ( , ) ( ( ), ) (1 ) ( , ) ( )s i o m i o i o i o HSf AF refl A Q S f

Standard Cook-Torrance Lobe

Diffraction model

Cook Torrance Diffraction Lobe

( , ) ( )i o spec d Cook Torrance Cook TorranceDiffractionA

( , ) ( , , ) , ( , ) ( )i m o mi o s i m o o m i o m m

i n o n

f G D d

1

2

3

Page 43: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Two-Scale BRDF model

• Generic BRDF in original microfacet framework

43

( , ) ( , , ) , ( , ) ( )i m o mi o s i m o o m i o m m

i n o n

f G D d

( , , ) ( , ) ( ( ), ) (1 ) ( , ) ( )s i o m i o i o i o HSf AF refl A Q S f

Diffraction model

4cos cosi o

DFG

2

2 reli m o m

e

( , ) ( )i o spec d Cook Torrance Cook TorranceDiffractionA

Approximation

Spherical convolution between

𝑫 and 𝑺𝑯𝑺

1

2

3

Page 44: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Two-Scale BRDF model

• Generic BRDF in original microfacet framework

( , ) ( , , ) , ( , ) ( )i m o mi o s i m o o m i o m m

i n o n

f G D d

• NDF 𝑫(𝝎𝒎): Exponential power distribution

• Shadow function 𝑮 𝜽𝒉 : 𝟏

𝟏+𝚲(𝜷+𝒕𝒂𝒏𝜽), computed by Smith’s method

1

2

3

Page 45: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Two-Scale BRDF model

• Result

– Validation with measured materials(MERL database)

1

2

3

Page 46: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Two-Scale BRDF model

• Result

– Validation with measured materials(Good performance)

1

2

3

Page 47: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Two-Scale BRDF model

• Result

– Validation with measured materials (materials with larger RMSE)

1

2

3

Page 48: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

THANK YOU

48

Page 49: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Quiz

1. What is responsible for material appearance both in classical

microfacet and microflake theory?

① Height distribution function

② Normal distribution function

③ Extinction coefficient

④ Phase function

2. Which one is not microfacet model?

① Smith Model

② Cook-Torrance model

③ Harvey-Shack model

49

Page 50: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

ADDITIONAL SLIDES

50

Page 51: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Microfacet Theory

51

The Smith Model Single Scattering BSDF

Distribution of heights

Distribution of normals

Smith masking function

Masking-shadowing function

Distribution of visible normals

• Probability that 𝜔𝑛 is in 𝜔ℎ - X

• Projected surface area of the microfacets

above area is equal to dA

𝜔𝑛

𝑑𝜔ℎ

1( ) hD h n h d

hdA n h dA

h hdA D h d A

1

( 1) ( )h hn h dA D h n h dA

Page 52: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Microfacet Theory

52

The Smith Model Single Scattering BSDF

Distribution of heights

Distribution of normals

Smith masking function

Masking-shadowing function

Distribution of visible normals

1 1 1( , , ) ( , ) ( , )local dist

i m i m iG h G G h

𝜔𝑛

𝜔𝑖

Visibility of a point on microsurface

Page 53: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Microfacet Theory

53

The Smith Model Single Scattering BSDF

Distribution of heights

Distribution of normals

Smith masking function

Masking-shadowing function

Distribution of visible normals

1 1 1( , , ) ( , ) ( , )local dist

i m i m iG h G G h

𝜔𝑛

𝜔𝑖

1 ( , ) ( )local

i m i mG

Non-backfacing

Visibility of a point on microsurface

Page 54: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Microfacet Theory

54

The Smith Model Single Scattering BSDF

Distribution of heights

Distribution of normals

Smith masking function

Masking-shadowing function

Distribution of visible normals

1 1 1( , , ) ( , ) ( , )local dist

i m i m iG h G G h

𝜔𝑛

𝜔𝑖 ( )1

1 ( , ) ( ) idist

iG h C h

Probability that ray does not

intersect microsurface

Smith lambda function

CDF of heights

Visibility of a point on microsurface

Page 55: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Microfacet Theory

55

The Smith Model Single Scattering BSDF

Distribution of heights

Distribution of normals

Smith masking function

Masking-shadowing function

Distribution of visible normals

1

1 1

1( ) ( , ) ( )

1 ( )

dist dist

i i

i

G G h P h dh

Masking function averaged over all heights

1 1 1( , ) ( , ) ( )local dist

i m i m iG G G

Page 56: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Microfacet Theory

56

The Smith Model Single Scattering BSDF

Distribution of heights

Distribution of normals

Smith masking function

Masking-shadowing function

Distribution of visible normals

22 1 1( , , ) ( , ) ( , ) ( , )local local dist

i m o i m o i oG G G h G

Visible to both ingoing and

outgoing direction

Height-correlated distant

masking-shadowing function

1

2 1 1( , ) ( , ) ( , ) ( )

1

1 ( ) ( )

(1 ( ),1 ( ))

dist dist dist

i o i o

i o

i o

G G h G h P h dh

B

Page 57: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Microfacet Theory

57

The Smith Model Single Scattering BSDF

Distribution of heights

Distribution of normals

Smith masking function

Masking-shadowing function

Distribution of visible normals

DVNF of Smith model

1 ( ) , ( ) , ( )( )

cos cos (1 ( ))i

dist

i i m m i m m

m

i i i

G D DD

1cos ( , ) ,i i m i m m mG D d

Normalization [1]

Visible microsurface

= Projected area of geometric surface

[1] Understanding the Masking-Shadowing Function in Microfacet-Based BRDFs, Eric Heitz, 2014

Page 58: Microfacet Model and Material Appearancesungeui/GCG/Student_Presentations/... · SIGGRAPH 2016 [2] A Two-Scale Microfacet Reflectance Model Combining Reflection and Diffraction Nicolas

Microfacet Theory

58

The Smith Model Single Scattering BSDF

Distribution of heights 𝑃1(ℎ)

Distribution of normal 𝐷(𝜔𝑚)

Smith masking function 𝐺1(𝜔𝑖 , 𝜔𝑜)

Masking-shadowing function 𝐺2(𝜔𝑖 , 𝜔𝑜, 𝜔𝑚)

Distribution of visible normals 𝐷𝜔𝑖(𝜔𝑚)

2

1

( , , )

( , )

( , )

( , , ) , ( )i m o

ii m

i o

G

m i m o o m m mG

f

f D d

Single-Scattering BSDF of Generic Rough Materials

Given visible for 𝜔𝑖, visible for 𝜔𝑜

Micro-BRDF

Derivable: Rough dielectric, rough conductor, rough diffuse