Is it possible to load up a texture without glaux?
Yes, first glaux library is outdated, replaced by glut. Except glut does not have a texture loading function.
There are a few diffrent texture loading routines out there.
I like to use the TGA file format, but there are also BMP loaders also.
nehe.gamedev.net has some TGA and BMP loader code, also if you do a search you can find other sites with texture loader code.
Originally posted by Cyclon:
Is it possible to load up a texture without glaux?
If you use GLFW, you get easy opengl window initialization and the newes version also has TGA texture loader.
Ah thanks very much
just load up tga/bmp file with c+±class ifstream, cut the header and you got the pixels!