Bi-directional Reflectance Distribution Function...

42
CS684 1 Bi-directional Reflectance Distribution Function (BRDF) Ruigang Yang CS 684

Transcript of Bi-directional Reflectance Distribution Function...

CS684 1

Bi-directional ReflectanceDistribution Function(BRDF)

Ruigang YangCS 684

CS684 2

What is BRDF

CS684 3

BRDF

Depends onIncoming light directionViewing directionWave LengthPosition

),,,,,(BRDF vuooii φθφθλ

CS684 4

Shift-Invariant BRDF

),,,(BRDF ooii φθφθλ

Approximation Texture mapIn CG, λ=R, G, or B

CS684 5

Spherical CoordinatesCartesian Spherical

Spherical Cartesian

CS684 6

Differential Solid Angles

CS684 7

Solid Angle

CS684 8

CS684 9

BRDF

The ratio of the quantity of reflected light in direction wo, to the amount of light that reaches the surface from direction wi.

Wi Wo

CS684 10

Definition of BRDF

First attempt:

SourceΦsrcωi

DetectorΦdetωo

src

det

ΦΦ

=rf

CS684 11

Definition of BRDF

Should fr vary with ωi?

SourceΦsrcωi

DetectorΦdetωo

YES

CS684 12

Definition of BRDF

Should fr vary with ωo?

SourceΦsrcωi

DetectorΦdetωo

YES

CS684 13

Definition of BRDF

What about surface area?fr must be independent of surface area

dA

SourceΦsrcωi

DetectorΦdetωo

CS684 14

Definition of BRDF

SourceΦsrcωi

DetectorΦdetωo

( )EL

dAdA

src

det det =Φ

⋅Φ=

ωrf

Radiance

Irradiance

CS684 15

Radiance

W/m2/sr

CS684 16

Irradiance

W/m2

CS684 17

Digression

CS684 18

CS684 19

CS684 20

Properties of the BRDFUnit: 1/srEnergy conservation

Helmholtz reciprocity

Not always obeyed by “BRDF” models in graphics

CS684 21

Isotropy A BRDF is isotropic if it stays the same when the surface is rotated around normal

3D function),,(BRDF oioi φφθθ −=

CS684 22

Anisotropy

Depend on surface rotation

D. McAllister, 2002

CS684 23

CS684 24

CS684 25

CS684 26

CS684 27

CS684 28

BRDF Representation

Physically based vs. empirical modelPhong: for glossy reflection

Torrance-Sparrow BRDF: assume surface consisting of tiny “microfacets”, with mirro-reflection off each

CS684 29

Measuring BRDFs

A full BRDF is 4-dimensionalSimpler measurements often usefulStart with the simplest, andget more complex

CS684 30

Measuring Reflectance

0º/45ºDiffuse Measurement

45º/45ºSpecular Measurement

CS684 31

BRDF Measurements

Next step up in complexity: measure BRDF in plane of incidence (1- or 2-D)

CS684 32

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

CS684 33

Gonioreflectometers

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

CS684 34

Gonioreflectometers

Can add fourth degree of freedom to measure anisotropic BRDFs

CS684 35

Spatial Gonioreflectometer

Six degrees of freedom

D. McAllister, 2002

CS684 36

Issues in BRDF Measurement

Light source: angular size, brightness, stability, speckleDetector: angular size, sensitivity, noise, resolution (if spatially varying)Positioning: accuracy, driftAcquisition time

CS684 37

Image-Based BRDF Measurement

Reduce acquisition time by obtaining larger (e.g. 2-D) slices of BRDF at onceRequires mapping of angles of light to camera pixels

CS684 38

Ward’s BRDF Measurement Setup

Collect reflected light with hemispherical (should be ellipsoidal) mirror [SIGGRAPH 92]

CS684 39

Ward’s BRDF Measurement Setup

Result: each image captures light at all exitant angles

CS684 40

Marschner’s Image-BasedBRDF Measurement

For uniform BRDF, capture 2-D slice corresponding to variations in normals

CS684 41

Marschner’s Image-BasedBRDF Measurement

Any object with known geometry

CS684 42

BRDF Measurement is Hard!

Result of fitting model to Ward’s measurements