ColDet - Free 3D Collision Detection Library
Version: 1.1
This library is an effort to provide a free collision detection library
for generic polyhedra. Its purpose is mainly for 3D games where accurate
detection is needed between two non-simple objects.
Features:
-
Works on any model, even polygon soups.
-
Fully Portable. Compiles on windows compilers (VC, BCB) and recent
versions of g++ on any platform.
-
Uses bounding box hierarchies for fast detection.
-
Uses additional triangle intersection tests for 100% accuracy.
-
Provides (upon request) exact point of collision, plus the pair of triangles
that collided.
-
Supports timeout setting, to limit detection time.
-
Model-Model collision test.
-
Ray-Model collision test.
-
Segment-Model collision test.
-
Sphere-Model collision test.
-
Ray-Sphere and Sphere-Sphere primitive collision tests.
-
Released under the Library
GNU Public License
Performance:
Testing on a P-II 350Mhz, using two aircraft models:
-
F15 (3186 polygons)
-
Spitfire (4812 polygons)
Worst case (close proximity) 6 ms
Average with one object standing and the other moving back and forth
through and beyond the first object. (obvious collision, obvious no collision
and close proximity) 1 ms
Download: (~ 163 Kb)
OpenGL Code Sample (+Binaries): (~ 215 Kb)
Contact:
Share and ask on the Message
Board
Join the mailing list to get updates and discussions. Send an email
to: ColDet-request@photoneffect.com
with subscribe in the subject.
In order to send an email to everyone on the list, send email to ColDet@photoneffect.com
Send all other comments to: photon@photoneffect.com
Visitor:
