Basic 2D Texture Howto for iPhone OpenGL ES
Question
Just started learning OpenGL and couldn't find a decent tutorial to get me going. Specifically, I'm looking for something that will show me how to load an image to an OpenGL texture, store it in a variable to display later, and then draw the image.
I'd appreciate it if someone could write out the basic code to do that for me. If I may ask that you would also separate the code for loading and drawing and also comment thoroughly as to whats going on.
Much obliged
Solution
I've been referring to this: http://iphonedevelopment.blogspot.com/2009/05/opengl-es-from-ground-up-part-6_25.html
OTHER TIPS
Check out Apple's ImageProcessing sample.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow