About auxDIBImageLoad()

Started by
5 comments, last by zedzeek 18 years, 5 months ago
I'm a newbie to OpenGl.... where to find the document to the functions in glaux.h? auxDIBImageLoad() for example?
Advertisement
nasty!!LOL

i would stay clear of the glaux stuff .....have a look over at nehe he has some code to replace some of the functions in glaux
.....-_-!
I just get auxDIBImageLoad() from nehe's tutorial....
have a look under "Nehe Misc" on the nehe website and u will find GLaux replacement
I made my own BMP loader, and NEHE has a good TGA loader that I have used as well. glaux is nasty and overbloated, at least IMHO.


Quote:Original post by Frente
I'm a newbie to OpenGl....

where to find the document to the functions in glaux.h?

auxDIBImageLoad() for example?


auxDIBImageLoad is the function, that is used to load *.bmp files in OpenGL projects. The value by this function is returned to the variable of type AUX_RGBImageRec*. Here's the example:

unsigned int texture;
AUX_RGBImageRec* texture_image;

...

texture_image = auxDIBImageLoad ("Texture.bmp");

glGenTextures (1, &texture);

...
Cogito ergo sum (Descartes)
as has been mentioned do not use glaux
it was thrown together in 1997 (or someit) as a simple basis to show off gl stuff.
it wasnt meant to survive the next week (let alone until the year 2005)
nehe has a lot to answer for

This topic is closed to new replies.

Advertisement