heckj/voxels
A Swift library for storage, manipulation, export, and rendering of Voxel data.
References:
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
- associated code examples (python)
Copies of some of these articles and papers reside in refs.
benchmarking notes
1D Benchmarks:
swift package benchmark --target VoxelBenchmark
2D Benchmarks:
./scripts/rebuild_benchmarks.bash ./scripts/compare_benchmark.bash
Checking documentation
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
Package Metadata
Repository: heckj/voxels
Default branch: main
README: README.md