POV-Ray : Newsgroups : povray.bugreports : text directive + vstr =3D garbled : Re: text directive + vstr garbled Server Time
4 May 2024 01:16:08 EDT (-0400)
  Re: text directive + vstr garbled  
From: clipka
Date: 4 Aug 2013 09:18:38
Message: <51fe54ae@news.povray.org>
Am 03.08.2013 23:47, schrieb Bald Eagle:
>
>>> 0.2 translate (x*X2)+0.2 pigment { color Green}}
>>
>> Is it intentional that you translate by 0.2 in /all/ three dimensions
>> (in addition to translating by X2 along the x axis)?
>
> No.  So I guess I need to do x*(X2+0.2)

That sound very plausible.

> I've always found the translate syntax confusing because my brain wants to
> multiply the present X location by the float, instead of adding it like what
> actually happens.   Grrrr.

It might help you to use "translate <X2+0.2,0,0>" instead of writing 
"translate x*(X2+0.2)" The former is the officially recommended syntax, 
while the latter just /happens/ to be equivalent, and is therefore 
frequently used by advanced users because it requires less typing.


Post a reply to this message

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