A downloadable tool

Download NowName your own price

executable: Vox2Slice.exe

[V0.0.2] Auto Trim the border of Voxel by default. If you want to keep the margin, use the command "vox2slice ./a.vox -f"

[How]Drag the voxel file to the exe OR use command: vox2slice ./a.vox

Magicavoxel's vox file: MagicaVoxel (ephtracy.github.io)

To Slices:

And import in Fauxton 3D: Fauxton 3D by Gizmo199 (itch.io)


Build by your self.

source code: main.cpp  stb_image_write.h


Download

Download NowName your own price

Click download now to get access to the following files:

VOX2SLICE(V0.0.2).rar 2 MB

Comments

Log in with itch.io to leave a comment.

(+1)

What would the use case for this be

2.5d sprite stack.

(+1)

OH, I see. Perhaps a larger image of the sprite slices. And maybe a demonstration video or gif?

(1 edit)



I use it for fauxton3d https://gizmo199.itch.io/fauxton3d

You should use the magicavoxel to create the voxel model first ly 

Then generate the slice image by this tool.

Finally I use this in the Gamemakerstudio and I will update the tool and doc soon.


TKS

(+1)

I have experience creating voxel models and in Magika. I just haven't seen the slicing you are talking about with voxels personally. Either way, I will be keeping an eye on this.

(+1)

Right after I wrote that reply I came across https://omagerio.itch.io/sprite-stacking-viewer a fellow itch.io user. You two should team up.