PDA

View Full Version : bitmaps and glaux



Zork
11-04-2002, 03:29 AM
Does anybody knows of a good glaux tutorial?
(I am interested in it for bmp loading rutines).Or the simplest way to load a bmp in OpenGL?I don't want to write a bmp loader myself.

Anitox
11-04-2002, 04:24 AM
NeHe has a good tutorial on using the glaux library for loading a texture.
http://nehe.gamedev.net/tutorials/lesson.asp?l=06


Anitox

nexusone
11-04-2002, 04:58 AM
It is good to avoid using the glaux library, if you can.
There are lot's of people who have written BMP loader routines that you can pop into your code.... even on the nehe.gamedev.net has a version that has its own BMP loader insted of using glaux.

Also you may want to think about using TGA files, because of the alpha channel support TGA file format has, which the BMP does not support. With the aplha channel you can make transparency maps, for your textures.



Originally posted by Zork:
Does anybody knows of a good glaux tutorial?
(I am interested in it for bmp loading rutines).Or the simplest way to load a bmp in OpenGL?I don't want to write a bmp loader myself.