吉林大学学报(理学版)

• 计算机科学 • 上一篇    下一篇

基于圆柱体包围盒母线的快速碰撞检测算法

程士骏, 冯月萍   

  1. 吉林大学 计算机科学与技术学院, 长春 130012
  • 收稿日期:2014-07-14 出版日期:2015-03-26 发布日期:2015-03-24
  • 通讯作者: 冯月萍 E-mail:fengyp@jlu.edu.cn

Fast Collision Detection Algorithm of Cylinders Based on Generatrices

CHENG Shijun, FENG Yueping   

  1. College of Computer Science and Technology, Jilin University, Changchun 130012, China
  • Received:2014-07-14 Online:2015-03-26 Published:2015-03-24
  • Contact: FENG Yueping E-mail:fengyp@jlu.edu.cn

摘要:

针对传统平表面包围盒对圆滑表面包围不紧密的问题,  提出一种基于圆柱体包围盒的碰撞检测算法. 该算法先检测端面圆片相交, 再求出两圆柱的相对角度, 最后求二者最靠近对方的母线并用于进行碰撞检测. 实验测试表明, 在对相同柱状形体进行检测时, 该方法较传统的平表面包围盒检测方法在速度和精确度上均有明显提升.

关键词: 碰撞检测, 包围盒, 圆柱

Abstract:

We proposed cylinder bounding boxes and their corresponding collision detection algorithm so as to solve the problem of loose contact of traditional flatsurfaced bounding boxes. Firstly, the algorithm tests the top and bottomend round plates for collision. Secondly, the relative angle between the two cylinders is calcuated. Finally, the generatrices nearest to each other are found and used to perform  collision detection. Test runs have proved our method is much faster than traditional flatsurfaced bounding boxes collision detection methods when used to examine the same columnar volumes.

Key words: collsion detection, bounding boxes, cylinders

中图分类号: 

  • TP391.9