





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The basics of 2d transforms, including vector spaces, transforms in 2d, composing transforms, and homogeneous coordinates. Topics include translation, scaling, rotation, and shearing, as well as their representation with matrices and homogeneous coordinates.
Typology: Slides
1 / 9
This page cannot be seen from the preview
Don't miss anything!






use in this course
and y coordinates really mean
y
(x,y)
x
i
j
(u,v)
x
y (^) j i
i
j
(u,v)
x
y (^) j
i
x
= (-u,v)(x,y) y
parallel vectors can define a vector space in 2D
defined by orthogonal, normalized, axis-aligned vectors
way to do things
up of vectors and scalars
distance metric
origin
Euclidean
“transforms”?
(x’,y’)
the following form:
Transformation Matrix
describes the change in vector space:
x
y
x’
y’
doing this...
an object in “object space”
centered around the origin
objects where we want them in “world space”
coordinate:
matrix
(vectors are unique only up to scaling)
it would be useful that we could represent points and vectors the same way?
represent vectors, too
“position”
they should not be affected by translation
These have no effect
matrix of the following form:
u is the x-offset v is the y-offset
space in one or more dimensions
x
y
Original α=1, β=
x
y
α=2, β=
x
y
α=1, β=
origin or pushed away from it
x
y
x
y
x
y
construct a scaling matrix?
around the origin, and want to scale it by α in x, and β in y
of the following form:
α is the scale factor in the x-direction β is the scale factor in the y-direction
α
α
about the origin
x
y
x
y
x
y
use homogeneous coordinates for our points, and do our transforms using square transformation matrices?
multiplying the 2 transform matrices WARNING: The order in which matrix multiplicationstogether are performed may (and usually does) change the result! (i.e. they are not commutative)
x
y
(2,1)
Translate Then Scale
x
y
(5,3)
Translate Then Scale
x
y
(10, 6)
Translate Then Scale
x
y
(2,1)
Scale Then Translate
x
y
(4,2)
Scale Then Translate
x
y
(7,4)
Scale Then Translate
transforms!
Translate then Scale
Scale then Translate