Create a 3D voxel file representing the whole UI. Export to a .qb file, as used as input by Qubicle, Goxel, and https://drububu.com/miscellaneous/voxelizer/ Use https://drububu.com/miscellaneous/voxelizer/ if you want to convert to a MagicaVoxel .vox Alternatively: https://github.com/mgerhardy/vengi Free the result with free(slice.ptr).
See Implementation
Create a 3D voxel file representing the whole UI. Export to a .qb file, as used as input by Qubicle, Goxel, and https://drububu.com/miscellaneous/voxelizer/ Use https://drububu.com/miscellaneous/voxelizer/ if you want to convert to a MagicaVoxel .vox Alternatively: https://github.com/mgerhardy/vengi Free the result with free(slice.ptr).