www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: penprakash on April 05, 2013, 02:20:32 pm

Title: How to i load texture folder for obj
Post by: penprakash on April 05, 2013, 02:20:32 pm
Hi,

 I'm using vuforia+jpct, i want to load obj file which has material defined in mtl file, materials are in textures folder in sdcard. How do i load texture when i load obj?

Prakash V
Title: Re: How to i load texture folder for obj
Post by: EgonOlsen on April 05, 2013, 02:22:11 pm
You have to load them before loading the model and assign the proper names to them when adding them to the TextureManager: http://www.jpct.net/wiki/index.php/Loading_models (http://www.jpct.net/wiki/index.php/Loading_models)
Title: Re: How to i load texture folder for obj
Post by: penprakash on April 05, 2013, 03:34:15 pm
i want to add texture folder which has 40 textures for the model.
Title: Re: How to i load texture folder for obj
Post by: EgonOlsen on April 06, 2013, 08:48:10 am
And your question is....? You have to load the textures somehow. If you have 40 textures (which sounds too much for a mobile device anyway...), you have to load them all in any way you prefer.