How to i load texture folder for obj

Started by penprakash, April 05, 2013, 02:20:32 PM

Previous topic - Next topic

penprakash

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

EgonOlsen

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

penprakash

i want to add texture folder which has 40 textures for the model.

EgonOlsen

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.