View Full Version : Camera move along points defined

08-18-2003, 04:09 PM
I have done a program that can plot points in the 3d world using gluUnproject based on mouse click.a series of point have been genereated and rendered in to the opengl window, the problem is how could i make the camera move along the points created(the points then will make a line joining each other)

08-19-2003, 10:32 PM
Just use line geometry and follow the lines which the dots connect. Shouldn't be too hard. Then you can also set the speed according to the distance between each point so the speed is constant. A better way to make a good camera is to use bezier curves. Then you gets a smooth curved path. Just search for bezier curves on google. Good luck!