A texture manager for OpenGL
What does this do?
libmaterial allows (will allow, rather) an OpenGL developer to use
textures more easily. libmaterial will:
As well, by storing a material as a
- Load gifs, jpegs, pngs, bmps, tgas, tiffs, or any other format
supported by imlib.
- Optionally resize the image before binding it to an OpenGL
- Easily load in pre-rendered mipmaps
- Switch between different materials with one function call,
setting up appropriate shininess and color values.
- Automatically prioritize textures to maintain the optimal
combination of textures in fast hardware buffers.
.mat file with some
associated image files, mixing and matching of bumpmaps vs. textures
How do I get it?
The latest release, version 0.1, can be found here: libmaterial-0.1.tar.gz.
For the more adventurous, the CVS repository
will contain the very latest code.
How do I use it?
What can I use it with?
For testing purposes, I put together a quick batch of .mat files to go
with volume 1 of Brian J. Poag's Propaganda images. This is available
via anonymous ftp.
materialize: A material file editor
Included in the package is the beginnings of an .mat file editor,
which will allow you to preview and interactively edit .mat files to
get the look you want. I'd stick a screenshot here, but I can't
seem to take one properly :-P.
How do I help make this all happen?
- Subscribe to the
- Check out the project page
- Give me an email
with your killer suggestion.
- Make a new texture library compatible with libmaterial.
- Redesign this lousy webpage.