Jump to content
  • Advertisement
Sign in to follow this  
incin

Simplify complex polygon

This topic is 3686 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Does anyone know a good algorithm to simplify a complex polygon? That is -- turn a polygon with intersecting lines into a list of non-intersecting polygons?

Share this post


Link to post
Share on other sites
Advertisement
Polygon Tessellation? OpenGL has some functionality to split a concave polygon into a set of triangles.

http://www.flipcode.com/archives/Polygon_Tessellation_In_OpenGL.shtml

Share this post


Link to post
Share on other sites
I know about glu, and have been using it. I reached the extent of what it could do for me, so i've been trying out cgal. It has a bunch of great algorithms for polygons, but most of them only apply to simple polygons -- and they dont seem to have an algorithm to simplify a complex polygon. Any more suggestions?
I think I may be able to come up with something myself, but i'm not sure.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!