Advertisement

Aux Library

Started by November 16, 2004 07:57 AM
4 comments, last by pex22 20 years ago
Hello, where i can download aux library for my borland delphi 7? Thanks
the aux library is not recommented, it is not updated (for about, 9 years?), old and has memory leaks.
better will be using GLUT and loading BMP images on your own (not a lot lines of code, GameTutorials has a tutorial on this)
i think NeHe uses AUX for loading BMP images only, anyway see the Aux Replacement in NeHe Misc.
from OpenGL FAQ:
Quote: 2.130 What is the AUX library?

Very important: Don't use AUX. Use GLUT instead.

The AUX library was developed by SGI early in OpenGL's life to ease creation of small OpenGL demonstration programs. It's currently neither supported nor maintained. Developing OpenGL programs using AUX is strongly discouraged. Use the GLUT instead. It's more flexible and powerful and is available on a wide range of platforms.

For related information, see the GLUT Section and SGI's GLUT FAQ.
pex.
Advertisement
Maybe you can use this:
http://nehe.gamedev.net/counter.asp?file=files/misc/nehe_ipicture.zip
The only catch in IPicture is that it is Windows-only
pex.
Quote: Original post by pex22
the aux library is not recommented, it is not updated (for about, 9 years?), old and has memory leaks.
better will be using GLUT and loading BMP images on your own (not a lot lines of code, GameTutorials has a tutorial on this)
i think NeHe uses AUX for loading BMP images only, anyway see the Aux Replacement in NeHe Misc.
from OpenGL FAQ:
Quote: 2.130 What is the AUX library?

Very important: Don't use AUX. Use GLUT instead.

The AUX library was developed by SGI early in OpenGL's life to ease creation of small OpenGL demonstration programs. It's currently neither supported nor maintained. Developing OpenGL programs using AUX is strongly discouraged. Use the GLUT instead. It's more flexible and powerful and is available on a wide range of platforms.

For related information, see the GLUT Section and SGI's GLUT FAQ.


AUX REPLACEMENT is only for c++, i need it for delphi. I'm learning texture mapping tutorial from nehe now, so i need aux lib.
well, both IPicture and the Aux Replacement uses Windows API functions, so i believe these functions are also ported to Delphi.
so it wouldn't be a problem to use the Aux Replacement or IPicture (however, i would look at IPicture since both AR and IP are windows-only, IPicture is easier and the AR (Aux Replacement) only loads .bmp images. IPicture can render, save and load bmp, gif, jpg and more.)
But again, both are windows-only so if you want to port your game/engine to other operating systems you'll have to write the bmp loader code again.
I know you dont like this (to port from C to Delphi), so instead (or while doing it, however you like) you can use image libraries like DevIL (also spelled as OpenIL), CxImage
or you can use IPicture and look at some Delphi Windows API reference to learn how to use it or something.

PS: you can look at the TGA loading tutorial from NeHe, it is portable and also ported to Delphi.
pex.

This topic is closed to new replies.

Advertisement