PDA

View Full Version : Visible triangle edges (when none are desired)



nealj
01-19-2012, 12:16 PM
I'm drawing a simple tri strip but for some reason there is a faint visible outline of the triangles. The drawing code is about as simple as you can get, just a
::glBegin(GL_TRIANGLE_FAN);
followed by the center point and each corner.

no lighting.

awhig
01-19-2012, 12:58 PM
Can you show, how are you coloring above?

nealj
01-19-2012, 02:21 PM
Just a single ::glColor4d call - lighting is disabled.

ZbuffeR
01-19-2012, 02:59 PM
Blending ? Polygon smoothing ? You will have to show more of your code.

nealj
01-19-2012, 03:53 PM
Polygon smoothing of course - when I disable it the lines go away. It was turned on someplace else in the code (of course) painful that its smoothing the interior edges, but I seem to remember that being driver specific -- many thanks!

awhig
01-19-2012, 03:56 PM
May I know what driver are you using that is producing your problem!