About auxDIBImageLoad()
I'm a newbie to OpenGl....
where to find the document to the functions in glaux.h?
auxDIBImageLoad() for example?
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 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 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);
...
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
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
Popular Topics
Advertisement