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 3 of 3

Thread: GLU tesselator

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

    GLU tesselator

    Hello guys,

    My question is this:
    Given an input of N vertices of a polygon to the GLU tesselation algorithm, what is the maximum number of vertices / triangles expected as output?

  2. #2
    Advanced Member Frequent Contributor plasmonster's Avatar
    Join Date
    Mar 2004
    Posts
    750

    Re: GLU tesselator

    There's a lemma from computational geometry that says that every triangulation of a simple polygon (no holes, no edge crossings) with n vertices has n - 2 triangles.

    Nonsimple polygons are another matter, and I don't know if there's a magic formula relating the number of vertices, holes and crossings (I'd sure like to know it, if it exists).

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

    Re: GLU tesselator

    Thanks a lot caveman for your answer.

Posting Permissions

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