Is there a dll out there, or any code, to compress a buffer of pixels to the dxtc format, so they can be saved in a file format like dds? I am creating my own texture file format, and do not want to save a dds.
Lib to compress pixels (dxtc)?
Miscellaneous Forums/General Discussion/Lib to compress pixels (dxtc)? From what I can recall, you create a gl texture in the specified compressed format, upload your raw image into it, this in turn converts it to the compressed format, you then use glpixels or some such to get the raw compressed data back out.
No idea as far as dx goes. that's the voodoo api.
No idea as far as dx goes. that's the voodoo api.
nvidia has a link to this project which might include the necesary code in it's dds support:
http://openil.sourceforge.net/
http://openil.sourceforge.net/