摘要
本文针对飞机刹车半物理仿真的需求和特点,提出应用LabWindows/CVI嵌套OpenGL实现虚拟视景的思想。对于视景实现中的关键性问题——场景建模及模型渲染、气候模拟以及多窗口实现等进行了详细介绍。本文解决了OpenGL输入外部文件难的问题,并且很好的将OpenGL嵌入进LabWindows/CVI开发环境里,提出了一种新的多窗口实现方法。本视景软件采用模块化编程,因而具有很好的移植性,其设计思想可以被其它视景系统开发所借鉴,具有很高的实用性。
The paper puts forward a conception,which realizesthe scene view system by applying LabWindows/CVI and embed- ding the OpenGL for hardware-in-the-loop simulation for braking of airplane,It discusses some key issues in system realizing such as modeling of scene,rendering of model,emulating of climate and realization of multiple windows in details.The paper re- solves how to input an external file into OpenGL easily,and associate OpenGL with LabWindows/CV1 well,alleging a new method for realizing multiple windows.Since the scene view system is modular programming,it has good transplantability.The design idea of the system is of high practicality,so it can be used asreferenee by other scene view systems.
出处
《微型电脑应用》
2006年第7期38-40,5,共3页
Microcomputer Applications