系统仿真学报 ›› 2019, Vol. 31 ›› Issue (7): 1358-1366.doi: 10.16182/j.issn1004731x.joss.18-VR0720

• • 上一篇    下一篇

可支持跃层寻径的虚拟场景漫游方法

石敏1, 魏育坤1, 金相臣1, 王素琴1, 毛天露2   

  1. 1. 华北电力大学控制与计算机工程学院,北京 102206;
    2. 中国科学院计算技术研究所,北京 100190
  • 收稿日期:2018-07-10 修回日期:2018-10-29 发布日期:2019-12-12
  • 作者简介:石敏(1975-),女,山西,博士生,副教授,研究方向为虚拟现实; 魏育坤(1996-),男,内蒙,本科,研究方向为虚拟现实。
  • 基金资助:
    国家十三五重点研发计划(2017YFC080 4900), 装备预研重点基金(9140A15030115DZ08042)

Virtual Scene Roaming Method Supporting Multi-layer Path Planning

Shi Min1, Wei Yukun1, Jin Xiangchen1, Wang Suqin1, Mao Tianlu2   

  1. 1. School of Control and Computer Engineering, North China Electric Power University, Beijing 102206, China;
    2. Institute of Computing Technology, Chinese Academy of Sciences, Beijing 100190, China
  • Received:2018-07-10 Revised:2018-10-29 Published:2019-12-12

摘要: 以三维虚拟场景中角色的自动寻径为研究背景,提出了一种基于A*算法的跃层寻径方法,采用改进的启发函数评估各个扩展节点的代价值以确定问题的最优解。通过引入碰撞检测机制,对改进的A*算法得到的路径进行修正以避免碰撞行为的发生,并对修正后路径的关键点进行插值,借助Bézier曲线构建平滑的导航路径。通过实验验证,在目标点可达的情况下,寻径结果能够良好地适配跃层的情形。

关键词: 跃层寻径, A*算法, 路径规划, Bézier曲线, 虚拟场景

Abstract: Taking the automatic role pathfinding in three-dimensional virtual scene as the research background, the author proposes a method of multi-layer pathfinding based on A-star algorithm, and uses advanced heuristic functions to evaluate the cost values of various expansion nodes to confirm the optimal solution to the problems. By introducing collision detection mechanism, the navigation path generated by the improved A* algorithm is modified to avoid collision; and by interpolating the fixed path, the smooth navigation path is constructed using Bézier Curve. The experimental results show that the path finding results can well adapt to the multi-layer case when the target point is reachable.

Key words: multi-layer path planning, A* algorithm, path planning, Bézier curve, virtual scene

中图分类号: