Author Topic: ktx texture file  (Read 2288 times)

Offline mike_pu

  • byte
  • *
  • Posts: 6
    • View Profile
ktx texture file
« on: May 28, 2012, 05:18:10 am »
please tell me how can i support .ktx texture file. :D

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11776
    • View Profile
    • http://www.jpct.net
Re: ktx texture file
« Reply #1 on: May 28, 2012, 08:58:50 pm »
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.

Offline zammbi

  • float
  • ****
  • Posts: 360
    • View Profile
Re: ktx texture file
« Reply #2 on: May 29, 2012, 02:12:28 am »

Offline mike_pu

  • byte
  • *
  • Posts: 6
    • View Profile
Re: ktx texture file
« Reply #3 on: May 30, 2012, 03:56:39 am »
thank your's reply :)

Offline arianaa30

  • byte
  • *
  • Posts: 44
    • View Profile
Re: ktx texture file
« Reply #4 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!)

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11776
    • View Profile
    • http://www.jpct.net
Re: ktx texture file
« Reply #5 on: June 08, 2012, 08:06:10 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).