Texture compression DDS / S3TC

Started by
13 comments, last by MJP 12 years, 3 months ago
One more question. I managed to create a DDS file now with the ATI_Compress tool. Works like a charm, but... does anyone know how to make multiple Mip-Map levels? The DDS writer in ATI_Compress_Helper only makes 1 level by default. Now I could try to make my own writer, but maybe it can be done with some easy adjustments.

Thanks
Rick


Advertisement
Compress won't generate mips, you have to generate them first and then compress each mip level individually. In our texture pipeline we generate the mips ourselves, but you could use another library to do it if you want.
Definitely faster rendering; I've benchmarked it up to 20% faster. Quality can drop off quite badly depending on the texture you're using though; for something like lower resolution 2D GUI textures it can be unacceptable.

Make sure that you load the DDS natively and that you're not going through any software decompression/recompression stages too.

Direct3D has need of instancing, but we do not. We have plenty of glVertexAttrib calls.


BC6 and BC7 are really awesome (HDR, and hi-quality LDR respectively), but only available on DX11-class hardware. There's also not really any tools support for it yet. The D3DX library can encode to it, but it's super slow. There's also a sample in the SDK that does the encoding on the GPU using a compute shader, but it's pretty bare bones and doesn't support cube maps or mipmaps


MJP, this post wasn't all that long ago, but wondering whether you've since come across a decent compression tool that supports BC6/7.

[quote name='MJP' timestamp='1316110690' post='4862152']
BC6 and BC7 are really awesome (HDR, and hi-quality LDR respectively), but only available on DX11-class hardware. There's also not really any tools support for it yet. The D3DX library can encode to it, but it's super slow. There's also a sample in the SDK that does the encoding on the GPU using a compute shader, but it's pretty bare bones and doesn't support cube maps or mipmaps


MJP, this post wasn't all that long ago, but wondering whether you've since come across a decent compression tool that supports BC6/7.
[/quote]

Unfortunately not. I've been meaning to look into it more, but haven't gotten around to it yet. I do have a hacked-up version of the DX GPU compressor that will do BC6H for cube maps and mip levels that's sitting on my PC at home, but that's about it.

This topic is closed to new replies.

Advertisement