Archived

This topic is now archived and is closed to further replies.

Lesson 1 tutorial (And probably future tutorials)

This topic is 5145 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

Hi, I am new to Nehe. I want to create a game (and practice some of the c++ concepts I learned in class.) I came by something when reading the Lesson 1 tutorial. The source for the tutorial includes the header file gluax.h. If I''m not mistaken, I think that header file has been obsoleted and glut takes its place. If not, I am truely sorry for disturbing you. Carameldelite Live long and prosper... -Spok, Star Trek

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Yes, most people here know it''s obsolete. Just move on to the newer tutorials (~tut 30+?) and you should see that gluax.h will dissapear.

Share this post


Link to post
Share on other sites
glaux is not obsolete, nor does glut replace it.

glaux is a collection of helper functions, much like D3DX. Their use is not required in order to access the full functionality of OpenGL, but they are useful in many cases. Some people prefer to reimplement the functionality they need in their own code instead of using glaux''s implementations; this is up to you.

GLUT is a toolkit which exposes a set of OS-independent functions which abstract your application from the underlying OS interface. There are functions for things like creating windows, receiving input, etc. GLUT and glaux do separate things.

GLUT is mostly intended for learning; its functionality is limited. Most people use either SDL or their own code to attain OS independence.


"Sneftel is correct, if rather vulgar." --Flarelocke

Share this post


Link to post
Share on other sites
Well I haven''t carefully read what the posts above say, but glaux.h is not used a lot by ''experts'' I think. I believe it has something bad about it, like performance loss or something I''m not even sure I''m just an amateur but you''ll see that NeHe drops the use after some tutorials (I think it disappears somewhere around image loading, when you learn a different way of doing this without glaux. So don''t bother, when you need to think about getting rid of it NeHe will do this for you

I think he also explains WHY to get rid of it in that same tutorial...

Share this post


Link to post
Share on other sites
Well I say this becuase I do have GLUT library installed and when I said glut in my previous post, I meant glut as in the header file. Anyway, I read that gluax.h _has_ been obsolete and the glut.h is used instead of it and I don''t have gluax.h file in my library, hence the reason I went searching for it.

Carameldelite
Live long and prosper...
-Spok, Star Trek

Share this post


Link to post
Share on other sites