ahuarte
03-26-2002, 01:42 AM
Hi, I am drawing complex polygons with the functions:
glColor3ub(...)
glPolygonMode(GL_FRONT, GL_FILL);
...
gluTessBeginPolygon(...)
...
gluTessEndPolygon(...)
it works fine, but I want draw the border of the polygon in a different color from the area color.
Is it possible ????
If I draw the contour of the polygon with ...
glBegin(GL_LINE_STRIP)
...
glEnd()
the quality of the border is poor. :-P
Can you help?
thank you very much
glColor3ub(...)
glPolygonMode(GL_FRONT, GL_FILL);
...
gluTessBeginPolygon(...)
...
gluTessEndPolygon(...)
it works fine, but I want draw the border of the polygon in a different color from the area color.
Is it possible ????
If I draw the contour of the polygon with ...
glBegin(GL_LINE_STRIP)
...
glEnd()
the quality of the border is poor. :-P
Can you help?
thank you very much