Professional Documents
Culture Documents
By
Amjad Khan Khalil
amjad@aup.edu.pk
What is Transformation
The change occurs in the position or in
the size of an object is known as
transformation.
Thus transformation includes the
movement of an object or the increase
or decrease of the size of an object.
Also the feeling of movement of an
object is considered as transformation
Con’t
Transformation always depend upon
some mathematical procedures which
will bring this change.
In some cases the transformation is
additive while in some cases it will be
multiplicative.
Types of transformation
There are two types of transformation
1. Coordinate transfromation
2. Geometric transformation
Coordinate transformation
These are mathematical procedures
describing the operations applied to
cause the movement of an object by
holding the object in its place and
moving the background.
This type of transformation usually used
in Cartoons and Games etc.
Geometric Transformation
These are mathematical models used to
cause the movement of an object
relative to the stationary background is
known as geometric transformation.
Geometric transformation includes
Translation
Rotation
Scaling
Translation
The straight line movement of an object
is called translation.
The translation of an object is totally
depend upon the translation distances
which are also known as translation
vectors or shift vectors.
Con’t
Let we have a point P’ (x’, y’)
P(x, y) in coordinates Y’
system which is to
be translated. The Y-axis
new position of Ty
the point after
translation is
P’(x’, y’) which is y
obtained by P (x, y)
adding translation
vectors Tx and Ty
with the original x (0, 0)
x Tx x’
and y coordinates.
X-axis
Con’t
x’ = x + Tx 1
y’ = y + Ty 2
Using eq(1) and eq(2) we can calculate the
change that occurs in the position of a point
In eq(1) and eq(2) Tx and Ty are known as
shift vectors or translation distances
Con’t
Although we can move a point to a new
location in infinite ways, when we move many
points there is usually only one way
object Tx and Ty