Jump to content


Filling Surface


1 reply to this topic

#1 devil20

    New Member

  • Members
  • PipPip
  • 12 posts

Posted 05 April 2006 - 12:10 PM

Hi

I implemented 3d mesh splitting using plane. I am splitting mesh using plane from 3 points. Generally i'm checking front and back side polygons and storing it indvisual polygon array . If i'm getting planner polygon then i'm finding intersection point and making new polygon that's it. All working fine But Splitted two part's bottom surface is not closing. I mean where plane intersects with two parts.

How can i close this surface ? any idea?

If want to see picture i i can post picture . Plase let me know.

alex

#2 Reedbeta

    DevMaster Staff

  • Administrators
  • 4979 posts
  • LocationBellevue, WA

Posted 05 April 2006 - 05:29 PM

To construct the "interior" surface you'll have to keep a list of all the new edges that were generated by the plane splitting a polygon, and figure out in which order to connect them to generate the polygon for the sliced surface e.g. by matching up corresponding vertices. I hope this gives you a place to start.
reedbeta.com - developer blog, OpenGL demos, and other projects





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users