Skip to main content
gamedev.net
🔒 Locked

DXT compression

Started by vNistelrooy 2 replies 700+ views
Original Post
vNistelrooy
vNistelrooy
I need a tutorial/code about compressing RGB image using the DXT format. I tried google but found nothing.. >_<
"C lets you shoot yourself in the foot rather easily. C++ allows you to reuse the bullet!"
"C lets you shoot yourself in the foot rather easily. C++ allows you to reuse the bullet!"
reaptide
reaptide
I wasn't able to find anything about compressing DXT images but I did find the code to decompress them on nVidia's site. Maybe you can reverse it and get something working.

Also I found a good amount of information about the format in the OpenGL Extension Registry.

nVidia's DXT Decompression Code

OpenGL EXT_texture_compression_s3tc (Look near the bottom)

[edited by - Reaptide on January 17, 2004 2:38:19 PM]
vNistelrooy
vNistelrooy
I found this one



"C lets you shoot yourself in the foot rather easily. C++ allows you to reuse the bullet!"

"C lets you shoot yourself in the foot rather easily. C++ allows you to reuse the bullet!"

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.