Texture compression tutorial needed

Im working on a simple 2D avatars in 3D environment engine and need to somehow compress the large amounts of texture data so I can fit it all into the GFX card.

Is there any good tutorials about how to use texture compression with OpenGL 1.3+ (since I read in the specs that its now part of the official OpenGL and no longer just an extension).

Since I didnt find any tutorials on the net nor any descriptions of functions that would have helped my I guess this is in the right place at “Advanced”. Thanks alot for any help you can give.

http://www.codesampler.com/oglsrc/oglsrc_4.htm

Go down to the DDS Texture Loader tutorial.

thanks :slight_smile:

hmm now I need something that covers how i can convert into S3TC on the fly from an uncompressed format such as 32bit RGBA.

http://www.developer.nvidia.com/object/texture_compression_OpenGL.html

Originally posted by oconnellseanm:
[b] http://www.codesampler.com/oglsrc/oglsrc_4.htm

Go down to the DDS Texture Loader tutorial.[/b]
One thing with this loader is that it does not address the inversion of coordinates. Basically, the compressed image has to be vertically inverted to be displayed correctly. There are other loaders on the net that do it. I think that you can find one in NVIDIA SDK.