POV-Ray : Documentation : 1.2.7.2 Transformation Order
  POV-Ray 3.6 Documentation Online View  
1.2.7.1 Transformations   1.2.7.3 Inverse Transform

1.2.7.2 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.
For example

  translate <5, 6, 7>
  scale 4

will translate to <20,24,28> instead of <5,6,7>. Be careful when transforming to get the order correct for your purposes.

1.2.7.1 Transformations   1.2.7.3 Inverse Transform


Copyright 2003-2021 Persistence of Vision Raytracer Pty. Ltd.