Creating Convex Polys From Concave Polys
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]
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/
See SWIFT++, http://www.cs.unc.edu/~geom/SWIFT++/
and Cocave decomposition sample code: http://codesuppository.blogspot.com/
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.
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.
I'll leave the recommendations up to somebody more experienced than me.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement