experimental analysis of brdf models addy ngan 1 frédo durand 1 wojciech matusik 2 mit csail 1 merl...

53
Experimental Analysis Experimental Analysis of BRDF Models of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Upload: grace-lynch

Post on 16-Dec-2015

231 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Experimental Analysis of Experimental Analysis of BRDF Models BRDF Models

Addy Ngan1 Frédo Durand1 Wojciech Matusik2

MIT CSAIL1 MERL2

Eurographics Symposium on Rendering 2005

Page 2: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Goal

Evaluate the performance of analytical reflectance models

Based on measured data

Page 3: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Background

Bidirectional Reflectance Distribution Function

Page 4: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

BRDF

Bidirectional Reflectance Distribution Function ρ(θi ,i ; θo, o)

Page 5: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

BRDF

Bidirectional Reflectance Distribution Function ρ(θi ,i ; θo, o)

Isotropic material Invariant when

material is rotated BRDF is 3D

Page 6: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Previous Measurements

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

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

Bonn BTF Database 6 materials, 6561 view/light combinations

Matusik’s image-based measurements ~100 materials, ~106 measurements

per BRDF Include metals, plastic, paints, fabrics.

Page 7: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

BRDF 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]

Lafortune [97]

Cook-Torrance [81]

Page 8: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Outline

Background BRDF Measurements BRDF Fitting Isotropic materials results Anisotropic materials results Conclusion

Page 9: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

BRDF Measurements

Isotropic : Data from Matusik [03] 100 materials chosen Reprocessed to remove unreliable data

Flare Near grazing angle

Anisotropic : New acquisition

Page 10: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Anisotropic Measurements

Similar to Lu et al. [00]

Page 11: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Anisotropic Measurements

4 materials measured (brushed aluminum, satins, velvet) Each: 18 hours acquisition time, 30GB raw data Tabulated into bins in 2° intervals (~108 bins) 10-20% bins populated

Page 12: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Outline

Background BRDF Measurements BRDF Fitting Isotropic materials results Anisotropic materials results Conclusion

Page 13: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

BRDF Fitting

Target models: Blinn-Phong, Cook-Torrance, He et al., Lafortune et al. , Ward, Ashikhmin-Shirley

Metric: RMS of (ρmeasured– M(p)) (cos θi) Linear w.r.t. diffuse/specular intensity

Page 14: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

BRDF Fitting

Other potential metrics Logarithmic remapping

Arbitrary scale Highlights overly blurry

Perceptual metrics Context dependent Costly to compute/fit Intensity parameters become nonlinear –

optimization less stable

Page 15: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Outline

Background BRDF Measurements BRDF Fitting Isotropic materials results Anisotropic materials results Conclusion

Page 16: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Fitting Errors

10 20 30 40 50 60 70 80 90 100

-2

-1.5

-1

-0.5

0

0.5

Material

log(

Err

/Max

Alb

edo)

HeCook-TorranceLafortuneWardBlinn-Phong

Dark blue paint

Very diffuse Mirror-like

Page 17: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Dark blue paintAcquired

data

Material – Dark blue paint

Environment map

Page 18: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Dark blue paint

Acquired data Cook-Torrance

Material – Dark blue paint

Page 19: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Dark blue paint

Acquired data Blinn-Phong

Material – Dark blue paint

Page 20: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Dark blue paint

Acquired data Ward

Material – Dark blue paint

Page 21: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Dark blue paint

Acquired data Lafortune

Material – Dark blue paint

Page 22: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Dark blue paint – error plotsLafWard

Bp Cookt

0 0.2 0.4 0.6 0.8 10

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

10

20

30

40

50

60

Lafortune

Cook-TorranceBlinn-Phong

Ward

Page 23: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Dark blue paint

Material – Dark blue paint

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

Page 24: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Dark blue paint

Cook-Torrance

Material – Dark blue paint

Ward

Lafortune Ashikhmin

Page 25: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Dark blue paint

Original

Lafortune Ashikhmin

Cook-Torrance

Material – Dark blue paint

Page 26: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Lafortune Lobe

Distorted highlights near grazing angle

Acquired data – gold paint Lafortune fit

Page 27: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Lafortune Lobe

Acquired data – nickel Lafortune fit

Distorted highlights near grazing angle

Page 28: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Lobe Comparison

Half vector lobe Gradually narrower when approaching grazing

Mirror lobe Always circular

Half vector lobe Mirror lobe

Page 29: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Half vector lobe

Consistent with what we observe in the dataset.

More details in the paper

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

Page 30: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Observations - numerical

Rough order of quality He, Cook-Torrance, Ashikhmin Lafortune Ward Blinn-Phong

Poor fit

Good fit

Page 31: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Observations - visual

Mirror-like metals, some plastics All models match well visually

Glossy paints, some metals, some wood Fresnel effect Distorted shape for Lafortune highlight

Near diffuse fabrics, paints Fresnel effect

Page 32: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Some materials impossible to represent with a single lobe

Observations

Material – Red Christmas Ball

Acquired data Cook-Torrance

Page 33: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Adding a second lobe

Material – Red Christmas Ball

Some materials impossible to represent with a single lobe

Acquired data Cook-Torrance 2 lobes

Page 34: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Outline

Background BRDF Measurements BRDF Fitting Isotropic materials results Anisotropic materials results Conclusion

Page 35: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Anisotropic Materials

Page 36: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Brushed Aluminum

Acquired data Ward

Reasonable qualitative fit

Page 37: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Yellow Satin

Reasonable qualitative fit

Acquired data Ward

Page 38: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Purple Satin

Split highlights

?

Page 39: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Outline

Background BRDF Measurements BRDF Fitting Isotropic materials results Anisotropic materials results

Estimation of microfacet distribution

Conclusion

Page 40: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Microfacet Theory

[Torrance & Sparrow 1967] Surface modeled by tiny mirrors Value of BRDF at

# of mirrors oriented halfway between L and

Modulated by Fresnel, shadowing/masking

[Shirley 97]

Page 41: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Estimating the MF distribution

Ashikhmin’s microfacet-based BRDF generator [00]

MF-distribution Fresnel

~ Shadowing/Masking (Depend on the full distribution)

Normalization Constant

Page 42: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Estimating the MF distribution

Rearranging terms:

Measurements

Page 43: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Estimating the MF distribution

depends on the distribution Iterate to solve for

Compute using current estimate Estimate given

Converges quickly in practice

)(g

)(g)(g

Measurements

Page 44: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Purple Satin

Split specular reflection

microfacet distribution

Page 45: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Purple Satin

Acquired data microfacet distribution fit

Page 46: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Brushed Aluminum

Acquired data microfacet distribution fit

Page 47: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Brushed Aluminum

measured data microfacet distribution fit

Ward fit

Page 48: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

MF-based BRDF generator

Expressive Easy to estimate

No optimization necessary

Inexpensive to compute

Page 49: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Outline

Background BRDF Measurements BRDF Fitting Isotropic materials results Anisotropic materials results Conclusion

Page 50: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Conclusion

Isotropic materials He, Cook-Torrance, Ashikhmin perform well

Explicit Fresnel *multiple lobes help

Half-vector based lobe performs better Most materials can be well-represented

Anisotropic materials Cases where analytical models cannot match

qualitatively Estimation of the microfacet distribution is

straightforward Ashikhmin’s MF-based BRDF generator does well

Page 51: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Future Work

Metric Generalized lobe based on half vector Efficient acquisition based on the

microfacet distribution

Page 52: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Acknowledgement

Eric Chan, Jan Kautz, Jaakko Lehtinen, Daniel Vlasic

NSF CAREER award 0447561 NSF CISE Research Infrastructure Award

(EIA9802220) Singapore-MIT Alliance

Page 53: Experimental Analysis of BRDF Models Addy Ngan 1 Frédo Durand 1 Wojciech Matusik 2 MIT CSAIL 1 MERL 2 Eurographics Symposium on Rendering 2005

Questions?