Page 1 of 1

Graphics problem on big DOT from far view

Posted: 23 Dec 2010, 14:17
by Piou2fois
Hi
I have a graphic issue the last release on my computer.

When i move back the view, i should see icons as cross, dot or "E" or "M" in my team color.
For everything it is ok except for attack unit, the colour and the form (round) is a blast of pixel that are not recognizable and so make the game crazy when you like to see such a thing
What is crazy is that for ennemy it is the same except for those seen by the radar, the dot are in this case nice.

I have updated the driver of my graphic card (FireGL v5200)
It was working well last month on that computer before full reinstallation...

Thanks in advance for your help
Piou2fois

Re: Graphics problem on big DOT from far view

Posted: 23 Dec 2010, 15:02
by abma
this is a known bug of ati-drivers: http://springrts.com/mantis/view.php?id=2116

or http://springrts.com/wiki/FAQ:trouble#ATI

if i miss-understood you, please attach a screenshot of the problem.

Re: Graphics problem on big DOT from far view

Posted: 23 Dec 2010, 15:17
by Piou2fois
Hmmm
I solved it with a trick
Just rename the file "sphere.png" in C:\Program Files\Spring\LuaUI\Icons to remove it, make a copy of square, reneme in sphere
Works fine now except i have square instead of dot :)
So it should come from the sphere.png
I tried both spring installer and spring portable, same issue
Perhaps the archive has issue

Re: Graphics problem on big DOT from far view

Posted: 23 Dec 2010, 15:28
by hoijui
ahh...
that is the non-npot sized textures problem.
the square has is 64x64, the sphere is 63x63, as are some others (hour-glass ones for example). We should change them to 64x64 as well.

Re: Graphics problem on big DOT from far view

Posted: 23 Dec 2010, 15:52
by Piou2fois
:)
strange because i have this issue on that computer (hp nw8440) and not on my personnal one
anyway, i solve it and it works fine now

Re: Graphics problem on big DOT from far view

Posted: 23 Dec 2010, 16:36
by abma
i replaced it with 64x64 graphics, thanks both of you! :)

https://github.com/spring/spring/commit ... 0d11969d55

Re: Graphics problem on big DOT from far view

Posted: 23 Dec 2010, 17:44
by slogic
Nice catch. Drivers are no always guilty :) But the fact is sometimes it was working & sometimes not.