| Crates.io | vss-rs |
| lib.rs | vss-rs |
| version | 0.1.2 |
| created_at | 2024-10-12 22:19:06.480596+00 |
| updated_at | 2024-10-15 18:51:42.133967+00 |
| description | Voxel storage system for rust ported from cpp. |
| homepage | https://github.com/cooukiez/vss-rs |
| repository | https://github.com/cooukiez/vss-rs |
| max_upload_size | |
| id | 1406923 |
| size | 27,683 |
A rust library for reading and writing voxel data and Sparse Voxel Octrees (SVO) ported from the C++ library vss. It also supports converting voxel data to svo but only cpu-sided.
u8 version @ 0x00;
u32 chunk_res @ 0x04;child_mask
u32 chunk_size @ 0x08;
bool run_length_encoded @ 0x0C;
bool morton_encoded @ 0x0D;
u8 data[<data_length>] @ 0x10;
Coming soon.
Each Voxel is an u8, which is a color index into the palette. Currently only 0 or 1 which indicates the voxel is either empty or filled.
u8 version @ 0x00;
u8 max_depth @ 0x04;
u32 root_res @ 0x08;
bool run_length_encoded @ 0x0C;
Coming soon.
first_child_index @ 0x00;
child_mask @ 0x03;
first_child_index: bits 0 -> 23
child_mask: bits 24 -> 31