- Sort Posts
- 2 replies
- Last post
a question about load the texture file
June 27, 2012 - 8:12am #2
a question about load the texture file
June 27, 2012 - 7:25pm #1
Thanks your reply, my question is:
in ImageTarget.java
private void loadTextures()
{
mTextures.add(Texture.loadTextureFromApk("TextureTeapotBrass.png",
getAssets()));
mTextures.add(Texture.loadTextureFromApk("TextureTeapotBlue.png",
getAssets()));
mTextures.add(Texture.loadTextureFromApk("TextureTeapotRed.png",
getAssets()));
}
the TextureTeapotBrass.png is the texture for the Brass Teapot, my question is ,if there are several .png testure files for my 3D object, how could I load it?
Do you mean TGA files?
The basic steps for adding textures are ..