From: Carlos Pereira <carlos@pe...> - 2002-12-09 16:14:24
>If these are your points and lines:
> A B C
>Are you drawing the red line from A to B and the yellow line from
>B to C? There shouldn't be a gap in that situation. BUT, if you're
>drawing the red line from A to B and the yellow line from C to B
>then I'd expect the gap.
Yes, this is my case, currently I draw half-bonds
from the atom positions to the middle-bond positions.
>OpenGL draws "half-open" lines which means the last pixel in a line
>segment is not drawn. This is to prevent the pixels where lines
>intersect from being drawn twice. (for width=1 lines)
>For wide lines, OpenGL doesn't have any fancy line join styles like
>X has. Some people draw wide points at line vertices to at least
>round them over.
Thanks a lot for the clarification and for these
sugestions, I will see what works best for me.
Get latest updates about Open Source Projects, Conferences and News.