PDA

View Full Version : OpenGl and Images!!



pran1
02-26-2004, 02:47 AM
Hi, I am trying to read in .BMP image in opengl and trying to assign it to the buffers. I know you cannot read or write with opengl is there anyways I can read the image and assign it to the buffers.
Thanks for you time and help

cheers
pran

Honk
02-26-2004, 03:25 AM
http://nehe.gamedev.net/

princeoflightning
02-26-2004, 04:52 AM
Opengl Superbible by Richard Wright and Michael Sweet has the code.