PDA

View Full Version : Drawing An Image with OpenGL ES



cmh0114
08-10-2010, 08:49 AM
I'm working with the Android phone, and I can't figure out how to draw an image (png format) onto the screen using OpenGL. It's not an image that's created within the program, but one that's been created with another program. Any tips?

Rosario Leonardi
08-11-2010, 06:01 AM
I'm not using Android but it should be the same
a-Load the image with the awesome libpng
b-use the data to create a texture
c-render the texture on a quad.

In witch part you need explanation?