paksietm
09-23-2004, 04:07 PM
Hi,
After fill polygons, I use GL_LINE_LOOP to draw a wireframe on these polygons. Some of the lines in the wireframe will be dashed, but other lines are still solid. If don't fill polygons, all the lines in the wireframe will be solid. If turn on GL_LINE_SMOOTH flag or just set line width to 2.f, then all lines in the wireframe will be solid, no matter whether fill polygons or not. But a wireframe with wider line width looks not good.
Can anybody help me with this issue? Thank you very much.
After fill polygons, I use GL_LINE_LOOP to draw a wireframe on these polygons. Some of the lines in the wireframe will be dashed, but other lines are still solid. If don't fill polygons, all the lines in the wireframe will be solid. If turn on GL_LINE_SMOOTH flag or just set line width to 2.f, then all lines in the wireframe will be solid, no matter whether fill polygons or not. But a wireframe with wider line width looks not good.
Can anybody help me with this issue? Thank you very much.