cuda_voxelizer icon indicating copy to clipboard operation
cuda_voxelizer copied to clipboard

FR: MagicaVoxel .vox / Minecraft .schematic format

Open inxomnyaa opened this issue 2 years ago • 3 comments

Would be nice to have this as an option for export

inxomnyaa avatar Jan 08 '22 20:01 inxomnyaa

Hmm, .schematic would also rock

inxomnyaa avatar Jan 11 '22 12:01 inxomnyaa

Yeah, I'm looking at the following exporters:

https://github.com/aiekick/MagicaVoxel_File_Writer https://github.com/jpaver/opengametools/blob/master/src/ogt_vox.h https://github.com/Zarbuz/FileToVox

If you got any other libraries worth checking out, let me know.

Forceflow avatar Jan 13 '22 11:01 Forceflow

Original docs: https://github.com/ephtracy/voxel-model/blob/master/MagicaVoxel-file-format-vox.txt, Here is some well documented comment that shows some missing structures https://github.com/ephtracy/voxel-model/issues/19#issuecomment-392849751 and https://github.com/alexhunsley/numpy-vox-io maybe, it is sadly not working anymore though because the author has not updated the format yet. Over the last days i stumbled upon quite much of the .vox code, so much that i can barely see it anymore 😅

I actually used the FileToVox repo's MeshSampler to convert stuff so far, which yields quite good results in my case image

inxomnyaa avatar Jan 13 '22 11:01 inxomnyaa

Implemented in the latest release. Thanks for bringing this to my attention. Will add more functionality (color sampling, gradients) in the future.

Forceflow avatar Sep 28 '22 10:09 Forceflow