0.73, build 2000(ish) DDS support is not working for weapons

0.73, build 2000(ish) DDS support is not working for weapons

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

0.73, build 2000(ish) DDS support is not working for weapons

Post by Argh »

Ok, after Tobi's fix, my TGA Lightning texture now works. Tried the compile AF put out... and DDS does not work. Tried DXT1, and DXT5... no-go.

As Caydr mentioned earlier, this is a big deal for people wanting to distribute new textures for weapons in their mods, as there aren't any compressed formats out there that are even close to competitive.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

Hmm.

If I look at the CTextureAtlas code (which compiles lot of small textures into 1 big one) it makes the whole point of using DDS moot (for projectiles & groundFX that is). Let alone that it doesn't support them. And I doubt a decompress, compile, recompress solution would make sense.

I'll poke Yeha about it...
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

Aha. I wasn't aware it was stitching them into one big texture. Won't that make mods with a lot've specific effects impractical, though, as total sizes go above ATI's 4096-square limitations?
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

The maximum size it makes the texture is 2048x2048 (that's the ATI limit AFAIK, nvidia was 4096x4096). When more is needed the rest of the textures is just skipped.

I guess I'll modify it to show a warning in the infolog in that case...
Post Reply

Return to “Engine”