-
Maximum number of points in a path
Hi,
To create and animate a mathematical curve, I use an expression. It works well, but I need a fairly high number of points to make the path look smooth.
The curve is interrupted when I add more than 1200 points approximately. It is not so much if you need to build something complicated.Here is the code I use to test this :
myPoints = [] ;
lambda = 1 + time/5;
pi = Math.PI;
pas = 1;
init = -720;
fin = 720;
for (x = init; x <= fin; x = x + pas) {
xPoint = 200*pi*(x)/360 ;
yPoint = 200*Math.cos(pi*x/180*lambda);
nouveauPoint = [xPoint,yPoint];
myPoints.push( nouveauPoint ) ;
}
createPath(points = myPoints, inTangents = [], outTangents = [], is_closed = false);
I know I can smooth it and use less point using tangents but even so, I am surprised the limit is so low ( when I am used to build meshes in Blender with millions of vertices … ).
I am wrong ( as often … :o) ) ?
Thanks !
