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: Polygon smooth mode

  1. #1
    Junior Member Regular Contributor
    Join Date
    Aug 2000
    Location
    Haifa, ISRAEL
    Posts
    101

    Polygon smooth mode

    I render a red cube with glut. When I set the polygon mode to smooth mode by calling:
    glEnable(GL_POLYGON_SMOOTH);
    glEnable(GL_BLEND);
    glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_DST_ALPHA);
    I see black 'stiches' in the borders between the triangles the cube is made of.
    Why is that and how can I avoid this artifact.
    Many thanks,
    Yossi

  2. #2
    Senior Member OpenGL Guru Relic's Avatar
    Join Date
    Apr 2000
    Posts
    2,527

    Re: Polygon smooth mode

    Yes, that's to be expected.
    See my answer in this thread for example (there are more of those): http://www.opengl.org/discussion_boa...ML/002510.html

Posting Permissions

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