Advertisement

Texturing a cube

Started by April 03, 2005 06:41 PM
15 comments, last by bearS 19 years, 7 months ago
thank you eSCHEn
do u by any chance have any documentation on that dll or a web reference-
I realy hope someone can use the replacement code and want to show how.
Using that glaux in any opengl project would be deemed serious ancient..
-edited the link ref.
regards a.
I'm sorry mate I don't. NeHe uses the glaux library to load bitmaps and I use my own library to load targas so I've never touched glaux. The only reason I have a copy of the header and library is to compile projects I find without having to weed out the glaux stuff.

You don't need to use the glaux replacement if you use the header and library in that zip file btw, it should just compile straight out of the box.

Best of luck :)
--
Cheers,
Darren Clark
Advertisement
Thank you eSCHEn
i have spend most of today on the net reading material on glaux. It is not a good library. Many sourses reports serious memory leaks and as such a common reason why gl based other wise perfect programs crashes the users pc.
I gues a new thread directly about the replacement codes a/o other solutions to load bitmaps in opengl is the best solution
regards.
regards a.
Quote: Original post by badbrad29
see below:
make sure to make room for 6 textures.
do this at the top with the rest.
oh and make int loop for the loop
*** Source Snippet Removed ***
then make the textures
*** Source Snippet Removed ***

last bind a separate texture for each face in your scene
*** Source Snippet Removed ***

i'm a beginner too so if i messed anything up i'm sorry.



Greatttte, thanks alot i will try every step... but could you advive me kindly about how to go deap more to program opengl ?
Quote: Original post by bearS
Hi all
I am at lesson 6 too and i'am stuck!
My problem is the glAUX (glaux.h)
my DEVcpp package does not include that header.
I then searched for it on the net and found one.
This header alow the lesson to compile correctly, but if i try to run the program i get a more ugly error
"missing glaux.dll" -?!
is glaux depending on a dll?

I also looked at the code NeHe uploaded as an alternative to the glaux.h, but that code..
I would love to se the lesson 6 implemented with the replacement code (especially because glaux is obsolete/deprecated)
I have 3 questions:
1. does you (who can run the lesson6 with glaux.h) ALSO have a glaux.dll??
2. Can anyone use the "replacement code":


link

(there seams to be something missing??)
3. is it posible to write an email to NeHe eg Jeff Molofee, I have looked everywhere, but not found any email addres (fully understandable actually..)
Any reply is apreciated

regards.
------
edited to try to get the link to replacement code working..


You can doewnload the code and look on it just as i did , and bfore trying any tutorial you must do project links ...
After you have created a new Win32 Application (NOT a console application) in Visual C++, you will need to link the OpenGL libraries. In Visual C++ go to Project, Settings, and then click on the LINK tab. Under "Object/Library Modules" at the beginning of the line (before kernel32.lib) add OpenGL32.lib GLu32.lib and GLaux.lib. Once you've done this click on OK. You're now ready to write an OpenGL Windows program.
bear, when you download glaux you should get glaux.dll with it. this has to be in your windows system32 folder (i believe) or in your programs folder then it will run. i'm not an expert, but i'm thinking that with small stuff like this glaux isn't going to hurt too much.(with the possible memory leaks and all.) once you get further into the tutorials you learn to load without glaux. good luck.
Advertisement
Quote: once you get further into the tutorials you learn to load without glaux. good luck.

Ohh.. :) that will solve things then
Thanks to all posters.
regards a.

This topic is closed to new replies.

Advertisement