Light PDF
Light PDF
Light PDF
Basic Radiometry:
Reflectance Models:
Ignore time-delays due to the finite speed of light, and ignore the
diffraction of light.
Light Tube
Given a collection of rays that lie within a tube and which cross both
ends of the tube (i.e. A and B), but do not cross the sides of the tube,
then the radiant power of the light impinging on end A, due to these
rays, is equal to the power impinging on B (due to the same rays).
2D 3D
l
r S
a
q
q
r
2503: Lighting and Reflectance Models Page: 3
Irradiance for a Distant Point Light Source
Let I(λ, ~xp) denote the irradiance on a small patch (real or virtual)
~ p ) to express dependence of
at position ~xp. We often write I(λ, ~xp; N
~ p).
irradiance on surface orientation (i.e., the surface normal, N
~ with a small
For a light source that is far away, in unit direction L,
angular extent (eg, the sun), the light rays are approximately parallel:
! !xp
−L
!p
N
~p =
For a small patch of area dAp , in general (i.e., N ~ irradiance
6 L),
is the power passing through the area of the patch projected onto a
~ i.e., dAL = | cos θ| dAp = |N
plane perpendicular L, ~ p · L|
~ dAp .
!p !
L
N !
−L
!
−L !p
N θ
θ dAp
| cos θ| dAp dAp
dAL
dΩp
!x0 d!p
unit sphere
Radiant intensity Rs(λ, d~p) of a point source is the power, per unit
wavelength per unit solid angle, caught by a patch in direction d~p .
W
Units: (nm)(sr)
.
The solid angle, dΩp, subtended by a small patch at position ~xp, de-
creases due to foreshortening, and distance to the source at ~x0; i.e.,
~ p · L|
|N ~
dΩp = dAp,
||~xp − ~x0||2
~ = ~x0 −~xp is the light source direction from ~xp; ie, L
where L ~ = −d~p.
||~x0 −~xp ||
The irradiance on the test patch due to the proximal point light source
is simply the amount of light (power) that reaches the patch divided
by the area of the patch
~ dΩp
Rs(λ, −L) ~ p · L⌋
⌊N ~
~
I(λ, ~xp; Np ) = = ~ .
Rs(λ, −L)
dAp ||~xp − ~x0|| 2
!p
N
cos θ dAp
d!
dAp
test patch
dΩ0
!p !xp
N
!x0 dΩ1
extended
light source !x1
This is radiance, times solid angle of the test patch, times areas
on the light source, divided by the area of the patch.
2503: Lighting and Reflectance Models Page: 7
Two Basic Types of Reflectance
light
source
specular
!
−L
diffuse
~ V
The BRDF r(λ, L, ~ ) captures the dependence of reflectance on the
incident and emittant directions:
~ V~ ) gives the proportion of the incident light, from direc-
• r(λ, L,
~ at wavelength λ, scattered in the viewing direction V
tion L, ~.
~ and V~ are unit vectors)
(L
!p
N
!
L !
V
dAV
dAL
!xp dAN
~ ) = r(λ, L,
R(λ, ~xp, V ~ V~ ) I(λ, ~xp; N
~ p)
!p
N
!
L !
V
dΩ
!xp
~ p ) is given by
The irradiance on the surface (w.r.t. normal N
~ p ) = ⌊N
I(λ, ~xp; N ~ p · L⌋I(λ,
~ ~
~xp; L)
~ ), due
It follows that the radiance (per unit area perpendicular to V
to diffuse reflection from a Lambertian surface, is given by
~.
Note that this does not depend on the viewing direction V
~ ) is given by
The reflected irradiance I r (λ, M
~ = F (λ, L)
I r (λ; M) ~ I i(λ; L).
~
~ is given by
For specular reflection the reflected irradiance I r (λ; M)
~ = F (λ, L)
I r (λ; M) ~ I i(λ; L).
~
~ ≈ f (L
For plastics, F (λ, L) ~ ·N
~ ), so there is little spectral change
between the incident and reflected light.
1 ! ·L
N ! =ǫ
! ·L
N ! =1
"
F (λ, L)
Bronze
400 700
Ref: Cook and Torrance, A reflectance model for computer graphics, ACM Trans.
on Graphics, 1(1), Jan. 1982, pp. 7-24.
where
See phongDemo.m.