View Full Version : antialias
How can I activate antialiasing on flat triangles ?
I've tried glHint and enabling blending but I can get it work only for lines...
08-25-2003, 03:50 AM
Antialiasing of all primitives is enabled by using multisampling, see section 3.2.1 of version 1.4 of the OpenGL spec. You can also check out the ARB_multisample (http://\"http://oss.sgi.com/projects/ogl-sample/registry/ARB/multisample.txt\") extension spec if your drivers OpenGL version doesn't support multisampling in the core.
08-25-2003, 05:26 AM
This should work. Note that for poly smoothing to look correct on overlapping edges you need to depth sort your triangles and render them back to front. Otherwise you'll get (minor) rendering artifacts.
If it doesn't work at all, mind to tell us what graphics card and driver version you're using?
08-25-2003, 12:09 PM
I thought polygon smooth was a hint, not an enable? This means implementations are free to ignore it of course and IIRC my old TNT2 did.
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.