dust-engine / dot_vox

Rust parser for MagicaVoxel .vox files.
MIT License
51 stars 20 forks source link

Add palette information to DotVoxData #1

Closed davidedmonds closed 7 years ago

davidedmonds commented 8 years ago

A .vox file can contain a custom palette. If it does not, then a default palette (https://github.com/ephtracy/voxel-model/blob/master/MagicaVoxel-file-format-vox.txt#L97) should be used.

The parser should supply the appropriate palette as part of DotVoxData.