| The widely used visual simulation system based on the underlying graphic interface Open-GL or Direct3D is inefficient,and the primary goal of all kinds of combat simulation research is to improve the authenticity of the simulation environment,Therefore,in view of the shortcomings of the current tank simulation training system in terms of high fidelity,high efficiency,cross platform and strong interaction,this thesis puts forward the design idea of the virtual reality driving simulation system of the tank based on the cross platform development engine Unity3D.Using the plug-in integrated development mode to design and simulate the visual system,completed the tank virtual driving visual simulation system which consists of visual simulation module,real-time weather effect management module,behavior-driven simulation module,instrument simulation module,tank combat simulation module,control interface and other sub modules.And the design functions and technical principles of each sub module are discussed.First of all,combined with the actual needs of tank driving information fusion and the latest information fusion trends at home and abroad,an improved information fusion function model is proposed,at the same time,the corresponding battlefield situation awareness system evaluation system is established,aiming to combine virtual reality and situation awareness to provide theoretical scheme design for the future tank virtual driving.Secondly,based on the background of modern tank main battlefield and the requirement of high fidelity of visual simulation system,the research on hybrid modeling method of virtual scene is carried out,and tank model and three-dimensional scene related model are established under 3D modeling software 3ds Max.The terrain rendering technology is used to construct a more realistic and diverse virtual driving scene of the tank,and the real terrain is constructed by obtaining a DEM(Digital Elevation Model)with high precision and low surface number.In the past,the driving simulation system simply simulated the natural landscape such as rain,snow and fog,but not combined with the field environment.The system is equipped with a weather system management module to dynamically control the simulation effects of rain,snow and fog,with real-time and interactive features.By adjusting the number of particles in the system,the special effects of rain,snow and fog of different intensities can be rendered.At the same time,the real weather data of the preset geographical location is returned in real time,and the real weather is synchronized into the virtual scene.Users can dynamically adjust the weather effects in the virtual scene according to the real-time weather conditions,which is helpful to a certain extent make appropriate prediction in advance when the tank is operating.In addition,in the simulation software Unity3D engine,according to the dynamic model of the tank and the use of the collider,the control program script is designed to meet the requirements of the system.The tank can realize the driving simulation in a variety of scenes.In the virtual environment,it can be close to the undulating ground to complete the real-time forward,reverse,brake,left and right turn,aim at the enemy target and fire in real time.This thesis presents a virtual driving control scheme based on X Dreamer state machine,which greatly reduces the system resource consumption.Finally,through the use of NPC(Non-Player Character)automatic pathfinding algorithm for intelligent perception,NPC tanks can dynamically plan the path,and then lock the enemy target,and then complete the formation cooperative combat simulation together with the tanks manipulated by the user.The test results show that the visual simulation system keeps 101-372FPS(Frame Per Second)after running,and the simulation effect of each module of the system has been well realized,which basically meets the requirements of real-time interaction and real immersion of the visual simulation system. |