android - how to load multi textured object in jpct-ae -


right can load 3d model single texture file using jpct-ae successfully.

cube = loadmodel(getassets().open("cube.3ds"), 1); texturemanager.getinstance().addtexture("texture.png", new texture(getassets().open("texture.png")));  cube.build(); world.addobject(cube); 

but have load complex 3d model car or house contains multiple texture files. 3d model , texture being downloaded server cant define textures. how can load 3d model multiple textures jpct-ae ??

the basics described here: loading models in jpct(-ae)

if can't load textures before model, can load model first, let loader assign placeholder textures correct names , load textures , replacetexture()-calls in texturemanager replace placeholders correct textures.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -