| In computer graphics applications,3D visual modeling has become an important research direction now. And a lot of researchers made much research and many effective explorations.Geographic information and computer networks become more and more close to each other today,3D visual modeling of electronic map has been gradually playing an important area, such as geographic information architecture based on specific 3D electronic map being more intuitive has become an important development direction of research, as it can make geographic information more intuitive. According to the GIS project, taking VC++ 6.0 as the platform, by VC++ programming, achieved a 3D object modeling. And according to the requirement of the project, achieved part of the 3D tunnel modeling in the GIS project.The main content is to be constructed 3D information into 3D model of the use of geographic information systems, in order to achieve a hot spot for 3D display. At last, take a 3D visualization as an example to explain the large potentiality in everyday life, and the importance.This paper examines the relevant theory on the basis of computer graphics, by studying the graphics transformation and the related theory of the 3D modeling, and in Windows 7environment, in use of Visual C++ platform by basic programming and OpenGL to achieve the 3D visualization of the tunnel model. The main work carried out as follows:(1) Systematically explained the relevant principles of computer graphics. The mathematical theory of projection transformation was analyzed and summarized the relevant projection transformation algorithm.(2) By VC++6.0 platform, achieved a 3D object modeling by VC++programming.(3) Application of the OpenGL, by VC++6.0 platform, get the part of the 3D tunnel modeling, and moving in the tunnel, including view morphing.Finally, summarized the text, and proposed the further study. According to the requirement of the project, by basic programming on the VC++6.0 platform,3D object modeling can be achieved. In another way by OpenGL, made the part of the 3D tunnel modeling. And at last, proposed the future operating. |