PDA

View Full Version : real newbie loading image question



lepp
06-16-2002, 03:08 AM
I am taking a computer graphics class. There is a project where the professor supplies images. I need to use glut to create a window and handle events. This part was easy. I now need to take the images and display them on the screen and move/manipulate them. This needs to be done on a Solaris platform. I am a complete OpenGL newbie and do not know where to start as far as the loading images is concerned. Any help would be greatly appreciated. The prof said that we can convert the images into whatever image we need.

zen
06-16-2002, 04:25 AM
There are tutorials at nehe.gamedev.net for loading tga and bmp files.bmp is simpler, tga is better,take your pick.

dabeav
06-16-2002, 05:30 AM
go to imagelib.org, and get yourself DEVIL. it used to be OpenIL, its an image library for loading images into opengl. VERY VERY easy to use, and is opengl syntax.