DDS: 3D image data contains only the first image
Opened this issue · 1 comments
kristiker commented
Image file: tests/Pfim.Tests/data/TestVolume_Noise3D.dds
, loaded with Pfimage.FromFile(ddsFile, new PfimConfig(decompress: false))
gives you access to the first depth layer only. The texture is 64x64x64(x4), but image.Data.Length
is 64x64(x4). Note that I am not trying to decompress the DDS.
I'm not too bothered by this. Mostly noting the issue down.
nickbabcock commented
Nicely found. You're right that mipmaps aren't considered when decompression is skipped. I think it should be able to be supported via the same MipMaps
API that is currently exposed