I want to change dynamically texture on 3d model.
I have one bottle 3d object and i want to change dynamically bottle lable.
code:
// Create a texture out of the icon...:-)
Texture texture = new Texture(BitmapHelper
.rescale(BitmapHelper.convert(getResources()
.getDrawable(R.drawable.icon)), 64, 64));
TextureManager.getInstance().addTexture("texture", texture);
I am changing cocacola lable to custom dynamically. Is there any way to possible in android.
Please help me.