|
![](/i/fill.gif) |
Chrisir wrote:
I think it's easiest to use a type other than cubic_spline
something like:
#macro U_Spline ( Start, Height, End )
spline {
natural_spline
0/2 Start
1/2 ((End-Start)/2)+<0,Height,0>
2/2 End
}
#end
//usage
#local Myspline = U_Spline ( <0,0,0>, 3, <2,1,1> );
#local Grain=30;
#local I=0;#while(I<Grain)
sphere { 0, .1
pigment { rgb <1,0,1> }
finish { ambient 1 }
translate Myspline(I/Grain)
}
#local I=I+1;#end
Post a reply to this message
|
![](/i/fill.gif) |