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

Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

Mar 20, 2018

Download

Documents

phungdat
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 1

Bi-directional ReflectanceDistribution Function(BRDF)

Ruigang YangCS 684

Page 2: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 2

What is BRDF

Page 3: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 3

BRDF

Depends onIncoming light directionViewing directionWave LengthPosition

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

Page 4: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 4

Shift-Invariant BRDF

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

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

Page 5: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 5

Spherical CoordinatesCartesian Spherical

Spherical Cartesian

Page 6: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 6

Differential Solid Angles

Page 7: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 7

Solid Angle

Page 8: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 8

Page 9: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

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

Page 10: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 10

Definition of BRDF

First attempt:

SourceΦsrcωi

DetectorΦdetωo

src

det

ΦΦ

=rf

Page 11: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 11

Definition of BRDF

Should fr vary with ωi?

SourceΦsrcωi

DetectorΦdetωo

YES

Page 12: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 12

Definition of BRDF

Should fr vary with ωo?

SourceΦsrcωi

DetectorΦdetωo

YES

Page 13: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 13

Definition of BRDF

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

dA

SourceΦsrcωi

DetectorΦdetωo

Page 14: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 14

Definition of BRDF

SourceΦsrcωi

DetectorΦdetωo

( )EL

dAdA

src

det det =Φ

⋅Φ=

ωrf

Radiance

Irradiance

Page 15: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 15

Radiance

W/m2/sr

Page 16: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 16

Irradiance

W/m2

Page 17: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 17

Digression

Page 18: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 18

Page 19: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 19

Page 20: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 20

Properties of the BRDFUnit: 1/srEnergy conservation

Helmholtz reciprocity

Not always obeyed by “BRDF” models in graphics

Page 21: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 21

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

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

Page 22: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 22

Anisotropy

Depend on surface rotation

D. McAllister, 2002

Page 23: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 23

Page 24: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 24

Page 25: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 25

Page 26: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 26

Page 27: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 27

Page 28: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

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

Page 29: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 29

Measuring BRDFs

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

Page 30: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 30

Measuring Reflectance

0º/45ºDiffuse Measurement

45º/45ºSpecular Measurement

Page 31: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 31

BRDF Measurements

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

Page 32: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 32

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

Page 33: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 33

Gonioreflectometers

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

Page 34: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 34

Gonioreflectometers

Can add fourth degree of freedom to measure anisotropic BRDFs

Page 35: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 35

Spatial Gonioreflectometer

Six degrees of freedom

D. McAllister, 2002

Page 36: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

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

Page 37: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

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

Page 38: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 38

Ward’s BRDF Measurement Setup

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

Page 39: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 39

Ward’s BRDF Measurement Setup

Result: each image captures light at all exitant angles

Page 40: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 40

Marschner’s Image-BasedBRDF Measurement

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

Page 41: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 41

Marschner’s Image-BasedBRDF Measurement

Any object with known geometry

Page 42: Bi-directional Reflectance Distribution Function …ryang/Teaching/CS684-fall05/lectures/lec10-BRDF.pdfCS684 9 BRDF The ratio of the quantity of reflected light in direction w o, to

CS684 42

BRDF Measurement is Hard!

Result of fitting model to Ward’s measurements