Hi everybody,
I’m fairly new to OpenGL and I’ve been working through the redbook and trying out all of the sample code. I’ve gotten up to using multisampling to get full-scene antialiasing, but I’m having some problems.
I’m working with the multisamp.c example file which uses GLUT, and I’m compiling it with VS.NET so I’ve had to include glext.h as well. It queries GL_SAMPLE_BUFFERS_ARB and GL_SAMPLES_ARB first and spits out those values and then displays two pinwheel patterns, one with multisampling and one without. The problem is that it says that both values are 0 and there is no visible difference between the two patterns. I’ve got a GeForce3 card which I’m pretty sure supports multisampling. I’ve been able to turn FSAA on through the display control panel, and then it reports the buffers as 1 and the samples as 4 and there is a visible difference, but if I leave the driver setting on Application Controlled, it doesn’t work.
I’m using GLUT to request a window with the GLUT_MULTISAMPLE bit in there, and I’m taking the example file exactly as it is and just including glext.h at the top.
Can anyone tell me what I’m doing wrong? I know the there is a multisampling tutorial on NeHe’s site, but it doesn’t use GLUT and I don’t think I should have to make it windows-specific.
Please let me know if anyone can help me out or point me in the right direction.
Thanks!
matt