|
|
On 02/09/2024 13:43, Alain Martel wrote:
> You need to scale your spheres when they are at <0,0,0> then translate
> them to the desired location.
>
> Use this instead :
> // Spheres
> #local len = dimension_size(VertexVectors,1) - 1;
> #for (i, 0, len)
> sphere { 0, 0.04 scale y * 1.2 // No longer move
> texture { pigment {rgb <0.1, 0.3, 0.1>} }
>
> translate VertexVectors[i]
> }
Many thanks for elegant solution !
--
YB
Post a reply to this message
|
|