ephtracy / voxel-model

1.22k stars 409 forks source link

Ammend VOX file format to include optional section for arbitrary metadata #30

Open BenMcLean opened 5 years ago

BenMcLean commented 5 years ago

This is somewhat related to #10 but also seemed different enough to merit its own thread.

In working on the voxel rendering library https://github.com/tommyettinger/WarpWriter with @tommyettinger, I have run into the problem of needing to include metadata about voxel models in the file format, such as connection points between voxel models intended for use in skeletal animation and for constructing procedurally generated voxel models from parts. At least for now, the plan is to include the metadata in a separate JSON file for each model, but it would be ideal to be able to include data like this within the actual .VOX files.

If we try to add such a section, MagicalVoxel strips it out if we ever edit the model in MagicalVoxel again. All MagicalVoxel would have to change is to stop doing that.

Fydar commented 4 years ago

Similar issue #25.

bztsrc commented 3 years ago

Since you got no response for about 2 years, maybe take a look at Model3D, it can save voxel images with skeletal animation, and can store additional information too. Single header C/C++ library (stb-style) easy to integrate, MIT licensed. Command line converter for VOX files also included.

Cheers, bzt