POV-Ray : Newsgroups : povray.newusers : translation question : Re: translation question Server Time
2 Nov 2024 03:16:30 EDT (-0400)
  Re: translation question  
From: Slime
Date: 11 Sep 2004 13:52:22
Message: <41433b56$1@news.povray.org>
> translate y*size-delta

Multiplication is performed before addition or subtraction, so that's
equivalent to

translate <0,1,0>*<size,size,size> - <delta,delta,delta>
or
translate <0,size,0> - <delta,delta,delta>
or
translate <-delta,size-delta,-delta>

What you want is

translate y*(size-delta)

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

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