POV-Ray : Newsgroups : povray.general : Splines and Splines : Re: Splines and Splines Server Time
31 Jul 2024 02:30:59 EDT (-0400)
  Re: Splines and Splines  
From: Chris B
Date: 18 Jan 2008 07:02:03
Message: <4790953b$1@news.povray.org>
"Chris B" <nom### [at] nomailcom> wrote in message 
news:47909471$1@news.povray.org...
>

> Then you can use the array in either a spline definition:
>
> #declare MySpline = spline {
>  #local I = 0;
>  #while (I<5)
>    I, <MyPointArray[I].x,MyPointArray[I].x>

Whoops, that should read:
  I, MyPointArray[I]

>    #local I = I + 1;
>  #end
> }


Post a reply to this message

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