View Full Version : Simple ARB_multisample example

01-04-2003, 08:53 AM
Does anyone know where I can find a simple Glut + C example of using ARB_multisample. I've been through all the NVIDIA docs and the Pixel Format 1.0 example code but it makes little sense to me. I've tried google and not found anything.

01-04-2003, 10:21 AM
GLUT would need to be updated to support WGL_ARB_pixel_format and multisample, wouldn't it?

Or do you mean GL_ARB_multisample?

01-04-2003, 10:46 AM
I mean GL_ARB_MULTISAMPLE, so I can control FSAA within my app.

I searched this forum and noticed you provided a link to some source code for that extension, but the link seems to be down now.

01-04-2003, 11:12 AM
Well, multisampling would require a multisample pixel format, so I don't think GLUT would work. However, I do have (as you said) some source code for doing multisample, you can get that here: http://www.area3d.net/nitrogl/base.c (that should work...)

But that code is for WGL_ARB_multisample, not GL_ARB_multisample (the GL extension controls for the sample buffers blend together, right? the WGL extensions only gets you the pixel format).

01-04-2003, 11:37 AM
Thanks, that's great.