Professional Documents
Culture Documents
Lecture 5 (2D and 3D Geometric Transformations)
Lecture 5 (2D and 3D Geometric Transformations)
=
Matrix Composition
y
(0,5,5)
(5,5,0)
c
g
d f
b
k
(0,5,5) (5,5,5)
a (5,0,0)
(0,0,0) j x
l
h
e
(0,0,5) i (5,0,5)
z
3D Transformations
x 1 0 0 Txx
y 0 1 0 Tyy
z0 0 1 .
Tz z
1 0 0 0 1 1
Scaling
x cos sin 0 0 x
y sin cos 0 0 y
z 0 .
0 1 0 z
1 0 0 0 1 1
Rotation about x-axis
x 1 0 0 0 x
y 0 cos sin 0 y
z 0 sin cos 0 z.
1 0 0 0 1 1
Rotation about y-axis
=-90°