View Full Version : Evaluators and Splines Question....

05-07-2000, 09:36 PM
Don't know if this Q belongs here or in Advanced.

I need to know how to get actuall coordinates from a spline so I can make a camera (or an object) follow a spline path...

I am using the 1D spline example in the Red Book as my spline, (glEvalCoord()) and I just can't figure out how to get the coordinates out so I can put them into my gluLookAt function...

any help?


JDM http://www.opengl.org/discussion_boards/ubb/confused.gif

05-12-2000, 11:50 AM
Hm, if you have the spline equation there is nothing stoping you to generate any point on it, you just have to know how http://www.opengl.org/discussion_boards/ubb/biggrin.gif

Because I think this would be to much for this forum, just grab a good math book that covers bezier curves and surfaces.


LG http://www.opengl.org/discussion_boards/ubb/biggrin.gif