POV-Ray : Newsgroups : povray.bugreports : translation coordinates : Re: translation coordinates Server Time
26 Apr 2024 18:42:05 EDT (-0400)
  Re: translation coordinates  
From: Le Forgeron
Date: 12 Mar 2014 03:55:21
Message: <532012e9$1@news.povray.org>
Le 12/03/2014 04:45, Bald Eagle a écrit :
> (Running 3.6 on winbloze)
> 
> translate z*Room_No*4*Feet
> = no problems.
> 
> translate z*Room_No*4*Feet translate x*44*Feet+8
> gives me a y*8 elevation.  :(
> 
> translate <44*Feet+8, 0, Room_No*4*Feet>
> gives me the correct positioning.
> 
> is this a misunderstanding on my part about the translate syntax, or a
> "bug"?

Misunderstanding. the +8, due to lack of *x, is promoted to a vector
<8,8,8>.

You can have it as you want too with: translate x*(44*Feet+8)


-- 
Just because nobody complains does not mean all parachutes are perfect.


Post a reply to this message

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