Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 4 of 4

Thread: Loading compressed texture data directly

  1. #1
    Member Regular Contributor
    Join Date
    Sep 2002
    Posts
    384

    Loading compressed texture data directly

    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?

  2. #2
    Member Regular Contributor
    Join Date
    Sep 2002
    Posts
    384

    Re: Loading compressed texture data directly

    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.

  3. #3
    Member Regular Contributor
    Join Date
    Sep 2002
    Posts
    384

    Re: Loading compressed texture data directly

    Unless you stored the mipmaps and used the first mipmap for the first lower LOD.

    Okay, tell me how.

  4. #4

    Re: Loading compressed texture data directly

    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
    http://oss.sgi.com/projects/ogl-samp...ssion_s3tc.txt

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •