126.96.36.199 Transformation Order
Because rotations are always relative to the axis and scaling is relative to the origin, you will generally want to
create an object at the origin and scale and rotate it first. Then you may translate it into its proper position. It
is a common mistake to carefully position an object and then to decide to rotate it. However because a rotation of an
object causes it to orbit about the axis, the position of the object may change so much that it orbits out of the
field of view of the camera!
Similarly scaling after translation also moves an object unexpectedly. If you scale after you translate the scale
will multiply the translate amount.
translate <5, 6, 7>
will translate to
<20,24,28> instead of
<5,6,7>. Be careful when
transforming to get the order correct for your purposes.