I have been experimenting with mapping an animated sprite onto a quad and today I finally got it working. One irritation is that my sprite starts out sharp and then gets more and more blurry and weird over time.
http://imgur.com/jhUtS.jpg
Any ideas? I am using source from the NeHe android series tutorial 6 as the basis for this project...
Here are the settings I am using to render my textured Quad:
Using java Syntax Highlighting
- gl.glEnable(GL10.GL_TEXTURE_2D); //Enable Texture Mapping ( NEW )
- gl.glShadeModel(GL10.GL_SMOOTH); //Enable Smooth Shading
- gl.glClearColor(1.0f, 1.0f, 0.0f, 0.0f); //Yellow Background
- gl.glClearDepthf(1.0f); //Depth Buffer Setup
- gl.glEnable(GL10.GL_DEPTH_TEST); //Enables Depth Testing
- gl.glDepthFunc(GL10.GL_LEQUAL); //The Type Of Depth Testing To Do
- gl.glBlendFunc(GL10.GL_SRC_ALPHA, GL10.GL_ONE_MINUS_SRC_ALPHA); //enable transparency
- gl.glEnable(GL10.GL_BLEND); //enable transparency blending
Parsed in 0.033 seconds, using GeSHi 1.0.8.4

