He pointed me to this source http://paulbourke.net/geometry/polygonise/
So i tested my freebasic skills and made this from it.
With the help of the nice openB3D lib it was not so hard.
http://ac1.servegame.com:88/Screens/Screenshot05.png
http://ac1.servegame.com:88/Screens/Screenshot06.png
Code: Select all
http://ac1.servegame.com:88/download/MarchingCubesBeta.zip
Things to do
- Improve is light smoothing at vertex points
- Marching Cubes special case check.
- Add detail resolution option
- Optimize speed