/numpy-vox-io

Python module for parsing and writing MagicaVoxel vox files using numpy

Primary LanguagePython

numpy-vox-io

Fork history:

This fork is intended to support features required for the briqNFT builder frontend.

Changelist:

  • Python support changed to 3.8+ for typing hints.
  • Added support for Writing MATL chunks, fixed an issue related to palette overflow.

Current status: Updated for Magicavoxel 0.99.6.4 (Released September 5, 2021). Reading materials is still unsupported. For more info see alexhunsley#4

A Python parser and writer for the Magica Voxel .vox format

sample1 sample2

The base parser/writer has no dependencies.

The VOX model class has methods to convert to/from numpy arrays, these require numpy (duh) and pillow for image quantisation.