[visionegg] Full screen Anti-aliasing

Hi -

Attached is a revised Core.py and a diff between it and the last version I downloaded (which should correspond to the cvs, but I haven't checked it out in months). In this I added a new parameter to the Screen function to enable multisampling support in opengl. It works for me on my Powerbook running 10.3, and I have reason to believe it should work on everything else, since it only added pygame calls that already existed.

I'm not sure if this is the way Andrew would want to add this support in, but at least it works for my needs.

Example code:
screen = VisionEgg.Core.Screen(multisample_samples=4)

Initializes a screen with 4 samples. Most OpenGL implmentations will only support 2 or 4. Setting multisample_samples to 0 or None is the same as the current version of Core.py.

Mark

(Note: to get FSAA to work on a mac requires recompiling SDL, probably with XCode 1.5)

Other related posts: