www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: alakat on June 09, 2008, 09:54:07 pm

Title: Texture and MD2
Post by: alakat 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) (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

Title: Re: Texture and MD2
Post by: EgonOlsen on June 09, 2008, 10:12:51 pm
MD2 uses only one texture, which is why this question doesn't apply for loading MD2.
Title: Re: Texture and MD2
Post by: alakat on June 09, 2008, 10:48:46 pm
Thanks for your quick reply.