Results 1 to 2 of 2

Thread: Evaluators and Splines Question....

  1. #1
    JMaynard
    Guest

    Evaluators and Splines Question....

    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?

    Thanks,

    JDM

  2. #2
    Senior Member Regular Contributor
    Join Date
    Mar 2000
    Location
    Germany
    Posts
    183

    Re: Evaluators and Splines Question....

    Hm, if you have the spline equation there is nothing stoping you to generate any point on it, you just have to know how

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

    Regards,

    LG

Similar Threads

  1. noob question: want to use splines to draw a gear
    By newsb in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 12-29-2011, 12:44 PM
  2. Splines and VBO ?
    By Loicus in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 11-27-2011, 04:16 PM
  3. splines
    By in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 03-26-2003, 11:15 PM
  4. splines
    By chas in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 03-05-2002, 05:37 AM
  5. TCB-Splines
    By 2 in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 04-10-2001, 01:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean