PDA

View Full Version : images and OpenGl



07-13-2000, 12:29 PM
hello everyone
i am new to opengl. i would like to know how to read an image(.bmp file) into a program. i have downloaded GLUT and FLTK. plese tell me how to do it in either of the above.
thanx

phlake
07-13-2000, 12:31 PM
see NeHe's site.

http://nehe.gamedev.net/

in his tutorials, he loads .bmp's. specifically, look at lesson 6:

http://nehe.gamedev.net/tutorials/lesson06.asp

personally, i use SGI-format images for cross-platform stuff. but since i first played with opengl on sgi's... i suppose that's only natural. =)

[This message has been edited by phlake (edited 07-13-2000).]