[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] multi-width aalines and aacircles
That was what I saw when I first drew the filled polygon first.
Reversing the operation cleaned it up some, removing the holes. The
circle still has holes, but not so noticeable. But then this is just
from two quick test programs with large shapes.
I've drawn aalines over polygons before, and it doesn't always look right.
Look closely at the edges :)
On Wed, Mar 25, 2009 at 2:09 PM, Lenard Lindstrom <len-l@xxxxxxxxx
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.
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
<mailto:len-l@xxxxxxxxx <mailto:len-l@xxxxxxxxx>>> wrote:
The aa polygon is not filled, and the filled polygon does
René Dudfield wrote:
there's an aa-polygon in sdl gfx
On Wed, Mar 25, 2009 at 5:38 PM, Greg Ewing
Lenard Lindstrom wrote:
Yes, but we still need an aaline algorithm with
Find an aa polygon algorithm and then use it to
draw line-shaped polygons.