After search and read a lot of articles to try understand how splines can be computed, I finally got some time to try code an algorithm (in truth port a code i found) to create the b-spline curve (NURBS) using the CV method (Control Vertice):
![Click to view image](https://upload.wikimedia.org/wikipedia/commons/thumb/8/81/NURBstatic.svg/250px-NURBstatic.svg.png)
![[Image: lines-styles.png]](https://s25.postimg.cc/n1akn47pr/lines-styles.png)
I just noticed there is still a small bug since the first segment (starting from left side) doesn't connect to the first vertex (or control vertex).
Working on Bezier curve now.
![Click to view image](https://upload.wikimedia.org/wikipedia/commons/thumb/8/81/NURBstatic.svg/250px-NURBstatic.svg.png)
![[Image: lines-styles.png]](https://s25.postimg.cc/n1akn47pr/lines-styles.png)
I just noticed there is still a small bug since the first segment (starting from left side) doesn't connect to the first vertex (or control vertex).
Working on Bezier curve now.
![Smile Smile](https://www.wings3d.com/forum/images/smilies/smile.png)