基于层次包围盒的碰撞检测算法的存储优化.docVIP

  • 3
  • 0
  • 约7.96千字
  • 约 10页
  • 2020-04-23 发布于北京
  • 举报

基于层次包围盒的碰撞检测算法的存储优化.doc

基于层次包围盒的碰撞检测算法的存储优化 112 萌 金汉均 , 王晓荣 , 王 112JIN Han- jun, WANG Xiao- rong, WANG Meng 1.华中师范大学 计算机科学系, 武汉 430079 2.广西工学院 计算机工程系, 广西 柳州 545006 1.Department of Computer Science, Huazhong Normal University, Wuhan 430079, China 2.Department of Computer Engineering, Guangxi University of Technology, Liuzhou, Guangxi 545006, China E- mail: ccnuxnxs@163.com J IN Han - jun , WANG Xiao - r ong, WANG Meng.Memor y - optimized of collision detection algor ithm based on bounding - volume hier ar chies.Computer Engineer ing and Applications, 2007, 43( 16) : 61- 63. Abstr act : A method of memory- optimized is presented for collision detection algorithm based on bounding- volume.Collision de- tection algorithm based on AABB tree is improved from a space perspective.From the constructing process of AABB tree, the amount of byte of AABB bounding- volume for internal node is reduced.We wipe the bounding- volume out from leaf nodes struc- ture based on a fast triangle - triangle intersection test algorithm, and then wipe the leaf nodes out.We optimize the storage of AABB bounding- volume and leaf node at the same time.The direct result is that it can save a large amount of space and speed up the algorithm. Key wor ds: AABB bounding- volume; memory- optimized; intersection test; collision detection 摘 要: 介绍了基于层次包围盒的碰撞检测算法的存储优化方法。该方法从存储空间的角度来改进基于 AABB 树的碰撞检测算 法。根据 AABB 树的构造过程, 减少内部节点的 AABB 包围盒的存储字节数; 基于快速三角形相交测试算法, 从叶节点结构里去掉 包围盒信息, 将叶节点从存储结构中删除。实验表明, 利用 AABB 包围盒和叶节点的存储优化, 既减少了算法的存储空间又加快了 算法的执行时间。 关键词: AABB 包围盒; 存储优化; 重叠测试; 碰撞检测 文章编号: 1002- 8331( 2007) 16- 0061- 03 文献标识码: A 中图分类号: TP391 初期用于减少包围盒树存储需求的方法主要有两种。方法1 引言 一是使得包围盒树每个叶节点含有多于一个的三角形; 方法二 虚拟环境中由于物体的交互和运动, 物体间经常会发生碰 根据包围盒树节点的左右孩子节点的存储地址总是相邻的, 使 撞。系统必须能及时检测到这些碰撞, 以避免产生穿透等不真 得一个孩子节点的索引信息变为隐藏信息。两种方法都减少了 实的现象。随着虚拟现实技术和分布式仿真技术的兴起, 碰撞 包围盒树的内存需求, 但也一定程度上增加了检测碰撞的时间。 检测问题成为一个研究的热点。 [2]对 AABB 包围盒进行了存储压缩, 减少了存储整棵 文献层次包围盒法是进行物体间碰撞检测的常用方法。初检测 AABB 树所需的字节数。本文在文献[2]所提的存储优化方法的 阶段通过物体的包围盒相交测试来排除不可能相交的物体对, 基础上进行了改进。根据 AABB 树的构造方法来优化内部节点 再对包围

文档评论(0)

1亿VIP精品文档

相关文档