| Intelligent drone swarm technology is an important supporting technology for intelligent warfare.Refined and realistic battlefield environment simulation is an important means to support algorithm training and technological breakthroughs of intelligent drone swarm.Clouds in the atmosphere can absorb and scatter visible light,which directly affects the perception ability of drones,so it becomes an important consideration in the simulation.With the advancement of technologies such as virtual reality,the cloud’s realistic modeling and real-time rendering technologies have become relatively mature.However,battlefield environment simulation emphasizes the practical significance of cloud simulation,which requires matching with the real space-time background,while supporting the dynamic changes of the environment and the requirement for visible light sensing affected by drones passing through clouds.Therefore,it is necessary to introduce actual meteorological data to realize the dynamic simulation of volumetric clouds.This paper focuses on the real-time and dynamic simulation of volumetric clouds based on meteorological data.The research content covers the modeling method of combining meteorological data with various noises,efficient rendering of volumetric cloud lighting and shadows,and cloud motion transitions at different times.Some new ideas and methods have been put forward in a targeted manner.The work and innovations of this paper are mainly reflected in the following three aspects:Aiming at the spatial sparsity of meteorological data,a volumetric cloud modeling method based on the fusion of meteorological data and multi-noise is proposed.By introducing the cloud amount analysis calculation based on relative humidity,the data products of meteorological forecasting system were transformed into cloud texture,and the basic shape of clouds was constructed.The model of detail enhancement of cloud shape based on cloud amount information and remapping function was realized,and the cloud density field was constructed by combining Perlin noise and Worley noise.This model not only conforms to the basic shape defined by the cloud image texture,but also has rich and realistic detailed shapes.The proposed cloud modeling method takes into account the actual spatio-temporal meaning,realistic effect and real-time performance of cloud simulation.Aiming at the low efficiency of volumetric cloud rendering,an optimization method for volumetric cloud rendering by introducing meteorological data is proposed.In terms of lighting model construction,in order to take into account both visual effects and rendering efficiency,the light source only considers sunlight and sky light.The reaction between light rays and cloud particles is simplified and only the attenuation and scattering effects of light are retained.Based on this,an improved ray marching algorithm is used to draw clouds,and an optimization strategy based on variable step size and termination conditions of cloud density is proposed to effectively accelerate rendering.In terms of ground shadow rendering of cloud layers,a shadow map algorithm that calculates the shadow color based on meteorological data is designed to solve the problems of color distortion in traditional shadow map algorithms and excessive time consumption in ray marching methods,and to meet the requirements of visual reliability while speeding up the rendering speed.Finally,the cloud rendering time was optimized from 15 ms to less than 2ms,and the scene rendering frame rate exceeded 60 fps.Aiming at the sparsity of meteorological data in time,a target shape control cloud motion simulation method based on driving force and boundary adsorption force is proposed.In view of the sparsity of weather forecast data in the time dimension,the initial shape and target shape of the cloud are calculated from the meteorological data at two adjacent moments;the target shape control method based on the fluid motion equation is adopted,in which the driving force is used to drive the initial cloud density to change into the target shape,and the boundary adsorption force is used to limit the cloud density within the specified target area.Thus,the simulation of cloud changes between adjacent time steps is achieved,which provides a basic method for cloud motion simulation.This paper explores the method and technology of volumetric cloud simulation based on meteorological data,which can introduce meteorological data into refined and realistic battlefield environment simulation in the form of volumetric cloud,and provide refined environmental factors for related combat simulations.The research results have important reference significance and practical value for the engineering application of volumetric cloud simulation based on meteorological data. |