[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] multi-width aalines and aacircles



You can see for yourself:

http://www3.telus.net/len_l/pygame/gfx_antialiasing.tar.gz

Because of a bug aapolygon_gfx.py will not work with the gfx enabled Windows binaries I have provide. The latest Pygame out of SVN is needed. But you can still look at the images I took from a screen shot.

Lenard

Lenard Lindstrom wrote:
The results actually look good though, if one first draws the outline, then the filled version. Circles not quit so good, but better than with no anti-aliasing.

Lenard

RB[0] wrote:
You could do a filled polygon and then an aa one around it...
But I think then you'd be getting a lot slower...

On Wed, Mar 25, 2009 at 1:44 PM, Lenard Lindstrom <len-l@xxxxxxxxx <mailto:len-l@xxxxxxxxx>> wrote:

    The aa polygon is not filled, and the filled polygon does no aa.

    Lenard


    René Dudfield wrote:

        good idea.

        there's an aa-polygon in sdl gfx


        On Wed, Mar 25, 2009 at 5:38 PM, Greg Ewing
        <greg.ewing@xxxxxxxxxxxxxxxx
        <mailto:greg.ewing@xxxxxxxxxxxxxxxx>> wrote:
Lenard Lindstrom wrote:

Yes, but we still need an aaline algorithm with line
                width.
Find an aa polygon algorithm and then use it to
            draw line-shaped polygons.





--
Lenard Lindstrom
<len-l@xxxxxxxxx>