| At present,accidents and dangerous accidents in domestic factories have occurred from time to time,and many of them have caused major consequences due to the mistakes of the employees in the factory.In factory production,the factory organizes emergency drills to strengthen the ability of employees to deal with emergencies.Due to the high cost of drills in reality,in order to better respond to factory emergencies,domestic and foreign companies continue to develop emergency response The drill platform,through allowing employees to operate the PC-side drill platform to achieve the purpose of training.This thesis uses the interactive virtual reality scene as the background to discuss how to conduct emergency drills in emergency situations and the path planning of characters in this scene.The content of this paper has two main aspects: one is to research and design an emergency drill system;to build a complex model through 3D modeling software,to optimize the model and put it into Unity3 D to reproduce the park scene.Through the design of task module,backpack module,equipment module,communication and other modules,multi-person collaborative exercises are realized.The emergency rehearsal system proposed in this article is based on a three-dimensional scene,through the dynamic organization of emergency agencies to form a variety of role coordination exercises to complete emergency response tasks;through the director’s diverse functions,multi-module interactive design,text and voice and other forms Role communication methods,accident simulation and result analysis,etc.realize real simulation exercises.Second,in response to the improper emergency handling of workers in the liquid oxygen leakage accident and the unsafe escape route,an improved A-Star algorithm that pays more attention to safety and efficiency is proposed and embedded in the emergency drill system.In order to improve the safety of the wayfinding path,weight factors and direction factors are added to the heuristic function,and the safe distance of the waypoints is calculated according to the calculation of the risk model.The results show that in the path obtained by the standard A-Star algorithm,many waypoints are in the danger zone of liquid oxygen leakage;the number of waypoints obtained by the improved A-Star algorithm that only modifies the heuristic function is less than the number of waypoints obtained by the first set of experiments.Get closer to the target point faster,but there are still more waypoints in the dangerous area;the waypoints obtained by the modified A-Star algorithm that both modify the heuristic function and consider the risk model are all outside the dangerous area of liquid oxygen leakage.This proves that the path obtained by the improved A-Star algorithm is safer and converges to the target point faster than the standard A-Star algorithm.The liquid oxygen leakage emergency drill system studied in this paper helps improve employees’ handling of emergency affairs and reduce the loss of manpower and material resources during drills.At the same time,the system allows employees to familiarize themselves with the best escape routes from different locations.The purpose of developing this system is to use this system to simulate emergency drills to reduce casualties and economic losses when a disaster occurs. |