Hi all,
I have started learning OpenGL ES and would like to use it as an alternative to a canvas in my game to improve the frame rates.
I am unsure about how to make a framework for OpenGL ES though and how to load a texture and draw it.
Does anyone have a very basic example that shows this?
I have 3 classes for the framework so far, one is the Activity to setup the GLSurfaceView, another is the class that extends the GLSurfaceView, and the third is the renderer.
So with this I have drawn a basic triangle to show it works.
What I need now is a bit of code to load a texture and set it up and then a bit more code to show how to draw the texture?
I found Chris Pruetts Sprite Method test code but that is too advanced for me yet because I dont know what half of the Open GL calls are doing so I really need something basic.
Thanks
K



