[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Antialiased draw functions. (Was Re: [pygame] Possible problem in transform)



Talking of antialising and Pygame...  does Pygame support the antialiased
line, circle and ellipse drawing functions from SDL_gfx? Is there any plan
to?  I'd love an AA ellipse function for my current project, as it's a
simple way of generating nice looking shadows for isometric 3D sprites.

Cheers,
            Nat.
________________________________
Dr. Nathaniel Pryce
B13media Ltd.
40-41 Whiskin St, London, EC1R 0BP, UK
http://www.b13media.com

----- Original Message -----
From: "Pete Shinners" <shredwheat@mediaone.net>
To: <pygame-users@seul.org>
Sent: Tuesday, January 22, 2002 9:08 AM
Subject: Re: [pygame] Possible problem in transform


> Bob Ippolito wrote:
> > I think the rotozoom/scale/rotate ops should have at least an option for
> > some good filtering.. imho they're pretty damn ugly by today's
> > standards, makes me feel like I'm using a SNES or something.
>
> between the pygame rotate functions you have the exact same
> functionality as the 'gimp' rotate tools. the antialiased version
> provided by SDL_rotozoom does have a couple "edge case" problems, but
> that might not be a problem if the image is colorkeyed or doesn't need
> the entire image area (ugh, SDL_rotozoom is mean and ugly)
>
> here's some comparative cases with a 20 degree rotation
> http://www.pygame.org/ftp/contrib/rotatetests.png
>
> in fact.. if you peer into the jaggies, i might even prefer my non-aa
> rotate to the one in gimp. (like the controller buttons and snake tail)
>
> ____________________________________
> pygame mailing list
> pygame-users@seul.org
> http://pygame.seul.org

____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org