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 5 of 5

Thread: Texture compression tutorial needed

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2005
    Location
    Germany
    Posts
    2

    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.

  2. #2
    Member Regular Contributor
    Join Date
    Aug 2003
    Posts
    264

    Re: Texture compression tutorial needed

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

    Go down to the DDS Texture Loader tutorial.

  3. #3
    Junior Member Newbie
    Join Date
    Aug 2005
    Location
    Germany
    Posts
    2

    Re: Texture compression tutorial needed

    thanks

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

  4. #4
    Member Regular Contributor CrazyButcher's Avatar
    Join Date
    Jan 2004
    Location
    Germany
    Posts
    402

    Re: Texture compression tutorial needed


  5. #5
    Junior Member Regular Contributor
    Join Date
    Jan 2001
    Location
    Belgium
    Posts
    206

    Re: Texture compression tutorial needed

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

    Go down to the DDS Texture Loader tutorial.
    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.

Posting Permissions

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