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: 24 Jul 2008 13:08:15 GMT
  Re: ARRAYS: More possibilities then the manual tells us  
From: Steve Shelby
Date: 24 Sep 2003 14:45:01
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
shelbyvision [at] earthlinknet


Post a reply to this message

Copyright 1991-2004 POV-Team™