How is it possible to display an image file like JPG, PNG, GIF in openGL? I am trying to apply following approach without success
- With the use of DEVil (OpenIL) “ILboolean ilLoadImage(const char *FileName)” function which is supposed to load various types of images. I don’t know where it loads the image data, how to use glDrawPixel to draw the image.
is there any other way to display image file with openGL?