PDA

View Full Version : Drawing Outline complex Polygon



ahuarte
03-26-2002, 02: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

Rob The Bloke
03-26-2002, 01:42 PM
polygon offset