PDA

View Full Version : Simple ARB_multisample example



Adrian
01-04-2003, 09: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.

NitroGL
01-04-2003, 11: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?

Adrian
01-04-2003, 11: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.

NitroGL
01-04-2003, 12:12 PM
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).

Adrian
01-04-2003, 12:37 PM
Thanks, that's great.