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

Was it helpful?

OTHER TIPS

Check out Apple's ImageProcessing sample.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top