POV-Ray : Newsgroups : povray.text.tutorials : ARRAYS: More possibilities then the manual tells us : Re: ARRAYS: More possibilities then the manual tells us Server Time
18 Apr 2024 15:42:32 EDT (-0400)
  Re: ARRAYS: More possibilities then the manual tells us  
From: Steve Shelby
Date: 24 Sep 2003 10:45:01
Message: <web.3f71acc72793170fbea25d220@news.povray.org>
Jaap Frank wrote:
>Hi,
>
>this is a small explanation of advanced use of arrays.
>In the manual you will find several limitations in using
>arrays, but you can circumvent this.
>
Jaap,
Can this method be used to transform an array over time, that is add a clock
value ot an array? For example, I have a spline defined by an array:
#declare MySpline = create_spline (array [6] {<-2, .6, 0>,<-1.2, .6,
0>,<-.4,-.6,0>,<.4,-.6,0>,<1.2,.6,0>,<2,.6,0>}
Say I want to transform the spline in an animation to this:
#declare MySpline = create_spline (array [6] {<-2, .1, 0>,<-1.2, .1,
0>,<-.4,-.0,0>,<.4,-.0,0>,<-1.2,0,0>,<2,0,0>}
Can that be done?
Thank you,
Steve Shelby
she### [at] earthlinknet


Post a reply to this message

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