|
![](/i/fill.gif) |
POV 3.5 RC5 icl on WinNT Sp 6 PII 233 with 128 MB
Following code not works with RC5. It worked with RC4.
#macro Time_To_Length_Converter(Spline,Min,Max,Accuracy)
#local Conversion=function{spline{
#local Last=Spline(Min);
#local Length=0;
#local C=Min;
#while (C<=Max)
#local C=min(C,Max);
#local Point=Spline(C);
#local Length=Length+vlength(Point-Last);
C , Length
#local C=C+Accuracy;
#end
}};
#end
#local S=spline{-1 x 0 y 1 z 2 0};
Time_To_Length_Converter(S,0,1,.001)
ABX
Post a reply to this message
|
![](/i/fill.gif) |