计算机应用 ›› 2013, Vol. 33 ›› Issue (02): 530-533.DOI: 10.3724/SP.J.1087.2013.00530

• 多媒体处理技术 • 上一篇    下一篇

基于图像空间的快速碰撞检测算法

于海军1,马纯永1,张涛2,陈戈1   

  1. 1. 中国海洋大学 信息科学与工程学院,山东 青岛 266100
    2. 中国科学院 空间应用工程与技术中心,北京 100094
  • 收稿日期:2012-08-06 修回日期:2012-09-19 出版日期:2013-02-01 发布日期:2013-02-25
  • 通讯作者: 于海军
  • 作者简介:于海军(1987-),男,山东青岛人,工程师,硕士研究生,主要研究方向:虚拟现实、图形图像处理;
    马纯永(1984-),男,山东潍坊人,讲师,博士,主要研究方向:虚拟地理信息系统、数字城市;
    张涛(1974-),男,山东枣庄人,高级工程师,博士生导师,主要研究方向:动力工程与控制;
    陈戈(1965-),男,浙江奉化人,教授,博士生导师,主要研究方向:卫星海洋遥感、海洋信息技术。
  • 基金资助:
    工业和信息化部电子信息产业发展基金资助项目;中央高校基本科研业务费青年教师科研专项基金资助项目

Fast collision detection algorithm based on image space

YU Haijun1,MA Chunyong1,ZHANG Tao2,CHEN Ge1   

  1. 1. College of Information Science and Engineering, Ocean University of China, Qingdao Shandong 266100, China
    2. Technology and Engineering Center for Space Utilization, Chinese Academy of Sciences, Beijing 100094, China
  • Received:2012-08-06 Revised:2012-09-19 Online:2013-02-01 Published:2013-02-25
  • Contact: YU Haijun

摘要: 为了满足日益复杂的虚拟环境中碰撞检测的高实时性要求,提出一种基于图像空间的快速碰撞检测算法,有效利用了图形处理器(GPU)的加速功能。该算法以基于物体空间的凸块层次二叉树技术及方向包围盒(OBB)之间的碰撞检测为前提,可快速排除场景中明显不相交的凸块;然后通过生成的凸块潜在碰撞检测集,在RECODE算法的基础上,得到一种运行效率更高的碰撞检测算法。实验结果表明,在同等复杂的虚拟环境中,尤其是复杂度较高的虚拟环境中,该算法具有更高的碰撞检测实时性,取得了良好的效果。

关键词: 碰撞检测, 图像空间, 层次二叉树, 方向包围盒, 深度缓存, 模板缓存

Abstract: In order to meet the high requirements of real-time collision detection in increasingly complex virtual environment, a fast collision detection algorithm based on image space was proposed. It made efficiently use of the Graphics Processing Unit (GPU). Based on the hierarchical binary tree and the collision detection between Oriented Bounding Boxes (OBB), the algorithm could quickly eliminate disjoint bumps of the virtual scene. With the potential collision set, the efficiency of the algorithm has a significantly improvement on the basis of RECODE algorithm. The experimental results show that the algorithm achieves good results, and has a higher efficiency, especially in a highly complex virtual environment.

Key words: collision detection, image space, hierarchical binary tree, Oriented Bounding Box (OBB), depth buffer, stencil buffer

中图分类号: