| Flight simulator is a product used to train the flight process.Through realistic simulation,the system provides a near-real flight training environment to achieve the purpose of training flight operation.The system is mainly composed of flight system,aircraft system and visual system.Among them,the visual system needs high real-time interactivity and stability,and a large number of 3D model data processing and various visual effects processing algorithms in the visual system extremely consume the system storage resources and computing resources,which greatly affects the real-time performance and stability of the system and brings great pressure to the visual rendering.Although the current graphics card can optimize the three-dimensional rendering at the hardware level,its processing ability is still insufficient in the face of massive visual model databases and various complex visual effects.Therefore,this paper will optimize the model in the visual system at the software algorithm level to improve the rendering efficiency and maintain the real-time interactivity and stability of the visual system.Aiming at the airport 3D model,this paper studies how to ensure visual effect and improve rendering efficiency on the basis of existing hardware resources.The main work and research are as follows :1.In the flight simulation scene system,in order to find a balance between rendering effect and rendering efficiency,this paper uses the Level of Detail technology to optimize the model in the scene.The experimental results show that the Level of Detail technology can significantly improve the system performance and optimize the loading of scene.2.Aiming at the problem that the edge collapse algorithm based on quadratic error is too hard to maintain the two important visual effects of the model details and edges,an improved edge collapse algorithm based on quadratic error is proposed.For example,on the basis of quadratic error measurement,an improved grid saliency estimation method is introduced for the loss of detail features.Aiming at the model deformation caused by edge transition simplification,an improved curvature-based boundary protection is introduced.In view of the importance of model geometric features in the model and its influence on vision,such as the degree of folded points and the length of folded edges,the model geometric factor is introduced.The experimental results show that compared with the original algorithm,the improved algorithm can simplify the model well as well as the retention of sharp details and boundaries of the model can be reserved.3.The improved edge collapse algorithm based on quadratic error is applied to the Tianfu airport model.According to the practical application requirements,the concept of fusion error is proposed,and the simplified algorithm is further studied.The fusion error is mainly divided into two parts.The first part is the error improvement aiming at the shortcomings of the algorithm itself,including the improved grid saliency evaluation method,the improved boundary protection based on curvature and the geometric factor of the model.The second part introduces the importance of the local feature region to increase the folding error of the local important region of the airport.The experimental results show that the improved algorithm combining quadratic error and fusion error is more suitable for the simplification of the three-dimensional model of the airport,and the simplified model obtained is more in line with the actual demand of flight simulation.The experimental results show that the introduction of detail level technology in the visual system can effectively improve the rendering frame rate without affecting the visual effect,and maintain the interactivity and stability of the visual system.In addition,the improved algorithm in this paper can more effectively improve the quality of airport model simplification and meet the practical application requirements. |