View Full Version : Loading compressed texture data directly

01-03-2005, 01:40 AM
What format do you use? How do you do this? Is there a program that will convert standard image files to some compressed format that I can load directly, instead of wasting time compressing everything at runtime?

01-03-2005, 01:44 AM
Actually, forget that, I don't want to lose the ability to load a texture at different resolutions. That's probably why Doom 3 and HL2 load so slowly.

01-03-2005, 06:43 AM
Unless you stored the mipmaps and used the first mipmap for the first lower LOD.

Okay, tell me how.

01-03-2005, 08:58 AM
Take a look at the dds file format (check msdn, it's a directx file format, but the compressed texture format is used by gl as well).
Also check out

Google for "dds viewer" to find some conversion programs (if you don't want to roll your own). DevIL supports dds compression as well.