计算机工程 ›› 2012, Vol. 38 ›› Issue (06): 256-258.doi: 10.3969/j.issn.1000-3428.2012.06.085

• 开发研究与设计技术 • 上一篇    下一篇

基于包围盒和空间分割的混合碰撞检测算法

沈学利,吴 琼   

  1. (辽宁工程技术大学电子与信息工程学院,辽宁 葫芦岛 125105)
  • 收稿日期:2011-04-11 出版日期:2012-03-20 发布日期:2012-03-20
  • 作者简介:沈学利(1969-),男,副教授,主研方向:网络安全,虚拟环境仿真;吴 琼,硕士研究生
  • 基金项目:
    2010年中国煤炭工业协会科学技术研究指导性计划基金资助项目(MTKJ2010-327)

Hybrid Collision Detection Algorithm Based on Bounding Box and Spatial Decomposition

SHEN Xue-li, WU Qiong   

  1. (School of Electronics and Information Engineering, Liaoning Technical University, Huludao 125105, China)
  • Received:2011-04-11 Online:2012-03-20 Published:2012-03-20

摘要: 针对碰撞检测算法实时性较差的缺陷,提出基于层次包围盒和空间分割的混合碰撞检测算法。该算法采用构造对象的AABB包围盒,快速排除不可能相交的对象进行空间分割,实现虚拟环境对象的碰撞检测。实验结果表明,与经典的Rapid算法对比,该算法能够节省检测时间,提高碰撞检测的效率。

关键词: 虚拟现实, 包围盒, 空间分割, 混合碰撞检测, AABB包围盒, Rapid算法

Abstract: For the poor real-time of collision detection algorithm, based on bounding volume and spatial decomposition, this paper proposes a hybrid collision detection algorithm. By constructing AABB boxes of the objects can rule out the disjoint objects quickly, the algorithm does spatial decomposition test to realize fast collision detection of the virtual environment objects. Compared with the classical Rapid algorithm, experimental results show that the algorithm can save test time, and improve the efficiency of collision detection effectively.

Key words: virtual reality, bounding box, spatial decomposition, hybrid collision detection, AABB bounding box, Rapid algorithm

中图分类号: