POV-Ray : Newsgroups : povray.newusers : vector math / transforms : Re: vector math / transforms Server Time
14 May 2024 11:04:45 EDT (-0400)
  Re: vector math / transforms  
From: Thomas de Groot
Date: 4 Aug 2013 03:12:39
Message: <51fdfee7@news.povray.org>
On 4-8-2013 3:59, Bald Eagle wrote:
> That worked ... sorta.  But when is scaled my vector it seemed to translate it
> when the scale vector.x wasn't 1.
> I'll work on it and see if I'm doing something ELSE dumb.

Probably because the object to be scaled is not at the origin or has 
been translated first (which results in the same thing of course).

The basic order in which transforms should be done for no surprises is 
/scale/ then /rotate/ then /translate/.

Thomas


Post a reply to this message

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