Export every slice of arrays and volumes; map the 1-byte volume mip chain #289
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/holdmysocks--SixNG!289
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/289/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@holdmysocks on GitHub · 2026-11-25 15:28 UTC · original
holdmysocks:six-array-slices→master· +182 −28 · 4 files · 2 commits · merged 2026-11-25 16:21 UTCTexture export now writes every slice of uncompressed arrays and volumes instead of slice 0 only. The one volume with mips decodes with its full chain.
Every slice
slices_linearreturns[mip][slice]for uncompressed textures with depth > 1.TEXTURE3D), with all slices. Single-slice DDS output is byte-identical to before.<name>_slices.pngstacks the slices top to bottom.<name>.pngstays slice 0.Volume mip chain (1-byte)
Layout::new_3d_mipsmaps chains only for 1-byte elements and up to 4 tail mips, the one measured case. Others still returnNone.Checked with
cargo check --workspace --all-targetsandcargo test -p sixng-core -p sixng-gui --release.