Feature
An optional optimised version of the normal vox format which would use less disk space.
How
If i understand correctly, every voxels of a model are saved in the file. This is an easy way of doing it but not the most optimised.
I would suggest a "Group/*Chunk" saving technique. It would save not every voxels but chunk of voxels with the same property.
Ex : A cube with a side of voxel with pallet index 1 and the other with index 2.
Old : Every voxel would be saved.
New : 2 chunk whould be saved.
Format(xs, ys, zs, xe, ye, ze, index)
The first 6 values represents the start/end of the chunk bounds.
The last value represents the pallet index of the voxels inside that chunk.
Feature
An optional optimised version of the normal vox format which would use less disk space.
How
If i understand correctly, every voxels of a model are saved in the file. This is an easy way of doing it but not the most optimised.
I would suggest a "Group/*Chunk" saving technique. It would save not every voxels but chunk of voxels with the same property.
Ex : A cube with a side of voxel with pallet index 1 and the other with index 2.
Old : Every voxel would be saved.
New : 2 chunk whould be saved.
Format(xs, ys, zs, xe, ye, ze, index)
The first 6 values represents the start/end of the chunk bounds.
The last value represents the pallet index of the voxels inside that chunk.