Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: MagicaVoxel .vox / Minecraft .schematic format #63

Closed
inxomnyaa opened this issue Jan 8, 2022 · 4 comments
Closed

FR: MagicaVoxel .vox / Minecraft .schematic format #63

inxomnyaa opened this issue Jan 8, 2022 · 4 comments
Assignees
Labels
enhancement fixed a bug that was fixed

Comments

@inxomnyaa
Copy link

Would be nice to have this as an option for export

@inxomnyaa
Copy link
Author

Hmm, .schematic would also rock

@inxomnyaa inxomnyaa changed the title FR: MagicaVoxel .vox format FR: MagicaVoxel .vox / Minecraft .schematic format Jan 11, 2022
@Forceflow
Copy link
Owner

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 Forceflow self-assigned this Jan 13, 2022
@inxomnyaa
Copy link
Author

inxomnyaa commented Jan 13, 2022

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 ephtracy/voxel-model#19 (comment) 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

@Forceflow
Copy link
Owner

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

@Forceflow Forceflow added the fixed a bug that was fixed label Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement fixed a bug that was fixed
Projects
None yet
Development

No branches or pull requests

2 participants