ktx texture file

Started by mike_pu, May 28, 2012, 05:18:10 AM

Previous topic - Next topic

mike_pu

please tell me how can i support .ktx texture file. :D

EgonOlsen

What's ktx? jPCT-AE supports every file format that Android's Java implementation supports plus everything that can be converted/transformed into a Bitmap or a Drawable. If you can do that with your ktx-format (whatever it is, i can't be bothered to look it up ATM), you can use it.


mike_pu


arianaa30

By the way King! :),
I've got many .md2 files, but they are all accompanied with .pcx texture files. And I get error for them; they are not supported as well? (.3ds objects are formed as an array; that's why I'm interested in .md2!)

EgonOlsen

Quote from: arianaa30 on June 08, 2012, 01:35:50 AM
By the way King! :),
I've got many .md2 files, but they are all accompanied with .pcx texture files. And I get error for them; they are not supported as well? (.3ds objects are formed as an array; that's why I'm interested in .md2!)
PCX is an ancient, paletted format. It already was ancient when they deciced to use it for md2. Java doesn't support PCX. However, you can load the textures with any image tool/converter that can load PCX (which should be a lot) and save it as png or jpg. You might have to flip the image in addition (depends on the model).