|
![](/i/fill.gif) |
Veggiet wrote:
> This doesn't(work):
> #declare myspline = spline { bezier_spline <<<<< THIS IS WRONG <<<<<
SPLINE USES ONLY THESE TYPES:
linear_spline | quadratic_spline | cubic_spline | natural_spline
Spline uses some different types than prism or sphere_sweep
> #macro an8_position_spline(vector_array)
> //vector_array should be a two dimensional vector array [n][4] or [0 to n-1,
> 0 - 3]
> //the array takes the form of an8's "pointkey"
> // <frame,frame,frame>, <location_vector>, <curve_point1>, <curve_point2>
> // the first vector in each set could be modified to include the type of the
> point.
> #if (dimensions(vector_array)>1)
> #debug str(dimension_size(vector_array, 1)-1,3,1)
Lets look at:
> spline { natural_spline <<OK
> vector_array[0][0].x, This is where I get the error
I've played around this for a while and found that SPLINE just doesn't
like
a two dimention array used this way.
if you use: #declare A=vector_array[0][0].x;
then use A as the float it'll work
Have Fun!
Post a reply to this message
|
![](/i/fill.gif) |