www.jpct.net
jPCT-AE - a 3d engine for Android => Support => Topic started 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
-
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)
-
i want to add texture folder which has 40 textures for the model.
-
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.