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

Thread: how do divide a simple,non-monotonic polygon into a set of monotone polygons in openG

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

    how do divide a simple,non-monotonic polygon into a set of monotone polygons in openG

    how do divide a simple,non-monotonic polygon into a set of monotone polygons in openGL? jjia83@yahoo.com

  2. #2
    Junior Member Regular Contributor
    Join Date
    Jan 2004
    Location
    Los Angeles, CA, USA
    Posts
    216

    Re: how do divide a simple,non-monotonic polygon into a set of monotone polygons in openG

    Monotonic? Do you mean convex? If so, it has been discussed on this list and others. Otherwise, what do you mean by monotonic?

  3. #3
    Junior Member Regular Contributor
    Join Date
    Mar 2000
    Location
    Germany
    Posts
    200

    Re: how do divide a simple,non-monotonic polygon into a set of monotone polygons in openG

    If memory serves, a function is "monotonic" if the first derivative doesnt change the sign, so I think he means a non-planar polygon where the tangent does change the sign, I may be wrong though.

    Anyway any non-planar, non-convex polygon needs to be tesselated into triangles (which are naturally convex and planar) by either using a gluTesselator or a user supplied function.

  4. #4
    Guest

    Re: how do divide a simple,non-monotonic polygon into a set of monotone polygons in openG

    thank you for reply me.
    actually i wanna know how to write a code to divide a simple, non-monotonic polygon into a set og monotone polygons.
    it used to have merge vertices and split vertices.
    i only know the theory about it but dunno how to write a code in openGL.
    anyone can help?
    thank a lot.

Posting Permissions

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