摘要
虚拟汽车驾驶仿真是计算机图形学研究的热点问题,目前最为常见的应用就是各类赛车游戏。首先探讨了采用VC++开发环境以及OpenGL库函数实现汽车在虚拟环境中的行驶以及操作者对汽车的视点切换,然后提出了采用双线性算法确定汽车在起伏不平的路面上行驶时每个车轮的高度,进而得出车身的偏转,实现对汽车颠簸现象的模拟。实验结果证实了上述方法的可行性。
Virtual vehicle simulation is a hot point of the science of computer graphics. It appears mostly in those racing games today. The driving of the virtual car in the virtual environment as well as the viewpoint switch are firstly discussed, by using VC++ and OpenGL. Then,each height of the wheels of the car,caused by the bumpiness of the road,is calculated by the double linear arithmetic. After this,the incline of the ear can he gotten,and the bump of the car can be simulated. The result of the experiment is satisfying,which proves the method laid out feasible.
出处
《现代电子技术》
2007年第21期141-143,共3页
Modern Electronics Technique