Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Edges are not smooth - GL_LINE_STRIP

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2009
    Posts
    1

    Edges are not smooth - GL_LINE_STRIP

    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

  2. #2
    Junior Member Newbie
    Join Date
    Feb 2008
    Posts
    18

    Re: Edges are not smooth - GL_LINE_STRIP

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •