PDA

View Full Version : How to configure OpenGL to highest possible quality?



arthurprs
06-12-2007, 07:33 PM
Turn on things like Antialiasing, Anisotropic and filter of textures

User137
07-12-2007, 02:12 PM
Antialiasing should be already enabled depending on OpenGL settings in your Display driver options.
Edit: Oops, may need glHint() at least with some of these: GL_POINT_SMOOTH_HINT, GL_LINE_SMOOTH_HINT, GL_POLYGON_SMOOTH_HINT

Here's something about texture filters, look for part "Texture Parameters":
http://www.nullterminator.net/gltexture.html

arthurprs
07-12-2007, 04:04 PM
Antialiasing should be already enabled depending on OpenGL settings in your Display driver options.
Edit: Oops, may need glHint() at least with some of these: GL_POINT_SMOOTH_HINT, GL_LINE_SMOOTH_HINT, GL_POLYGON_SMOOTH_HINT

Here's something about texture filters, look for part "Texture Parameters":
http://www.nullterminator.net/gltexture.html

thanks :)

JSoftware
07-12-2007, 04:57 PM
To set antialiasing you have to specify some weird parameters using a gl extension when you create your device context. So essentially you have to create a window twice when you start your program

JernejL
07-12-2007, 05:50 PM
To set antialiasing you have to specify some weird parameters using a gl extension when you create your device context. So essentially you have to create a window twice when you start your program

it is called multisampling, see GL_MULTISAMPLE.

arthurprs
07-12-2007, 08:03 PM
To set antialiasing you have to specify some weird parameters using a gl extension when you create your device context. So essentially you have to create a window twice when you start your program

it is called multisampling, see GL_MULTISAMPLE.

move info please :)

if possible the code snipet to turn AA on