Sign in to follow this  

gluax outdated...?

This topic is 4731 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Ive read before that you shouldn't use glaux anymore. However, I haven't ever not used it before. I tried to compile NeHe's base code and it wasn't found so I did a search for it and found a site that reinstated that. Anyway, what has it been replaced by and what do I need to know in order not to use it?

Share this post


Link to post
Share on other sites
Or you could use GLUT, but you may find the framework is a bit restrictive if you're thinking of coding games.

If you're only concerned with Windows then you could just use the win32 API to setup your window. Loading BMPs is also very simple if you need to do it.

Share this post


Link to post
Share on other sites
glaux was quickly written many years ago cira 1998, by sgi as a help to set up windows/load bitmaps etc on windows at the time, though it's not really used anymore (cause its outdated/buggy) it still persists in some old code,
glut replaced it. which in turn hasnt been updated for ages (not counting freeglut)
a modern equivilant to glaux is sdl

Share this post


Link to post
Share on other sites
I have zero of my own code on this system because my other system crashed. Anyway, I had already written a tga, png and jpg loader which I didn't use the gluax loading functions. I just realized I have been thinking of glu and not gluax. I think I was only using gluax in my windows initialization code. It's about time I think of cross-platform programming anyway.

Ill probably go ahead and use sdl. I know there are some really great libs with is such as sdl.net. However, what do the pros normally use? For example, you won't find sdl.dll in any id directory.

Thanks alot guys.

Share this post


Link to post
Share on other sites
>>However, what do the pros normally use? For example, you won't find sdl.dll in any id directory.<<

normally they write there own,
ut2004 for linux uses sdl (plus a few other commerical games)

Share this post


Link to post
Share on other sites
Quote:
Original post by Jinx3d1
For example, you won't find sdl.dll in any id directory.


You can load a dll from a resource (hidden in the executable) without need to have a .dll file.
Bass (a sound lib) has a nice tutorial on how to do this.

Share this post


Link to post
Share on other sites
ah, but you cant do that with the SDL licence, if you did you'd have to give away your source code as its no longer posssible for the end user to upgrade the dll (check the SDL licencing terms)

SDL has been used for the linux ports of a number of games, UT2K4 springs to mind and I think NWN as well

Share this post


Link to post
Share on other sites

This topic is 4731 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this