| Ship accidents happen from time to time in the current shipping industry, and ship production safety situation is not optimistic. Ship fire, as one of the worst maritime accidents, has enormous harm and far-reaching influence. Fire drill is one of the most important exercises on ship. At present, the physical exercise, no matter in terms of time, money, or the environment, has been far from to meet the current training needs.Virtual reality technology can show users a three-dimensional virtual world with computers by simulating an entity object real-timely. Using VR technology to realize the simulation of ship cabin fire can lay a good foundation for the research of ship fire simulator. The thesis mainly carried out the study of VR technology applied in the processing of ship cabin fire.The following main works were finished in the thesis:(1) The thesis created a virtual firefighter model and matched its’actions with 3ds Max; at the same time, a 3D model of ship bridge was built; the function that the virtual firefighter roamed in the 3D scene was realized by using the collision detection algorithm of AABB.(2) By analyzing the characteristic of ship structure, a fire spread model based on cellular automata was built, and the visualization of ship fire and water was realized by using OSG particle system.(3) The architecture of the virtual ship fire training system was designed based on network. The function of each unit and the key techniques were also analyzed. The method of voice communication based on VoIP Technology was put forward.Based on Windows system and Visual Studio 2010 development environment, using Open Scene Graph 3D rendering platform, the thesis primarily realized the visualization and human-computer interaction of ship cabin fire. |