| Virtual Reality is a new technology,which simulates the nature environment and realizes real-time interaction by using advanced computer software and hardware. The visual simulation is the most important representation of VR.In the traditional marine simulation system,the virtual engine room system is mainly a virtual roaming system,and interactive performance is poor.The virtual equipment's operations,self-defined motion models and collision detections are all not perfect in such a system.Therefore,it is necessary to establish a new virtual engine room system and to perfect the interaction performance.This thesis firstly used MultiGen Creator to create the 3D models of some operable parts and equipments models,and optimizes their level structures.Secondly, the author used Vega to realize some basic simulation functions of the virtual engine room system.Finally,developed a real-time and interactive simulation system on MFC platform.This thesis includes the following parts:1,Analyzed and designed the self-defined motion model.And realized a motion model based on mouse pick.2,Realized collision detection in virtual engine room.Analyzed the design of Volume and method for collision detection.Made a detail plan of how to construct a collision detection model.Author designed a detection method combined with the method of BUMP and Z,and then realized the phenomena of up and down stairs.3,Realized the pick up operation in the virtual space.Illuminated the creation and treatment of the 3D model before it is picked up.Realized the communication between the picking operation and the SE2000. 4,Developed and represented related functions of the virtual engine room system based on MFC.Such as,the functions of changing viewpoints among different equipments,showing the scene window in the full screen,setting various parameters according to the user's need,and so on. |