Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


Performing a boolean on a 2D Mesh


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 JohnnyLightwave   Members   -  Reputation: 145

Like
0Likes
Like

Posted 20 August 2012 - 01:27 PM

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, 20 August 2012 - 01:29 PM.


Sponsor:

#2 BlazeCell   Members   -  Reputation: 452

Like
1Likes
Like

Posted 20 August 2012 - 08:30 PM

If you're performing boolean operations on 2D polygons, the Clipper library has served my needs quite well in the past:
http://www.angusj.com/delphi/clipper.php




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS