计算机应用 ›› 2010, Vol. 30 ›› Issue (12): 3304-3306.

• 虚拟现实与模式识别 • 上一篇    下一篇

基于混合包围盒的碰撞检测算法

李红波1,周东谕2,吴渝3   

  1. 1. 重庆市重庆市邮电大学计算机学院
    2. 重庆邮电大学
    3. 重庆邮电大学计算机科学与技术研究所
  • 收稿日期:2010-05-31 修回日期:2010-07-20 发布日期:2010-12-22 出版日期:2010-12-01
  • 通讯作者: 周东谕
  • 基金资助:
    新世纪优秀人才支持计划;科技部 “原创动漫软件开发技术人才”计划扶持

Collision detection algorithm based on mixed bounding box

  • Received:2010-05-31 Revised:2010-07-20 Online:2010-12-22 Published:2010-12-01

摘要: 提出了一种基于k-dops包围盒与包围球相结合的碰撞检测算法。预处理阶段为几何对象构造包围盒二叉树,其中节点的内层构造k-dops包围盒,节点的外层构造包围球。碰撞检测阶段,首先利用包围球快速排除不可能发生相交的物体,然后利用k-dops包围盒进一步精确地判断物体对是否发生相交。通过与QuickCD算法的性能进行比较,证明了这种混合包围盒能够有效地提高复杂结构几何体之间碰撞检测的效率。

关键词: 碰撞检测, 包围球, k-dops, 混合包围盒

Abstract: A collision detection algorithm based on mixed bounding box was proposed using k-dops and bounding sphere between complex objects. In the preliminary period, bounding box binary tree of the objects was established. A k-dops was established at the inner layer of node and a bounding sphere was established at the outer layer of node. In collision detection period, firstly the intersection test used sphere-sphere method for fast overlap test in outer layer, eliminating the possibility of collision between objects far apart. Then it accurately determined the contact status among objects in closer proximity by kdops-kdops test in inner layer. The experimental results, compared with that of QuickCD, show that the proposed algorithm is efficient in collision detection between complex objects.

Key words: collision detection, bounding sphere, k-dops, mixed bounding box