View Full Version : Displaying Bitmaps

06-18-2001, 12:58 AM
Please help me in displaying bitmaps through Open GL code. I am working on Linux and using C language. This bitmap has to be displayed on the screen.
Please keep it simple as i am new to it.
Thanks in advance.

06-18-2001, 03:32 AM
a) glDrawPixels
b) Texture mapping to a quad

a is easier, more effective and copes easily with any size of image, but is slow
b is a bit more complex (not too much) and is quicker, need to bodge it a little if you have non 2^n dimension images