Here’s my dilemma - I have a bunch of line segments that form a smooth contour. I cannot guarantee the drawing order of the segments, so I must draw them each end-to-end individually. I am ending up with 1 pixel gaps between many of the segments, probably due to slight floating point imprecisions in the calculations for the points. Is there a facility in OpenGL to automatically extend the length of the lines by a pixel on either end, or something that will have the same effect?
Obviously, I could do this manually, but I thought that perhaps GL would have something that might be faster…
thanks,
Chris