-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I'm trying to extract individual images from the sample environment KTX2 files, but they all fail validation checks:
KTX-Software-main/build/ktx info glTF-Sample-Environments-main/field/lambertian/diffuse.ktx2
Validation failed
error-6001: Mismatching dfdTotalSize and dfdByteLength. dfdTotalSize must match dfdByteLength.
dfdTotalSize is 28 but dfdByteLength is 0 and they must match.
error-6015: Invalid colorModel in basic DFD block for RGB VkFormat.
DFD block #1 colorModel in basic DFD block is KHR_DF_MODEL_UNSPECIFIED but for VkFormat VK_FORMAT_R16G16B16A16_SFLOAT it must be KHR_DF_MODEL_RGBSDA.
error-6025: Invalid sample count in basic DFD block. The sample count must match the expected sample count of the VkFormat.
DFD block #1 sample count in basic DFD block is 0 but for VkFormat VK_FORMAT_R16G16B16A16_SFLOAT it must be 4.
error-6021: Invalid bytesPlanes in basic DFD block. The values do not match the expected values.
DFD block #1 bytesPlanes in basic DFD block are 0 0 0 0 0 0 0 0 but for VK_FORMAT_R16G16B16A16_SFLOAT textures these must be 8 0 0 0 0 0 0 0.
I assume this is because the ktx tool is much more recent than the ktx2 files. I tried checking out a much older version of the KTX-Software, but the older versions don't seem to have a tool for image extraction from ktx2. Any advice on how to make this work?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels