| By researching DirectX technology, this thesis develops a Virtual three-dimensional Building Roaming & Inquiry System, and has also realized some key technologies such as object moving and pick and so on. At the beginning, the thesis introduces the purpose and significance of researching, and situation of the Virtual Reality Technology and the 3D Building System all over the world. The whole article mainly includes three aspects: the main framework of the system, the rendering system which is used to render scenes and models, and the roaming and management system which can be used to realize the function of roaming and interacting.The framework of main program defines the division of the system functional modules and designates the direction of data flow, control flow. Functional modules developed based on the framework of main program, which can improve program development speed.When researching the Rendering Subsystem, firstly, the article studies how to apply the model romance module of .X model files. Then, in order to enhance the rendering efficiency, the article researches HLSL to fulfill the texture mapping. HLSL Technology not only enhances the program's texture data processing speed, but also makes full use of graphics GPU graphics processing capability, thereby improves computer system resource utilization.In addition, when researching the Roaming and Management Subsystem of scene, the paper uses the database to store the information of objects, lights, and so on. While, we can combine database module with scene rendering module to realize the scene change, these modules also can control the number of entities to save overhead. In the course of studying objects moving technologies, the paper presents arbitrarily movement of objects in 3D space based on plane algorithm, which improves the speed and the precision of object moving. Meanwhile, the system has also realized the mouse picking, and others important techniques.Finally, making use of the technology studied, this article designs and develops a Virtual three-dimensional Building Roaming & Inquiry System for building information inquiry. The experiment results indicate that the technical route and design ideas are practicable. |