Jump to content
  • Advertisement
Sign in to follow this  
Trox

Creating Convex Polys From Concave Polys

This topic is 3846 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

How can you do this? After searching for a while I cam across the wording "tesselate", but I didn't come up with algorithms to use with it either. I would like to extend my SAT to work with concave polys as well and I need convex polys inorder to do so. [Edited by - Trox on January 2, 2008 12:30:22 PM]

Share this post


Link to post
Share on other sites
Advertisement
In short, you don't. Go the other way, convert your concave polys into convex polys.

See SWIFT++, http://www.cs.unc.edu/~geom/SWIFT++/
and Cocave decomposition sample code: http://codesuppository.blogspot.com/

Share this post


Link to post
Share on other sites
I am very sorry, I made the title backwards. I'll try to edit it if I can. I want to create convex polys from concave polys.

Share this post


Link to post
Share on other sites
Typically, decomposition to triangles is desired. It's aptly called polygon triangulation. Various methods exist, trading off design-simplicity, run-time efficiency and uniformity of the resulting triangles.

I'll leave the recommendations up to somebody more experienced than me.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!