PDA

View Full Version : Image loading and processing (for texture mapping)?



daviem01
04-22-2001, 08:43 AM
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.

Teofuzz
04-22-2001, 10:58 AM
At www.wotsit.org (http://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

j
04-22-2001, 11:05 AM
Or there's the OpenIL image library. It can load most popular image formats.

j