Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: WGL_ARB_multisample

Hybrid View

  1. #1
    Intern Newbie
    Join Date
    Feb 2012
    Posts
    32

    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

  2. #2
    Senior Member OpenGL Pro BionicBytes's Avatar
    Join Date
    Mar 2009
    Location
    UK, London
    Posts
    1,171

    Re: WGL_ARB_multisample

    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?

  3. #3
    Advanced Member Frequent Contributor
    Join Date
    Dec 2007
    Location
    Hungary
    Posts
    947

    Re: WGL_ARB_multisample

    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.
    Disclaimer: This is my personal profile. Whatever I write here is my personal opinion and none of my statements or speculations are anyhow related to my employer and as such should not be treated as accurate or valid and in no case should those be considered to represent the opinions of my employer.
    Technical Blog: http://www.rastergrid.com/blog/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •