Page 2 of 2
Posted: Tue Aug 04, 2009 1:38 am
by Imago
Can you just try putting a 1px black edge on the outside of the arrow part and send me the file if it fixes it?
EDIT just saw compellers RE to andon
so it's any icons that don't have the top right pixel set to black?
Posted: Tue Aug 04, 2009 1:44 am
by Imago
I'm going to say to fix anti aliasing for these "new" icons they have to have black edges.
Posted: Tue Aug 04, 2009 1:49 am
by Andon
It looks that the edges "bleed" over to the next side - like that one, the "bottom" of the ship icon appears at the top as well. It would appear that all icons require a black border around their entirety
Posted: Tue Aug 04, 2009 2:33 am
by Compellor
Should we try to "fix" the existing icons by moving and removing things so that the icons have black edges, or should we create new icons based on the old which can be used by cores which desire to do so, e.g. CC? I'm leaning toward the latter, especially since some of the icons in question can be found in the original artwork e.g. bomber(old), and many icons are based on the original capital ship icon.
Posted: Tue Aug 04, 2009 1:46 pm
by Imago
Just get me the updated icons so i can commit them. i don't care how.
Posted: Tue Aug 04, 2009 3:01 pm
by finnbryant
I still recommend the clamp solution, it ensures this will never come up again (ignore the rest of this post if there's a good reason you can't use clamp).
look at the bottom of this page
its for the panda3d game engine I admit, but it explains exactly this situation.
you can fix it by making a black border around the edge, but thats not the neatest solution
to quote it:
QUOTE
This is a particularly common error with a texture that is painted as an alpha cutout, where there is an image with a fully transparent background: you will often see an thin, barely-visible edge floating along the top (for instance) of the polygon. This edge is actually the bottom edge of the texture bleeding onto the top, because the designer specified WMRepeat instead of the correct mode, WMClamp.[/quote]
Look at the WMClamp section of the page to see
why clamping the texture will fix it.
It may be that allegiances engine wont allow this to happen easily, if so, go with the black edge and ignore me

Posted: Tue Aug 04, 2009 8:12 pm
by Imago
Thanks finn!
Setting these defaults to Clamp:
D3DSAMP_ADDRESSU, D3DTADDRESS_CLAMP
D3DSAMP_ADDRESSV, D3DTADDRESS_CLAMP
D3DSAMP_ADDRESSW, D3DTADDRESS_CLAMP
Seems to have fixed it
Posted: Tue Aug 04, 2009 9:15 pm
by finnbryant
yay, my first taste of guru status!
Posted: Tue Aug 04, 2009 9:40 pm
by parcival
Good job guys! Well done!