系统仿真学报 ›› 2018, Vol. 30 ›› Issue (11): 4236-4243.doi: 10.16182/j.issn1004731x.joss.201811023

• 仿真系统与技术 • 上一篇    下一篇

改进的混合包围盒碰撞检测算法研究

王超1, 张志利1, 龙勇2, 王韶迪1   

  1. 1.火箭军工程大学导弹工程学院,陕西 西安 710038;
    2.航天科工系统仿真科技有限公司,北京 100095
  • 收稿日期:2018-05-27 修回日期:2018-06-25 发布日期:2019-01-04

Improved Hybrid Bounding Box Collision Detection Algorithm

Wang Chao1, Zhang Zhili1, Long Yong2, Wang Shaodi1   

  1. 1.Missile Engineering Academy, Rocket Force Engineering University , Xi'an 710038, China;
    2.China Aerospace Science and Engineering System Simulation Technology Company Ltd, Beijing 100095, China
  • Received:2018-05-27 Revised:2018-06-25 Published:2019-01-04

摘要: 针对方向包围盒(OBB)构造耗时长,场景碰撞检测算法效率不高的问题,提出了一种快速自适应的混合包围盒碰撞检测算法,优化了包围盒的层次结构和存储方式,通过八叉树空间分割和包围球的粗检测排除大量不可能相交的物体,再对可能相交的对象作OBB包围盒的精确相交测试。实验结果表明,改进的算法较经典的OBB算法相比,降低了包围盒构造的复杂度,且场景中物体数越多,碰撞检测的精确度越高。

关键词: 碰撞检测, 空间分割, 混合包围盒, 包围球, 方向包围盒

Abstract: For the construction of the oriented bounding box (OBB) takes a long time and the efficiency of the scene collision detection algorithm is not high, a fast-adaptive hybrid bounding box collision detection algorithm is proposed, which optimizes the bounding box of hierarchy and the way of storage. A large number of objects that cannot be intersected are excluded by means of the eight-tree space division and the rough detection of the sphere, and the exact intersecting test of the OBB can be made. The experimental result shows that compared with the OBB algorithm, the complexity of the bounding box construction is reduced, and the more the number of objects in the scene, the higher the accuracy of collision detection.

Key words: collision detection, space division, hybrid bounding box, spheres, oriented bounding box (OBB)

中图分类号: