节点文献

基于OpenGL的列车视景仿真研究

Research of Scene Simulation of Train Movement Based on OpenGL

【作者】 曾晓芳

【导师】 肖世德;

【作者基本信息】 西南交通大学 , 机械电子工程, 2008, 硕士

【摘要】 随着虚拟现实技术的飞速发展,计算机仿真技术目前正广泛应用于军事和国民经济的各个领域。在铁路交通领域,为了使列车司乘等工作人员更快更好地熟悉和掌握列车的编组和运行工况,这就需要现代化的培训手段。依托于计算机仿真技术的列车仿真系统具有经济、安全、灵活及可重复的优点,正在列车驾驶培训中发挥越来越大的作用。本论文利用VC++中的MFC,基于OpenGL函数库,从底层出发开发一个具备自主知识产权的列车视景仿真原型系统。论文主要工作包括以下几点:1.在MFC环境下基于OpenGL函数库建立了列车视景仿真程序框架,建构了一个交互性良好的操作界面,界面分为场景设置视区、绘图视区和控制操作视区三部分2.通过几何变换、投影变换、视图变换、视口变换等,将现实中观察到的三维场景物体,转换为二维计算机屏幕所能表示的二维图像。同时通过几何变换中的移动变换、旋转变换、缩放变换将场景组装在一起,变化它们的输入参数来实现动画效果。3.将建模方法分为一般建模、三维模型导入和特殊建模方法。应用特殊建模的方法完成了对仿真中很多特效场景物和场景的建模工作。基于位图的灰度值来实现对地形的建模,基于不同混合方法实现对晴空、车窗、树木、雪花等的建模。采用上述的建模方法完成的场景和场景物的模型具有较好的视觉效果。4.本文构建了平面铁路线的统一模型,采用链表结构将各线路连接起来。应用场景设置窗口和对话框输入方式,建立了较好的用户交互功能。场景物的放置采用鼠标拾取坐标的方法,使操作更方便。5.针对列车虚拟运行场景仿真这种大面积场景渲染的实际情况,提出了运用单元分割法与雾化效果相结合,应用场景块与视点的距离判断其渲染显示与否的方法,提高了场景渲染的效率,同时也保证了较好的视觉效果。

【Abstract】 Along with the rapid development of Virtual Reality (VR) ,the computer simulation wins the extensive use in many fields of military and national economics. In the field of railway traffic, we need modern means of training train conductors to familiarize and master the working condition faster and better. In view of the computer simulation, the train simulation system owns the virtue of economy、safety、flexibility and repeatability, and is used more and more in the training。By use of MFC of VC++ and OpenGL, This thesis researches the scene simulation prototype system with autonomous intellectual property:The main research works in this thesis has been summed as following:1. Based on MFC and OpenGL functions, the programming frame of train scene simulation system has been successfully set up, and the program interface with interactive ability has been split into three parts: scene installing part, scene displaying part and user controlling part.2. By use of modeling, projection, viewing operation, objects in the three-dimensional space can be translated into second-dimensional figure which the screen describes. And by modeling operations include rotation, translation, scaling, scenes can be assembled up. We can change their parameters to make the animation.3. The modeling method is classified into general modeling, 3D leading-in and special modeling method.by the way of special modeling we model many special scenes and objects easily.for example, we model terrains based on the grey data of bitmaps and based on different blending we model sun shine,train window,tree and snow successfully. Scenes meet the driver’s demands of the human’s vision after using these methods.4. The thesis builds a united model for the plane railway, and adopts the chain data structure to connect them. By the means of scene-installing window and dialog-inputting, the system has better interactive ability .It makes easy to lay down the scene by mouse picking up points.5.In view of the scene simulation of train movement with the large scene, the thesis uses methods of combining Cell Segmentation with fog operation and distance judgment between the scene and the observer to choose the displaying-scene, which promotes efficiency and meets the driver’s demands of the human’s vision.

  • 【分类号】TP391.41
  • 【被引频次】15
  • 【下载频次】434
节点文献中: 

本文链接的文献网络图示:

本文的引文网络