PDA

View Full Version : Anti aliasing



Cucus
08-05-2011, 03:28 PM
Hi,

Can someone give me a guide of how to use antialiasing without using GLUT?

Thanks

Alfonse Reinheart
08-05-2011, 04:34 PM
What are you using to create an OpenGL window?

Aleksandar
08-05-2011, 04:41 PM
In MS Windows, choose a pixel format with wglChoosePixelFormatARB() while setting WGL_SAMPLES_ARB attribute to appropriate value (for example 16). If wglChoosePixelFormatARB() returns true and there is at least one format that supports your setting, set that pixel format for your window. If there is no formats with such AA mode, reduce value and try again.

V-man
08-06-2011, 05:43 AM
There is an app for that
http://nehe.gamedev.net/tutorial/fullscreen_antialiasing/16008/

I used yahoo to find it.