计算机工程与应用 ›› 2007, Vol. 43 ›› Issue (33): 89-91.

• 学术探讨 • 上一篇    下一篇

一种虚拟人导航运动的路径规划算法

刘一松,魏 宁   

  1. 江苏大学 计算机科学与通信工程学院,江苏 镇江 212013
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-11-21 发布日期:2007-11-21
  • 通讯作者: 刘一松

Path planning algorithm for virtual human navigation in virtual environment

LIU Yi-song,WEI Ning   

  1. Department of Computer Science and Telecommunication Engineering,Jiangsu University,Zhenjiang,Jiangsu 212013,China
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-11-21 Published:2007-11-21
  • Contact: LIU Yi-song

摘要: 提出了一种虚拟人在复杂的3D障碍环境中根据导航目标快速进行最优路径规划的算法,该算法以使用栅格法表示虚拟环境为基础。首先,将虚拟环境中虚拟人高度范围内所有障碍物的几何形状映射到一个离散的2D位图,并对障碍物进行“膨胀”;然后,使用提出的算法规划出一条从初始位置到目标位置的最优路径,引导虚拟人在虚拟环境中进行导航运动。该方法可以在较少的内存代价和计算代价的情况下,快速规划出从虚拟人目前位置到目标位置的最优路径,算法的可行性和有效性经过实验验证。

关键词: 虚拟人, 路径规划, 目标导航

Abstract: This paper presents an efficient path planning algorithm for quickly generating global motion paths from navigation goals for a human model in very complex 3D obstacles environments,which is based on the representation of virtual environments.First,all obstacle geometry within the height range of the character is projected to a discretized 2D bitmap grid;the projected obstacles are “grown”.Then,the path planning algorithm presented in this paper is used to find an optimal path from an original position to an aim,directing virtual human walkthrough in environments.This method can quickly plan the optimal path from the position of virtual human now to the goal position within low memory requirements and computational cost.The feasibility and effectiveness of the algorithm are demonstrated by experiments.

Key words: virtual human, path planning, goal-directed motion