WGL_ARB_multisample

Hey,

I really need help. I have read the nehe multisample demo, but I dont get it and it didnt really work out. I have an ATI_RADEON windows 7. I checked with glGetString, but it says it isnt suported, though i play games which use multisampling on my OS!!!

pleae anyone give me an example/demo (C++)

thanks

There are a few different ways to achieve multisampling.
If gl reports you don’t have ARB multisample then you’ll have to use other techniques instead.
Which gfx card do you have?

WGL_ARB_multisample is a WGL extension thus you cannot get the extension string simply by using glGetString(GL_EXTENSIONS). You have to use the WGL_ARB_extensions_string extension to get the list of WGL extensions.

However, the more modern way to do multisampling is actually by using an FBO with a multisampled attachment and performing a blit from the multisampled FBO to the non-multisampled default framebuffer. Actually, probably that’s what the driver will do anyway if you use the WGL_ARB_multisample extension as I doubt that any OS can directly display a multisampled framebuffer.