https://github.com/miho/jsurfacenets
Isosurface extraction & CSG based on SurfaceNets
https://github.com/miho/jsurfacenets
Last synced: 9 months ago
JSON representation
Isosurface extraction & CSG based on SurfaceNets
- Host: GitHub
- URL: https://github.com/miho/jsurfacenets
- Owner: miho
- Created: 2015-03-12T16:38:42.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-12T19:30:26.000Z (almost 11 years ago)
- Last Synced: 2025-02-15T21:20:06.070Z (11 months ago)
- Language: Java
- Size: 184 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JSurfaceNets
Isosurface extraction & CSG based on SurfaceNets
Based on the slightly scary-looking, compact and efficient JavaScript implementation by Mikola Lysenko which is based on: S.F. Gibson, "Constrained Elastic Surface Nets". (1998) MERL Tech Report. The only difference to the method described in the paper is that this algorithms chooses the average point of the edge-crossing points on the surface as cell coordinate for the quad-mesh generation.
This works surprisingly well! For many cases this algorithm is a good substitute for the marching cubes algorithm. This implementation can also be used to create more intelligent dual methods by replacing the "average point" code.
In addition this implementation comes with simple CSG support (union, difference and intersection). Meshes can be saved as *.obj-File.