In my endeavors to render scenes I find myself needing to scale
translate and rotate objects. Only different things happen if I do them
in different orders. ie. I had a cylinder I scaled down by .25 in ann
three axes and I had to translate it -50*z to get it where I wanted it.
How do theses operations affect each other? Should I always translate
first, scale and then rotate?
Drew
Drew wrote:
> In my endeavors to render scenes I find myself needing to scale> translate and rotate objects. Only different things happen if I do them> in different orders. ie. I had a cylinder I scaled down by .25 in ann> three axes and I had to translate it -50*z to get it where I wanted it.> How do theses operations affect each other? Should I always translate> first, scale and then rotate?> Drew
In one of the pov versions this was covered quite well
in the docs. Perhaps it's gone now.
Anyway your safest route is scale, rotate, then translate.
Unexpected things will happen if you stray from this order.
Ken Tyler
Ken wrote:
> In one of the pov versions this was covered quite well> in the docs. Perhaps it's gone now.> Anyway your safest route is scale, rotate, then translate.> Unexpected things will happen if you stray from this order.> > Ken Tyler
Another useful trick is to scale, translate and then rotate - the object orbits
at a distance from the origin specified by translate. Scaling should almost
always be first, though.
Margus