Using navigation meshes for collision detection

D. Hale, G. Youngblood
{"title":"Using navigation meshes for collision detection","authors":"D. Hale, G. Youngblood","doi":"10.1145/2159365.2159424","DOIUrl":null,"url":null,"abstract":"Traditionally, tree-based spatial data structures such as k-d trees or hash-based structures such as spatial hashing are used to accelerate collision detection, and navigation meshes are used for agent path planning. In this paper, we present a series of algorithms to replace the traditional tree-based spatial data structures with the graph-based navigation-mesh. The advantages of using a single data structure for both agent navigation and collision detection acceleration are two-fold. First, the costs of constructing and maintaining two unique data structures are cut in half if a single data structure provides both spatial groupings for rapid collision detection and search space reduction for path planning. Second, using one spatial structure, development time can be shorter and, at runtime, there is generally less memory overhead. We present the results of an experiment that compares a navigation mesh as a collision detection accelerator to two popular and commonly used forms of spatial data structures, the k-d tree and the spatial hash map. We also compare its performance to a world without any spatial data structures to provide a baseline of performance. Our results show a fifty percent decrease in collision detection time between dynamic objects in comparison to k-d trees. In addition, until the number of objects present in the world exceeds three thousand the navigation mesh accelerated collision detection outperforms spatial hashing accelerated collision detection across all tests.","PeriodicalId":92512,"journal":{"name":"FDG : proceedings of the International Conference on Foundations of Digital Games. International Conference on the Foundations of Digital Games","volume":"1 1","pages":"316-318"},"PeriodicalIF":0.0000,"publicationDate":"2011-06-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"FDG : proceedings of the International Conference on Foundations of Digital Games. International Conference on the Foundations of Digital Games","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2159365.2159424","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Traditionally, tree-based spatial data structures such as k-d trees or hash-based structures such as spatial hashing are used to accelerate collision detection, and navigation meshes are used for agent path planning. In this paper, we present a series of algorithms to replace the traditional tree-based spatial data structures with the graph-based navigation-mesh. The advantages of using a single data structure for both agent navigation and collision detection acceleration are two-fold. First, the costs of constructing and maintaining two unique data structures are cut in half if a single data structure provides both spatial groupings for rapid collision detection and search space reduction for path planning. Second, using one spatial structure, development time can be shorter and, at runtime, there is generally less memory overhead. We present the results of an experiment that compares a navigation mesh as a collision detection accelerator to two popular and commonly used forms of spatial data structures, the k-d tree and the spatial hash map. We also compare its performance to a world without any spatial data structures to provide a baseline of performance. Our results show a fifty percent decrease in collision detection time between dynamic objects in comparison to k-d trees. In addition, until the number of objects present in the world exceeds three thousand the navigation mesh accelerated collision detection outperforms spatial hashing accelerated collision detection across all tests.
使用导航网格进行碰撞检测
传统上,基于树的空间数据结构(如k-d树)或基于哈希的结构(如空间哈希)用于加速碰撞检测,导航网格用于智能体路径规划。在本文中,我们提出了一系列的算法来取代传统的基于树的空间数据结构与基于图的导航网格。在智能体导航和碰撞检测加速中使用单一数据结构的优点是双重的。首先,如果一个数据结构既能提供用于快速碰撞检测的空间分组,又能减少用于路径规划的搜索空间,那么构建和维护两个唯一数据结构的成本就会减少一半。其次,使用一个空间结构,开发时间可以更短,并且在运行时,通常有更少的内存开销。我们展示了一项实验的结果,该实验将导航网格作为碰撞检测加速器与两种流行且常用的空间数据结构形式(k-d树和空间哈希图)进行了比较。我们还将其性能与没有任何空间数据结构的世界进行比较,以提供性能基线。我们的结果表明,与k-d树相比,动态对象之间的碰撞检测时间减少了50%。此外,在世界上存在的物体数量超过3000之前,导航网格加速碰撞检测在所有测试中都优于空间哈希加速碰撞检测。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信