There is a library for "geometric design" called G+Smo (gismo). It handles the so called "splines", like B-Splines and NURBS.
I have written a very simple app that creates an Ogre ManualObject form a THB-Spline.
https://github.com/andre-caldas/minimal_ogre
I also used it to test my SDL3 Ogre implementation. So, unfortunately, it only works with my Ogre branch:
https://github.com/andre-caldas/ogre/tr ... NativeType
(I will make another post about it)
Anyway, I was just practicing how to create a ManualObject. This was my first working Ogre app. I don't really know how to do much. I am working on a CAD software that will use G+Smo and Ogre for rendering. I don't know if the community has any interest.
I plan to, some day, properly implement ManualResourceLoader and LOD.
Also, if anyone can (or knows how to) make it look sexier... with materials, light sources, etc... any help is appreciated.
In my case, the window appears with zero size, so you have to resize it. And the controls you can use are:
- Arrows to move the object.
- WASD to rotate the object.