views:

1121

answers:

3

Hi guys

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

A: 

Check out Apple's ImageProcessing sample.

mahboudz
+3  A: 

I've been referring to this: http://iphonedevelopment.blogspot.com/2009/05/opengl-es-from-ground-up-part-6_25.html

Winder