Drawing beautiful lines

I have curved lines drawn by using the GL_LINE_STRIP and passing the vertexes.

any examples how to make effects on such lines so that they have a better look ?

What about Pixel shaders, can they help ?

something like multisampling?

Use line anti-aliasing. The code below sets it up for you.


       glEnable    (GL_BLEND);
       glEnable    (GL_LINE_SMOOTH);
       glHint      (GL_LINE_SMOOTH_HINT, GL_NICEST);
       glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);