Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
www.jpct.net
»
jPCT-AE - a 3d engine for Android
»
Support
»
How to i load texture folder for obj
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: How to i load texture folder for obj (Read 1977 times)
penprakash
byte
Posts: 26
How to i load texture folder for obj
«
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
Logged
EgonOlsen
Administrator
quad
Posts: 12297
Re: How to i load texture folder for obj
«
Reply #1 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
Logged
penprakash
byte
Posts: 26
Re: How to i load texture folder for obj
«
Reply #2 on:
April 05, 2013, 03:34:15 pm »
i want to add texture folder which has 40 textures for the model.
Logged
EgonOlsen
Administrator
quad
Posts: 12297
Re: How to i load texture folder for obj
«
Reply #3 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.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
www.jpct.net
»
jPCT-AE - a 3d engine for Android
»
Support
»
How to i load texture folder for obj