Author Topic: Texture and MD2  (Read 2206 times)

Offline alakat

  • byte
  • *
  • Posts: 9
    • View Profile
Texture and MD2
« on: June 09, 2008, 09:54:07 pm »

hi all
i have just read in Loader javadoc http://www.jpct.net/doc/com/threed/jpct/Loader.html#loadMD2(java.lang.String,%20float) that if i load an md2 file, and in this model  two (or more) mesh with textures have been created, these textures are not loaded. is that true?

If it is true, when i load an md2 file using loadMD2 method i supposedly get one only Object3D (not an array like in the rest of loadXXX methods) how could i set different textures to each mesh?

Thanks very much


Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11970
    • View Profile
    • http://www.jpct.net
Re: Texture and MD2
« Reply #1 on: June 09, 2008, 10:12:51 pm »
MD2 uses only one texture, which is why this question doesn't apply for loading MD2.

Offline alakat

  • byte
  • *
  • Posts: 9
    • View Profile
Re: Texture and MD2
« Reply #2 on: June 09, 2008, 10:48:46 pm »
Thanks for your quick reply.