ABSTRACT:The Virtual Reality Technology is one of the latest advanced fields in the computer technology field, and one of its important applications is virtual campus. The Virtual Campus has two important features:one is immersion, the other is interaction. The purpose of creating the virtual campus is to provide a three-dimensional virtual environment, where users can roam the school by using an interactive and dynamic mode, having the immersive sense.Taking the interactive walkthrough system in virtual campus scene as an example, this paper discussed the Vega programming method based on MFC framework. In the process of simulation, MultiGen Creator/Vega was used as the modeling and simulation environment and Visual C++ based on MFC was used as the programming environment. At last, the paper realized the interactive walkthrough system which has the functions such as selecting motion mode freely, adding the environment effect to the scene in real time, picking the objects and so on. The main work and innovations are as follows:(1)Based on the existing virtual campus model library building by MultiGen Creator, it designed the system architecture, and then implemented the Vega application using the MFC and Vega programming technology. At last it realized the interactive walkthrough system in Virtual Campus Scene.(2) The related technologies of the visual simulation are researched, in order to realize every function of this system. Here the simulation technologies based on Vega are deeply discussed.(3) Some key technologies about how to realize the system are researched. This paper mainly focused on three aspects:First, the interactive technology of virtual scene, forced on motion mode, object picking, attribute query, etc. These technologies were not only the basic but also the most important, which had been fully researched. Second, the reality technologies were researched, such as the collision detection technology, the environment effect and so on. Thirdly, it mainly discussed how to realize the environmental effects of virtual scene which are based on the particle system. Based on the principles of the particle systems, the system built the models of rain and snow, which enhanced the functions of the environment simulation. |