experimental validation of analytical brdf...

61
Experimental Validation of Analytical BRDF Models Experimental Validation of Experimental Validation of Analytical BRDF Models Analytical BRDF Models Addy Ngan, Frédo Durand, Wojciech Matusik Massachusetts Institute of Technology

Upload: others

Post on 22-Jan-2021

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Experimental Validation of Analytical BRDF Models

Experimental Validation of Experimental Validation of Analytical BRDF ModelsAnalytical BRDF Models

Addy Ngan, Frédo Durand, Wojciech MatusikMassachusetts Institute of Technology

Page 2: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

GoalGoal

• Evaluate and analyze the performance of analytical reflectance models

Page 3: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

BRDFBRDF

• Bidirectional Reflectance Distribution Function

Page 4: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

BRDFBRDF

• Bidirectional Reflectance Distribution Function– R(θi ,φi ; θo, φo)

Page 5: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

BRDFBRDF

• Bidirectional Reflectance Distribution Function– R(θi ,φi ; θo, φo)

• Our study: isotropic material– Invariant when material is

rotated– BRDF is 3D

Page 6: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

BRDF ModelsBRDF Models

• Phenomenological– Phong [75]

• Blinn-Phong [77]– Ward [92]– Lafortune et al. [97]– Ashikhmin et al. [00]

• Physical– Cook-Torrance [81]– He et al. [91]

Page 7: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

BRDF ModelsBRDF Models

• Phenomenological– Phong [75]

• Blinn-Phong [77]– Ward [92]– Lafortune et al. [97]– Ashikhmin et al. [00]

• Physical– Cook-Torrance [81]– He et al. [91]

Roughlyincreasingcomputationtime

Page 8: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Differences in BRDF ModelsDifferences in BRDF Models

• Specular lobe definition – Mirror direction– Half vector

• Specular lobe falloff– cosn (cosine lobe)– Gaussian

Page 9: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Differences in BRDF ModelsDifferences in BRDF Models

• Specular lobe definition – Mirror direction– Half vector

• Specular lobe falloff– cosn (cosine lobe)– Gaussian

• Fresnel effect– surface becomes more

reflective near grazing angle

[Lafortune 97]

Page 10: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Available MeasurementsAvailable Measurements

• Columbia-Utrecht Reflectance and Texture Database –• ~60 materials, 205 measurements per BRDF

• Cornell’s measurements• ~10 materials, 1439 measurements per BRDF

• Matusik’s image-based measurements• ~100 materials, ~4 million measurements

per BRDF• Include metals, plastic, paints, fabric, etc.

Page 11: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Matusik’s measurementsMatusik’s measurements

• Basis of our validation and analysis• Part of the dataset is available on the web !

Page 12: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Validation MethodValidation Method

• BRDF Models– Phong, Blinn-Phong, Ward, Lafortune, Ashikhmin,

Cook-Torrance

• Data fitting– Each material is fitted to each of the models– Minimize

• L2 error of the BRDF multiplied by the cosine of incident angle

Page 13: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Dark blue paintDark blue paintAcquired data

Material – Dark blue paint

Environment map

Page 14: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Dark blue paintDark blue paintAcquired data Cook-Torrance

Material – Dark blue paint

Page 15: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Dark blue paintDark blue paintAcquired data Ashikhmin

Material – Dark blue paint

Page 16: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Dark blue paintDark blue paintAcquired data Lafortune

Material – Dark blue paint

Page 17: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Dark blue paintDark blue paintAcquired data Blinn-Phong

Material – Dark blue paint

Page 18: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Dark blue paintDark blue paintAcquired data Ward

Material – Dark blue paint

Page 19: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Dark blue paintDark blue paintAcquired data Ashikhmin Blinn-Phong

Cook-Torrance Lafortune Ward

Material – Dark blue paint

Page 20: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

ChromeChromeAcquired data

Page 21: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

ChromeChromeOriginal Ashikhmin Blinn-Phong

Cook-Torrance Lafortune Ward

Material – Chrome

Page 22: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

• Some materials impossible to represent with a single lobe

ObservationsObservations

Material – Red Christmas Ball

Acquired data Cook-Torrance

Page 23: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Adding a second lobeAdding a second lobe

Material – Red Christmas Ball

• Some materials impossible to represent with a single lobe

Acquired data Cook-Torrance 2 lobes

Page 24: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Fitting ErrorsFitting Errors

10 20 30 40 50 60 70 80 90 100

-7

-6

-5

-4

-3

-2

-1

Cook-Torrance

log(

Erro

r)

Cook-TorranceAshikhminW ardBlinn-PhongLafortune

Material (Sorted in the error of the Cook-Torrance model)

Page 25: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

10 20 30 40 50 60 70 80 90 100

-7

-6

-5

-4

-3

-2

-1

Ashikhmin

log(

Erro

r)

Cook-TorranceAshikhminW ardBlinn-PhongLafortune

Fitting ErrorsFitting Errors

Material (Sorted in the error of the Ashikhmin model)

Page 26: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Fitting ErrorsFitting Errors

10 20 30 40 50 60 70 80 90 100

-7

-6

-5

-4

-3

-2

-1

W ard

log(

Erro

r)

Cook-TorranceAshikhminW ardBlinn-PhongLafortune

Material (Sorted in the error of the Ward model)

Page 27: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Fitting ErrorsFitting Errors

10 20 30 40 50 60 70 80 90 100

-7

-6

-5

-4

-3

-2

-1

Blinn-Phong

log(

Erro

r)

Cook-TorranceAshikhminW ardBlinn-PhongLafortune

Material (Sorted in the error of the Blinn-Phong model)

Page 28: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

10 20 30 40 50 60 70 80 90 100

-7

-6

-5

-4

-3

-2

-1

Lafortune

log(

Erro

r)

Cook-TorranceAshikhminW ardBlinn-PhongLafortune

Fitting ErrorsFitting Errors

Material (Sorted in the error of the Lafortune model)

Page 29: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Dark blue paintDark blue paintAcquired data

Material – Dark blue paint

Page 30: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Dark blue paintDark blue paint

Material – Dark blue paint

• Cook-Torrance fit, incidence plane, 4 different incident angles

Page 31: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Dark blue paintDark blue paint

Cook-Torrance

Material – Dark blue paint

Page 32: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Dark blue paintDark blue paint

Cook-Torrance

Blinn-Phong

Material – Dark blue paint

Page 33: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Dark blue paintDark blue paint

Cook-Torrance

Blinn-Phong

Ward

Material – Dark blue paint

Page 34: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Dark blue paintDark blue paint

Cook-Torrance

Blinn-Phong Lafortune

Ward

Material – Dark blue paint

Page 35: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Dark blue paint Dark blue paint

• Hemispherical plot for a fixed incoming angle– False color correspond to value of the BRDF

Acquired data

Page 36: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Dark blue paintDark blue paint

Acquired data Cook-Torrance

Page 37: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Dark blue paintDark blue paint

Acquired data Ashikhmin

Page 38: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Dark blue paintDark blue paint

Acquired data Lafortune

Page 39: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Dark blue paintDark blue paint

Original

Lafortune Ashikhmin

Cook-Torrance

Material – Dark blue paint

Page 40: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

ObservationsObservations

• Cook-Torrance, Ashikhmin– Consistently outperform the other

models• Lafortune

– High discrepancy near grazing angle– Shape of lobe very different

• Ward, Blinn-Phong– unable to reproduce Fresnel effect

Qualityof Fit

Page 41: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

AnalysisAnalysis

• Lafortune model– Very popular

• Simple, inexpensive to evaluate• Handle phenomena like off-specular reflection,

retroreflection• importance sampling friendly

Page 42: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

AnalysisAnalysis

• Lafortune model– High discrepancy near grazing angle

Acquired data – gold paint Lafortune fit

Page 43: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

AnalysisAnalysis

• Lafortune model– High discrepancy near grazing angle

Acquired data Lafortune

WHY?

Page 44: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Lobe definitionLobe definition

• Peak at mirror direction

Page 45: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Lobe definitionLobe definition

• Peak at mirror direction

– Mirror-vector, View-vector• Phong, Lafortune*

Page 46: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Lobe definitionLobe definition

• Peak at mirror direction

– Mirror-vector, View-vector• Phong, Lafortune*

– Half-vector, Normal • All other models

Page 47: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

• In the incidence plane, the angle is different by a factor of 2.

• Outside the incidence plane, the relation is not as simple

Lobe definitionLobe definition

Page 48: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Mirror lobe (V,R)Mirror lobe (V,R)• Red circle: set of directions Vi with constant angle

from R (mirror vector)

Page 49: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Half vector lobe (H,N)Half vector lobe (H,N)• Blue circle: set of half vectors Hi with constant

angle from N (normal)

Page 50: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Half vector lobe (H,N)Half vector lobe (H,N)• Remapping half-vector H1 to the corresponding

outgoing direction VH 1

Page 51: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Lobe ComparisonLobe Comparison• Green contour: set of half-vectors remapped to

outgoing directions

NOT A CIRCLE!

Page 52: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Lobe ComparisonLobe Comparison• Shape of green contour is dependent on L

Page 53: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Lobe ComparisonLobe Comparison

• Full lobe

Half vector lobe Mirror lobe

Page 54: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Dark blue paintDark blue paint

Original

Lafortune Ashikhmin

Cook-Torrance

Material – Dark blue paint

Page 55: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Half vector lobeHalf vector lobe

• Consistent with what we observe in the dataset.

Example: Plot of “PVC” BRDF at 55° incidence

Page 56: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Microfacet theoryMicrofacet theory

• [Torrance & Sparrow 1967]– Surface modeled by tiny perfect mirrors – Value of BRDF at (L,V)

• # of mirrors oriented halfway between L and V– BRDF naturally represented by function of H

[Shirley 97]

Page 57: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Microfacet theoryMicrofacet theory

• [Torrance & Sparrow 1967]– Surface modeled by tiny perfect mirrors – Value of BRDF at (L,V)

• # of mirrors oriented halfway between L and V– BRDF naturally represented by function of H

• Shape of the mirror lobe cannot be explained with any microfacet distribution

Page 58: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Phong vs Blinn-PhongPhong vs Blinn-Phong• Blinn uses half vector lobe instead of mirror lobe in

the original model [1977]

Page 59: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Phong vs Blinn-PhongPhong vs Blinn-Phong• Blinn uses half vector lobe instead of mirror lobe in

the original model [1977]• Lower numerical error in nearly all cases!

Page 60: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

ConclusionConclusion

• Half vector lobe better than mirror lobe• Fresnel effect is important• Cook-Torrance and Ashikhmin models

match real data quite well

• Anisotropic materials• Gain insight by grouping materials into

classes

Future Work

Page 61: Experimental Validation of Analytical BRDF Modelspeople.csail.mit.edu/addy/research/ngan-04-brdfmodels...per BRDF • Include metals, plastic, paints, fabric, etc. Matusik’s measurements

Questions?Questions?