CZ2003 Tutorial 11 (2020/2021, Semester 1)
Illumination
1. Which three components does the Phong illumination model contain?
Which of them will change if one of the followings happens in a scene?
a. A light source is moved to a new location.
b. The object is moved to a new location.
c. The observer is moved to a new location.
2. What is the value of the specular exponent for a perfect mirror? Why?
3. A plane is defined by equation x + z − 2 = 0 , with the diffuse reflection
coefficient 0.6. A point light source with intensity 1 is located at (10, 10, 10).
Calculate a diffuse reflection on the plane at point (1, 10, 1).
4. A point light source with intensity 1 is located at coordinates (8, 10, 10). It
illuminates an origin-centered sphere with radius 2, diffuse coefficient 0.7,
specular coefficient 0.2, and specular exponent 2. The ambient reflection
coefficient is 0.1. The intensity of the ambient light source is 1. An observer
located at the position with coordinates (10, 0, 0) is looking at a point on the
sphere, along the direction [-1 0 0]. Find the point and calculate the illumination
on the surface of the sphere at the point seen by the observer.
(8,10,10)
Y
K dependsonmaterial
Rvectorfrneflection
lightsource of
vector
ventor
f f observer
InstantffinfIIII two irvin
Phongillumination model [Link] wittlowshing
m the
surface
I kata t KdIsWsO t KSISWSY willbe
in mm mm shinernt
Ambient diffuseReflection specularreflection
Reflection
to
assert
Normal
perfect
t
light
1
t
doesnuto
dirtlocation
Highlights from some
reflection
pointofinterst
wit location tromlightsoura
L
location
[Link] Cblobjectmoved new location
ambientreflection Nochange
mbientreflection Nochange diffusereflection changes N IO
diffusereflection charges to specularreflection changes Io
pecularrettection [Link]
Hobservermovedto a newlocation
ambientreflection Nochange
diffusereflection changesynochange
specular reflection changes OF
21001reflectioninone
1 direction nodiffuse
reflection
ftperfectlyaligned occurring
Hg
aligned
I occuring
feme
forspecularreflectionanyotherdirectionis0
Exponentvalue t N KsIsios f KskCRyn 0
Tsf 1 I 1
This is because when thevalue is at infinity thelightningvector L the surfacenormal N and
thereflectedvector liein a commonplaneand Land R are symmetricWrtNThisisbecausethe valueo
Nmakesnoreflectionalonganyotherdirections otherthantheidealreflectiondirectionforanincomingray
vSmooth
formulafordiffuse reflection
I diffuse Kd I sourceWSO KdIs No4
Is 1 Kokob
II
e egn X 17 2 0
i Unitnormalvector Ifthe
directionallightingvector
lift lil 19g
unitlightingvector ql
MEL
Therefore thediffusereflection is
KdIs CN L
n
t H'Eid
0.6 [Link]
O bl II
e Ob
[Link]
surface
440,0
Ho
Simetheobserverisonaxisxandthesphereisoriginienteredithepointonthe
sphereobservereookingat El
Lightningrector_fool 11 481
unit 1 11
5236
3
559
[Link]
V
140,0 WHY
144110,0
A 21441N L
to Kool EI
I Kala [Link] 18 KskCVN
D11111 t 107110.391 t 102110.391
0.4