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 4 of 4

Thread: glut - multisampling, working only with 4 samples

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2012
    Posts
    7

    glut - multisampling, working only with 4 samples

    hello together,

    i try to get multisampling to work, with 16 samples.

    I initialise with glutGameModeString, samples<=16. I also tried =16, =8 and so on.
    After testing i get all the time 1 buffer and 4 samples, really everytime.

    Grafic card supports 16 samples and i have the newest version of freeglut.

    Maybe someone got a equal problem or can help me?

  2. #2
    Senior Member OpenGL Guru Dark Photon's Avatar
    Join Date
    Oct 2004
    Location
    Druidia
    Posts
    2,882
    Which OS and GPU vendor/drivers? For Linux/NVidia, here are some tips: link

    Since I've last looked at this (again on Linux/NVidia), looks like NV has added some new X visuals with > 4 samples (8, 16, 32) so that may be an option now. But forcing it with the other methods should still work too.

    Also, if you use FBOs, you have explicit, programmatic, and cross-vendor control of the number of samples via GL calls. Then after rendering, just do a Blit downsample from that to a 1xAA system framebuffer -- that's probably the most portable route nowadays.
    Last edited by Dark Photon; 09-12-2012 at 05:28 PM.

  3. #3
    Junior Member Newbie
    Join Date
    Jul 2012
    Posts
    7
    Ok, thanks so far.

    I could run my program @ nv either ati, os: windows (7 64 bit).
    So U think I have to do here some specified settings?

    Maybe U can give me a reason why samples.. isn't working for me?

  4. #4
    Senior Member OpenGL Guru Dark Photon's Avatar
    Join Date
    Oct 2004
    Location
    Druidia
    Posts
    2,882
    Quote Originally Posted by Fooppy29
    Maybe U can give me a reason why samples.. isn't working for me
    Sorry, no. This is a Windows/WGL question, and I primarily dev in Linux. You should post this question to the Windows forum.

Posting Permissions

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