研究在普通的PC机下开发高质量的视景仿真系统。在Window XP系统下,以Visual C++为开发平台,利用OpenGL和3DS MAX,运用面向对象编程的思想,采用Win32Application的编程方法。首先介绍了OpenGL及如何利用它生成地面和天空。采用OpenGL函数进行摄像漫游和调入由3DS MAX绘制的3DS模型,较好地解决了用OpenGL绘制复杂图形的困难性。
The Paper was about the development of a 3D visual reality software with personal computer. OpenGL, 3DS MAX, the thinking of Objected-Oriented and Win32 Application method were utilized in the environment of Visual C++ 6.0. At first the paper introduced OpenGL and its application for drawing grounds and the sky. Furthermore, using OpenGL function realized the photograph roaming. At last, the paper solved the difficulty of drawing complicated models in OpenGL by calling in 3D models generated by 3DS MAX.