Hi,
Is it not possible to use more than 10 control points for a bezier curve? I’m doing this:
const int numControlPoints = 10;
GLfloat controlPoints[numControlPoints][3];
glMap1f(GL_MAP1_VERTEX_3, 0.0, 1.0, 3, numControlPoints, &controlPoints[0][0]);
Don’t worry, my control points are being initialized before I do this. So, what happens is when numControlPoints goes greater than 10, just my control points appear, no lines.
Should I instead use more than one array and join them at one vertex?
Does anyone know how it is possible to get an angled edge? In Photoshop I know you can choose to either make a control point an angle, or a control point. I’m thinking of just using more than one spline, but i’m not quite sure how to do that.
Also, is it possible to get the function that opengl is using for the curve, so I can test for line intersections against it?
Thanks!
gabe
[This message has been edited by zimwy (edited 12-20-2003).]