Ingame DDS teamcolor "rendering" problem

Ingame DDS teamcolor "rendering" problem

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
Master-Athmos
Posts: 916
Joined: 27 Jun 2009, 01:32

Ingame DDS teamcolor "rendering" problem

Post by Master-Athmos »

Hi!

I always wondered if this is just an ATI bug or a general problem in Spring:
I have "problems" with the way teamcolors get rendered on s3o objects. They always seem to have random artifacts like this:
Image

It can't really be the map itself as it should render just fine:
Image

Maybe this also is related to the problem of not getting smooth teamcolor seams. I understand that this is related to the 5bit or whatever compression it was DXT5 uses for the alpha but it might as well be about some kind of bug as things seem smooth in Upspring. So does any else have the very same effect?
Attachments
teamcolor2.jpg
(57.84 KiB) Downloaded 1 time
teamcolor.jpg
teamcolor.jpg (46.72 KiB) Viewed 747 times
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Ingame DDS teamcolor "rendering" problem

Post by Beherith »

Please post the dds file you used in this test shot.
Master-Athmos
Posts: 916
Joined: 27 Jun 2009, 01:32

Re: Ingame DDS teamcolor "rendering" problem

Post by Master-Athmos »

You can get them here:
http://springrts.com/phpbb/viewtopic.ph ... &start=640

It's not just a problem with the textures I made though (no matter if via DDS Photoshop Plugin by NVIDIA or Compressonator). Here e.g. a screenshot from CA:
Image

What's strange though: It doesn't happen for every unit but just a couple of them (or maybe it just renders wrong in a specific situation)...
Attachments
wolverine.jpg
(141.31 KiB) Downloaded 1 time
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Ingame DDS teamcolor "rendering" problem

Post by jK »

will be fixed in 0.81


(I wonder how long this bug was in the code :shock:)
Master-Athmos
Posts: 916
Joined: 27 Jun 2009, 01:32

Re: Ingame DDS teamcolor "rendering" problem

Post by Master-Athmos »

Ah ok so it was a bug...
Any info on what caused it?
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Ingame DDS teamcolor "rendering" problem

Post by Argh »

Yay, thanks for fixing that :-)
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Ingame DDS teamcolor "rendering" problem

Post by jK »

Master-Athmos wrote:Ah ok so it was a bug...
Any info on what caused it?
It was an "uninitialized memory"-bug.
And the bug just affected the alpha-channel of DXT5 textures (DXT3 wasn't affected!).
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Ingame DDS teamcolor "rendering" problem

Post by Forboding Angel »

Yeah I was gonna say, I use png and all of them are fine.
Post Reply

Return to “Help & Bugs”