Skip to main content
GameDev.net gamedev.net
🔒 Locked

glaux

Started by DanielH Jan 13, 2003 at 10:26 AM 5 replies 550+ views
Original Post
DanielH
DanielH
Im trying to compile a program using glaux to load textures, but it seams like i have no glaux.lib. I´m using BCC 5.5, how do i do to compile it??? /edit: does anyone know where i can get a code for loading tga, bmp and jpgs? I tried the code for tga on nehe but it doesn´t work. [edited by - DanielH on January 13, 2003 11:30:16 AM]
Metal Typhoon
Metal Typhoon
quote:
Original post by DanielH
Im trying to compile a program using glaux to load textures, but it seams like i have no glaux.lib. I´m using BCC 5.5, how do i do to compile it???

/edit: does anyone know where i can get a code for loading tga, bmp and jpgs? I tried the code for tga on nehe but it doesn´t work.

[edited by - DanielH on January 13, 2003 11:30:16 AM]


try OpenIL aks DevIL ... or you cant make your own loading functions :D like j00 did
Metal Typhoon
uNiQue0815
uNiQue0815
y shouldn''t 1 be able to write own loaders when using glaux ??!?!?!?

but even if you have glaux... DON''T USE IT ! it''s BAAAD !!!

use OpenIL/DevIL... it''s a pretty good image library... still some bugs, but nothing inacceptable...
Red Ghost
Red Ghost
Have a look at the site: home.clara.net/paulyg/ogl.htm. It does have a nice tutorial and also provides the
basic files to start programming opengl.

You can also find an up to date glaux.lib in NeHe lesson 6 (unzip the BCB 6 file to get it).

Be also aware that the latest opengl.dll is version 1.1 under windows. If you want to use the specs of version
1.2 or 1.3, you will need to download the latest gl.h, and also to download the file implib.exe (if you borland
C++ 5.02 or lower) to create an import library from the latest opengl.dll that was provided with your video
card driver.

Hope that helps.
Ghostly yours,
Red.
Ghostly yours,Red.
DanielH
DanielH
I was trying to use nehes tga loading code, but for some reason the textures just wouldnt show. thats why i wanted to try glaux. I have no idea why nehes code doesnt work.
DanielH
DanielH
...if anyone is intersted, it was because i never enabled texturing....

...hehe hmmm...

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.