







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!








(glRasterPos())
y
x y’
x’
Translate 1 point:P = Q + A
x’ y’
x y
d
x d
y
Define column vectors:
x’ y’
x’ y’
d
x d
y
Vector notation for translation:
Translate objectconsisting ofmultiple points
Shear 1 vector:B
.^
Shear object
x
y’
x y
Define column vectors:
x’ y’
s
x
s
y
x y
Scale equation:x’ = s Matrix notation for scale:
x
x , y’ = s
y
y
x
y’ 1
d
x
d
y
x y 1
Matrix notation for translationusing homogeneous coordinates
Homogeneous coordinates (contd.)
x
y’ 1
s
x
s
y
x y 1
Matrix notation for scale
x’ y’ 1
cos
-sin
sin
cos
x y 1
Matrix notation for rotation
square
Rotation by 45 degrees
Non-uniform scaling