POV-Ray : Newsgroups : povray.newusers : order of operations : Re: order of operations Server Time
6 Sep 2024 08:12:41 EDT (-0400)
  Re: order of operations  
From: Ken
Date: 6 Nov 1998 00:17:12
Message: <36428617.E4063F8E@pacbell.net>
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


Post a reply to this message

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