PDA

View Full Version : Image



fady
05-10-2005, 10:58 PM
Hi,
can we import an image (designed in other program)
to our code to be a background to our game.
ofcurse in openGL
please rply as soon as possible

05-14-2005, 09:37 AM
OpenGL has no knowledge about image- or fileformats you have to write that on your own (or use a library).

Loading .bmp and .tga files is quiet easy and you will find lots of tutorials about that at nehe.gamedev.net.

Of course this really belongs into "OpenGL coding: beginners" section on this site.