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

Re: [pygame] Re: Antialiased draw functions



From: "Pete Shinners" <shredwheat@mediaone.net>
> on another note.. as for generating ellipse shadows for your sprites.
> just create a nice pretty ellipse in gimp with all the alpha and edges
> you want. if you need multiple sizes, transform.size() will be able to
> get good results with those types of images. this will also look better
> than a drawn ellipse (even with aa)

That's a good idea, but I like being able to generate any size of shadow on
the fly so that I don't have to worry about keeping my graphic files in
sync.  But the general idea of using the transform functions is a great one.
I think I'll combine your suggestion with what I already have and try
generating a "jaggy" ellipse four or eight times the required size and then
scaling it down with AA.

Cheers,
            Nat.


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