基于流的实时碰撞检测算法
作者:
基金项目:

Supported by the National Natural Science Foundation of China under Grant No.60103003, 60021201(国家自然科学基金);the National High-Tech Research and Development Plan of China under Grant No.2002AA411310(国家高技术研究发展计划(863));the National Grand Fundamental Research 973 Program of China under Grant No.2002CB312100(国家重点基础研究发展规划(973))


Streaming Real Time Collision Detection Using Programmable Graphics Hardware
  • 摘要
  • | |
  • 访问统计
  • |
  • 参考文献 [38]
  • |
  • 相似文献 [20]
  • |
  • 引证文献
  • | |
  • 文章评论
    摘要:

    实时碰撞检测是计算机图形应用中不可或缺的问题之一,复杂物体间的实时碰撞检测至今仍未能得以很好的解决.高性能可编程图形硬件的出现,正在改变着通用计算仅能由CPU完成的传统观念.探索性地采用了可编程图形硬件来解决复杂物体间的实时碰撞检测问题.通过将两个任意物体间的碰撞检测计算映射到图形硬件以有效利用图形硬件的并行架构,由实时绘制过程快速产生碰撞检测结果.为此,算法首先将碰撞检测问题转化为一组线段集合与三角形的求交问题,以实现碰撞检测算法向可编程图形硬件的迁移.在对算法复杂度进行理性分析的基础上,给出了两种有效的优化技术以提升算法效率.实验结果表明,与现有的图像空间碰撞检测算法相比,该算法在效率、精确性和实用性方面具有明显优势.

    Abstract:

    Real time collision detection is required by almost all computer graphics applications. However, the problem of real time collision detection is yet to be solved between complex objects. With the recent advent of high performance graphics processing units (GPUs), a dramatic shift is being seen in the traditional idea that general-purpose computation can only be performed by CPUs. This paper explores to solve the problem of real time collision detection between complex objects using programmable GPUs. The algorithm maps the computation of collision detection between two arbitrary objects onto programmable GPUs to match their parallel architectures, and produces on the fly the collision detection results via real time rendering. To do so, the problem is first converted into the problem of finding intersections between a collection of line segments and a set of triangles to realize the migration of collision detection algorithms to programmable GPUs. Based on reasonable analyses of the algorithm complexity, two optimized techniques is presented to improve its efficiency. Experimental results have shown that the optimized algorithm is advantageous over other current collision detection algorithms implemented in image space regarding efficiency, accuracy as well as practicability.

    参考文献
    [1]Lin M, Gottschalk S. Collision detection between geometric models: a survey. In: Proc. of the IMA Conf. on Mathematics of Surfaces. 1998.37~56.
    [2]Jimenez P, Thomas F, Torras C. 3d collision detection: A survey. Computers and Graphics, 2001,25(2):269~285.
    [3]Wang ZQ, Hong JZ, Yang H. A survey of collision detection problem. Journal of Software, 1999,10(5):545~551 (in Chinese with English abstract).
    [4]Fan ZW, Wan HG, Gao SM. A parallel algorithm for rapid collision detection. Chinese Journal of System Simulation, 2000,12(5):548~552 (in Chinese with English abstract).
    [5]Wei YM, Wu QY, Shi JY. Research on fixed direction hull bounding volume in collision detection. Journal of Software, 2001,12(7):1056~1063 (in Chinese with English abstract).
    [6]Wang ZQ, Zhao QP, Wang CW. A fast algorithm to calculate collision point between convex polygons. Journal of Software, 1999,10(12): 1253~ 1258 (in Chinese with English abstract).
    [7]Gottschalk S, Lin M, Manocha D. Obb-Tree: A hierarchical structure for rapid interference detection. In: Proc. of the ACM Siggraph'96. 1996. 171~180.
    [8]Cohen J, Lin M, Manocha D, Ponamgi M. I-COLLIDE: An interactive and exact collision detection system for large-scale environments. In: Proc. of the ACM Interactive 3D Graphics Conf. 1995. 189~196.
    [9]Klosowski JT, Held M, Mitchell JSB, Sowizral H, Zikan K. Efficient collision detection using bounding volume hierarchies of k-DOPs. IEEE Trans. on Visualization and Computer Graphics, 1998,4(1):21~36.
    [10]Chung K, Wang W. Quick collision detection of polytopes in virtual environments. In: Proc. of the ACM Symp. on Virtual Reality Software and Technology. ACM Press, 1996. 125~132.
    [11]Ehmann S, Lin M. Accurate and fast proximity queries between polyhedra using convex surface decomposition. In: Proc. of the Eurographics Conf. 2001. 500~510.
    [12]Shinya M, Forgue M. Interference detection through rasterization. Journal of Visualization and Computer Animation, 1991,2:131~134.
    [13]Rossignac J, Megahed A, Schneider BO. Interactive inspection of solids: Cross-Section and interferences. Computer Graphics,1992,26(2):353~360.
    [14]Baciu G, Wong SKW, Sun H. RECODE: An imago-based collision detection algorithm. Journal of Visualization and Computer Animation, 1999,10(4):181~192.
    [15]Hoft III KE, Zaferakis A, Lin M, Manocha D. Fast and simple 2D geometric proximity queries using graphics hardware. In: Proc.of the ACM Symp. on Interactive 3D Graphics. 2001. 145~148.
    [16]Kim Y J, Lin M, Manocha D. Fast penetration depth estimation using rasterization hardware and hierarchical refinement. In: Symp.on Computational Geometry 2003. 2003. 386~387.
    [17]Fan ZW, Wan HG, Gao SM. IBCD: A fast collision detection based on image space using OBB. Journal of Visualization and Computer Animation, 2003,14(4): 169~ 181.
    [18]Fan ZW, Wan HG, Gao SM. A fast collision detection based on image space. Chinese Journal of CAD&CG, 2002,14(9):805~809(in Chinese with English abstract).
    [19]Govindaraju NK, Redon S, Lin M, Manacha D. CULLIDE: Interactive collision detection between complex models in large environments using graphics hardware. In: Proc. of the ACM Siggraph/Eurographics Workshop on Graphics Hardware. 2003.25~32.
    [20]Lindbolm E, Kilgard MJ, Moreton H. A user-programmable vertex engine. In: Proc. of the Siggraph. 2001. 149~158.
    [21]Olano M, Lastra A. A shading language on graphics hardware: the PixelFlow shading system. In: Proc. of the SIGGRAPH'98. 1998.159~168.
    [22]Peercy MS, Olano M, Airey J, Ungar PJ. Interactive multi-pass programmable shading. In: Proc. of the SIGGRAPH 2000. 2000.425~432.
    [23]Proudfoot K, Mark WR, Tzvetkov S, Harnrahan P. A real-time procedural shading system for programmable graphics hardware. In:Proc. of the SIGGRAPH 2001. 2001. 159~170.
    [24]Kruger J, Westermann R. Acceleration techniques for GPU-based volume rendering. In: Proc. of the 14th IEEE Visualization Conf.2003.38~43.
    [25]Carr, Nathan A, Jesse D. Hall and John C. Hart, The ray engine. In: Proc. of the Graphics Hardware. 2002.37~46.
    [26]Purcell TJ, Buck I, Mark WR, Hanrahan P. Ray tracing on programmable graphics hardware. ACM Trans. on Graphics,2002,21(3):703~712.
    [27]Bolz J, Farmer I, Grinspun E, Schroder P. Sparse matrix solvers on the GPU: Conjugate gradients and multigrid. In: Proc. of the SIGGRAPH 2003. 2003.917~924.
    [28]Harris MJ, Coombe G, Scheuermann TA. Lastra, physically-based visual simulation on graphics hardware. In: Proc. of the SIGGRAPH 2002/Eurographics Workshop on Graphics Hardware 2002. 2002. 109~118.
    [29]Wynn C. Using p-buffers for off-screan rendering in OpenGL. NVIDIA Corporation. http://developer.nvidia.com/docs/IO/1293/ATT/GDC01 _PixelBuffers.pdf
    [30]NVIDIA 2003, NVIDIA OpenGL extension specifications, http://developer.nvidia.com/object/nvidia_opengl_specs.html
    [31]Mark WR, Glanville S, Akeley K. Cg: A system for programming graphics hardware in a C-like language. Proc. of the SIGGRAPH2003, 2003,22(3):896~900.
    [32]Moller T, Trumbore B. Fast, Minimum storage ray-triangle intersection. Journal of Graphics Tools, 1997,2(1):21~28.
    [33]Williams AL, Banus S, Morley RK, Shirley P. An efficient and robust ray-box intersection algorithm. 2001.http://www.cs.utah.edu/~awilliam/box/
    [34]王志强,洪嘉振,杨辉.碰撞检测问题研究综述.软件学报,1999,10(5):545~551.
    [35]范昭炜,万华根,高曙明.基于并行的快速碰撞检测算法.系统仿真学报,2000,12(5):548~552.
    [36]魏迎梅,吴泉源,石教英.碰撞检测中的固定方向凸包包围盒的研究.软件学报,2001,12(7):1056~1063.
    [37]王兆其,赵沁平,汪成为.-个计算凸多面体间碰撞点的快速算法.软件学报,1999,10(12):1253~1258.
    [38]范昭炜,万华根,高曙明.基于图像的快速碰撞检测算法.计算机辅助设计与图形学学报,2002,14(9):805~809.
    网友评论
    网友评论
    分享到微博
    发 布
引用本文

范昭炜,万华根,高曙明.基于流的实时碰撞检测算法.软件学报,2004,15(10):1505-1514

复制
分享
文章指标
  • 点击次数:4058
  • 下载次数: 6445
  • HTML阅读次数: 0
  • 引用次数: 0
历史
  • 收稿日期:2003-10-13
  • 最后修改日期:2004-05-08
文章二维码
您是第19987723位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京市海淀区中关村南四街4号,邮政编码:100190
电话:010-62562563 传真:010-62562533 Email:jos@iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号