J4

• 计算机科学 • 上一篇    下一篇

OpenGL在交通仿真系统中的应用

孙熊熊1, 陈震1, 范振钧2   

  1. 1. 吉林大学 计算机科学与技术学院, 长春 130012; 2. 通化师范学院 计算机系, 吉林省 通化 134000
  • 收稿日期:2006-05-16 修回日期:1900-01-01 出版日期:2006-08-26 发布日期:2006-08-26
  • 通讯作者: 孙熊熊

Application of OpenGL in System of Traffic Simulation

SUN Xiongxiong1, CHEN Zhen1, FAN Zhenjun2   

  1. 1. College of Computer Science and Technology, Jilin University, Changchun 130012, China; 2. Department of Computer, Tonghua Teachers’ College, Tonghua 134000, Jilin Province, China
  • Received:2006-05-16 Revised:1900-01-01 Online:2006-08-26 Published:2006-08-26
  • Contact: SUN Xiongxiong

摘要: 用OpenGL解决了交通仿真系统中各种路网元素的绘制 问题. OpenGL是从事三维图形的开发工具, 它拥有很好的稳定性、 可靠性和可扩展性, OpenGL的显示列表技术和拾取技术在交通仿真系统中发挥了较大作用. 在交通仿真系统中, 用户通过OpenGL既可以绘制路网, 又可以选择并操作路网元素, 实现了用户跟系统之间的交互. 结果表明, 调用OpenGL的函数进行路网元素的绘制, 不仅容易实现, 而且效果也很好.

关键词: OpenGL, 交通仿真, 显示列表, 拾取

Abstract: A solution to draw all kinds of traffic elements was proposed. The use of OpenGL is convenient and the function is strong. The effect of OpenGL is good, too. OpenGL is a good tool in the development of 3D graphics. It has stability, dependability and extensibility. The technology of display lists and picking up is very usefull in the system of traffic simulation. Users can draw and operate all kinds of traffic elements with OpenGL in the system. Inter action between users and the system is realized.

Key words: OpenGL, traffic simulation, display lists, pick up

中图分类号: 

  • TP391.9