|
![](/i/fill.gif) |
yet### [at] gmail com wrote:
> (I have tried following defination for spline points
> clock*50, <1.30*cos(2*pi*clock),0,2.60+1.3*sin(2*pi*clock)>
> But it doesn't work, what I expected.
This looks like it should work, but I think you are
confusing the clock value for the current render frame
with the time parameter for defining the entire
spline. You probably want something like
#declare N = 50;
#declare I = 0;
#while (I <= N)
#local T = I/COUNT;
T, <1.30*cos(2*pi*T),0,2.60+1.3*sin(2*pi*T)>
#declare N = N + 1;
#end
(And yes I know #local has no effect here but I still
like to use it to indicate it's local to the block.)
Post a reply to this message
|
![](/i/fill.gif) |