Modeling method and system of airport landscape database
Patent Information
- Application Number
- CN202610717720.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-22
- Publication Date
- 2026-08-18
AI Technical Summary
[0004]本发明提供一种机场地景数据库的建模方法及系统,用以解决现有技术中建模流程繁琐、数据转换复杂、渲染效果受限,以及大场景高精度下性能下降的问题
[0015] The airport landscape database modeling method and system provided by this invention achieves semi-automated collaborative construction of terrain and models by integrating basic geographic data and vector data. This solves the problems of scattered and cumbersome conversion in traditional visual modeling tools, and significantly improves the development efficiency of large-scale airport landscapes. At the same time, the introduction of modular encapsulation and polymorphic material interface design enables the generated airport landscape database to respond to external environmental driving data in real time, achieving high-fidelity and smooth switching of runway materials under various complex weather conditions such as winter-summer transition, day-night transition, and various complex weather conditions. This not only solves the technical bottleneck of low-end commercial engines in dynamic scene rendering and frame rate stability, and achieves independent control of core underlying technologies, but also comprehensively meets the stringent requirements of high-level flight simulators for highly immersive, highly realistic, and deeply customized visual environments.
Smart Images

Figure CN122597609A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of aviation flight simulation technology, and in particular to a modeling method and system for airport landscape databases. Background Technology
[0002] The terrain database in a flight simulator visual system is the core data foundation for providing pilots with a highly realistic and accurate extravehicular visual environment, directly determining the realism of the simulated scene and the training effect. In the development of a typical airport terrain database, terrain database configuration generation and 3D model construction and debugging are key steps.
[0003] Currently, mainstream visual systems typically rely on commercial third-party engines to develop airport landscape databases. However, this approach has significant shortcomings: First, the modeling process is cumbersome, development tools have low integration, requiring frequent switching between multiple software programs, complex data conversion and debugging, and low automation. Second, dynamic rendering capabilities are limited, with insufficient ability to switch textures across seasons, weather conditions, and day / night scenes; some engines even lack the corresponding underlying interfaces, making it difficult to meet the realism requirements of high-level simulators. Third, the technology is closed, using proprietary formats and tools that deeply bind project data to specific engines, severely restricting feature customization and long-term technological evolution. Summary of the Invention
[0004] This invention provides a modeling method and system for airport landscape databases, which solves the problems of cumbersome modeling process, complex data conversion, limited rendering effect, and performance degradation under high precision in large scenes in the prior art.
[0005] This invention provides a method for modeling an airport landscape database, comprising: Acquire basic geographic data and geographic vector data for the target area; Based on the aforementioned basic geographic data, an airport topography database is generated. Surface features are extracted from the airport topography database, and an airport core model matching the surface features is constructed. Based on the geographic vector data and / or the basic geographic data, generate a peripheral scene model that matches the airport terrain database; The airport terrain database, the airport core model, and the peripheral scene model are modularly encapsulated, and based on external environment driving data, the polymorphic material interfaces of each encapsulated module are triggered to switch model textures in order to generate the target airport landscape database.
[0006] According to the airport landscape database modeling method provided by the present invention, the step of triggering the polymorphic material interfaces of each encapsulated module to switch model textures based on external environment-driven data includes: Configure polymorphic material interfaces, including daytime lighting and shadow mapping interfaces and nighttime self-illuminating texture interfaces, for the airport core model and the surrounding scene model; Analyze the time state parameters and meteorological state parameters in the external environment driving data; When the time status parameter indicates that it is during the night flight period, the polymorphic material interface of the corresponding module of the airport core model and the peripheral scene model is triggered to switch from the daytime light and shadow mapping interface to the nighttime self-illuminating texture interface. Extract the target meteorological material that matches the meteorological state parameters from the preset composite material library, and map the target meteorological material onto the pavement feature surface in the airport core model.
[0007] According to a modeling method for an airport landscape database provided by the present invention, the peripheral scene model includes a three-dimensional building complex model, which is determined based on the following steps: The building base contour geometry is extracted from the geographic vector data, and a building vector dataset is generated based on the building base contour geometry and its corresponding building attribute features in the geographic vector data. Using the building attribute features as logical driving conditions, the three-dimensional building complex model is generated based on the building vector dataset.
[0008] According to a modeling method for an airport landscape database provided by the present invention, the method generates the three-dimensional building complex model based on the building vector dataset, using the building attribute features as logical driving conditions, and then further includes: Road vector features are extracted from the geographic vector data, and the road vector features are combined with the elevation data in the basic geographic data to generate an urban road model. Along the normal direction of the road curve of the urban road model, mark the positions of point light sources on both sides of the road curve at preset intervals; The preset street light lighting attributes are mapped to the location of the point light source, and a road light network attached to the city road model is rendered.
[0009] According to a modeling method for an airport landscape database provided by the present invention, the peripheral scene model includes a peripheral vegetation model, which is determined based on the following steps: Based on the vegetation distribution attributes in the basic geographic data, vegetation location information is extracted from the high-precision three-dimensional terrain bottom model represented by the airport terrain database, and a corresponding LightPoint set is created based on the vegetation location information. In a three-dimensional space, a two-dimensional texture node is constructed that maintains the orientation towards the rendering viewpoint. The coordinate parameters of each light point in the LightPoint set are then bound to the two-dimensional texture node for vegetation rendering, thus obtaining the outer vegetation model.
[0010] According to a modeling method for an airport terrain database provided by the present invention, the step of generating an airport terrain database based on the basic geographic data includes: Centered on the target landing area in the target region, multiple spatial hierarchical regions are divided outwards according to a distance threshold, and texture resolution parameters and elevation resolution parameters are configured for each spatial hierarchical region in descending order of hierarchy. Based on the texture resolution parameters and elevation resolution parameters, pixel-level rendering mapping is performed on the basic geographic data to construct an airport terrain database with multiple levels of detail.
[0011] According to a modeling method for an airport terrain database provided by the present invention, the modular encapsulation of the airport terrain database, the airport core model, and the peripheral scene model includes: The airport core model and the peripheral scene model are decomposed according to functional attributes and environmental status to obtain multiple model sub-modules. The model sub-modules include at least daytime building sub-modules and night flight building sub-modules separated according to day and night environment. Based on the model height of each model submodule and the terrain height of the airport terrain database, a slope transition submodule is constructed to match the model height and the terrain height. The model sub-modules, the slope transition sub-module, and the airport terrain database are grouped, named, and integrated into a single package.
[0012] The present invention also provides a modeling system for an airport landscape database, comprising: The data acquisition unit is used to acquire basic geographic data and geographic vector data of the target area; The model building unit is used to generate an airport topography database based on the basic geographic data, extract surface features based on the airport topography database, and build an airport core model that matches the surface features. The model generation unit is used to generate a peripheral scene model that matches the airport terrain database based on the geographic vector data and / or the basic geographic data. The encapsulation and switching unit is used to modularly encapsulate the airport terrain database, the airport core model, and the peripheral scene model, and based on external environment driving data, trigger the polymorphic material interface of each encapsulated module to switch model textures in order to generate the target airport landscape database.
[0013] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor executes the computer program to implement the modeling method for the airport landscape database as described above.
[0014] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the airport landscape database modeling method as described above.
[0015] The airport landscape database modeling method and system provided by this invention achieves semi-automated collaborative construction of terrain and models by integrating basic geographic data and vector data. This solves the problems of scattered and cumbersome conversion in traditional visual modeling tools, and significantly improves the development efficiency of large-scale airport landscapes. At the same time, the introduction of modular encapsulation and polymorphic material interface design enables the generated airport landscape database to respond to external environmental driving data in real time, achieving high-fidelity and smooth switching of runway materials under various complex weather conditions such as winter-summer transition, day-night transition, and various complex weather conditions. This not only solves the technical bottleneck of low-end commercial engines in dynamic scene rendering and frame rate stability, and achieves independent control of core underlying technologies, but also comprehensively meets the stringent requirements of high-level flight simulators for highly immersive, highly realistic, and deeply customized visual environments. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in this invention or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below.
[0017] Figure 1 This is a flowchart illustrating the modeling method for the airport landscape database provided by the present invention; Figure 2 These are renderings of winter and summer scenes provided by this invention; Figure 3 These are renderings of day and night scenes provided by this invention; Figure 4 These are architectural drawings of day and night scenes provided by this invention; Figure 5 This is a rendering of the batch building vector extraction provided by the present invention; Figure 6 This is a rendering of the three-dimensional building complex model provided by the present invention; Figure 7 These are renderings of the road and bridge provided by this invention; Figure 8 This is a rendering of the road lighting provided by the present invention; Figure 9 This is an example diagram of the LightPoint light point set provided by the present invention; Figure 10 This is a rendering of the airport area modeling provided by the present invention; Figure 11 This is a schematic diagram of the modeling system for the airport landscape database provided by the present invention; Figure 12 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation
[0018] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0019] The terrain database in a flight simulator visual system is the core data foundation of the entire system. Its function is to provide pilots with a highly realistic, accurate, clear, and smooth external visual environment, directly determining the realism of the simulated scene and the training effect. In the development of a typical airport terrain database, the configuration and generation of the airport terrain database and the construction and debugging of the 3D model are crucial steps in the entire development process.
[0020] Currently, mainstream flight simulator visual systems typically rely on commercial third-party visual engines to develop airport landscape databases. However, regardless of whether it's a typical low-to-mid-range commercial engine or a high-end international commercial engine, their development model has gradually become a key factor restricting development efficiency and the realism of the simulation.
[0021] Specifically, existing commercial engine-supported modeling suffers from the following shortcomings: Firstly, the landscape database modeling process is extremely cumbersome. Due to insufficient integration of development tools, engineers often need to frequently switch between multiple independent software programs, resulting in complex data conversion and debugging procedures and low automation. Secondly, the functionality and dynamic rendering effects of landscape databases are severely limited, especially the texture switching between winter and summer seasons or day and night scenes. Some engines even lack the underlying interface for switching between multiple seasons and weather scenes, making it difficult to meet the stringent requirements of high-level flight simulation for environmental realism. Furthermore, a common drawback of existing commercial engines is the closed nature of their core technologies. The use of proprietary formats and modeling tools leads to a deep binding of project data to specific engines, preventing developers from fully controlling the underlying technology and severely restricting their autonomy in development, in-depth customization and optimization of functions, and long-term technological evolution.
[0022] In response, this invention provides a modeling method for airport landscape databases, aiming to overcome the development bottleneck of relying on third-party commercial visual engines. By integrating multi-source geographic data for semi-automatic construction of terrain and model matching, and by modularly encapsulating the model and pre-setting polymorphic material interfaces, it breaks free from the deep dependence on traditional commercial engine development models, greatly simplifies the workflow of modeling engineers, improves development efficiency, solves the current problem of limited dynamic switching of state textures in complex scenes, and significantly improves the overall efficiency, autonomy, controllability, and realism of the simulated environment in the development and application of airport landscape databases.
[0023] Figure 1 This is a flowchart illustrating the airport landscape database modeling method provided by the present invention. The execution entity of this method can be a computer electronic device or a server workstation containing model building and rendering programs. Figure 1 As shown, the method includes: Step 110: Obtain basic geographic data and geographic vector data for the target area; Step 120: Based on basic geographic data, generate an airport topography database, extract surface features from the airport topography database, and construct an airport core model that matches the surface features. Step 130: Based on geographic vector data and / or basic geographic data, generate a peripheral scene model that matches the airport terrain database; Step 140: Modularly encapsulate the airport terrain database, the airport core model, and the peripheral scene model. Based on the external environment driving data, trigger the polymorphic material interface of each encapsulated module to switch model textures in order to generate the target airport landscape database.
[0024] Specifically, in the process of modeling the airport landscape database, it is first necessary to acquire the basic geographic data and geographic vector data of the target area. That is, in order to determine the geographic range covered by the simulation training, the target area needs to be determined first in this embodiment of the invention. This area can be flexibly customized according to the training subjects. It can include the core area of a single airport with centimeter-level or meter-level accuracy, or it can be extended to a 500km×500km area to meet the needs of transfer, cruise, etc., or even a global scale mission area. This embodiment of the invention does not make specific limitations in this regard.
[0025] Once the target area is established, the basic geographic data used to construct the realistic surface morphology within that area can be obtained. This data includes remote sensing imagery data that supports the mixed use of multiple specifications and accuracies, DEM (Digital Elevation Model) elevation data, and geographic vector data used to characterize the physical properties of the surface. This type of data includes vectorized raster files of building base outline geometry, road curves, water systems, etc., thus providing a rich data source for subsequent high-precision 3D scene reconstruction.
[0026] After obtaining the basic geographic data, an airport terrain database can be generated in this embodiment of the invention. Specifically, using the acquired remote sensing image data and DEM elevation data, after preprocessing such as image color fusion correction and elevation data terrain height correction, a professional visual database editing tool, such as VpbMaster, can be used for automated batch processing via command line to directly generate an airport terrain database with a realistic effect of continuous elevation undulations. This database contains a complete system from the underlying elevation to the surface texture, and after generation, it can be directly loaded and called in the underlying self-developed engine, eliminating the need for cumbersome secondary format conversion.
[0027] Furthermore, surface features can be extracted based on the airport topography database, and an airport core model matching these features can be constructed. This involves extracting surface features within the airport's flight area based on a high-precision 3D topographic model represented by the airport topography database. These features can include 2D pavement features and 3D contour features, such as the geometric shape and dimensions of typical 2D pavements like runways, taxiways, aprons, and connecting roads, as well as the physical location features of various signs and markings, and the 3D outlines of buildings and auxiliary facilities both inside and outside the airport. Then, based on these surface features and referencing on-site airport survey data and detailed layout maps, a 1:1 airport core model can be constructed using professional modeling software (such as Presagis Creator). This model not only includes 2D pavement and sign / marking models that seamlessly fit the terrain, but also includes physical models of terminals, control towers, hangars, navigation equipment, and airport lighting systems precisely positioned at the corresponding terrain elevations, ensuring a high degree of consistency between the core area model and the underlying terrain in terms of spatial coordinates and visual representation.
[0028] Following this, to improve the visual environment around the airport, this embodiment of the invention can also generate a peripheral scene model matching the airport terrain database based on basic geographic data and / or geographic vector data. That is, for the large-scale urban building clusters, villages, bridges, road networks, and extensive tree vegetation around the airport, the location, outline, layer, and other attribute information in the acquired geographic vector data, and / or the remote sensing image data and vegetation distribution attributes in the basic geographic information, can be used to automatically generate a peripheral scene model.
[0029] It is worth noting here that when modeling urban building complexes, villages, etc., automated workflows can be relied upon, such as using ArcGIS CityEngine for batch generation. This rule-based, procedural batch modeling method allows the generated peripheral scene elements to be automatically attached to and mapped onto the corresponding surface heights in the airport terrain database, thereby quickly constructing a peripheral scene model that matches the airport terrain database. This process compresses the peripheral scene modeling work, which traditionally relies on manual construction and takes weeks or even months, into a few days, and ensures the accuracy of spatial relationships while controlling the number of polygons, greatly improving the efficiency of visual modeling.
[0030] Finally, the airport terrain database, core airport model, and surrounding scene model can be modularly encapsulated. After all 3D assets are built, they can be modularly encapsulated, decomposed and named according to functional attributes, for example, into slope transition stitching modules, 2D pavement modules, daytime landmark building modules, and nighttime flight building modules, etc., to facilitate unified management and independent calls from the underlying engine. During the encapsulation process, polymorphic material interfaces containing various lighting, color, and state texture mapping channels can be pre-configured for each module.
[0031] When the simulator is running and sends out external environment driving data containing the current time (day / night), season (winter / summer), or specific weather conditions (dry, wet, ice, snow), the underlying engine will accurately receive these instructions and dynamically trigger the polymorphic material interfaces of each encapsulated module to switch model textures. Figure 2 These are renderings of winter and summer scenes provided by this invention, such as... Figure 2 As shown, the green vegetation on the terrain surface can automatically and smoothly switch to white snow cover based on the season. Figure 3 These are renderings of day and night scenes provided by this invention, such as... Figure 3 As shown, the normal daytime texture of the building model automatically transitions to a self-illuminating nighttime lighting map during nighttime flight hours, and the city road network and various airport lights also illuminate synchronously. Furthermore, the runway surface can dynamically respond to different weather conditions, switching between various environmental lighting textures such as dry, wet, scratched, ice, and snow. Through this series of dynamic mapping and multi-level rendering mechanisms, a highly realistic target airport landscape database with all-weather, multi-season dynamic response capabilities is ultimately generated, directly providing pilots with their external visual environment display.
[0032] The airport landscape database modeling method provided by this invention achieves semi-automated collaborative construction of terrain and models by integrating basic geographic data and vector data. This solves the problems of scattered and cumbersome conversion in traditional visual modeling tools, and significantly improves the development efficiency of large-scale airport landscapes. At the same time, the introduction of modular encapsulation and polymorphic material interface design enables the generated airport landscape database to respond to external environmental driving data in real time, achieving high-fidelity and smooth switching of runway materials under various complex weather conditions such as winter-summer transition, day-night transition, and various complex weather conditions. This not only solves the technical bottlenecks of low-end commercial engines in dynamic scene rendering and frame rate stability in traditional solutions, but also achieves independent control of core underlying technologies. Furthermore, it comprehensively meets the stringent requirements of high-level flight simulators for highly immersive, highly realistic, and deeply customized visual environments.
[0033] Based on the above embodiments, in step 140, based on external environment-driven data, the polymorphic material interfaces of each encapsulated module are triggered to switch model textures, including: Configure polymorphic material interfaces, including daytime lighting and shadow mapping interfaces and nighttime self-illuminating texture interfaces, for the airport core model and peripheral scene model; Analyze the time-state parameters and meteorological state parameters in the external environment-driven data; When the time status parameter indicates that it is during the night flight period, the polymorphic material interface of the corresponding module of the airport core model and the peripheral scene model is switched from the daytime light and shadow texture interface to the nighttime self-illuminating texture interface. Extract target meteorological materials that match meteorological state parameters from a pre-defined composite material library, and map the target meteorological materials onto the pavement feature surfaces in the airport core model.
[0034] Specifically, the process of switching model textures based on external environment-driven data and triggering the polymorphic material interfaces of each encapsulated module can include: Firstly, during the construction and modularization phase of the underlying 3D visual scene, a polymorphic material interface, including a daytime lighting and shadow mapping interface and a nighttime self-illuminating texture interface, can be configured for the airport core model and the surrounding scene model. In this process, the airport core model, such as typical airport buildings like terminals, control towers, and hangars, as well as the surrounding scene model, such as the large urban building complexes and villages around the airport, are no longer simply bound to monotonous static images. Instead, multiple material channels capable of receiving different rendering commands are reserved and set for them using professional modeling software—that is, polymorphic material interfaces. Specifically, this interface is divided into two sets of lighting and shadow mapping channels: one is a daytime lighting and shadow mapping interface used to display normal daytime visual effects such as sunlight and natural shadows; the other is a nighttime self-illuminating texture interface designed specifically for nighttime scenes, possessing self-illuminating properties to represent lighting effects such as interior lighting of buildings, window light transmission, and urban neon lights.
[0035] After the simulator is put into real-time training, the underlying engine continuously receives external simulation control commands and parses the time state parameters and meteorological state parameters in the external environment driving data in real time. The time state parameters here are variable data indicating the day and night time period of the current simulation scenario, such as daytime, dusk, and night; the meteorological state parameters are variable data indicating the specific weather conditions or ground physical conditions in the current simulation environment, such as sunny, rainy, snowfall, or the dry, wet, icy, and snowy conditions of the road surface.
[0036] Next, when the time status parameter indicates that it is during night flight hours, the polymorphic material interface of the corresponding modules of the airport core model and the surrounding scene model is triggered to switch from the daytime lighting and shadow mapping interface to the nighttime self-illuminating texture interface. That is, once the current time status parameter is parsed to indicate night, the underlying engine will start the real-time dynamic switching logic of the model texture, and decide to switch from the normal daytime texture to the nighttime self-illuminating texture, thereby realizing the adaptive lighting of buildings and lighting effects. Figure 4 This is an architectural drawing of a day / night scene provided by the present invention, such as... Figure 3 and Figure 4 As shown, during nighttime flight operations, the material interface of the airport terminal and surrounding city buildings was successfully triggered, loading nighttime lighting and shadow textures. Furthermore, to ensure a smooth visual experience, a gradient processing technique based on opacity is used during texture transitions to ensure natural and seamless changes in lighting and shadow effects when switching between different time periods and scenes.
[0037] Meanwhile, to realistically simulate the impact of complex weather conditions on airport surfaces, this embodiment of the invention also extracts target meteorological materials that match the meteorological state parameters from a pre-set composite material library and maps them onto the pavement feature surface. Here, the composite material library refers to a high-precision texture material collection established during the development phase for various climate conditions. It not only includes basic model elements but also covers light and shadow textures specifically designed for airport pavements, such as dry, wet, ice, and snow, for up to seven runway environmental conditions.
[0038] When specific meteorological parameters are analyzed, such as rain or snow, the target meteorological material with water stains, ice cover, or snow texture can be accurately retrieved from the composite material library. Then, using real-time rendering mapping technology, it can be dynamically superimposed or replaced on the surface of the pavement features such as runways, taxiways, and aprons, so that flight training personnel can make accurate judgments within the visual distance of takeoff and landing.
[0039] In this embodiment of the invention, by pre-configuring a multi-state material interface containing day and night texture channels for the scene model and introducing a composite meteorological material library, the real-time analysis and dynamic response of the landscape database to external driving parameters such as time and weather are realized. This solves the problem of abrupt switching between day and night, winter and summer and multiple weather scenes or the need to independently load a large database in traditional visual scene modeling. Under the premise of ensuring smooth gradation and natural light and shadow transition, adaptive night flight lighting of buildings and high simulation of multiple meteorological physical states of runway pavement are realized, which greatly enhances the immersion and visual realism of high-level flight simulation training.
[0040] Based on the above embodiments, the peripheral scene model includes a 3D building complex model, which is determined based on the following steps: Extract the geometric contour of the building's base from the basic geographic data, and generate a building vector dataset based on the geometric contour of the building's base and its corresponding building attribute features in the geographic vector data; Using building attribute features as the logical driving condition, a three-dimensional building complex model is generated based on a building vector dataset.
[0041] Specifically, to address the efficiency bottleneck in modeling large-scale urban and village building complexes surrounding airports, this embodiment of the invention includes a large-scale 3D building complex model in the peripheral scene model. To achieve seamless and automated conversion from 2D geographic information data to a 3D visual scene, and to replace traditional time-consuming and labor-intensive manual modeling with rule-driven methods, the 3D building complex model is determined based on the following steps: In actual development, professional geographic information editing software can be used first, with high-resolution satellite imagery or aerial orthophotos as the underlying reference. Image recognition and semi-automatic vectorization extraction tools can then be used to accurately depict and extract the geometric outline of the building's base surface, representing the actual geometric shape of each building's footprint, from the basic geographic data. However, two-dimensional geometric surfaces alone are insufficient to support three-dimensional modeling. Therefore, this embodiment of the invention also needs to integrate building attribute features from open-source databases or professional surveying data. Here, building attribute features refer to key label data describing the physical form and functional characteristics of a building, mainly including building type (such as residential, commercial, factory, etc.) and information such as the number of floors and absolute height.
[0042] By binding and fusing the extracted geometric contours of the building's base with its corresponding building attribute features, a precise building vector dataset containing rich attribute elements is formed. Figure 5 This is a rendering of the batch building vector extraction provided by the present invention, such as... Figure 5 As shown, after extraction and fusion, a large number of red two-dimensional building outlines with attribute labels were accurately overlaid and marked on the real geographic image base map, laying the foundation for subsequent three-dimensional spatial reconstruction.
[0043] Once the building vector dataset is obtained, it can be imported into a professional 3D urban design tool (such as ArcGIS CityEngine), and a reusable procedural modeling rule engine can be created using this tool. During batch modeling, the building attribute features bound to the building vector dataset will directly serve as the logical driving conditions for generating the 3D form.
[0044] Specifically, the procedural rule engine reads the attribute information under each contour feature one by one. For example, using the number of floors as a logical judgment condition, the engine performs precise vertical stretching of the two-dimensional contour to generate a three-dimensional white model of the corresponding height. At the same time, using the building type attribute as a matching condition, it automatically assigns matching facade material textures, window styles, and roof structures from the composite material library. Through this procedural generation method directly driven by underlying data attributes, the batch automated conversion from two-dimensional planar vector data to three-dimensional building complexes is realized, thereby generating high-density three-dimensional building complex models. Figure 6 This is a rendering of the three-dimensional building complex model provided by the present invention, such as... Figure 6 As shown, the 3D building complexes generated based on logic-driven conditions not only conform to the real geographical spatial distribution in visual presentation, but also have extremely high visual diversity and geographical authenticity.
[0045] In this embodiment of the invention, a programmatic batch modeling process based on attribute rules is introduced. The architectural attribute features in two-dimensional vector data are used as logical driving conditions to automatically generate three-dimensional building complexes. This solves the problem of the time-consuming and labor-intensive traditional method of manually building large-area airport surrounding buildings one by one. It effectively balances the contradiction between modeling efficiency and visual effect, not only significantly reducing the development cycle of the huge surrounding scene from the traditional monthly level to the daily level, but also significantly reducing the economic and human resources investment of development companies. At the same time, the programmatically batch-generated building complexes have reasonable control over the complexity of the model face count, greatly reducing the computational load of the underlying real-time rendering system of the visual scene, and providing pilots with an extremely accurate spatial position and smooth operation of the surrounding visual environment.
[0046] Based on the above embodiments, using building attribute features as logical driving conditions, a three-dimensional building complex model is generated based on a building vector dataset, and then the model further includes: Road vector features are extracted from geographic vector data, and the road vector features are combined with the elevation data in the basic geographic data to generate an urban road model. Mark the positions of point light sources on both sides of the road curve along the normal direction of the road curve of the urban road model at preset intervals; The preset street light lighting attributes are mapped to the location of point light sources, and a road light network attached to the city road model is rendered.
[0047] Specifically, to further enrich and improve the surrounding visual environment of the airport, this embodiment of the invention provides a procedural generation process for urban roads and supporting lighting networks after generating the 3D building complex model. This process specifically includes: First, road vector features can be extracted from geographic vector data. These road vector features are then stitched together with elevation data from the underlying geographic data to generate an urban road model. Specifically, this involves parsing the road vector raster files around the airport to accurately extract two-dimensional road vector features representing the road network's orientation, width, and curvature. Since real-world roads are not perfectly flat but follow the terrain's contours, DEM elevation data provided by the digital elevation model (DEM) in the underlying geographic data can be used. By deeply stitching and fusion the two-dimensional road vector features with the three-dimensional elevation data, urban road models that closely follow the continuous undulations of the ground can be generated in batches. Figure 7 These are renderings of the road and bridge provided by this invention, such as... Figure 7 As shown, the urban road and bridge models generated after stitching together elevation data conform to the complex and varied terrain heights, demonstrating extremely high spatial coherence and geographical realism.
[0048] Meanwhile, to meet the ground lighting requirements for night flight training, this embodiment of the invention can also mark the positions of point light sources on both sides of the road along the normal direction of the road curve of the urban road model at preset intervals. That is, during the process of generating a three-dimensional road driven by vector data, the geometric road curve along the center line or edge line of the road is automatically calculated, and its corresponding normal direction is obtained, that is, the direction perpendicular to the road direction and towards the road surface, to ensure the accurate orientation of the streetlights. Then, simulating real urban planning standards, the coordinates are automatically calculated and extracted on one or both sides of the road at preset intervals, such as every tens of meters, thereby accurately marking the positions of the point light sources. The point light source represents the virtual anchor point of the streetlight pole, used to provide accurate three-dimensional spatial coordinate references for subsequent lighting effect rendering.
[0049] Finally, during the modeling and rendering of the display window, preset streetlight lighting attributes can be mapped to the locations of point light sources, rendering a road lighting network attached to the city road model. That is, streetlight lighting attributes can be assigned to point light sources, covering luminous materials, color, brightness, nighttime response logic, etc. When the underlying polymorphic material interface receives the driving data for the nighttime state, these point light sources will be processed as independent light sources and their luminous materials will be displayed, thus automatically rendering a vast and coherent road lighting network attached to the city road model. Figure 8 This is a rendering of the road lighting provided by the present invention, such as... Figure 8 As shown, in the night scene, the point light sources generated along both sides of the road are precisely illuminated, forming extended urban road network light strips that blend with the surrounding environment.
[0050] In this embodiment of the invention, by extracting road vector features and combining them with DEM elevation data for stitching, and supplementing with programmed batch mapping of point light sources in the normal direction, the huge workload of manually placing road and street light models one by one is eliminated. This not only ensures the three-dimensional height matching of urban roads and complex terrain, but also automatically and accurately generates a road light network consistent with the real world. This provides pilots with extremely accurate and immersive landmark visual references in training subjects such as night flight, approach, and transfer, further improving the overall development efficiency and simulation realism of large-scale scenes around airports.
[0051] Based on the above embodiments, the peripheral scene model includes a peripheral vegetation model, which is determined based on the following steps: Based on the vegetation distribution attributes in the basic geographic data, vegetation location information is extracted from the high-precision three-dimensional terrain bottom model represented by the airport terrain database, and a corresponding LightPoint set is created based on the vegetation location information. In three-dimensional space, construct two-dimensional texture nodes that maintain the rendering viewpoint, and bind the coordinate parameters of each LightPoint light point set to the two-dimensional texture nodes to render vegetation, thus obtaining the outer vegetation model.
[0052] Specifically, in order to efficiently and realistically construct a natural vegetation landscape within and around the airport, in this embodiment of the invention, the peripheral scene model may further include a peripheral vegetation model, which is determined based on the following steps: First, using two-dimensional vegetation points from basic geographic data, three-dimensional vegetation location information can be extracted from a high-precision three-dimensional terrain model represented by an airport terrain database. Based on this vegetation location information, a corresponding set of LightPoints can be created. In other words, by reading the high-precision three-dimensional terrain model represented by the airport terrain database, vegetation location information representing the actual geographic coordinates of each tree can be accurately identified and extracted. Subsequently, using this extracted spatial location information, LightPoints are generated in batches in a three-dimensional editing environment to record relative position coordinates. These massive numbers of LightPoints are then aggregated to create a LightPoint set that reflects the actual vegetation distribution density. Figure 9 This is an example diagram of the LightPoint light point set provided by the present invention, such as... Figure 9 As shown, a large number of densely distributed LightPoint light point arrays with precise relative position coordinates were extracted and generated on the terrain surface. These points constitute the coordinate anchor point library for future vegetation rendering.
[0053] Next, in order to present a realistic 3D forest visual effect without significantly increasing the rendering computational burden, this embodiment of the invention constructs 2D texture nodes in 3D space that maintain the orientation of the rendering viewpoint, and binds the coordinate parameters of each vector point set to the 2D texture nodes for vegetation rendering, thereby obtaining the outer vegetation model. In this process, Billboard technology is introduced, which constructs a special type of graphics node (2D texture node that maintains the orientation of the rendering viewpoint) in 3D space. The unique property of this 2D texture node is that no matter how the pilot's rendering viewpoint (i.e., observer's viewpoint or camera's viewpoint) moves or rotates in the flight simulator, the 2D patch with tree textures will always automatically rotate to ensure that the front faces the rendering viewpoint, thereby creating a three-dimensional illusion.
[0054] Subsequently, the coordinate parameters of each vector point set can be used as a spatial positioning system, and each coordinate point can be bound to a 2D texture node one by one. The corresponding tree texture map can then be loaded. For example, different green leaf or withered branch snow scene textures can be loaded according to the season for vegetation rendering, thereby obtaining the peripheral vegetation model in batches. The vegetation model generated by Billboard technology not only has a clear and easy-to-manage node structure, but can also be displayed naturally and over a large area in complex scenes.
[0055] In this embodiment of the invention, by extracting the tree location coordinates and light point sets and deeply combining them with two-dimensional texture nodes, the automated batch planting and rendering of massive and large-scale vegetation is realized. This completely eliminates the process of manually creating and placing high-precision polygonal individual three-dimensional tree models one by one. While greatly improving the efficiency of large-scale scene development and modeling, it significantly reduces the memory consumption and geometric face calculation pressure of the underlying visual engine. This allows the visual system to still ensure clear and smooth frame rates and stable performance when rendering large-area, high-density natural forest and grassland landscapes.
[0056] Based on the above embodiments, in step 120, an airport terrain database is generated based on basic geographic data, including: Centered on the target landing area in the target region, multiple spatial hierarchical regions are divided outwards according to the distance threshold, and texture resolution parameters and elevation resolution parameters are configured for each spatial hierarchical region in descending order. Based on various texture resolution parameters and elevation resolution parameters, pixel-level rendering mapping is performed on basic geographic data to construct an airport terrain database with multiple levels of detail.
[0057] Specifically, in constructing a large-scale visual scene covering everything from the airport core area to a global scale, in order to effectively balance the high-fidelity visual rendering with the computational performance burden of the underlying engine, this embodiment of the invention deeply integrates Level of Detail (LOD) technology during the construction of the terrain database. The specific implementation process includes: First, when processing massive amounts of multi-source remote sensing imagery and DEM elevation data, the target landing area within the target region is used as the center. Multiple progressively expanding spatial hierarchy regions are then defined outwards based on distance thresholds. Each spatial hierarchy region is assigned progressively decreasing texture and elevation resolution parameters. In practice, the target landing area refers to the core takeoff and landing zone, such as the airport runway and departure / landing area, where pilots have the highest visual attention and the image accuracy requirements are extremely stringent. Using this core area as the origin, and based on pre-set distance thresholds—for example, using 50km, 500km, or even a global scale—multiple progressively expanding spatial hierarchy regions are delineated outwards within a three-dimensional spatial grid.
[0058] After completing the regional grid division, it is necessary to accurately configure the texture resolution and elevation resolution parameters of these different levels of regions with progressively decreasing levels. The closer to the core area, the higher the data accuracy, and the accuracy gradually decreases as it extends outward. For example, for the airport takeoff and landing areas, the texture resolution parameter is configured to a very high precision of 0.5 meters / pixel; when expanding outward to the vicinity of the airport mission area (such as a 50km×50km range), the texture resolution is adjusted to 2 meters / pixel; when continuing to expand outward to a large mission area (such as a 500km×500km range), the texture resolution is proportionally reduced to 5 meters / pixel, and the corresponding DEM elevation data resolution parameter is configured to 30 meters / pixel; and for the even more peripheral supporting basic terrain (i.e., the global background map), the texture resolution is further reduced to 15 meters / pixel or 30 meters / pixel, and the DEM elevation resolution is configured to 90 meters / pixel or 500 meters / pixel, respectively.
[0059] Next, based on the texture resolution parameters and elevation resolution parameters, pixel-level rendering mapping is performed on the basic geographic data to construct an airport terrain database with multiple levels of detail. Specifically, after obtaining the aforementioned parameter system configured from the core to the periphery, professional visual database editing tools (such as VpbMaster) strictly adhere to these parameter constraints, resampling and pixel-level rendering mapping the basic geographic data in different spatial layers, mapping texture pixels of corresponding resolution levels onto the terrain undulation mesh surface of corresponding precision. Through this differentiated texture mapping and height sampling processing, a multi-level airport terrain database is ultimately constructed.
[0060] It should be noted here that the underlying data structure of the constructed airport terrain database exhibits a distinct hierarchical pyramid-shaped LOD (Level of Detail) distribution. This structure allows the underlying engine to dynamically and smoothly schedule and switch terrain tile data of different precisions based on the real-time distance of the aircraft from the target area during runtime loading; simultaneously, Figure 10 This is a rendering of the airport area modeling provided by the present invention, such as... Figure 10 As shown, the terrain after fine-tuning parameter configuration and pixel-level mapping rendering can present highly realistic and continuous undulation effects, whether it is the airport runway and surrounding area with extremely high definition (0.5 meters level) in the near area, or the large-scale landforms such as valleys, cities and coastlines in the distance. Moreover, the visual transition is extremely smooth when switching between LOD detail levels.
[0061] In this embodiment of the invention, by introducing a multi-detail level spatial region partitioning strategy based on distance thresholds and implementing a hierarchical configuration of texture and elevation accuracy, the problem of large-scale, high-precision landscape databases occupying massive memory space and causing rendering stuttering is solved. While ensuring that the core flight take-off and landing areas (such as at the 0.5-meter level) have extreme realism and clear visual feedback, redundant computational data in the peripheral distant areas is extremely reasonably trimmed and compressed, significantly reducing the hardware load of the visual system for real-time rendering. This completely solves the problem of performance degradation and unstable frame rate that traditional commercial visual engines are prone to when facing large-scale airports and global-scale environments, and comprehensively and efficiently meets the stringent visual requirements of various high-level flight simulation training such as take-off, landing, transit, and cruise.
[0062] Based on the above embodiments, step 140 involves modularly encapsulating the airport terrain database, the airport core model, and the peripheral scene model, including: The airport core model and the peripheral scene model are decomposed according to functional attributes and environmental status to obtain multiple model sub-modules. Each model sub-module includes at least a daytime building sub-module and a night flight building sub-module separated according to day and night environment. Based on the model height of each model submodule and the terrain height of the airport terrain database, a slope transition submodule is constructed to match the model height and the terrain height. The various model sub-modules, slope transition sub-modules, and airport terrain database are grouped, named, and integrated into a single package.
[0063] Specifically, the process of modularly encapsulating the airport terrain database, the airport core model, and the peripheral scene model can include: First, the airport core model and peripheral scene model can be decomposed into multiple independent sub-modules, i.e., model sub-modules, based on functional attributes and environmental conditions. These model sub-modules should at least include daytime building sub-modules and nighttime flight building sub-modules, separated according to day and night environments. Specifically, in actual development, the entire massive airport visual landscape does not exist as a single file. Therefore, based on the model's own functional attributes, such as runway pavement, markings, various signs, building entities, trees, and vegetation, as well as the environmental conditions that need to be responded to, such as daytime, nighttime, and different seasons, the constructed airport core model and peripheral scene model can be logically decomposed into multiple model sub-modules.
[0064] Specifically, to achieve efficient and non-interfering dynamic switching of light and shadow, this embodiment of the invention forcibly separates environmental state features, ensuring that the model sub-modules include at least daytime building sub-modules and nighttime flight building sub-modules separated according to day and night environments. That is, airport landmarks during the day, such as control towers and navigation stations, are independently decomposed into daytime building sub-modules; simultaneously, for the same batch of landmarks that need to display self-illuminating textures and associated light points at night, nighttime flight building sub-modules are independently generated. This separation based on environmental state provides the data foundation for the underlying engine to instantly load or hide corresponding modules through an interface during runtime.
[0065] Subsequently, based on the model heights of each model submodule and the terrain heights of the airport terrain database, a slope transition submodule is constructed to match the model heights and terrain heights. That is, in actual visual fusion, due to the high-precision flattening of the model heights of submodules such as runways and aprons, there is often a height difference between the model heights and the terrain heights of the airport terrain database (which is automatically generated based on basic geographic data and has undulating terrain with natural elevation differences) (i.e., the model appears to be suspended or sunken into the ground). Therefore, in the areas where the model edges meet the terrain, a skirt or transition surface is specifically constructed to match these two height differences—the slope transition submodule—using elevation sampling and mesh stitching algorithms. The core function of this module is to solve the problem of matching and stitching the absolute height of the airport model with the elevation data of the surrounding terrain database, ensuring an absolutely smooth transition in both visual and physical inspection.
[0066] Finally, the various model sub-modules, slope transition sub-modules, and airport terrain database can be grouped, named, and integrated. That is, after completing the above detailed decomposition and transition matching, all scattered module components need to be grouped and named in a standardized manner. For example, the grouping and naming mechanism typically uses the airport's three-letter code IATA (International Air Transport Association) as a prefix, deriving clear and easy-to-read directory hierarchies such as AAA_slope, BBB_2dtaximat, CCC_buildings, and DDD_tree. Subsequently, professional modeling software (such as PresagisCreator) is used to integrate and encapsulate the named sub-modules along with the underlying airport terrain database, resulting in encapsulated modules, which can be output in OpenFlight standard format or in general formats such as ".fbx" or ".obj". This encapsulation preserves the communication interfaces for each module to independently respond to external environment-driven data, while also forming a target landscape database set that can be fully invoked by the visual engine at any time.
[0067] In this embodiment of the invention, a modular architecture design that decomposes data by function and environment, provides seamless slope transitions, and standardizes grouping and naming encapsulation overturns the rigidity of traditional 3D scene data where a change in one part affects the whole. It not only perfectly eliminates the seams between high-precision models and large-scale terrain using slope transition sub-modules, greatly improving the physical and visual integration of the scene; more importantly, the highly decoupled modular encapsulation gives the underlying engine great flexibility to perform local updates, creations, deletions, and dynamic texture replacements for individual modules; simultaneously, the adoption of a standard universal format effectively breaks down the proprietary format barriers of high-end engines, enabling rapid cross-platform porting to mainstream engines such as Unreal Engine, Unity, Prepar3D, and VegaPrime, significantly reducing later maintenance costs and platform switching risks.
[0068] The modeling system for the airport landscape database provided by this invention will be described below. The modeling system for the airport landscape database described below can be referred to in correspondence with the modeling method for the airport landscape database described above.
[0069] Figure 11 This is a schematic diagram of the modeling system for the airport landscape database provided by the present invention, as shown below. Figure 11 As shown, the system includes: Data acquisition unit 1110 is used to acquire basic geographic data and geographic vector data of the target area; The model building unit 1120 is used to generate an airport terrain database based on the basic geographic data, extract surface features based on the airport terrain database, and build an airport core model that matches the surface features. The model generation unit 1130 is used to generate a peripheral scene model that matches the airport terrain database based on the geographic vector data and / or the basic geographic data. The encapsulation switching unit 1140 is used to modularly encapsulate the airport terrain database, the airport core model, and the peripheral scene model, and based on external environment driving data, trigger the polymorphic material interface of each module after encapsulation to switch the model texture in order to generate the target airport landscape database.
[0070] The airport landscape database modeling system provided by this invention achieves semi-automated collaborative construction of terrain and models by integrating basic geographic data and vector data. This solves the problems of scattered and cumbersome conversion in traditional visual modeling tools, and significantly improves the development efficiency of large-scale airport landscapes. At the same time, the introduction of modular encapsulation and polymorphic material interface design enables the generated airport landscape database to respond to external environmental driving data in real time. This achieves high-fidelity and smooth switching of runway materials under various complex weather conditions, such as winter-summer transitions, day-night transitions, and various weather conditions. This not only solves the technical bottlenecks of low-end commercial engines in dynamic scene rendering and frame rate stability in traditional solutions, but also achieves independent control of core underlying technologies. Furthermore, it comprehensively meets the stringent requirements of high-level flight simulators for highly immersive, highly realistic, and deeply customized visual environments.
[0071] Based on the above embodiments, the encapsulation switching unit 1140 is used for: Configure polymorphic material interfaces, including daytime lighting and shadow mapping interfaces and nighttime self-illuminating texture interfaces, for the airport core model and the surrounding scene model; Analyze the time state parameters and meteorological state parameters in the external environment driving data; When the time status parameter indicates that it is during the night flight period, the polymorphic material interface of the corresponding module of the airport core model and the peripheral scene model is triggered to switch from the daytime light and shadow mapping interface to the nighttime self-illuminating texture interface. Extract the target meteorological material that matches the meteorological state parameters from the preset composite material library, and map the target meteorological material onto the pavement feature surface in the airport core model.
[0072] Based on the above embodiments, the peripheral scene model includes a three-dimensional building complex model, and the model generation unit 1130 is used for: The building base contour geometry is extracted from the basic geographic data, and a building vector dataset is generated based on the building base contour geometry and its corresponding building attribute features in the geographic vector data. Using the building attribute features as logical driving conditions, the three-dimensional building complex model is generated based on the building vector dataset.
[0073] Based on the above embodiments, the system further includes a light grid construction unit, used for: Road vector features are extracted from the geographic vector data, and the road vector features are combined with the elevation data in the basic geographic data to generate an urban road model. Along the normal direction of the road curve of the urban road model, mark the positions of point light sources on both sides of the road curve at preset intervals; The preset street light lighting attributes are mapped to the location of the point light source, and a road light network attached to the city road model is rendered.
[0074] Based on the above embodiments, the peripheral scene model includes a peripheral vegetation model, and the model generation unit 1130 is used for: Based on the vegetation distribution attributes in the basic geographic data, vegetation location information is extracted from the high-precision three-dimensional terrain bottom model represented by the airport terrain database, and a corresponding LightPoint set is created based on the vegetation location information. In a three-dimensional space, a two-dimensional texture node is constructed that maintains the orientation towards the rendering viewpoint. The coordinate parameters of each light point in the LightPoint set are then bound to the two-dimensional texture node for vegetation rendering, thus obtaining the outer vegetation model.
[0075] Based on the above embodiments, the model building unit 1120 is used for: Centered on the target landing area in the target region, multiple spatial hierarchical regions are divided outwards according to a distance threshold, and texture resolution parameters and elevation resolution parameters are configured for each spatial hierarchical region in descending order of hierarchy. Based on the texture resolution parameters and elevation resolution parameters, pixel-level rendering mapping is performed on the basic geographic data to construct an airport terrain database with multiple levels of detail.
[0076] Based on the above embodiments, the encapsulation switching unit 1140 is used for: The airport core model and the peripheral scene model are decomposed according to functional attributes and environmental status to obtain multiple model sub-modules. The model sub-modules include at least daytime building sub-modules and night flight building sub-modules separated according to day and night environment. Based on the model height of each model submodule and the terrain height of the airport terrain database, a slope transition submodule is constructed to match the model height and the terrain height. The model sub-modules, the slope transition sub-module, and the airport terrain database are grouped, named, and integrated into a single package.
[0077] Figure 12 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 12 As shown, the electronic device may include a processor 1210, a communications interface 1220, a memory 1230, and a communication bus 1240, wherein the processor 1210, the communications interface 1220, and the memory 1230 communicate with each other via the communication bus 1240. The processor 1210 can call logical instructions in the memory 1230 to execute a modeling method for an airport landscape database. This method includes: acquiring basic geographic data and geographic vector data of a target area; generating an airport terrain database based on the basic geographic data; extracting surface features based on the airport terrain database and constructing an airport core model matching the surface features; generating a peripheral scene model matching the airport terrain database based on the geographic vector data and / or the basic geographic data; modularly encapsulating the airport terrain database, the airport core model, and the peripheral scene model; and triggering the polymorphic material interfaces of each encapsulated module to switch model textures based on external environment driving data, thereby generating the target airport landscape database.
[0078] Furthermore, the logical instructions in the aforementioned memory 1230 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0079] On the other hand, the present invention also provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, wherein when the program instructions are executed by a computer, the computer is able to execute the airport landscape database modeling method provided by the above methods, the method comprising: acquiring basic geographic data and geographic vector data of a target area; generating an airport terrain database based on the basic geographic data; extracting surface features based on the airport terrain database and constructing an airport core model matching the surface features; generating a peripheral scene model matching the airport terrain database based on the geographic vector data and / or the basic geographic data; modularly encapsulating the airport terrain database, the airport core model, and the peripheral scene model, and triggering the polymorphic material interface of each encapsulated module to switch model textures based on external environment driving data, so as to generate a target airport landscape database.
[0080] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon. When executed by a processor, the computer program implements a modeling method for an airport landscape database provided by the methods described above. The method includes: acquiring basic geographic data and geographic vector data of a target area; generating an airport terrain database based on the basic geographic data; extracting surface features based on the airport terrain database and constructing an airport core model matching the surface features; generating a peripheral scene model matching the airport terrain database based on the geographic vector data and / or the basic geographic data; modularly encapsulating the airport terrain database, the airport core model, and the peripheral scene model, and triggering the polymorphic material interface of each encapsulated module to switch model textures based on external environment driving data, thereby generating a target airport landscape database.
[0081] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0082] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A modeling method for an airport landscape database, characterized in that, include: Acquire basic geographic data and geographic vector data for the target area; Based on the aforementioned basic geographic data, an airport topography database is generated. Surface features are extracted from the airport topography database, and an airport core model matching the surface features is constructed. Based on the geographic vector data and / or the basic geographic data, generate a peripheral scene model that matches the airport terrain database; The airport terrain database, the airport core model, and the peripheral scene model are modularly encapsulated, and based on external environment driving data, the polymorphic material interfaces of each encapsulated module are triggered to switch model textures in order to generate the target airport landscape database.
2. The modeling method for airport landscape database according to claim 1, characterized in that, The process of switching model textures based on external environment-driven data and triggering the polymorphic material interfaces of each encapsulated module includes: Configure polymorphic material interfaces, including daytime lighting and shadow mapping interfaces and nighttime self-illuminating texture interfaces, for the airport core model and the surrounding scene model; Analyze the time state parameters and meteorological state parameters in the external environment driving data; When the time status parameter indicates that it is during the night flight period, the polymorphic material interface of the corresponding module of the airport core model and the peripheral scene model is triggered to switch from the daytime light and shadow mapping interface to the nighttime self-illuminating texture interface. Extract the target meteorological material that matches the meteorological state parameters from the preset composite material library, and map the target meteorological material onto the pavement feature surface in the airport core model.
3. The modeling method for airport landscape database according to claim 1, characterized in that, The surrounding scene model includes a 3D building complex model, which is determined based on the following steps: The building base contour geometry is extracted from the basic geographic data, and a building vector dataset is generated based on the building base contour geometry and its corresponding building attribute features in the geographic vector data. Using the building attribute features as logical driving conditions, the three-dimensional building complex model is generated based on the building vector dataset.
4. The modeling method for airport landscape database according to claim 3, characterized in that, The process of generating the 3D building complex model based on the building vector dataset, using the building attribute features as logical driving conditions, further includes: Road vector features are extracted from the geographic vector data, and the road vector features are combined with the elevation data in the basic geographic data to generate an urban road model. Along the normal direction of the road curve of the urban road model, mark the positions of point light sources on both sides of the road curve at preset intervals; The preset street light lighting attributes are mapped to the location of the point light source, and a road light network attached to the city road model is rendered.
5. The modeling method for an airport landscape database according to any one of claims 1 to 4, characterized in that, The peripheral scene model includes a peripheral vegetation model, which is determined based on the following steps: Based on the vegetation distribution attributes in the basic geographic data, vegetation location information is extracted from the high-precision three-dimensional terrain bottom model represented by the airport terrain database, and a corresponding LightPoint set is created based on the vegetation location information. In three-dimensional space, construct two-dimensional texture nodes that maintain the rendering viewpoint, and bind the coordinate parameters of each light point set to the two-dimensional texture nodes to perform vegetation rendering, thereby obtaining the outer vegetation model.
6. The modeling method for an airport landscape database according to any one of claims 1 to 4, characterized in that, The process of generating an airport terrain database based on the aforementioned basic geographic data includes: Centered on the target landing area in the target region, multiple spatial hierarchical regions are divided outwards according to a distance threshold, and texture resolution parameters and elevation resolution parameters are configured for each spatial hierarchical region in descending order of hierarchy. Based on the texture resolution parameters and elevation resolution parameters, pixel-level rendering mapping is performed on the basic geographic data to construct an airport terrain database with multiple levels of detail.
7. The modeling method for an airport landscape database according to any one of claims 1 to 4, characterized in that, The modular encapsulation of the airport terrain database, the airport core model, and the peripheral scene model includes: The airport core model and the peripheral scene model are decomposed according to functional attributes and environmental status to obtain multiple model sub-modules. The model sub-modules include at least daytime building sub-modules and night flight building sub-modules separated according to day and night environment. Based on the model height of each model submodule and the terrain height of the airport terrain database, a slope transition submodule is constructed to match the model height and the terrain height. The model sub-modules, the slope transition sub-module, and the airport terrain database are grouped, named, and integrated into a single package.
8. A modeling system for an airport landscape database, characterized in that, include: The data acquisition unit is used to acquire basic geographic data and geographic vector data of the target area; The model building unit is used to generate an airport topography database based on the basic geographic data, extract surface features based on the airport topography database, and build an airport core model that matches the surface features. The model generation unit is used to generate a peripheral scene model that matches the airport terrain database based on the geographic vector data and / or the basic geographic data. The encapsulation and switching unit is used to modularly encapsulate the airport terrain database, the airport core model, and the peripheral scene model, and based on external environment driving data, trigger the polymorphic material interface of each encapsulated module to switch model textures in order to generate the target airport landscape database.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the modeling method for the airport landscape database as described in any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the modeling method for the airport landscape database as described in any one of claims 1 to 7.