I work on a small CAD application where all 3d objects are simple 3D convex polygons. I want to set a mode in the app where objects cannot traverse each others. Since no real physic is implicated i basically just need to call a simple collision(obj1,obj2) function.
I found a good lib called PGP (http://gamma.cs.unc.edu/SSV/) but i just found that the license is for non profit application which is not my case...
Suggestions for a lightweight collision detection library?
2 replies to this topic
Members - Reputation: 1634
Posted 01 February 2012 - 02:53 PM
I'll throw a link to MathGeoLib here as a reference, if you happen to need some related functionality. That library does not yet have GJK intersection testing or SAT testing for collisions between convex polyhedrons, but if you need to peek into collision testing between other simpler primitives, the documentation should point to a lot of sources. Also realtimerendering.com/intersections/ might be of some use.
Me+PC=clb.demon.fi | C++ Math and Geometry library: MathGeoLib, test it live! | C++ Game Networking: kNet | 2D Bin Packing: RectangleBinPack | Use gcc/clang/emcc from VS: vs-tool | Resume+Portfolio | gfxapi, test it live!