iDevGames Forums
AGL and multisample AntiAliasing under X - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Graphics & Audio Programming (/forum-9.html)
+--- Thread: AGL and multisample AntiAliasing under X (/thread-7234.html)



AGL and multisample AntiAliasing under X - oxenos - Mar 12, 2003 01:12 AM

Hi people, it's me again Wink

I'm trying to do fullscreen antialiasing using multisample. So the question is: is it enough to ask AGL for a multisample buffer with, say, a 4x samples? It seems to work on my radeon video card, but I wonder if this is the general method I should follow with every video card...

thanx in advance for your time!

Paolo


AGL and multisample AntiAliasing under X - OneSadCookie - Mar 12, 2003 01:45 AM

Do you not have to glEnable(GL_MULTISAMPLE_ARB) or something as well?

Be aware that not all cards may support 4x... it's possible there are some out there that only do 2x, or that in the future some may not support less than 8x...


AGL and multisample AntiAliasing under X - oxenos - Mar 12, 2003 03:52 AM

Yes, the MULTISAMPLE_ARB should be enabled (strange enough, on my gfx card it works even if I don't enable it explicitly...)

And about 2x, 4x, 8x etc. How can I figure out what are the gfx board capabilities? Should I try all the different configurations until I find one that works (quite weird...)? Or is it some way to ask AGL?

thanx


AGL and multisample AntiAliasing under X - OneSadCookie - Mar 12, 2003 12:44 PM

Quote:Originally posted by oxenos
Yes, the MULTISAMPLE_ARB should be enabled (strange enough, on my gfx card it works even if I don't enable it explicitly...)

I'd consider that a bug. Have you filed a bug report with Apple?

Quote:And about 2x, 4x, 8x etc. How can I figure out what are the gfx board capabilities? Should I try all the different configurations until I find one that works (quite weird...)? Or is it some way to ask AGL?


Um, I don't know, but I remember this was discussed on the mac-opengl mailing list when the extension first became available. You can probably find Apple's answer by searching the archives...


AGL and multisample AntiAliasing under X - henryj - Mar 12, 2003 02:15 PM

I've noticed a few times that multi sample is being reported as enabled even though I haven't explicitly enabled it.


AGL and multisample AntiAliasing under X - oxenos - Mar 14, 2003 11:28 AM

Ok, so I should enable multisample, and the fact that it's enabled by default should be considered a bug.

thank to all for your time!