文档介绍:论文题目:基于OpenGL的三维飞行器程序设计与仿真
摘要
本文基于OpenGL,应用Visual C++ 平台,用C++,使用真实的飞机来训练新操作手的风险和代价是很高的,所以,在实验室中使用模拟训练器来训练是国内外通常采用的有效方法。文章使用纹理贴图的方法实现了对天空和地面的模拟,用多边形组成了飞机,使用键盘来实现对飞机的操作,同时添加了雾以及光照来增加场景的真实感。程序的运行结果比较符合预期要求,对实际操纵有一定的借鉴意义。最后还针对实际制作过程中提出了一些建议以及改进的方法。
【关键字】OpenGL; C++;飞行器;纹理贴图;仿真
【论文类型】设计性
Title:Aircraft program design and simulation based an OpenGL
Major:
Name: Signature:
Supervisor: Signature:
Abstract
The paper uses C + + programming design and simulate the scene of aircraft flight based on the OpenGL and apply Visual C + + 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 method 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 results of the program is in line with the expectations, further more ,it have a significance effect on the actual manipulation .Finally, for the actual process of making a number of mendations as well as improved methods.
【Key words】 OpenGL; C++; aircraft; texture mapping; simulate
【Type of Thesis】The design model
目录
1. 绪论 5
前言 5
飞行器仿真技术国内外研究现状 6
本文研究的目的及主要内容 6
2. 程序功能概述 7
场景的构建及其特点 8
场景的构建 8
与以往实现方法的区别 8
程序的主要功能 9
本论文研究重点 9
3. 程序涉及知识详解 10
基本框架 10
构建应用程序框架 10
坐标变换 10
视图变换 13
模型变换 14
投影变换 14
纹理映射 14
纹理 14
纹理数据 15
漫游的原理 16
显示列表 17
屏幕显示 18
19
19
地面 21
地面的生成 21
地面中的水 25
飞行器 26
飞行器的构建 26
材质属性的设置 28
飞行器漫游 28
飞行器的控制 30
飞行器的尾焰 33
场景中的光照 34
光照的属性 34
光照的模型 35
场景中的雾 37
雾的属性 37
雾的生成 3