www.jpct.net
jPCT-AE - a 3d engine for Android => Support => Topic started by: mike_pu on May 28, 2012, 05:18:10 am
-
please tell me how can i support .ktx texture file. :D
-
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.
-
No support for ktx yet in android: http://code.google.com/p/android/issues/detail?id=31423
-
thank your's reply :)
-
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!)
-
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).