The city-class scene render based on VRML data is the virtual reality rendering scenes, real-time interactive three-dimensional simulation and design of critical applications, computer graphics is a practical application of their own. This paper first introduces VRML, and then pointed out that the city-class to achieve rapid large-scale mapping of the key scenes, and finally introduced in the real-time rendering of scenes in the achievement of interoperability.
In this paper, the research work done by focusing on four areas:
(1) Learn about VRML, analysis of VRML node structure, design a rapid VRML parser based on C + +. VRML in the original text based on the structure of binary data, and this method can be beneficial to file compression and more rapid resolution.
According to the actual needs of the project, the original VRML additional nodes to achieve the project's specific needs.
(2) Use OpenGL to render VRML. Use the API function corresponding VRML node in the OpenGL to one-to-one render.
(3) The realization of the mouse, keyboard and other joystick (such as steering wheel, joystick, etc.) roaming in the scene, in order to increase the simulation scenario, and adding special effects fog, rain and snow.
(4) Increase system Increase system scalability, the system is designed to extend the parser, designed to support plug-ins to achieve resolution. Analytical VRML parser for built-in to increase the other three-dimensional data analysis plug-in format support, has achieved Open Flight data analysis to support the format plug-ins.