


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



p^
p 1 1 2 2 =^
p^
e^
e
e^1 e^2
p^
p 1 1
2 2 =^
p^
e^
e
e ′^1 e ′^2
z^ dimension to everything
Unfortunately, rotation is not so simple …
r s 0 0 0 t ^
x y z 1 0
Scaling Translation
dependent
x^ then
y
-^ y^ rotation is about transformed axis after^ x^ rotation is performed• this gets confusing Drawback 2: Difficult to interpolate • for animation want to interpolate angles• resulting motion can be
weird
cos^
sin sin^
cos x
θ^
θ θ^
θ 1 0
cos^
sin sin^
cos z
θ^
θ θ^ −^0 θ
cos^
sin sin^
cos y
θ
θ θ
θ 0
u × v^
as matrix multiply
∗ uv
The outer product of a vector
u^ (with itself)
z^ y z^
x 0 − y^ x
u
x T
x^ xy
xz
y^ x^
y^ z^
xy^ y
yz
z^
xz^ yz
z 2 2
2 ^
uu
θ ,^ x ,^ y
,^ z )
Has many of the same interpolation problems as Euler angles
x^ where y^
x^ y
z
z
2 2
2
u ^ ^ ^
T^
T^
cos^ (
)^ (sin
θ
θ
θ
R^ u
uu
I^ uu
u
2
2
2
2
2 2
2
−
2
2
2 2
v^ on the plane satisfies the equation
For any 4x4 matrix whose inverse exists, this is equivalent to^ • thus the transformed point
Mv^ lies on the plane
T nM
T-1 nM T^ ) or (
-1T M ) n
This gives us the transformation rule for normal vectors
where
is the plane equation
a b c d
ax^ by
cz^
d
n^ T^ = 0 n v^ T^
−^
n M^
Mv^ T−1 ( )→ n^
n
d^ — might as well be 0
Simplified case #2: Orthogonal (Rigid-Body) Transformations^ • in this case (e.g., rotation)• thus the normal transformation rule becomes
where
is the plane equation
a b c d
ax^ by
cz^
d
n
T −1^ = M M
→ n Mn