-
Hi,
But the out.ktx doesn't seem to have multile layers (ktxinfo.exe report 0 layers). Is this a bug or I'm doing something wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
I've been debugging it. Looks like it's not even supported :( |
Beta Was this translation helpful? Give feedback.
-
Besides that, I was getting a crash while debugging. // Input file order is layer, faceSlice, level. This seems easier for
// a human to manage than the order in a KTX file. It keeps the
// base level images and their mip levels together.
level++;
levelWidth >>= 1;
levelHeight >>= 1;
levelDepth >>= 1;
if (level == levelCount) {
faceSlice++;
level = 0;
levelWidth = createInfo.baseWidth;
levelHeight = createInfo.baseHeight;
levelDepth = createInfo.baseDepth; // ADDED this line
if (faceSlice == (options.cubemap ? 6 : levelDepth)) {
faceSlice = 0;
layer++;
if (layer == options.layers) {
// We're done.
break;
}
}
} |
Beta Was this translation helpful? Give feedback.
-
I ran into this issue today, because I downloaded the release tagged |
Beta Was this translation helpful? Give feedback.
-
@bzm3r please use a pre-release version. Top of trunk (master) is ready for release. The holdup is getting a working signing certificate for signing the Windows installers. Any day now... |
Beta Was this translation helpful? Give feedback.
I've been debugging it.
Looks like it's not even supported :(
I think the tool should at least warn you, I wasted a lot of time with this.