08-08-2005, 09:28 PM
I'd like to use antialiasing for polygons, but I have problems with the edges:
I create a simple 4 sided polygon with glBegin(GL_POLYGON); .. 4 vertices .. glEnd();
Before painting my polygon I enabled blending and polygon smoothing. For the outer lines this looks good, but as 4-vertex Polygons are decomposed to Triangles there still is a a line with a different color in the middle.
What can I do?
kind regards,
Stephan
I create a simple 4 sided polygon with glBegin(GL_POLYGON); .. 4 vertices .. glEnd();
Before painting my polygon I enabled blending and polygon smoothing. For the outer lines this looks good, but as 4-vertex Polygons are decomposed to Triangles there still is a a line with a different color in the middle.
What can I do?
kind regards,
Stephan