1、I 飞行姿态的三维动态实时显示飞行姿态的三维动态实时显示 摘要摘要 三维视景仿真是虚拟现实领域的主要研究课题,它能利用计算机为人们建立一个 逼真度和可信度都较高的虚拟场景,在当前很多领域中都有了广泛的应用,包括交互 式的游戏娱乐、大型的工程漫游、城市规划等。尤其是在军事方面关于武器研制和飞 行器试验中,通过该手段可以获取丰富的仿真数据,是一种经济方便的可视化分析和 研究的方法。 本文基于 OpenGL,应用 Visual C+ 6.0 平台,用 C+编程对飞行器的飞行场景 进行了设计与仿真这样做的目的是由于在实际操纵中, 使用真实的飞机来训练新操作 手的风险和代价是很高的,所以,在实验室中使用
2、模拟训练器来训练是国内外通常采 用的有效方法。文章使用纹理贴图的方法实现了对天空和地面的模拟,用多边形组成 了飞机, 使用键盘来实现对飞机的操作, 同时添加了雾以及光照来增加场景的真实感。 程序的运行结果比较符合预期要求,对实际操纵有一定的借鉴意义。 此外也可用于三 维游戏设计及其他领域。 关键词:关键词:OpenGL,Visual C+,飞行飞行器,器,纹理贴图纹理贴图 II The 3D dynamic real-time display of flight attitude Abstract Three dimension visual simulation is a main rese
3、arch topic in the field of virtual reality, it can use the computer for people to set up a virtual scene, fidelity and reliability are higher in the current has a widespread application in many fields, including interactive game entertainment, large engineering roaming, urban planning, etc. Especial
4、ly on weapons in the military field experiments, and aircraft can get rich by the means of simulation data, is an economic and convenient method of visualization analysis and research. The paper uses C + + programming design and simulate the scene of aircraft flight based on the OpenGL and apply Vis
5、ual C + + 6.0 platform. Thanks to using the real aircraft to train new operators ,the risks and costs are high when in the actual manipulation, so at home and abroad, the effective method of training operators is through the training simulators in the laboratory .The article uses texture mapping met
6、hod to achieve a simulation of the sky and the ground, aircraft polygons and use the keyboard to the operation of the aircraft, at the same time ,adding the fog and light to increase the realism of the scene. The results of the program is in line with the expectations, further more ,it have a significance effect on the actual manipulation .Also can be used in the design of 3 d games and other fields. Key words:OpenGL,Visual C+,aircraft,Texture map III 目目 录录 中文摘要中文摘要 I 英文摘要英文摘要 . I