Let's first write transformation matrix for uniform scaling to double the size of an object.
Uniform scaling means scaling equally in all directions. To double the size of an object, the scaling factor s is 2. The transformation matrix for uniform scaling in 3D is:
For a scaling factor s=2"
Now let's write the matrix to double to translate an object 2 units in the x direction and 3 units in the y direction.
Assuming no translation in z axis,
Comments