Transformasi 3D.
Transformasi 3D
Translasi
x' 1
y ' 0
z ' 0
1 0
0
1
0
0
0 tx x
0 t y y
1 tz z
0 1 1
(x’,y’,z’)
(x,y,z)
T=(tx,ty,tz)
Skala
x' s x
y ' 0
z' 0
1 0
0
sy
0
0
0
0
sz
0
0 x
0 y
0 z
1 1
Rotasi
Terhadap sumbu z (Rz)
x' cos
y ' sin
z' 0
1 0
sin
cos
0
0
0
0
1
0
0 x
0 y
0 z
1 1
Terhadap sumbu y (Ry)
x' cos
y ' 0
z ' sin
1 0
0 sin
1
0
0 cos
0
0
0 x
0 y
0 z
1 1
Terhadap sumbu x (Rx)
0
x' 1
y ' 0 cos
z ' 0 sin
0
1 0
0
sin
cos
0
0 x
0 y
0 z
1 1
Translasi
x' 1
y ' 0
z ' 0
1 0
0
1
0
0
0 tx x
0 t y y
1 tz z
0 1 1
(x’,y’,z’)
(x,y,z)
T=(tx,ty,tz)
Skala
x' s x
y ' 0
z' 0
1 0
0
sy
0
0
0
0
sz
0
0 x
0 y
0 z
1 1
Rotasi
Terhadap sumbu z (Rz)
x' cos
y ' sin
z' 0
1 0
sin
cos
0
0
0
0
1
0
0 x
0 y
0 z
1 1
Terhadap sumbu y (Ry)
x' cos
y ' 0
z ' sin
1 0
0 sin
1
0
0 cos
0
0
0 x
0 y
0 z
1 1
Terhadap sumbu x (Rx)
0
x' 1
y ' 0 cos
z ' 0 sin
0
1 0
0
sin
cos
0
0 x
0 y
0 z
1 1