View Full Version : OpenGL multi sampling

08-16-2006, 07:30 AM
How do I get OpenGL FSAA working using the multi sample buffer? I am using GLUT and don't want to use Windows.

08-16-2006, 08:36 PM
http://download.developer.nvidia.com/dev...tProcessing.zip (http://download.developer.nvidia.com/developer/SDK/Individual_Samples/DEMOS/OpenGL/AntiAliasingWithPostProcessing.zip)

demo excerpt:

glutInit(&argc, argv);
glutInitWindowSize(win_w, win_h);

// create a window with multisample antialiasing
int samples = 4;
char displayString[256];
sprintf(displayString, "double rgb~8 depth~16 samples~%d", samples);

glutCreateWindow("Anti-Aliasing with Post Processing");
...a google for 'opengl multisample' will get you some more info.

hope this helps.