View Full Version : Image

05-10-2005, 11:58 PM
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, 10: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.