A Swift library for storage, manipulation, export, and rendering of Voxel data.
The general term of art for all this is "isosurface extraction"
Fast Surface Nets
- Related code: https://github.com/bonsairobo/fast-surface-nets-rs/
- Article on Surface Nets
- Dual Contouring with Hermite Data research paper
- Dual Contouring Tutorial
Copies of some of these articles and papers reside in refs.
1D Benchmarks:
swift package benchmark --target VoxelBenchmark
2D Benchmarks:
./scripts/rebuild_benchmarks.bash
./scripts/compare_benchmark.bash
build and check for errors or warnings:
swift package generate-documentation --analyze --warnings-as-errors
preview the documentation
swift package --disable-sandbox preview-documentation --target Voxels