View Full Version : Antialiasing
Rajiv Mishra
09-24-2001, 04:31 AM
Hello Friends,
Sends some code related to this topic and some good tutorial.
With Regards
Rajiv Kumar
Lurking
09-24-2001, 04:34 AM
glEnable(GL_SMOOTH);
Originally posted by Lurking:
glEnable(GL_SMOOTH);
Lurking,
This will cause a GL_INVALID_ENUM.... (GL_SMOOTH is used with glShadeModel, not glEnable !).
Taken from MSDN - glEnable:
GL_LINE_SMOOTH
If enabled, draw lines with correct filtering. If disabled, draw aliased lines. See glLineWidth.
GL_POINT_SMOOTH
If enabled, draw points with proper filtering. If disabled, draw aliased points. See glPointSize.
GL_POLYGON_SMOOTH
If enabled, draw polygons with proper filtering. If disabled, draw aliased polygons. See glPolygonMode.
Now, if you are looking for antialiasing, it depends on the graphics card/drivers.
Regards.
Eric
[This message has been edited by Eric (edited 09-24-2001).]
naveen_tiger
09-24-2001, 05:38 AM
hello,
r u from elearn,jeevan nagar center,new delhi.
naveen
Originally posted by rajiv:
Hello Friends,
Sends some code related to this topic and some good tutorial.
With Regards
Rajiv Kumar
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.