PDA

View Full Version : Edges are not smooth - GL_LINE_STRIP



Kevin Peter
03-13-2009, 04:13 AM
Hi all
I am a beginner in the opengl programming.. i have got a small issue..When a primitive is drawn with GL_LINE_STRIP, its edges are not seems to be smooth. Between the edges, there is a small v shape cut. Its more visible when its line width is increased. Is there any method to solve this? How can we make the edges smooth..

Thanks in advance
Kevin

coolguyclay
03-13-2009, 04:32 PM
I've heard of a trick around this before. I don't think line smoothing fixes the corners for thicker lines, but putting a point, perhaps of a larger size, at the vertex might fill it in so it doesn't create the 'V'.

If you try it, let us (me) know how it works!

Clay