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: triangulation polygon using tesselation functions?

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

    triangulation polygon using tesselation functions?

    I'm trying to use tesselation functions to compute triangulation of polygon. Tesselation splits polygon into triangles, but sometimes produces "bad" triangles (tree points lying in the same line). Is there any possibility to force tesselator not to produce such invalid triangulations?

  2. #2
    Junior Member Regular Contributor
    Join Date
    Dec 2000
    Location
    Computer Graphics Group, RWTH Aachen, Germany
    Posts
    137

    Re: triangulation polygon using tesselation functions?

    Hi,

    I don't know exactly if it is possible to avoid near-degenerate triangles produced by the GLU tesselator, but probably the answer is no, since I think there is no way to specify some triangle quality tolerances. For general rendering the output quality should be OK, however if you want to get some high-qual. tesselation, better look elsewhere - for example:

    http://www-2.cs.cmu.edu/~quake/triangle.html
    www.cgal.org

    Regards
    Martin

Posting Permissions

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