inalogic / pico-pixel-public

Public issue tracker for Pico Pixel http://pixelandpolygon.com
MIT License
7 stars 0 forks source link

KTX file cannot be opened #12

Open Sembiance opened 10 years ago

Sembiance commented 10 years ago

I have a KTX file that the latest version of Pico Pixel (0.6.4) cannot open. It says it's invalid.

The file can be found here: http://telparia.com/AmazonQueen0.ktx

jaytaoko commented 10 years ago

Hello! The texture you provided has been compressed with PVRTC. Pico Pixel doesn't support PVRTC just yet. However, support is being planned.

jaytaoko commented 10 years ago

Here is an update on the texture your provided.

pvrtc-ktx

I made the fixes so the next version Pico Pixel can display the texture. It will be released very soon.

The internal format of the texture is GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG but the file format is KTX. I would expect PVRTC texture to be in PVR file formats but it seems that Imagination's PVRTextTool can save PVRTC data inside KTX files. However it seems that Imagination does not completely follow the KTX file format. I had to make some adjustments...

Did you use PVRTexTool to create the texture or something else? Regards!

Sembiance commented 10 years ago

That's good progress and good news. This particular file isn't mine, it's a file I extracted from a game, so I'm not sure what tool created it.

jaytaoko commented 10 years ago

Pico Pixel 0.6.5 has been released and it has partial support for PVRTC in KTX files. Support will improve in future releases, but if you have more example of unsupported formats, you are welcome bring them up here so I can prioritize their support. Also available in 0.6.5 is the support for PVR files.

Regards!

MonkeyKingMKY commented 9 years ago

i don't know whether it is suitable to ask a quetion herer

qq 20150909184022

this file format it KTX, with the inner info of compression like this can't open with pico pixel.

don't know whether it will support it in the future.

ther version what i 'm using is 0.6.8 x86 windows version

it is a compression of GL_ATC_RGBA_EXPLICIT_ALPHA_AMD .

MonkeyKingMKY commented 9 years ago

Which seems a kind of format that can be opened only in Adreno Tool set..... and adreno texture tool have some problem with sizes.....