POV-Ray : Newsgroups : povray.advanced-users : Location changing while scaling : Re: Location changing while scaling Server Time
13 Oct 2024 18:06:17 EDT (-0400)
  Re: Location changing while scaling  
From: yesbird
Date: 2 Sep 2024 07:06:34
Message: <66d59c3a$1@news.povray.org>
On 02/09/2024 13:48, ingo wrote:
> You should create and scale the sphere at the origin and then move it to the
> mesh vertex vector.
> 
> 
> // Spheres
> #local len = dimension_size(VertexVectors,1) - 1;
> #for (i, 0, len)
>     sphere { <0,0,0>, 0.04
>              texture { pigment {rgb <0.1, 0.3, 0.1>} }
>              scale y * 1.2 // Why they moves ?
>              translate VertexVectors[i]
>    }

Thanks a lot, now it works fine !
--
YB


Post a reply to this message

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