Opcode 1.2

L@ Cible has released Opcode 1.2, which according to his site, is a new small collision detection library. Here are some of features new to Opcode 1.2:

  • new VolumeCollider base class
  • simplified callback setup
  • you can now use callbacks or pointers (setup at compile time)
  • destination array not needed anymore in the RayCollider (faster in-out tests)
  • renamed classes: AABBRayCollider => RayCollider, AABBSphereCollider => SphereCollider
  • the sphere query now only returns a list of faces (extra info discarded). On the other hand it’s a lot faster.
  • OBB, AABB and planes queries. Original OBB and AABB queries contributed by Erwin de Vries.
  • cosmetic changes in OPC_BoxBoxOverlap.h contributed by Gottfried Chen
  • some inlining problems fixed
  • faster ray-mesh tests using the separating axis theorem
  • new split value in AABB tree construction (contributed by Igor Kravtchenko). Provides faster queries most of the time.
  • improved temporal coherence for sphere & AABB queries (works in “All contacts” mode)

    Opcode downloads are available from http://www.codercorner.com/Opcode.htm

    Once again, thanks to our French correspondent, polochon, for the news.