Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Camera move along points defined

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2002
    Posts
    3

    Camera move along points defined

    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)

  2. #2
    Junior Member Regular Contributor
    Join Date
    Mar 2002
    Posts
    102

    Re: Camera move along points defined

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •