Font Size: a A A

Research And Implementation About Modeling Platform Of Indoor Environment And Structure Based On DirectX

Posted on:2008-03-28Degree:MasterType:Thesis
Country:ChinaCandidate:H LiuFull Text:PDF
GTID:2178360248952095Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Virtual reality is a kind of high-technology raised in recent decades. It uses the high-technology in the development of the computer to construct a virtual scene. At present, the virtual-reality technology is mainly applied to fields such as military affairs, medical treatment and education. But the application to building field is relatively less. For this purpose, the virtual-reality technology research is carried out and applied to building field. The target is to realize a DirectX-based modeling platform in which the indoor environment and structure can be built by mutual way.The research work comes from an actual project. After complete the indoor environment and structure platform, the research work is expanded in order to make the modeling platform be able to complete building an outside circumstance. Therefore, the research result both has the theory value and the actual value.By comparing with several tools, the DirectX SDK is decided to be the software develop tool. In the first place, the method to design the 3D object class is introduced. This class makes all the objects in the 3D scene have an identical structure. And then the design and realizing process of the control interface is introduced in which the indoor and outdoor environment is build by mutual way. The program interfaces include the main control panel, the indoor and outdoor environment construct panel, the 3D environment modify panel and the attribute information modify panel. In the second place, the methods to transfer, rotate and zoom an object are introduced. And the method to roam in the scene by means of control the camera by the keyboard is introduced. Last, the method to display the pipelines hided in the wall in the indoor environment by using of alpha blend is introduced. The render methods of the sky, floor and trees in the outside are introduced. The method to imitate rain and snow by using of particle system is introduced.It is quite important to modify the 3d scene in the 3D graphics program. So it is necessary to use a mouse to pick the object in the 3D scene. A picking method is defined and introduced because there is no function completes picking in Direct3D. Picking of the bounding sphere of an object can make the program runs more fluently. In order to enrich the material warehouse, the methods of reading the .OBJ file, changing .OBJ file to .X file and saving the .X file to the disc are defined and introduced.The program is tested by using different material warehouses after the development is completed. The test result indicates that the program is perfect and runs fluently.
Keywords/Search Tags:Virtual Reality, DirectX, Picking, Bounding Sphere
PDF Full Text Request
Related items