Crates.io | mesh_to_vox |
lib.rs | mesh_to_vox |
version | 0.1.1 |
source | src |
created_at | 2024-05-18 07:57:57.8776 |
updated_at | 2024-05-18 08:04:37.538243 |
description | A program to convert triangle meshes to voxels. |
homepage | |
repository | https://github.com/noahbadoa/MeshToVox |
max_upload_size | |
id | 1244142 |
size | 576,468 |
A Command line ultility to convert triangle meshes into voxels.
Program Arguments:
* --f string <input path>
: (required) Supported Formats : glb/gltf
* --o string <output path>
: (required) Supported Formats : .gltf, .vox
* --dim int <size of voxel grid>
: (default: 1022)
* --timer bool
: (default: false) Outputs profiling imformation
* --sparse bool
: (default: true) Removes non visible voxel faces ie inside of a sphere. Compatible with all meshes. Ignored for vox file format. Significantly reduces file size but takes more time and memory.
Cargo is requried for installation.
You can either install with cargo install mesh_to_vox
. Or clone the repo and run with cargo run --release -- (your argument)
cargo install mesh_to_vox; mesh_to_vox --f data/original/person.glb --o data/test_gltf/test.gltf --dim 2048 --sparse true