Hello all,
Excuse my ignorance, but where’s a good place to find image-loading routines (for TGA, BMP, etc.)? I’m using OpenGL in VisualC++ 6.0 with GLUT.
Hello all,
Excuse my ignorance, but where’s a good place to find image-loading routines (for TGA, BMP, etc.)? I’m using OpenGL in VisualC++ 6.0 with GLUT.
At www.wotsit.org you can find the file format specifications that for bmps is enough to write a routine… or you can use glaux to load a bitmap, like in nehe’s tutorials (nehe.gamedev.net)
tFz
Or there’s the OpenIL image library. It can load most popular image formats.
j