![]() |
Texturecompression
1 Attachment(s)
I've done some texturecompression experiments:
http://www.nvnews.net/vbulletin/atta...1&d=1169737373 The original picture is only for referenz, the DXT1 picture I've create with a gimp exporter and the indexed picture is only for filling the space :P Only the DXT5 verion is important. I use this steps to create it: 1. Load a image in gimp. 2. Create a Alphachanel from the Black Color (Colors->Color to Alpha) 3. Export the result as dds with DXT5 compression The GPU is able to decompress in realtime and the shader needs only one additional multiplication. An verry simple GLSL fragmentshader for example: Code:
uniform sampler2D Colormap;With a own specilised exporter the Quality could get close to the original. In special cases this algorithm would be able to store pictures with up to 16 bit dynamic range. |
| All times are GMT -5. The time now is 11:14 AM. |
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2013, nV News.