计算机工程与应用 ›› 2014, Vol. 50 ›› Issue (7): 46-49.

• 理论研究、研发设计 • 上一篇    下一篇

基于空间剖分的碰撞检测算法研究

张国飚,张  华,刘满禄,余  慧   

  1. 西南科技大学 信息工程学院,四川 绵阳 621010
  • 出版日期:2014-04-01 发布日期:2014-04-25

Research of collision detection algorithm based on spatial subdivision

ZHANG Guobiao, ZHANG Hua, LIU Manlu, YU Hui   

  1. School of Information Engineering, Southwest University of Science and Technology, Mianyang, Sichuan 621010, China
  • Online:2014-04-01 Published:2014-04-25

摘要: 针对虚拟环境中物体碰撞检测效率不高的问题,提出了一种基于空间剖分的碰撞检测算法。利用物体空间分布特性以及运动物体碰撞行为的局部性,先用空域分割中定性-定量结合的方法快速确定可能碰撞的物体对,再用混合层次包围盒进行精确测试,明显地提高了碰撞检测速度。实验分析表明,该算法不仅可实现复杂场景下多个物体同时发生碰撞的检测,也能保证算法在物体高速运动时的有效性。

关键词: 碰撞检测, 空间剖分, 混合包围盒

Abstract: In order to solving the collision detection problem of low efficiency in virtual environment, this paper proposes a collision detection algorithm based on spatial subdivision. Using object space distribution characteristics and moving object collision behavior limitations, firstly it confirms quickly how many possible collision objects are in space partition with the way of qualitative and quantitative combined, then tests accurately with Hierarchical Bounding Volumes(HBVS), and lastly, the way proposed above improves the speed of collision detection obviously. Experimental analysis shows that the algorithm not only can realize collision detection of multiple objects under complex scene at the same time, but also can guarantee the effectiveness of the algorithm in high-speed motion object.

Key words: collision detection, spatial subdivision, hybrid bounding box