View Full Version : Camera move along points defined
08-18-2003, 04:11 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-18-2003, 04:29 PM
Assuming you know how to move the camera: you could interpolate the points with a cubic spline. You probably also want to control the camera orientation also. In this case you could use a quaternion spline.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.