jokoon
jokoon

Reputation: 6633

CSG library doing volume difference?

http://en.wikipedia.org/wiki/Constructive_solid_geometry

I'm much interested in doing what the first pictures describe on this article, only that I'm only interested in doing it on parallelepipeds (cube-like shapes), so no sphere or tube or circular shapes whatsoever.

There is this library, http://www.cgal.org/ , but it has a lot of features, and I don't know if it does what I'm looking for, and if yes, what parts could I use ?

Do you know any other library that does what I want ?

C/C++ is preferred over C#/java, but I'm open... The goal being to not reinvent the wheel.

Upvotes: 2

Views: 2092

Answers (2)

dangerousdave
dangerousdave

Reputation: 6408

A list of libraries can be found here

Upvotes: 1

ErikEsTT
ErikEsTT

Reputation: 356

If you need only rendering (no mesh generation), look at this.

If you need to generate new mesh:

Personaly, I picked Ogre version, rewrote to use STL containers (it use fixed size for face count) and slightly optimized.

Upvotes: 2

Related Questions