Hi,
I have an openGL question:
Code:
const int numControlPoints = 10;
GLfloat controlPoints[10][3];
glMap1f(GL_MAP1_VERTEX_3, 0.0, 1.0, 3, numControlPoints, &controlPoints[0][0]);
This is all for using Bezier Splines. So, I have two questions. 1) If I make the number of control points greater than 10, I get no line. I have no idea why. I've read the "Red Book" and can't figure it out. 2) Is there a way to get information about the curve that it's displaying? For instance, a combination of sin waves that makes the curve?
thanks!
gabe