Hello, I was able to serialize my obj file using jBrush. I have loaded .ser file and yes it is really fast.
But I have some problems. Actually I was able to load a serialized 3d model which have only one texture file...
But I cannot load 3d model which has multiple textures images. Can you please tell me how can I do this?
But I have some problems. Actually I was able to load a serialized 3d model which have only one texture file...
Code Select
TextureManager tm = TextureManager.getInstance();
Texture texture = new Texture(BitmapHelper.rescale(BitmapHelper.convert(getResources().getDrawable(R.drawable.blueberry_bump)), 64, 64));
tm.addTexture("tex.png", texture);
......
model.setTexture("tex.png");
But I cannot load 3d model which has multiple textures images. Can you please tell me how can I do this?