Sign in to follow this  

Performing a boolean on a 2D Mesh

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

Hi all,

I want to perform boolean operations on a 2D triangle mesh. Anyone know of any resources?

Basically, I have a bunch of vertices, each being: xyz,diffuse,uv

They're organized into simple triangles-- vert1,vert2,vert3.

These are organized into a mesh-- simple list, triangle1, triangle2, triangle3, etc.

What I want to do is take two meshes, and do a boolean AND operation on them, making a whole new mesh. Ideally it's smart enough to toss redundant triangles and degenerates.

The google search is so full of noise I can't find anything significant, even ten pages in. Anyone know a good place to look for this kind of thing? Edited by JohnnyLightwave

Share this post


Link to post
Share on other sites
If you're performing boolean operations on 2D polygons, the Clipper library has served my needs quite well in the past:
[url="http://www.angusj.com/delphi/clipper.php"]http://www.angusj.com/delphi/clipper.php[/url]

Share this post


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