首页 | 本学科首页   官方微博 | 高级检索  
     

基于包围盒和空间分解的碰撞检测算法
引用本文:宋城虎,闵林,朱琳,郭拯危.基于包围盒和空间分解的碰撞检测算法[J].微机发展,2014(1):57-60.
作者姓名:宋城虎  闵林  朱琳  郭拯危
作者单位:河南大学计算机与信息工程学院,河南开封475002
基金项目:国家自然科学基金资助项目(61202098)
摘    要:文中提出一种基于包围盒和空间分解的碰撞检测算法,用以解决软体的碰撞检测。算法使用AABB包围盒做初步检测,确定可能发生碰撞的物体。再根据包围盒的重叠情况缩小可能发生碰撞的区域,利用哈希表作为数据储存结构进行空间分解,将物体包围盒重叠区域的基本几何元素的空间网格映射到哈希表中,将碰撞区域缩小到基本几何元素,最后用基元碰撞检测找出具体碰撞点。由于前期AABB包围盒的处理减少了空间分解阶段需要映射的基本几何元素数量,该算法具有较高的运算速度。

关 键 词:碰撞检测  空间分解  AABB  哈希表

A Collision Detection Algorithm Based on Bounding Box and Spatial Subdivision
SONG Cheng-hu,MIN Lin,ZHU Lin,GUO Zheng-wei.A Collision Detection Algorithm Based on Bounding Box and Spatial Subdivision[J].Microcomputer Development,2014(1):57-60.
Authors:SONG Cheng-hu  MIN Lin  ZHU Lin  GUO Zheng-wei
Affiliation:( College of Computer and Information Engineering, Henan University, Kaifeng 475002, China)
Abstract:A collision detection algorithm based on the bounding volume and spatial subdivision for the collision detection of deformable objects is proposed. The algorithm does preliminary detection with AABB bounding volume boxes to find the objects which may be colli- ded. Then according to the area of overlap of the bounding box reduce the possible collision, use hash table as a data storage structure for spatial decomposition, the spatial grid of basic geometric elements in the object bounding box overlap area is mapped to a hash table, re- ducing the collision area to basic geometric elements, with primitive collision detection to find out specific collision point finally. Owing to the detection of AABB to reduce the number of object primitives, so this algorithm has a better performance.
Keywords:collision detection  spatial subdivision  AABB  hash table
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号