Archived

This topic is now archived and is closed to further replies.

panic

Encoding to DXT3 ?

Recommended Posts

Ok, so it''s not really openGL related, but I tought I would ask if anyone could point me to some information on how to compress an image to DXT3 format, for example, loading a TGA and then saving as DXT3. (and no, I can''t use any existing applications, since eventually when I get everything else working I will have to create DXT3 textures dynamicly in my engine) return 1;

Share this post


Link to post
Share on other sites
Don''t know really, and I don''t think you can legaly (DXTC is a Microsoft copyright), however, on my site I have my compression stuff (GTC), which lets you compress TGA images, and store them as GTC images (Generic Texture Compression), and the source is all there, so do what you want with it.

Also you can do internal compression, so the video card will compress the image for you, but the image that''s on the disk would be still uncompressed.

Share this post


Link to post
Share on other sites
Hmm, that''s the thing, I need to compress the image on disk to DXT3.
I''m trying to write a Black & White Landscape editor , and the Lowres textures in black and white are stored with DXT3 compression in the Landscape file.



return 1;

Share this post


Link to post
Share on other sites
hmm...

heres some links that might be helpful

http://www.nvidia.com/marketing/developer/devrel.nsf/bookmark/878CB8142D82DED388256951007AC707

http://www.nvidia.com/Marketing/Developer/DevRel.nsf/bookmark/50557D736903E139882568E80009CCD7

http://www.nvidia.com/Marketing/Developer/DevRel.nsf/bookmark/D2E358E485B99D3B88256A090061C14E

Share this post


Link to post
Share on other sites