PDA

View Full Version : How to smoothly connect a number of points



ssyybbyy
02-20-2014, 12:47 PM
https://www.dropbox.com/s/8oe7j83ou2enqd4/points.png

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.

Dark Photon
02-20-2014, 05:26 PM
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.