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: Reuse Data

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2004
    Location
    Lodon, UK
    Posts
    11

    Reuse Data

    Is it possible to re-tessellate data that has already been tessellatted. I want to "merge" intersecting holes in a polygon.

    The winding rules don't quite give me the desired result as all of my polygons (including holes) go the same way. Instead I get islands!

    Thanks.

  2. #2
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    Kristianstad,Skåne,Sweden
    Posts
    1,651

    Re: Reuse Data

    Hi !

    You get triangles/strips/fans when you tesselate polygons, and you can of course tesselate those again but that is pretty meaningless.

    Mikael

  3. #3
    Junior Member Newbie
    Join Date
    Feb 2004
    Location
    Lodon, UK
    Posts
    11

    Re: Reuse Data

    Sorry, I must have mislead you some somwhere.

    The "retessellation" is so that the multiple holes can overlap without creating islands.

    If I tessellate a shape with overlapping holes using the ABS_GEQ_TWO winding rule I get a single shape which is sum of all of the holes. What I want is one hole that is a sum of all the holes.

    I have spent almost a week stuck on this and and facing up to the fact the OpenGL can not handle it.

    Basically I want to cut out nothing but interiors. If there is already a hole there then I want it to make it bigger!

Posting Permissions

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