what is the translation's matrix,and how to determine the number of coloums and rows in a matrix after multiplying
Translation matrix depends on the object which has moved. [Attachment] I've tried my level best to keep is as simple as possible.
Scale => 1 cm = 1 unit
The black solid triangle is the
object. Red triangle is the
image i.e
object after moving a certain distance.In
translation, the object has the
same size as the image.
1. Notice the object has moved 5 blocks to the right and 10 blocks upwards. As the scale is 1 cm = 1 unit therefore we can assume x= 5 and y = 10 Notice both are positive as they are moving
along the axis.
2. The object has moved 6 blocks to the right and 10 blocks downwards. Therefore the object moves
along the x axis but moves
against the y axis, so x = 6 and y = -10
3. The object moves 9 blocks to the left and 5 blocks upwards,
along the y axis and
against the x axis. y = 5 and x = -9
4. Object moves 7 blocks downwards and 8 blocks left.
Against x and y axis, x = -8 and y = -7.