77
Surface Reflectance Models Oskar Elek, MFF UK 12. 01. 2010

Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Surface Reflectance Models

Oskar Elek, MFF UK

12. 01. 2010

Page 2: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Motivation

• Object appearance modeling…

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 3: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Motivation

• Object appearance:

– Object geometry

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 4: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Motivation

• Object appearance:

– Object material (‘shading’)

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 5: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Motivation

• Object appearance:

– Global illumination

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 6: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Motivation

• Object appearance:

– Object material (‘shading’)

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 7: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Outline

• Introduction

• BRDF• Types

• Properties

• Sampling

• Perspectives

• Sample BRDF

• Layered microfacet model• Introduction

• Assumptions

• Description

• Details

• Examples

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 8: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Outline

• Introduction

• BRDF• Types

• Properties

• Sampling

• Perspectives

• Sample BRDF

• Layered microfacet model• Introduction

• Assumptions

• Description

• Details

• Examples

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 9: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Introduction

• Object material modeling…

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 10: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Introduction

• Object material modeling

– Colour

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 11: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Introduction

• Object material modeling

– Colour

– Environment reflection

(present?, sharp/blurry?, ...)

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 12: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Introduction

• Object material modeling

– Colour

– Environment reflection

(present?, sharp/blurry?, ...)

– Specular highlight

(present?, small/large?,

colour?, …)

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 13: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Introduction

• Object material modeling

– Colour

– Environment reflection

(present?, sharp/blurry?, ...)

– Specular highlight

(present?, small/large?,

colour?, …)

– Visible surface features

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 14: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Outline

• Introduction

• BRDF• Types

• Properties

• Sampling

• Perspectives

• Sample BRDF

• Layered microfacet model• Introduction

• Assumptions

• Description

• Details

• Examples

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 15: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

BRDF

Oskar Elek, CGG MFF UK 12. 01. 2010

• Bidirectional Reflectance Distribution Function

Page 16: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

BRDF

• Incident/reflected vectors

• Surface position

• Wavelength

• Incident radiance

• Reflected radiance

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 17: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

BRDF

• Incident/reflected vectors

• Surface position

• Wavelength

• Incident radiance

• Reflected radiance

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 18: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

BRDF

• Incident/reflected vectors

• Surface position (correctly not part of BRDF)

• Wavelength

• Incident radiance

• Reflected radiance

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 19: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

BRDF

• Incident/reflected vectors

• Surface position

• Wavelength

• Incident radiance

• Reflected radiance

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 20: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

BRDF

• Incident/reflected vectors

• Surface position

• Wavelength

• Incident radiance

• Reflected radiance

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 21: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

BRDF

• Incident/reflected vectors

• Surface position

• Wavelength

• Incident radiance

• Reflected radiance

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 22: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

BRDF - Types

• Empirical models• Phong/Blinn-Phong, Ward, Strauss, Lafortune

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 23: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

BRDF - Types

• Empirical models• Phong/Blinn-Phong, Ward, Strauss, Lafortune

• Analytical first principles models• Torrance-Sparrow/Cook-Torrance, Oren-Nayar

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 24: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

BRDF - Types

• Empirical models• Phong/Blinn-Phong, Ward, Strauss, Lafortune

• Analytical first principles models• Torrance-Sparrow/Cook-Torrance, Oren-Nayar

• Simulation from first principles• Cabral et al., Westin et al., Gondek et al.

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 25: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

BRDF - Types

• Empirical models• Phong/Blinn-Phong, Ward, Strauss, Lafortune

• Analytical first principles models• Torrance-Sparrow/Cook-Torrance, Oren-Nayar

• Simulation from first principles• Cabral et al., Westin et al., Gondek et al.

• Actual measurement• e.g. with gonioreflectometer

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 26: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

BRDF - Properties

• Energy conservation (!)

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 27: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

BRDF - Properties

• Energy conservation (!)

• Helmholtz reciprocity principle (!)

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 28: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

BRDF - Properties

• Energy conservation (!)

• Helmholtz reciprocity principle (!)

• Good Monte-Carlo sampling properties

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 29: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

BRDF - Properties

• Energy conservation (!)

• Helmholtz reciprocity principle (!)

• Good Monte-Carlo sampling properties

• Reasonable amount of storage

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 30: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

BRDF - Properties

• Energy conservation (!)

• Helmholtz reciprocity principle (!)

• Good Monte-Carlo sampling properties

• Reasonable amount of storage

• Good appearance reproduction

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 31: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

BRDF - Sampling

• Path propagation vs. BRDF evaluation

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 32: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

BRDF - Sampling

• Path propagation vs. BRDF evaluation

• Path propagation (global model):

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 33: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

BRDF - Sampling

• Path propagation vs. BRDF evaluation

• Path propagation (global model)

• Combined BRDF evaluation (local model):

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 34: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

BRDF - Perspectives

• Non-RT vs. RT applications…

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 35: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

BRDF - Perspectives

• Non-RT vs. RT applications

• Non-RT renderer:

– Local and global sampling (incl. PDF)

– High-quality reproduction

– Good storage possibilities

– Speed not crucial

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 36: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

BRDF - Perspectives

• Non-RT vs. RT applications

• Non-RT renderer:– Local and global sampling (incl. PDF)

– High-quality reproduction

– Good storage possibilities

– Speed not crucial

• RT renderer:

– Only local model

– Best-effort reproduction

– Only closed form

– Speed is crucial

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 37: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Outline

• Introduction

• BRDF• Types

• Properties

• Sampling

• Perspectives

• Sample BRDF

• Layered microfacet model• Introduction

• Assumptions

• Description

• Details

• Examples

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 38: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Sample BRDF – Lambert and mirror reflection

• Ideal mirror reflection/transmission

– Fresnel term

– Snell’s law

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 39: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Sample BRDF – Lambert and mirror reflection

• Ideal mirror reflection/transmission

– Fresnel term

– Snell’s law

• Lambertian (diffuse) reflection

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 40: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Sample BRDF – Phong/Blinn-Phong

• Empirical model

• Physically implausible• No energy conservation

• No Fresnel reflectance

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 41: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Sample BRDF – Phong/Blinn-Phong

• Empirical model

• Physically implausible• No energy conservation

• No Fresnel reflectance

• Phong:

• Blinn-Phong

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 42: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Sample BRDF – Torrance-Sparrow

• Analytical first principles model

– Rough surface, V-shaped specular microfacets

• Cook-Torrance similarity

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 43: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Sample BRDF – Torrance-Sparrow

• Analytical first principles model

– Rough surface, V-shaped specular microfacets

• Cook-Torrance similarity

• D – distribution term• Gaussian, Beckmann, etc.

• F – Fresnel term

• G – geometry attenuation

term (masking)

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 44: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Sample BRDF – Oren-Nayar

• Analytical first principles model

– Rough surface, V-shaped diffuse microfacets

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 45: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Sample BRDF – Oren-Nayar

• Analytical first principles model

– Rough surface, V-shaped diffuse microfacets

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 46: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Outline

• Introduction

• BRDF• Types

• Properties

• Sampling

• Perspectives

• Sample BRDF

• Layered microfacet model• Introduction

• Assumptions

• Description

• Details

• Examples

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 47: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Layered microfacet model - Introduction

• Layering problem

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 48: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Layered microfacet model - Introduction

• Layering problem

• Full solution complicated

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 49: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Layered microfacet model - Assumptions

• A. Weidlich and A. Wilkie: Arbitrary Layered Micro-

Facet Surfaces, 2007

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 50: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Layered microfacet model - Assumptions

• A. Weidlich and A. Wilkie: Arbitrary Layered Micro-

Facet Surfaces, 2007

• Assumptions

– (1) Large microfacets (~thin layers)

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 51: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Layered microfacet model - Assumptions

• A. Weidlich and A. Wilkie: Arbitrary Layered Micro-

Facet Surfaces, 2007

• Assumptions

– (1) Large microfacets (~thin layers)

– (2) Point of incidence = point of exit

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 52: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Layered microfacet model - Assumptions

• A. Weidlich and A. Wilkie: Arbitrary Layered Micro-

Facet Surfaces, 2007

• Assumptions

– (1) Large microfacets (~thin layers)

– (2) Point of incidence = point of exit

– (3) Refracted rays meet at single point

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 53: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Layered microfacet model - Assumptions

• A. Weidlich and A. Wilkie: Arbitrary Layered Micro-

Facet Surfaces, 2007

• Assumptions

– (1) Large microfacets (~thin layers)

– (2) Point of incidence = point of exit

– (3) Refracted rays meet at single point

– (4) No scattering within layers

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 54: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Layered microfacet model - Description

• 1. Upper layer BRDF

evaluation

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 55: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Layered microfacet model - Description

• 1. Upper layer BRDF

evaluation

• 2. Energy enters acc. to

Fresnel’s law and under-

goes absorption

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 56: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Layered microfacet model - Description

• 1. Upper layer BRDF

evaluation

• 2. Energy enters acc. to

Fresnel’s law and under-

goes absorption

• 3. Lower layer BRDF

evaluation at single

point

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 57: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Layered microfacet model - Description

• 1. Upper layer BRDF

evaluation

• 2. Energy enters acc. to

Fresnel’s law and under-

goes absorption

• 3. Lower layer BRDF

evaluation at single

point

• 4. Upward attenuation

and recombination

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 58: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Layered microfacet model - Details

• Absorption term a

– Bouguer-Beer-Lambert law

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 59: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Layered microfacet model - Details

• Absorption term a

– Bouguer-Beer-Lambert law

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 60: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Layered microfacet model - Details

• Absorption term a

• Total internal reflection term t

– Snell’s law and upper layer microfacet distribution

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 61: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Layered microfacet model - Details

• Absorption term a

• Total internal reflection term t

• Final combination

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 62: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Layered microfacet model - Sampling

• Both local and global model

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 63: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Layered microfacet model - Sampling

• Both local and global model

• Importance sampling

– Global model – per-layer evaluation

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 64: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Layered microfacet model - Sampling

• Both local and global model

• Importance sampling

– Global model – per-layer evaluation

– Local model - weighting

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 65: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Layered microfacet model - Examples

• GI renders

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 66: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Layered microfacet model - Examples

• GI renders

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 67: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Layered microfacet model - Examples

• RT results

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 68: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Layered microfacet model - Examples

• RT results

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 69: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Layered microfacet model - Examples

• RT results

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 70: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Layered microfacet model - Examples

• RT results

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 71: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Layered microfacet model - Examples

• RT results

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 72: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Layered microfacet model - Examples

• RT results

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 73: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Layered microfacet model - Examples

• RT results

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 74: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Layered microfacet model - Examples

Oskar Elek, CGG MFF UK 12. 01. 2010

• RT results

Page 75: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

Layered microfacet model - Examples

• RT demo

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 76: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

The end

• Questions…

Oskar Elek, CGG MFF UK 12. 01. 2010

Page 77: Surface Reflectance Models - Univerzita Karlova•No energy conservation •No Fresnel reflectance Oskar Elek, CGG MFF UK 12. 01. 2010. Sample BRDF –Phong/Blinn-Phong ... (4) No

References

• A. Weidlich and A. Wilkie: Arbitrary Layered Micro-Facet Surfaces, 2007

• A. Weidlich and A. Wilkie: Exploring the Potential of Layered BRDF Models (SIGGRAPH ASIA Course), 2009

• J. Dorsey, H. Rushmeyer, F. Sillion: Digital Modelling of Material Appearance, 2007

• R. L. Cook and K. E. Torrance: A Reflectance Model for Computer Graphics, 1982

• M. Oren and S. K. Nayar: Generalization of Lambert’s Reflectance Model, 1994

• K. E. Torrance and E. M. Sparrow: Theory for Off-Specular Reflection From Roughened Surfaces, 1966

• Related Wikipedia articles (mostly for images and formulas)

Oskar Elek, CGG MFF UK 12. 01. 2010