摘要
在虚拟仿真环境中经常要事先设置虚拟对象的运动路径,并且需要在仿真过程中动态的、有规律的进行一系列运动路径的变化,专业仿真软件Vega提供的路径和导航器模块很好地解决了这一问题。首先讨论了基于仿真软件Vega的路径和导航器基本原理及其API接口函数,详细阐述了如何应用这两个模块在Lynx中创建路径和导航对象,以及怎样通过PathTool路径工具设置路径控制点和导航参数,然后介绍了路径和导航器在VC编程中的应用,最后基于实践应用探讨了仿真环境中虚拟对象运动路径的精确定位、速度的设定、张力因子选取以及运动方向的调整方法。
The playing track of some visual objects are often set in the simulation environment, and a series of transformations are required for the dynamic and ordinal simulation process. The path module and navigator module are provided in the professional software Vega for simulation which solve these problems very well. Firstly, the two modules and their API functions are discussed based on Vega in this paper. Secondly, how to create the path and the navigators' objects are described, and how to set control points of the path and the navigator with path tool are introduced. Then , Programming for these two modules is presented. Finally, the accurate positioning of playing path , setting of velocities, selecting of tension factor and the methods for adjusting playing orientation are discussed based on practical application in simulation environment.
出处
《计算机仿真》
CSCD
2006年第12期201-204,271,共5页
Computer Simulation
关键词
路径
导航
样条
控制点
Path
Navigator
Spline
Control point