goxel
goxel copied to clipboard
Keeping model matrix structure after import/export of .QB format
I hope that at some point in the future Goxel can import each Qubicle matrix as separate layer and the other way around, export each layer to separate matrix while saving to QB format.
Thanks in advance!
This. This is extremely important in modding certain games such as Staxel. In some ways Goxel is already superior to Qubicle, but this is required as layers/matrices have meaning for Staxel so they need to be preserved.
Agreed. This is important. I think I will make it so that the qubicle matrices are imported as separated layers, and saved the same way.
OK I just pushed some changes to qubicle import/export, so that now we keep the matrices as layers. I haven't tested much yet.
I've done some tests with files that have 12-18 matrices. Loading and saving .qb files, while keeping layers/matrixes, works! :) Colors, structure and orientation seem to be fine so far. I will report if I will encounter any bugs.
Thank You, this one is a huge time saver!
How about size of the bounding box in case of matrices that have oversized bounding boxes with lots of empty space around? In case of certain items for Staxel (clothes/accessories), it matters for the size of the bounding boxes to be preserved even if actual voxel thing is just few voxels in size.
Yes that should be taken into account in the import/export, I'll add this. Actually, I am almost considering forcing all layers to have a bounding box, even a very large one, to avoid confusion.
Yes, that would be a good thing. I mean, Qubicle does that for matrices and no one is complaining. BTW. Does Goxel compress exported QBs? Some voxel programs I know of don't do that so I want to know.
For the moment goxel doesn't use compression in the QB export. Would be nice to have this as an option.