Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heckj/voxels
A Swift library for storage, manipulation, export, and rendering of Voxel data.
https://github.com/heckj/voxels
heightmap swift voxel
Last synced: 19 days ago
JSON representation
A Swift library for storage, manipulation, export, and rendering of Voxel data.
- Host: GitHub
- URL: https://github.com/heckj/voxels
- Owner: heckj
- License: mit
- Created: 2024-07-22T22:52:36.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-10-27T00:13:40.000Z (19 days ago)
- Last Synced: 2024-10-27T01:17:59.897Z (19 days ago)
- Topics: heightmap, swift, voxel
- Language: Swift
- Homepage: https://swiftpackageindex.com/heckj/Voxels/documentation/voxels
- Size: 34 MB
- Stars: 13
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Voxels
A Swift library for storage, manipulation, export, and rendering of Voxel data.
- [API documentation](https://swiftpackageindex.com/heckj/Voxels/documentation/voxels)
## 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](https://bonsairobo.medium.com/smooth-voxel-mapping-a-technical-deep-dive-on-real-time-surface-nets-and-texturing-ef06d0f8ca14)
- [Dual Contouring with Hermite Data research paper](https://www.cse.wustl.edu/~taoju/research/dualContour.pdf)
- [Dual Contouring Tutorial](https://www.boristhebrave.com/2018/04/15/dual-contouring-tutorial/)
- [associated code examples (python)](https://github.com/BorisTheBrave/mc-dc/tree/master)Copies of some of these articles and papers reside in [refs](refs/).
## benchmarking notes
1D Benchmarks:
swift package benchmark --target VoxelBenchmark
2D Benchmarks:
./scripts/rebuild_benchmarks.bash
./scripts/compare_benchmark.bash
- [benchmark results](https://github.com/heckj/Voxels/blob/main/Benchmarks/Results.md)