POV-Ray : Newsgroups : povray.newusers : order of operations : Re: order of operations Server Time
6 Sep 2024 08:11:59 EDT (-0400)
  Re: order of operations  
From: Margus Ramst
Date: 6 Nov 1998 03:53:43
Message: <3642B912.DF169C6E@peak.edu.ee>
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


Post a reply to this message

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