Skip to main content

Crate voxquant_core

Crate voxquant_core 

Source
Expand description

Format-agnostic voxelization library

This provides only the core algorithms for describing and voxelizing scenes. The voxelizer needs an actual implementation for a voxel storage (VoxelStore) and it needs to be provided with a slice of scene to voxelize (SceneSlice) - the primary way of mutltithreading voxelization is voxelizing in slices of the scene in chunks, and then composing the data into a whole scene. For instance, MagicaVoxel requires chunks of 256^3 at most anyways, so that’s the perfect place to multithread the voxelization.

Built for the voxquant CLI, but they can be used anywhere. You can implement and use custom InputFormats and OutputFormats.

Modules§

geometry
Geometric primitives and basic math for voxelization.
scene
In-memory representation of the Scene.
voxelizer
Core voxelization algorithms and storage traits.

Structs§

VoxelizationConfig
Configuration required by the voxelizer.

Traits§

Format
Base trait for supported 3D file formats.
InputFormat
Base trait for supported input file formats.
OutputFormat
Base trait for supported output file formats.