计算机应用 ›› 2011, Vol. 31 ›› Issue (02): 347-350.

• 图形图像处理 • 上一篇    下一篇

基于拓扑层次图的碰撞检测算法

王海玲1,印桂生2,陈怀友3,张菁4   

  1. 1. 哈尔滨工程大学 计算机科学与技术学院
    2. 哈尔滨工程大学计算机科学与技术学院
    3.
    4. 哈尔滨工程大学
  • 收稿日期:2010-08-11 修回日期:2010-09-23 发布日期:2011-02-01 出版日期:2011-02-01
  • 通讯作者: 王海玲
  • 基金资助:
    基于自律计算的软件可信性增长模型与方法;863计划-基于自律计算的分布式系统可恢复性关键技术

Collision detection based on topology hierarchy graph

  • Received:2010-08-11 Revised:2010-09-23 Online:2011-02-01 Published:2011-02-01
  • Contact: WANG Hai-ling

摘要: 为了提高虚拟环境中碰撞检测的实时性和精确性,提出了一种基于拓扑层次图的碰撞检测方法。利用拓扑结构的连接关系将模型分割成凸集;然后利用凸集较强的适应性和OBB紧密性好的优点构造包围盒的拓扑层次图,提高了剔除不相交包围盒的效率,减少了检测时间;利用智能搜索算法——改进的A*算法搜索潜在碰撞集(PCS),进一步提高相交检测的速度和准确性。实验表明,该算法具有较高的速度和精度,能够满足复杂虚拟环境碰撞检测实时性和精确性的要求。

关键词: 碰撞检测, 拓扑层次图, 方向包围盒树, A*算法

Abstract: To improve realtime and accurate performance of collision detection in virtual environment, a collision detection method based on topology hierarchy graph was proposed. Firstly, the original model was separated into convex set using the relationship of topology, and combining the merit of convex set and Oriented Bounding Box (OBB), a topology hierarchy graph for model was constructed, which effectively eliminated nonintersected bounding box and enhanced detection accuracy. By using intelligent search algorithm-improved A* algorithm to search for Potential Collision Sets (PCS), thus the speed and accuracy of collision detection were improved. The experimental results show that the algorithm has higher accuracy and efficiency for realtime collision detection in virtual environment.

Key words: collision detection, topology hierarchy graph, Oriented Bounding Box (OBB) tree, A* algorithm