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: How to smoothly connect a number of points

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2014
    Posts
    11

    How to smoothly connect a number of points



    Hello every body,

    I have uploaded a picture of a number of points to the following link:

    Hello every body,

    https://www.dropbox.com/s/8oe7j83ou2enqd4/points.png


    I need to connect the points smoothly, there should not be any sharp corners. Could any one tell me how that can be done?

    Thanks in advance.

  2. #2
    Senior Member OpenGL Guru Dark Photon's Avatar
    Join Date
    Oct 2004
    Location
    Druidia
    Posts
    3,190
    Websearch Bezier curves. If you're still using the ol' fixed-function pipeline, there's allegedly some Bezier and NURBS curve code in the GLU library (never used it myself). But if you're not, look for a library or roll your own.

Posting Permissions

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