Vincent (France) wrote:OK, but then why is dds 5 times heavier than jpg ? As dds is more compressed, shouldn't it be the contrary ?
I don't understand how a 5Mb texture is easier to load than an only 1 Mb file...
The JPG is only compressed while being on disk. Celestia has to decompress it before it can be used by the graphics card, which requires significant amount of CPU time, and it's geting pretty large after decompression (width * height * 3 [bytes]), and it uses up that much memory either in main memory or in the graphics card memory.
DDS on the other hand doesn't need to be decompressed at all before getting used (the graphics card can decompress it in real time when using it), so it takes practically no CPU at all and only as much main/graphics card memory as it takes on disk (typically 1/6th the full size). It does however have worse(!) visual quality then JPGs, and not all graphics card can use it, but DDS can be much faster to load then JPG and allow higher resolution textures with the same amount of graphics card memory.
HTH,
Harald