Results 1 to 3 of 3

Thread: NURBS

  1. #1


    I'm learning to draw B-splines curves. So right now I have 5 points and a curve connecting the two endpoints. But what I really wanted was for the curve to go through all the control points. So does that mean I need to draw many segments of curves so that each point I want the curve to go through must be the endpoints of a curve segment? I'm using gluNurbCurve.

    Thank you!

  2. #2
    Senior Member OpenGL Pro
    Join Date
    May 2001

    Re: NURBS

    Hi !

    The spline will not go through the control points, you can't do that, if you do want to have the spline go through the control points you must interpolate the curve, OpenGL does not have support for this so you need to use a spline/nurb library that can handle this or create the code yourself, take a look at for example GUL on sourceforge (I think the name has changed, but search on nurb and you should find it).


  3. #3

    Re: NURBS

    So what I'm trying to do is given a bunch of points, I want to draw curves across them to create a music visualization kinda drawing. What would be the best way to do that using openGL? I don't have to use NURBS or whatever.

Similar Threads

  1. Last one on nurbs... sweeping a nurbs curve to draw a nurbs surface?
    By BigShooter in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 11-04-2003, 09:54 AM
  2. NURBS
    By J_Ramone in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 04-23-2002, 09:48 PM
  3. NURBS help
    By in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 08-25-2001, 12:49 PM
  4. D-NURBS
    By in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 12-29-2000, 11:46 AM
  5. NURBS
    By kkher in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 12-20-2000, 05:39 AM

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