AGL and multisample AntiAliasing under X
Hi people, it's me again 
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

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
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...
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...
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
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
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...
I've noticed a few times that multi sample is being reported as enabled even though I haven't explicitly enabled it.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| glCopyTexSubImage2D vs antialiasing on iPhone? | Mark Levin | 4 | 3,934 |
Jul 16, 2010 01:46 AM Last Post: Bersaelor |
|
| Multisample AA Artifacts | metacollin | 4 | 4,284 |
Aug 14, 2009 07:11 PM Last Post: metacollin |
|
| Antialiasing and NSOpenGLView attributes | Jar445 | 2 | 5,613 |
Jan 20, 2009 10:42 AM Last Post: maximile |
|
| antialiasing polygons | honkFactory | 37 | 14,276 |
Apr 3, 2006 09:19 AM Last Post: akb825 |
|
| Multisample on NVIDIA GeForce 6800 | archidea | 1 | 2,573 |
Nov 8, 2005 12:22 PM Last Post: OneSadCookie |
|

