Crates.io | gobs |
lib.rs | gobs |
version | 0.2.0 |
source | src |
created_at | 2020-04-13 10:10:20.166607 |
updated_at | 2021-01-05 04:53:29.798083 |
description | A port of some parts of PolyVox from C++ to Rust |
homepage | https://github.com/dparnell/gobs |
repository | https://github.com/dparnell/gobs |
max_upload_size | |
id | 229647 |
size | 177,257 |
This is a port of parts of the C++ PolyVox library to Rust
Given a volume of voxels it produces an optimised mesh for rendering with anything that can draw triangles in 3d. This library does not do any rendering itself, that part is up to you.
The library also includes a command line tool to transform vox files into a JSON representation of the polygons needed to render the models contained in the vox file.
Yes! Run one of the examples:
cargo run --example simple
lights up a small group of voxels and renders them in 3d
cargo run --example model
renders an example vox file exported from MagicaVoxel