measuring material appearance: brdf, bssrdf, btf

110
Measuring Material Appearance: BRDF, BSSRDF, BTF Thanks to Steve Marschner, Shree Nayar, Ravi Ramamoorthi, Szymon Rusinkiewicz, Marc Levoy, Pat Hanrahan, Kristin Dana, Ken Perlin, Debevec, Matusik Computer Graphics, Fall 2009 Mohit Gupta Images Courtest Ben-Ezra et al

Upload: others

Post on 23-Jan-2022

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Measuring Material Appearance: BRDF, BSSRDF, BTF

Measuring Material Appearance: BRDF, BSSRDF, BTF

Thanks to Steve Marschner, Shree Nayar, Ravi Ramamoorthi, Szymon Rusinkiewicz,

Marc Levoy, Pat Hanrahan, Kristin Dana, Ken Perlin, Debevec, Matusik

Computer Graphics, Fall 2009

Mohit Gupta

Images Courtest Ben-Ezra et al

Page 2: Measuring Material Appearance: BRDF, BSSRDF, BTF

A variety of material appearances

Page 3: Measuring Material Appearance: BRDF, BSSRDF, BTF

Methods Relying on Surface Reflectance

Shape from Shading

Photometric Stereo Reflection Separation

Texture Modeling

Page 4: Measuring Material Appearance: BRDF, BSSRDF, BTF

source

surface

reflection

surface

incident

direction

body

reflection

Body Reflection:

Diffuse Reflection

Matte Appearance

Non-Homogeneous Medium

Clay, paper, etc

Surface Reflection:

Specular Reflection

Glossy Appearance

Highlights

Dominant for Metals

Image Intensity = Body Reflection + Surface Reflection

Mechanisms of Reflection

Page 5: Measuring Material Appearance: BRDF, BSSRDF, BTF

Body Reflection:

Diffuse ReflectionMatte AppearanceNon-Homogeneous MediumClay, paper, etc

Surface Reflection:

Specular ReflectionGlossy AppearanceHighlightsDominant for Metals

Many materials exhibit both Reflections:

Mechanisms of Reflection

Page 6: Measuring Material Appearance: BRDF, BSSRDF, BTF

Image intensities = f ( normal, surface reflectance, illumination )

Surface Reflection depends on both the viewing and illumination

directions.

source sensor

surface

element

normal

Surface Appearance

Page 7: Measuring Material Appearance: BRDF, BSSRDF, BTF

x

y

z

source

viewingdirection

surfaceelement

normal

incidentdirection

),( ii ),( rr

),( ii

surfaceE

),( rr

surfaceL

Irradiance at Surface in direction ),( ii

Radiance of Surface in direction ),( rr

BRDF :),(

),(),;,(

ii

surface

rr

surface

rriiE

Lf

BRDF: Bidirectional Reflectance

Distribution Function

Page 8: Measuring Material Appearance: BRDF, BSSRDF, BTF

Derivation of the Scene Radiance Equation

),( ii

srcL

),( rr

surfaceL

),;,(),(),( rriiii

surface

rr

surface fEL

From the definition of BRDF:

Page 9: Measuring Material Appearance: BRDF, BSSRDF, BTF

Important Properties of BRDFs

x

y

z

source

viewingdirection

surfaceelement

normal

incidentdirection

),( ii ),( rr

BRDF is only a function of 3 variables :

),;,(),;,( iirrrrii ff

• Rotational Symmetry:

BRDF does not change when surface is rotated about the normal.

),,( ririf

• Helmholtz Reciprocity: (follows from 2nd Law of Thermodynamics)

BRDF does not change when source and viewing directions are swapped.

Page 10: Measuring Material Appearance: BRDF, BSSRDF, BTF

Specular Reflection and Mirror BRDF

source intensity I

viewingdirectionsurface

element

normal

incidentdirection n

v

s

rspecular/mirror

direction

),( ii

),( vv

),( rr

• Mirror BRDF is simply a double-delta function :

• Very smooth surface.

• All incident light energy reflected in a SINGLE direction. (only when = )

• Surface Radiance : )()( vivisIL

v r

)()(),;,( vivisvviif

specular albedo

Page 11: Measuring Material Appearance: BRDF, BSSRDF, BTF

Specular Reflections in Nature

Compare sizes of objects and their reflections!

The reflections when seen from a lower viewpoint are always longer than when viewedfrom a higher view point.

It's surprising how long the reflections are when viewed sitting on the river bank.

Page 12: Measuring Material Appearance: BRDF, BSSRDF, BTF

Specular Reflections in Nature

Page 13: Measuring Material Appearance: BRDF, BSSRDF, BTF

Diffuse Reflection and Lambertian BRDF

viewingdirection

surfaceelement

normalincidentdirection

i

n

v

s

d

rriif ),;,(• Lambertian BRDF is simply a constant :

albedo

• Surface appears equally bright from ALL directions! (independent of )

• Surface Radiance :

v

• Commonly used in Vision and Graphics!

snIIL di

d .cos

source intensity

source intensity I

Page 14: Measuring Material Appearance: BRDF, BSSRDF, BTF

Diffuse Reflection and Lambertian BRDF

Page 15: Measuring Material Appearance: BRDF, BSSRDF, BTF

White-out Conditions from an Overcast Sky

CAN’T perceive the shape of the snow covered terrain!

Page 16: Measuring Material Appearance: BRDF, BSSRDF, BTF

Modeling Rough Surfaces - Microfacets

•Roughness simulated by Symmetric V-groves at Microscopic level.

•Distribution on the slopes of the V-grove faces are modeled.

•Each microfacet assumed to behave like a perfect lambertian surface.

Page 17: Measuring Material Appearance: BRDF, BSSRDF, BTF

View Dependence of Matte Surfaces - Key Observation

• Overall brightness increases as the angle between the source and viewing direction decreases. WHY?

• Pixels have finite areas. As the viewing direction changes, different mixes between dark and bright are added up to give pixel brightness.

Page 18: Measuring Material Appearance: BRDF, BSSRDF, BTF

Slope Distribution Model

• Model the distribution of slopes as Gaussian.

• Mean is Zero, Variance represents ROUGHNESS.

Page 19: Measuring Material Appearance: BRDF, BSSRDF, BTF

Oren-Nayar Model – Different Factors (contd.)

• Take into account two light bounces (reflections).

• Hard to solve analytically, so they find a functional approximation.

Page 20: Measuring Material Appearance: BRDF, BSSRDF, BTF

Oren-Nayar Model – Final Expression

Lambertian model is simply an extreme case with roughness equal to zero.

Page 21: Measuring Material Appearance: BRDF, BSSRDF, BTF

Surface Roughness Causes Flat Appearance

Actual Vase Lambertian Vase

Page 22: Measuring Material Appearance: BRDF, BSSRDF, BTF

Surface Roughness Causes Flat Appearance

Increasing surface roughness

Lambertian model

Valid for only SMOOTH MATTE surfaces.

Bad for ROUGH MATTE surfaces.

Page 23: Measuring Material Appearance: BRDF, BSSRDF, BTF

Rendered Sphere with Lambertian BRDF

• Edges are dark (N.S = 0) when lit head-on

• See shading effects clearly.

Page 24: Measuring Material Appearance: BRDF, BSSRDF, BTF

Why does the Full Moon have a flat appearance?

• The moon appears matte (or diffuse)

• But still, edges of the moon look bright(not close to zero) when illuminated byearth’s radiance.

Page 25: Measuring Material Appearance: BRDF, BSSRDF, BTF

Why does the Full Moon have a flat appearance?

Lambertian Spheres and Moon Photos illuminated similarly

Page 26: Measuring Material Appearance: BRDF, BSSRDF, BTF

Oren-Nayar Model – Main Points

•Physically Based Model for Diffuse Reflection.

•Explains view dependent appearance in Matte Surfaces

•Lambertian model is simply an extreme case withroughness equal to zero.

Page 27: Measuring Material Appearance: BRDF, BSSRDF, BTF

Comparison to Ground Truth

Page 28: Measuring Material Appearance: BRDF, BSSRDF, BTF

• Delta Function too harsh a BRDF model (valid only for highly polished mirrors and metals).

• Many glossy surfaces show broader highlights in addition to mirror reflection.

• Surfaces are not perfectly smooth – they show micro-surface geometry (roughness).

• Example Models : Phong model

Torrance Sparrow model

Glossy Surfaces

Page 29: Measuring Material Appearance: BRDF, BSSRDF, BTF

Blurred Highlights and Surface Roughness

Roughness

Page 30: Measuring Material Appearance: BRDF, BSSRDF, BTF

Phong Model: An Empirical Approximation

• How to model the angular falloff of highlights:

Phong Model

• Sort of works, easy to compute

• But not physically based (no energy conservation and reciprocity).

• Very commonly used in computer graphics.

shinyn

s ERIL ).(

-SR

V

N

Page 31: Measuring Material Appearance: BRDF, BSSRDF, BTF

Phong Examples

• These spheres illustrate the Phong model as lighting direction and nshiny are varied:

Page 32: Measuring Material Appearance: BRDF, BSSRDF, BTF

Those Were the Days

• “In trying to improve the quality of the synthetic images, we do not expect to be able to display the object exactly as it would appear in reality, with texture, overcast shadows, etc. We hope only to display an image that approximates the real object closely enough to provide a certain degree of realism.”

– Bui Tuong Phong, 1975

Page 33: Measuring Material Appearance: BRDF, BSSRDF, BTF

Summary of Surfaces and BRDFs

Smooth Rough

Diffuse

SpecularMirror BRDF Torrance-Sparrow BRDF

Lambertian BRDF Oren-Nayar BRDF

No view dependence Models view dependence

Delta FunctionSpeck of reflection

Broader HighlightsOff-specular lobe

Many surfaces may be rough and show both diffuse and surface reflection.

Page 34: Measuring Material Appearance: BRDF, BSSRDF, BTF

Summary of Surfaces and BRDFs

Smooth Rough

Diffuse

SpecularMirror BRDF Torrance-Sparrow BRDF

Lambertian BRDF Oren-Nayar BRDF

No view dependence Models view dependence

Delta FunctionSpeck of reflection

Broader HighlightsOff-specular lobe

Many surfaces may be rough and show both diffuse and surface reflection.

Page 35: Measuring Material Appearance: BRDF, BSSRDF, BTF

Why bother modeling BRDFs?

Why not directly measure BRDFs?

• True knowledge of surface properties

• Accurate models for graphics

Measuring BRDFs

Page 36: Measuring Material Appearance: BRDF, BSSRDF, BTF

Measuring BRDFs

• A full BRDF is 4-dimensional

• Simpler measurements (0D/1D/2D/3D) often useful

• Lets start with simplest and get more complex

Page 37: Measuring Material Appearance: BRDF, BSSRDF, BTF

Measuring Reflectance

0º/45ºDiffuse Measurement

45º/45ºSpecular Measurement

Page 38: Measuring Material Appearance: BRDF, BSSRDF, BTF

Gloss Measurements

• Standardized for applications such as paint manufacturing

• Example: “contrast gloss” is essentially ratio of specular to diffuse

• “Sheen” is specular measurement at 85°

Page 39: Measuring Material Appearance: BRDF, BSSRDF, BTF

BRDF Measurements

• Next step up in complexity: measure BRDF in

plane of incidence (1- or 2-D)

Page 40: Measuring Material Appearance: BRDF, BSSRDF, BTF

Gonioreflectometers

• Three degrees of freedom spread among light source, detector, and/or sample

Page 41: Measuring Material Appearance: BRDF, BSSRDF, BTF

Gonioreflectometers

• Three degrees of freedom spread among light source,

detector, and/or sample

Page 42: Measuring Material Appearance: BRDF, BSSRDF, BTF

Gonioreflectometers

• Can add fourth degree of freedom to measure anisotropic BRDFs

Page 43: Measuring Material Appearance: BRDF, BSSRDF, BTF

Image-Based BRDF Measurement

• Reduce acquisition time by obtaining larger

(e.g. 2-D) slices of BRDF at once

• Idea: Camera can acquire 2D image

• Requires mapping of angles of light to camera pixels

Page 44: Measuring Material Appearance: BRDF, BSSRDF, BTF

Ward’s BRDF Measurement Setup

• Collect reflected light with hemispherical mirror

Page 45: Measuring Material Appearance: BRDF, BSSRDF, BTF

Ward’s BRDF Measurement Setup

• Result: each image captures light at all exitant angles

Page 46: Measuring Material Appearance: BRDF, BSSRDF, BTF

Image-Based BRDF Measurement

• For uniform BRDF, capture 2-D slice corresponding to variations in normals (Marschner et al)

Page 47: Measuring Material Appearance: BRDF, BSSRDF, BTF

Image-Based BRDF Measurement

• Any object with known geometry

Marschner et al.

Page 48: Measuring Material Appearance: BRDF, BSSRDF, BTF

Image-based measurement of skin

Marschner et al. 2000

Page 49: Measuring Material Appearance: BRDF, BSSRDF, BTF
Page 50: Measuring Material Appearance: BRDF, BSSRDF, BTF
Page 51: Measuring Material Appearance: BRDF, BSSRDF, BTF
Page 52: Measuring Material Appearance: BRDF, BSSRDF, BTF
Page 53: Measuring Material Appearance: BRDF, BSSRDF, BTF
Page 54: Measuring Material Appearance: BRDF, BSSRDF, BTF
Page 55: Measuring Material Appearance: BRDF, BSSRDF, BTF
Page 56: Measuring Material Appearance: BRDF, BSSRDF, BTF
Page 57: Measuring Material Appearance: BRDF, BSSRDF, BTF
Page 58: Measuring Material Appearance: BRDF, BSSRDF, BTF
Page 59: Measuring Material Appearance: BRDF, BSSRDF, BTF
Page 60: Measuring Material Appearance: BRDF, BSSRDF, BTF
Page 61: Measuring Material Appearance: BRDF, BSSRDF, BTF
Page 62: Measuring Material Appearance: BRDF, BSSRDF, BTF

Next Step in the Appearance Food Chain

Textures

Spatially Varying BRDFs

CURET Database – [Dana, Nayar 96]

Page 63: Measuring Material Appearance: BRDF, BSSRDF, BTF

Few slides about BTF here – from Kristin Dana’s slides

Page 64: Measuring Material Appearance: BRDF, BSSRDF, BTF
Page 65: Measuring Material Appearance: BRDF, BSSRDF, BTF
Page 66: Measuring Material Appearance: BRDF, BSSRDF, BTF
Page 67: Measuring Material Appearance: BRDF, BSSRDF, BTF
Page 68: Measuring Material Appearance: BRDF, BSSRDF, BTF
Page 69: Measuring Material Appearance: BRDF, BSSRDF, BTF
Page 70: Measuring Material Appearance: BRDF, BSSRDF, BTF
Page 71: Measuring Material Appearance: BRDF, BSSRDF, BTF

Next Step in the Appearance Food Chain

Why bother about measuring patches or spheres?

Why not measure the scenes themselves directly?

• Change only lighting (for Relighting)

• Change only viewpoint (Light Fields)

• Change both lighting and view point

Page 72: Measuring Material Appearance: BRDF, BSSRDF, BTF

Debevec et al. Siggraph 2000

Page 73: Measuring Material Appearance: BRDF, BSSRDF, BTF

VIDEO and DEMO for relighting

Page 74: Measuring Material Appearance: BRDF, BSSRDF, BTF

Bo Sun

Kalyan Sunkavalli

Ravi Ramamoorthi

Peter Belhumeur

Shree Nayar

Columbia University

Time-Varying BRDFs

Page 75: Measuring Material Appearance: BRDF, BSSRDF, BTF

Materials Change with Time

Page 76: Measuring Material Appearance: BRDF, BSSRDF, BTF

Previous Work• Time-Varying Spatial Albedo Patterns

• Paints, Wet Surfaces and Dust

[J. Dorsey et al., 96] [J. Dorsey et al., 99] [J. Lu et al., 05] [S. Enrique et al., 05]

[C. J. Curtis., 97] [J. W. Jensen et al., 99] [E. Nakamae et al., 96] [S. Hsu et al., 96]

Page 77: Measuring Material Appearance: BRDF, BSSRDF, BTF

Our Goals

• Efficient TVBRDF Acquisition

• Underlying Temporal Trend Analysis

• Developing Analytic TVBRDF Models

Page 78: Measuring Material Appearance: BRDF, BSSRDF, BTF

Acquisition System

Page 79: Measuring Material Appearance: BRDF, BSSRDF, BTF

Acquisition System

Page 80: Measuring Material Appearance: BRDF, BSSRDF, BTF

Acquisition System

Page 81: Measuring Material Appearance: BRDF, BSSRDF, BTF

Acquisition System

Page 82: Measuring Material Appearance: BRDF, BSSRDF, BTF

Acquisition System

Page 83: Measuring Material Appearance: BRDF, BSSRDF, BTF

Acquisition System

12 seconds / scan, 360 color images / camera, 0.2~32 millisec exposures

Page 84: Measuring Material Appearance: BRDF, BSSRDF, BTF

Acquisition - Sampling

Page 85: Measuring Material Appearance: BRDF, BSSRDF, BTF

TVBRDF Samples

41 samples and three time-varying effects

Page 86: Measuring Material Appearance: BRDF, BSSRDF, BTF

TVBRDF Samples

41 samples and three time-varying effects

Page 87: Measuring Material Appearance: BRDF, BSSRDF, BTF

TVBRDF Samples

41 samples and three time-varying effects

Page 88: Measuring Material Appearance: BRDF, BSSRDF, BTF

TVBRDF Samples

41 samples and three time-varying effects

Page 89: Measuring Material Appearance: BRDF, BSSRDF, BTF

TVBRDF Samples

41 samples and three time-varying effects

Page 90: Measuring Material Appearance: BRDF, BSSRDF, BTF

Measurement

Top Camera

Top Camera

Top Camera

Page 91: Measuring Material Appearance: BRDF, BSSRDF, BTF

Analytic BRDF Functions

• The Oren-Nayar diffuse model

• The Torrance-Sparrow specular model

• The Blinn’s dust model

),;,( ,, bgr

ddoid K

),;,( ssois K

),()())(1()( 21 sssddust KTT

Page 92: Measuring Material Appearance: BRDF, BSSRDF, BTF

Data Fitting

Maximum

RMS Error

3.84%

Top Camera

Top Camera

Top Camera

Page 93: Measuring Material Appearance: BRDF, BSSRDF, BTF

TVBRDF Database

Page 94: Measuring Material Appearance: BRDF, BSSRDF, BTF

TVBRDF Database

Page 95: Measuring Material Appearance: BRDF, BSSRDF, BTF

TVBRDF Database

Page 96: Measuring Material Appearance: BRDF, BSSRDF, BTF

TVBRDF Database

Page 97: Measuring Material Appearance: BRDF, BSSRDF, BTF

Temporal Trends

Page 98: Measuring Material Appearance: BRDF, BSSRDF, BTF

Time-Varying Phenomena

• Paints drying on smooth surfaces

• Water drying on rough surfaces

• Dust accumulation

Page 99: Measuring Material Appearance: BRDF, BSSRDF, BTF

Paints

• Exponential fall-off of specular albedo and roughness

• Diffuse color shifts in a dichromatic plane

Page 100: Measuring Material Appearance: BRDF, BSSRDF, BTF

Paints

• Exponential fall-off of specular albedo and roughtness

• Diffuse color shifts in a dichromatic plane

drys

t

dryswetss KeKKtK ,,, )()(

wets

t

wetsdrys

dryswets

se

t,,,

,,

)()(

Page 101: Measuring Material Appearance: BRDF, BSSRDF, BTF

Paints

• Exponential fall-off of specular albedo and roughtness

• Diffuse color shifts in a dichromatic plane

surfacedsurfacedd ttt ,, )()()(

Page 102: Measuring Material Appearance: BRDF, BSSRDF, BTF

Paints – Spatial Variations

Captured Blue Watercolor on White Surface

Page 103: Measuring Material Appearance: BRDF, BSSRDF, BTF

Paints – Effects Transfer

Synthesized Green Watercolor on White Surface

Page 104: Measuring Material Appearance: BRDF, BSSRDF, BTF

Paints – Effects Transfer

Synthesized Blue Watercolor on Red Surface

Page 105: Measuring Material Appearance: BRDF, BSSRDF, BTF

Wet Surfaces

• Diffuse color shifts on a straight line

• Sigmoidal change of surface intensity

wetddrydd ttt ,, ))(1()()(

Page 106: Measuring Material Appearance: BRDF, BSSRDF, BTF

Wet Surfaces

• Diffuse color shifts on a straight line

• Sigmoidal change of surface intensity

Page 107: Measuring Material Appearance: BRDF, BSSRDF, BTF

Time-Varying Phenomena

• Paints drying on smooth surfaces

• Water drying on rough surfaces

• Dust accumulation

Page 108: Measuring Material Appearance: BRDF, BSSRDF, BTF

Dust

• Analysis generalizes to other BRDF models

• Exponential fall-off of specular highlights

Page 109: Measuring Material Appearance: BRDF, BSSRDF, BTF

Dust

• Analysis generalizes to other BRDF models

• Exponential fall-off of specular highlights

sddust eTT )())(1()(

),()())(1()( 21 sssddust KTT

Page 110: Measuring Material Appearance: BRDF, BSSRDF, BTF

Dust – Final Example