A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded...

41
A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for RADIANCE David Geisler-Moroder 1 Arne Dür 1 Rico Thetmeyer 2 1 University of Innsbruck, Austria 2 Bartenbach LichtLabor, Austria RADIANCE Workshop, September 20-22, 2010 D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Transcript of A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded...

Page 1: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

A New Ward BRDF Model with Bounded Albedoand Fitting Reflectance Data for RADIANCE

David Geisler-Moroder1 Arne Dür1 Rico Thetmeyer2

1 University of Innsbruck, Austria 2 Bartenbach LichtLabor, Austria

RADIANCE Workshop, September 20-22, 2010

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 2: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

Contents

1 A New Ward BRDF with Bounded AlbedoIntroduction and Related WorkThe New Ward BRDFAlbedo of the New BRDFImplementation

2 Fitting Measured BRDF/BSDF DataRed Linoleum FloorFrosted Glass (SERIS)

3 Conclusion

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 3: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

A New Ward BRDF with Bounded Albedo Introduction and Related Work

BRDF Basics

A bidirectional reflectance distribution function (BRDF) f describes thereflectance properties of a surface:

Lv (θv , φv ) =

∫ 2π

0

∫ π/2

0Ll(θl , φl)f (θl , φl ; θv , φv ) cos θl sin θldθldφl .

φl

φv

θl

θv

δ

φ

~l~v

~h ~n

~x

~y

Physically plausible BRDFs

satisfy Helmholtz reciprocity

f (θl , φl ; θv , φv ) = f (θv , φv ; θl , φl)

and meet energy balance, i.e. havealbedo a(θl , φl) =

∫ 2π

0

∫ π/2

0f (θl , φl ; θv , φv ) cos θv sin θv dθv dφv≤ 1.

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 4: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

A New Ward BRDF with Bounded Albedo Introduction and Related Work

The Ward BRDF

Ward (Computer Graphics, 1992) models anisotropic specularreflection by the BRDF

fW(θl , φl ; θv , φv ) =1

παβ·

exp(

− tan2 δ(

cos2 φα2 + sin2 φ

β2

))

4√

cos θl cos θv

and suggests a sampling method to obtain random directions~l fromthe halfway vector ~h given by its polar and azimuthal angles

δ = arctan

(√

− log(1 − s)

cos2 φ/α2 + sin2 φ/β2

)

and

φ = atan2 (β sin(2πt), α cos(2πt)) ,

where s and t are independent random numbers uniformly distributedin [0, 1).

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 5: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

A New Ward BRDF with Bounded Albedo Introduction and Related Work

The Ward-Dür BRDF

To correct the loss of energy at flat angles, Dür (Journal of GraphicsTools, 2006) improved the normalization of the Ward BRDF to

fWD(θl , φl ; θv , φv ) =1

παβ·

exp(

− tan2 δ(

cos2 φα2 + sin2 φ

β2

))

4 · cos θl cos θv

and shows that the distribution of the random direction~l generated byWard’s sampling method has the probability density function (PDF)

dα,β(θl , φl ; θv , φv ) =fWD(θl , φl ; θv , φv )

w(θl , φl ; θv , φv )

with

w(θl , φl ; θv , φv ) =(cos θl + cos θv )3

4 cos θv (1 + cos θl cos θv + sin θl sin θv cos(φv − φl)).

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 6: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

A New Ward BRDF with Bounded Albedo Introduction and Related Work

Sampling the Ward-Dür BRDF

In the mirror direction where θv = θl and φv = φl + π

dα,β(θl , φl ; θl , φl + π) = fWD(θl , φl ; θl , φl + π).

Due to the exponential decay of the Gaussian distribution

dα,β(θl , φl ; θv , φv ) ≈ fWD(θl , φl ; θv , φv )

for non-grazing angles and realistic roughness values α and β.

For this reason the weighting factors w(θl , φl ; θv , φv ) are usuallyomitted in Monte Carlo integration.

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 7: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

A New Ward BRDF with Bounded Albedo Introduction and Related Work

The Ward-Dür BRDF in RADIANCE

For the direct specular component the BRDF is evaluated in thefunctions dirnorm() and diraniso() in the RADIANCE sourcecode:

SLl(~l) fWD(~l , ~v) dΩl ≈

M∑

m=1

Ll(~l(m)) fWD(~l(m), ~v)∆Ωl(m)

The indirect specular component is approximated in the functionsm_normal() and in m_aniso() in the RADIANCE source code as

RLl(~l) fWD(~l , ~v) dΩl ≈ Ll(~l∗),

where the direction~l∗ is generated by Ward’s sampling method usingrejection sampling.

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 8: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

A New Ward BRDF with Bounded Albedo Introduction and Related Work

Ward-Dür BRDF vs. PDF

view frustum

view direction

reflecting surface view angle: 1

perfectly diffusearea light source

Grazing angle test scene: set-up

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 9: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

A New Ward BRDF with Bounded Albedo Introduction and Related Work

Ward-Dür BRDF vs. PDF

Grazing angle test scene: luminance distributions resulting fromWard-Dür BRDF (left) and Ward’s sampling method (right).

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 10: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

A New Ward BRDF with Bounded Albedo Introduction and Related Work

Evaluation by Ward’s sampling method

RADIANCE 4.0m_normal():324 if (!(nd.specfl & SP_PURE))325 gaussamp(r, &nd);

396 for (niter = 0; niter < MAXITER; niter++) 397 if (niter)398 d = frandom();399 else400 d = urand(ilhash(dimlist,ndims)+samplendx);

gaussamp():417 multcolor(sr.rcol, sr.rcoef);418 addcolor(r->rcol, sr.rcol);419 break;

421

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 11: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

A New Ward BRDF with Bounded Albedo Introduction and Related Work

changed source code

m_normal():324 if (!(nd.specfl & SP_PURE))... for(i=0; i < 10000; i++)325 gaussamp(r, &nd);

gaussamp():396 /∗ for (niter = 0; niter < MAXITER; niter++) ∗/397 /∗ if (niter) ∗/398 d = frandom();399 /∗ else ∗/400 d = urand(ilhash(dimlist,ndims)+samplendx);

417 multcolor(sr.rcol, sr.rcoef);... scalecolor(sr.rcol,(1.0/10000.0));418 addcolor(r->rcol, sr.rcol);419 /∗ break; ∗/

421 /∗ ∗/

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 12: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

A New Ward BRDF with Bounded Albedo The New Ward BRDF

1 A New Ward BRDF with Bounded AlbedoIntroduction and Related WorkThe New Ward BRDFAlbedo of the New BRDFImplementation

2 Fitting Measured BRDF/BSDF DataRed Linoleum FloorFrosted Glass (SERIS)

3 Conclusion

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 13: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

A New Ward BRDF with Bounded Albedo The New Ward BRDF

The Proposed New Ward BRDF

Neumann et al. (Computer Graphics Forum, 1999) criticize that thealbedo of the Ward BRDF is unbounded at grazing angles, what is alsovalid for the Ward-Dür BRDF.

We thus propose a modification of the Ward-Dür BRDF:

fnew (θl , φl ;θv , φv ) =1

παβ· exp

(

− tan2 δ

(

cos2 φ

α2 +sin2 φ

β2

))

·

2 (1 + cos θl cos θv + sin θl sin θv cos(φv − φl))

(cos θl + cos θv )4

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 14: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

A New Ward BRDF with Bounded Albedo The New Ward BRDF

Comparison of BRDF Models

New BRDF

fnew (θl , φl ; θv , φv ) =1

παβ·

exp(

− tan2 δ(

cos2 φα2 + sin2 φ

β2

))

4〈~l , ~h〉2〈~h, ~n〉4

Ward-Dür BRDF

fWD(θl , φl ; θv , φv ) =1

παβ·

exp(

− tan2 δ(

cos2 φα2 + sin2 φ

β2

))

4〈~l , ~n〉〈~v , ~n〉

In the mirror direction where θv = θl and φv = φl + π

fnew (θl , φl ; θl , φl + π) =1

4παβ cos2 θl= fWD(θl , φl ; θl , φl + π)

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 15: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

A New Ward BRDF with Bounded Albedo The New Ward BRDF

WardWard-Dürnew BRDF

0

0

10

10

20

20 30 40 50 60 70

5

15

25

WardWard-Dürnew BRDF

0

0 10 20 305 15 25

2

4

6

8

Ward BRDF, Ward-DürBRDF, and new BRDFat θl = 0, 35, and 70

for α = β = 0.1 (top)and α = β = 0.2(bottom).

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 16: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

A New Ward BRDF with Bounded Albedo The New Ward BRDF

WardWard-Dürnew BRDF

0

0

2

2

4

4

6

6

8

8

WardWard-Dürnew BRDF

0

0

0.5

0.5

1

1

1.5

1.5

2

2

BRDF multiplied by cos θl and cos θv for Ward BRDF, Ward-Dür BRDF,and new BRDF at θl = 0, 35, and 70 for α = β = 0.1 (left)

and α = β = 0.2 (right).

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 17: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

A New Ward BRDF with Bounded Albedo The New Ward BRDF

WardWard-Dürnew BRDF

00

2

2

4

4

6

6

8

82468

WardWard-Dürnew BRDF

00

0.5

0.5

1

1

1.5

1.5

2

20.511.52

Azimuthal variation at θl = θv = 0, 35, and 70 (outside to center) of BRDFmultiplied by cos θl and cos θv for Ward BRDF, Ward-Dür BRDF,

and new BRDF for α = β = 0.1 (left) and α = β = 0.2 (right).

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 18: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

A New Ward BRDF with Bounded Albedo Albedo of the New BRDF

1 A New Ward BRDF with Bounded AlbedoIntroduction and Related WorkThe New Ward BRDFAlbedo of the New BRDFImplementation

2 Fitting Measured BRDF/BSDF DataRed Linoleum FloorFrosted Glass (SERIS)

3 Conclusion

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 19: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

A New Ward BRDF with Bounded Albedo Albedo of the New BRDF

Albedo functions of various BRDF models

WardWard-Dür

new BRDF

Ward-NeumannSampling

albe

do

incident angle (deg)0

0

0.2

0.4

0.6

0.8

1

1.2

10 20 30 40 50 60 70 80 90

10Ward

Ward-Dürnew BRDF

albe

doincident angle (deg)

0

2

4

6

8

89 89.2 89.4 89.6 89.8 90

Albedo functions for α = β = 0.1 for various BRDF models (left)and at grazing angles for the Ward BRDF, the Ward-Dür BRDF,

and the new BRDF (right).

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 20: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

A New Ward BRDF with Bounded Albedo Albedo of the New BRDF

Boundedness of the Albedo of the New BRDF

Numerical evidence in [DGM, AD, Computer Graphics Forum, 2010]that the albedo of the new BRDF is bounded by 1,i.e. for all θl ∈ [0, π/2) : math

a(θl , φl) =

∫ 2π

0

∫ π/2

0fnew (θl , φl ; θv , φv ) cos θv sin θv dθv dφv ≤ 1.

00.7

0.8

0.9

1

10 20 30 40 50 60 70 80 90

albe

do

incident angle (deg)

α = 0.01α = 0.05

α = 0.1α = 0.2

Albedo functions of the new BRDF for varying values of α = β.

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 21: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

A New Ward BRDF with Bounded Albedo Implementation

1 A New Ward BRDF with Bounded AlbedoIntroduction and Related WorkThe New Ward BRDFAlbedo of the New BRDFImplementation

2 Fitting Measured BRDF/BSDF DataRed Linoleum FloorFrosted Glass (SERIS)

3 Conclusion

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 22: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

A New Ward BRDF with Bounded Albedo Implementation

Evaluation of the New BRDF

Rewriting the new BRDF as

fnew (θl , φl ; θv , φv ) =

1παβ

· exp

(

− 1

〈~l + ~v , ~n〉2·(

〈~l + ~v , ~x〉2

α2 +〈~l + ~v , ~y〉2

β2

))

· 〈~l + ~v ,~l + ~v〉〈~l + ~v , ~n〉4

shows that the evaluation of the BRDF for the direct specularcomponent in the functions dirnorm() and diraniso() in theRADIANCE source code by

SLl(~l) fnew (~l , ~v) dΩl ≈

M∑

m=1

Ll(~l(m)) fnew (~l(m), ~v)∆Ωl(m)

is computationally cheap.

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 23: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

A New Ward BRDF with Bounded Albedo Implementation

Importance Sampling

The indirect specular component can be approximated in theRADIANCE functions m_normal() and m_aniso() by

RLl(~l) fnew (~l , ~v) dΩl ≈

1N

N∑

n=1

Ll(~l∗(n))wnew (~l∗(n), ~v),

where the directions~l∗(n) are generated by Ward’s sampling method.The weighting factors

wnew (θl , φl ; θv , φv ) =2

1 + cos θv/ cos θl=

2

1 + 〈~v , ~n〉/〈~l , ~n〉

are less expensive to compute than for the Ward-Dür BRDF.

Note that wnew is greater (less) than 1 if and only if the sampleddirection is above (below) the mirror direction.

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 24: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

A New Ward BRDF with Bounded Albedo Implementation

Ward-Dür BRDF vs. PDF

view frustum

view direction

reflecting surface view angle: 1

perfectly diffusearea light source

Grazing angle test scene: set-up

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 25: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

A New Ward BRDF with Bounded Albedo Implementation

New BRDF vs. weighted PDF

Luminance distributions laid over renderings for the Grazing Angle Test Scene:

specular reflection calculated by the new BRDF (left) and by Ward’s sampling method

using new weighting factors (right).

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 26: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

A New Ward BRDF with Bounded Albedo Implementation

changed source code

gaussamp():396 /∗ for (niter = 0; niter < MAXITER; niter++) ∗/397 /∗ if (niter) ∗/398 d = frandom();399 /∗ else ∗/400 d = urand(ilhash(dimlist,ndims)+samplendx);

417 multcolor(sr.rcol, sr.rcoef);... scalecolor(sr.rcol, 2.0/(1.0+r->rod/d));... scalecolor(sr.rcol,(1.0/10000.0));418 addcolor(r->rcol, sr.rcol);419 /∗ break; ∗/

421 /∗ ∗/

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 27: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

Fitting Measured BRDF/BSDF Data Red Linoleum Floor

1 A New Ward BRDF with Bounded AlbedoIntroduction and Related WorkThe New Ward BRDFAlbedo of the New BRDFImplementation

2 Fitting Measured BRDF/BSDF DataRed Linoleum FloorFrosted Glass (SERIS)

3 Conclusion

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 28: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

Fitting Measured BRDF/BSDF Data Red Linoleum Floor

Measurement

We measured reflectance data of an isotropic red linoleum floor atBartenbach LichtLabor in Aldrans, Austria.

Goniometer→ BRDF for CIE Y

Integrating sphere→ reflectance spectrum

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 29: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

Fitting Measured BRDF/BSDF Data Red Linoleum Floor

Fitting measured BRDF data of a red linoleum

Similar to Ngan et al. (Computer Graphics Forum, 2005) we define theobjective function for curve fitting as

g(θl , φl ; θv , φv ) =

(

data(θl , φl ; θv , φv ) −(ρ · ρd

π+ ρ · ρs · f (θl , φl ; θv , φv )

))

· cos θl ,

where

ρ = 0.175 is the total reflectance of the red linoleum sample,

ρs is the fraction of specularly reflected light, and

ρd = 1 − ρs is the fraction of diffusely reflected light, respectively.

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 30: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

Fitting Measured BRDF/BSDF Data Red Linoleum Floor

Fitting measured BRDF data of a red linoleum

Because we know ρ = 0.175 we can reduce the number of variables inthe optimization:

g(θl , φl ; θv , φv ) =

(

data(θl , φl ; θv , φv ) − 0.175 ·(

1 − ρs

π+ ρs · f (θl , φl ; θv , φv )

))

· cos θl

Then we estimate the parameters ρs and α using the MATLAB routinelsqnonlin() such that

222∑

k=1

g(θ(k)l , φ

(k)l ; θ

(k)v , φ

(k)v )2 → min .

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 31: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

Fitting Measured BRDF/BSDF Data Red Linoleum Floor

Fitting Results

Using the provided data for

θl =25, 35, . . . , 75 and θv = 0, 2.5, 5, . . . , 90

yields the following parameters and fitting errors where the optima areplaced in the diagonal:

ρs 0.08508 0.02605 0.04982α 0.02935 0.02122 0.03172

Ward 6.8269 12.390 13.341Ward-Dür 1.7e+15 2.8846 1.4e+17new BRDF 22.030 2.8334 0.9241

The decrease of the fitting errors by factor of 7 and 3 demonstratesthat, for the red linoleum, the new BRDF is better suited toapproximate the measured data.

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 32: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

Fitting Measured BRDF/BSDF Data Red Linoleum Floor

Fitting Results without θv = 90

Ignoring the data for θv = 90

θl =25, 35, . . . , 75 and θv = 0, 2.5, 5, . . . , 87.5

in the fitting procedure yields

ρs 0.10728 0.04920 0.04981α 0.03411 0.03150 0.03171

Ward 6.6218 11.156 11.129Ward-Dür 23.164 0.9275 0.9281new BRDF 22.857 0.9179 0.9173

The fitting results verify that the Ward-Dür BRDF and the new BRDFalmost match for non-flat angles, but differ significantly at grazingangles.

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 33: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

Fitting Measured BRDF/BSDF Data Red Linoleum Floor

Rendering with fitted parameters

Specular reflections calculated by the Ward-Dür BRDF (left)and by the new BRDF (right)

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 34: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

Fitting Measured BRDF/BSDF Data Red Linoleum Floor

Specular highlights calculated by the Ward-DürBRDF (left, top) and by the new BRDF (left, bottom),

and relative brightness differences with Ward-DürBRDF being the reference (right).

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 35: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

Fitting Measured BRDF/BSDF Data Frosted Glass (SERIS)

1 A New Ward BRDF with Bounded AlbedoIntroduction and Related WorkThe New Ward BRDFAlbedo of the New BRDFImplementation

2 Fitting Measured BRDF/BSDF DataRed Linoleum FloorFrosted Glass (SERIS)

3 Conclusion

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 36: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

Fitting Measured BRDF/BSDF Data Frosted Glass (SERIS)

Frosted Glass (SERIS)

frosted glass sample with a polished surface measured at theSolar Energy Research Institute of Singapore (SERIS)

special BSDF developed for this material using the new BRDF

→ talks by Lars Grobe and Xiaoming Yang

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 37: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

Conclusion

1 A New Ward BRDF with Bounded AlbedoIntroduction and Related WorkThe New Ward BRDFAlbedo of the New BRDFImplementation

2 Fitting Measured BRDF/BSDF DataRed Linoleum FloorFrosted Glass (SERIS)

3 Conclusion

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 38: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

Conclusion

Conclusion

The new BRDF

almost equals the Ward-Dür BRDF for non-flat angles,

is physically plausible (energy conserving, reciprocal),

is cheap to evaluate for the direct specular component,

admits efficient importance sampling for the indirect specularcomponent, and

is better suited for fitting the measured data of red linoleum.

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 39: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

Thanks for your attention!

Funding by the FIT-IT Program of the BMVIT (Bundesministerium fürVerkehr, Innovation und Technologie) and the FFG through GrantNo. 816009 is gratefully acknowledged.

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 40: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

Albedo of the New BRDF at non-flat angles

Rewriting the new BRDF with respect to Ward’s sampling PDF yields

a(~v) =

∫∫

D

2

1 + (1 + tan2 δ)/(1 − tan2 δ + 2 tan δ tan θv cos(φ − φv ))ds dt ,

where D = (s, t) ∈ [0, 1)2|1 − tan2 δ + 2 tan δ tan θv cos(φ − φv ) > 0denotes the feasible domain where θl < π/2.

In the general case, i.e. when δ is small and at non-flat angles:

a(~v) ≈∫∫

[0,1)2

21 + 1

dsdt = 1.

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010

Page 41: A New Ward BRDF Model with Bounded Albedo and Fitting ... · A New Ward BRDF Model with Bounded Albedo and Fitting Reflectance Data for R ADIANCE David Geisler-Moroder1 Arne Dür1

Albedo of the New BRDF at grazing angles

For grazing angles, let δ 6= 0 and θv → π/2. Then go back

2

1 + (1 + tan2 δ)/(1 − tan2 δ + 2 tan δ tan θv cos(φ − φv ))→ 2

and D → (s, t) ∈ [0, 1)2| cos(φ − φv ) > 0.Because the distribution of φ is point symmetric about the origin the

probability that a sample ray is not rejected

Pcos(φ − φv ) > 0 = 1/2.

and thus, combining the equations yields

a(~v) → 1 if θv → π/2.

D. Geisler-Moroder, A. Dür, R. Thetmeyer RADIANCE Workshop, September 20-22, 2010