A mass city core data three-dimensional visualization system and an interaction method
By employing tile generation, GPU dynamic stretching rendering, and visual enhancement technologies, the problems of visual expressiveness, rendering performance, and dynamic response in the 3D visualization of massive urban core data have been solved, achieving efficient and low-cost 3D visualization effects.
Patent Information
- Application Number
- CN202611404323.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-10
- Publication Date
- 2026-11-24
AI Technical Summary
Existing technologies struggle to achieve low-cost, high-performance, and high-information-density 3D visualization of massive urban core data, exhibiting significant shortcomings, particularly in terms of insufficient visual expressiveness, high rendering pressure of massive data, low information carrying capacity, and lag in dynamic response.
The tile generation module converts 2D contour data into vector tiles, uses a GPU parallel computing architecture for dynamic stretching and rendering, and combines a visual enhancement module to generate texture-free textures through a custom fragment shader. Attribute texture technology is used to achieve incremental scene updates, and dual visual mapping and interaction module linkage are supported.
It achieves stable 60FPS rendering of buildings with a capacity of millions of square meters, increases information carrying capacity by more than 3 times, reduces dynamic response time, and provides intuitive and efficient visual support for the assessment of urban core value and the identification of key targets.
Smart Images

Figure CN123160782A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the interdisciplinary field of computer graphics, geographic information systems (GIS) and big data visualization. Specifically, it relates to a three-dimensional visualization system and interactive method for massive urban core data based on real-time stretching of two-dimensional vector data and procedural color enhancement. It is applicable to scenarios such as urban core value assessment, key target identification, and regional situation monitoring. Background Technology
[0002] In urban core value assessment and situation analysis, acquiring high-precision 3D building models (such as BIM and oblique photogrammetry models) is costly, time-consuming, and involves massive amounts of data. In practical applications, it often faces the limitation of data sources that can only obtain the two-dimensional outline and height attributes of buildings. Existing visualization technologies have significant shortcomings in processing this type of basic data:
[0003] (1) Lack of visual expressiveness. Traditional "white model" rendering only stretches the two-dimensional outline into a solid color cube, resulting in a monotonous visual effect, lack of depth and recognizability. It is difficult to distinguish key targets in dense building clusters and cannot reflect the distribution differences of core data.
[0004] (2) The rendering pressure of massive data is high. Directly performing stretching and triangulation calculations on millions of vector surfaces on the CPU will consume a lot of computing resources, causing page lag and frame rate drops, which cannot meet the flow field visualization needs of large-scale urban data.
[0005] (3) Low information carrying capacity. Simple geometric models can only present physical forms and are difficult to deeply integrate abstract data such as GDP density and core value comprehensive score with visual effects. They cannot intuitively convey multi-dimensional core information and have limited effect on assisting decision-making.
[0006] (4) Lagging dynamic response. When data is updated, the geometry needs to be reconstructed and fully rendered, with a response time of up to seconds, which cannot meet the visualization requirements of real-time updates of core data.
[0007] In summary, existing technologies are insufficient to address the core challenges of "high-efficiency visualization of low-precision data, high-performance rendering of massive data, deep mapping of abstract data, and rapid response to dynamic data." There is an urgent need for a low-cost, high-performance, and high-information-density 3D visualization solution for massive urban core data. Summary of the Invention
[0008] To address the shortcomings of existing technologies, this application proposes a three-dimensional visualization system and interactive method for massive urban core data.
[0009] This application is achieved through the following technical solution:
[0010] A 3D visualization system for massive urban core data includes:
[0011] The tile generation module is configured to convert two-dimensional outline vector data of urban buildings into vector tiles or 3Dtiles format, retaining only the vertex coordinates and height attributes of the bottom polygon, and supporting data tile storage and on-demand loading.
[0012] The GPU dynamic stretching rendering module is configured to: read the vertex coordinates of vector tiles in real time through the GPU parallel computing architecture, perform dynamic stretching along the ground normal direction according to the height attribute to generate a three-dimensional block model, and merge and batch render buildings with similar shapes.
[0013] The visual enhancement module is configured to generate textureless textures based on the world coordinates and height information of the model using a custom fragment shader, and overlay edge glow, dynamic scan lines and height gradient effects, mapping the core data indicators to self-emission intensity and scan line frequency.
[0014] The dual visual mapping module is configured to support dual visualization of physical height mode and value height mode. The physical height mode stretches and restores the city skyline according to the real height, while the value height mode binds the building height to GDP density to achieve non-linear stretching. Combined with color thermal coding, it displays the distribution of core value, and key facilities are automatically overlaid with three-dimensional symbols and screen space floodlight effects.
[0015] The incremental scene update module is configured to: use attribute texture technology to encode the dynamic attributes of massive buildings into floating-point textures, and only update the corresponding pixels of the texture when the data is updated;
[0016] In addition, the interaction module is configured to support key target picking, information pop-up display, and view mode switching, enabling interactive linkage between the visualization scene and core data.
[0017] In some implementations, the tile generation module is configured to:
[0018] Convert 2D urban building outline data in GeoJSON or Shapefile format to vector tiles or 3DTiles format, retaining only the vertex coordinates of the bottom polygon, building ID, and height attribute;
[0019] Data is divided into tiles based on city administrative regions or latitude and longitude ranges, with each tile covering a fixed range, supporting on-demand loading and caching;
[0020] Remove outlier data and smooth irregular contours.
[0021] In some implementations, the GPU dynamic stretch rendering module is configured to:
[0022] After the vector tile data is loaded, the CPU only transmits the vertex coordinates, height attributes and building ID to the GPU. After reading the data through the vertex shader built into the GPU, dynamic stretching calculation is performed along the ground normal direction to directly generate a three-dimensional block model.
[0023] Group buildings with the same shape, with each group sharing a set of geometry data, and submit render commands in batches by only passing instantiated properties.
[0024] In some implementations, the visual enhancement module is configured to:
[0025] Based on the world coordinates, height information and normal direction of the model, textureless textures are generated by noise function and gradient calculation to simulate the appearance of a technological city.
[0026] The angle between the surface normal of the calculated model and the viewing direction is automatically increased when the angle is greater than a preset threshold.
[0027] By introducing a time variable, a periodically upward-moving highlight scan line is generated along the model height direction;
[0028] A linear gradient from dark to light at the top is achieved by normalizing the building height.
[0029] After standardizing the core data indicators, the self-luminous intensity and scan line frequency are linearly correlated; the higher the indicator, the more significant the luminous effect.
[0030] In some implementations, the scan line frequency range is 0.5-5 Hz.
[0031] In some implementations, the value height mode is as follows:
[0032] The building's stretch height is tied to the GDP density of the grid containing the building, and non-linear stretching is performed. The building stretch height is calculated as follows: ;in, This is the magnification factor; The GDP density standardized value of the grid where the building is located; This is the actual height; This refers to the stretch height;
[0033] Color thermal encoding uses a gradient mapping method with high red and low blue, and triggers a breathing flashing effect when the core value comprehensive score is greater than or equal to the threshold.
[0034] In some implementations, the amplification factor is 0.5-2.0.
[0035] In some implementations, the incremental scene update module is configured as follows:
[0036] All the dynamic attributes of the buildings are encoded into an RGBA floating-point texture in the order of building IDs. Each pixel corresponds to the attribute information of one building, and the texture resolution is adaptively adjusted according to the number of buildings.
[0037] When the backend service pushes changes to the core data, the client application only needs to update the pixel channel values of the corresponding building in the attribute texture;
[0038] When rendering the next frame, the GPU automatically reads the latest attribute values from the attribute texture and updates the rendering effect.
[0039] In some implementations, the interaction module is configured as follows:
[0040] Using ray detection and instance ID binding technology, when the mouse is clicked or hovered, the instance ID of the target building is obtained through the picking matrix, the attribute data is queried, and a HUD panel pops up to display the target building ID, type, core value comprehensive score and status information.
[0041] On the other hand, this application also proposes a three-dimensional visualization and interactive method for massive urban core data, implemented based on the massive urban core data three-dimensional visualization system described in any of the above embodiments, including:
[0042] Convert the two-dimensional outline data of the target city buildings into vector tiles or 3DTiles format, retaining only the vertex coordinates and height attributes of the bottom polygons;
[0043] Load vector tile data, stretch it in real time using a vertex shader to generate a 3D block model, and perform batch rendering of geometric instantiation;
[0044] A custom fragment shader is applied to generate textures without textures, and edge glow, dynamic scan lines, and height gradient effects are overlaid. The core data metrics are mapped to self-emission intensity and scan line frequency.
[0045] Switch between physical height mode and value height mode as needed for visualization;
[0046] Perform key target picking and querying, and use attribute texture technology to achieve millisecond-level scene refresh after data changes.
[0047] This application proposes a 3D visualization system and interactive method for massive urban core data. The system relies on a GPU parallel computing architecture, loading urban vector data containing only 2D outlines and height attributes. Through real-time stretching and geometric instantiation batch rendering using GPU vertex shaders, it achieves stable 60FPS rendering of millions of buildings. It integrates a procedural shading visual enhancement engine, generating technologically advanced textures without texture mapping, and overlaying effects such as edge glow, dynamic scan lines, and height gradients. Core data indicators are mapped to self-illumination intensity and scan line frequency. It supports dual-mode switching between physical height and value height, automatically overlaying 3D symbols and bloom effects on key core facilities. Attribute texture encoding enables dynamic attributes, achieving millisecond-level incremental scene updates. This application achieves high-tech visualization and deep interaction of massive urban core data at low cost, even in the absence of high-precision 3D models. It significantly increases information capacity, reduces dynamic response time, and provides intuitive and efficient visual support for assessing urban core value and identifying key targets. Attached Figure Description
[0048] The accompanying drawings, which are included to provide a further understanding of the embodiments of this application and form part of this application, do not constitute a limitation on the embodiments of this application. In the drawings:
[0049] Figure 1 This is a schematic diagram of the three-dimensional visualization system architecture proposed in the embodiments of this application;
[0050] Figure 2 This is a schematic diagram of a futuristic architectural effect generated by a custom fragment shader in an embodiment of this application.
[0051] Figure 3 This is a schematic diagram comparing the physical height mode and the value height mode in the embodiments of this application;
[0052] Figure 4 This is a schematic diagram illustrating the incremental update principle driven by attribute texture in the embodiments of this application;
[0053] Figure 5 This is a schematic diagram of the interaction method proposed in the embodiments of this application;
[0054] Figure 6 This is a 3D visualization diagram of the core building area generated for an embodiment of this application.
[0055] Figure reference numerals and corresponding component names:
[0056] 100-3D visualization system, 101-Tile generation module, 102-GPU dynamic stretching rendering module, 103-Visual enhancement module, 104-Dual visual mapping module, 105-Incremental scene update module, 106-Interaction module. Detailed Implementation
[0057] In the following, the terms “comprising” or “may include” as used in the various embodiments of this application indicate the presence of a function, operation, or element of the invention and do not limit the addition of one or more functions, operations, or elements. Furthermore, as used in the various embodiments of this application, the terms “comprising,” “having,” and their cognates are intended only to indicate a specific feature, number, step, operation, element, component, or combination of the foregoing and should not be construed as primarily excluding the presence of one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing, or adding one or more combinations of the foregoing.
[0058] In various embodiments of this application, the expression "or" or "at least one of A and / or B" includes any combination or all combinations of the words listed simultaneously. For example, the expression "A or B" or "at least one of A and / or B" may include A, may include B, or may include both A and B.
[0059] The terms used in the various embodiments of this application (such as "first," "second," etc.) may modify various constituent elements in the various embodiments, but do not limit the corresponding constituent elements. For example, the above terms do not limit the order and / or importance of the elements. The above terms are only used for the purpose of distinguishing one element from other elements. For example, a first user device and a second user device refer to different user devices, although both are user devices. For example, without departing from the scope of the various embodiments of this application, a first element may be referred to as a second element, and similarly, a second element may be referred to as a first element.
[0060] It should be noted that if a description is made of "connecting" one component to another, then the first component can be directly connected to the second component, and a third component can be "connected" between the first and second components. Conversely, when a component is "directly connected" to another component, it can be understood that there is no third component between the first and second components.
[0061] The terminology used in the various embodiments of this application is for the purpose of describing particular embodiments only and is not intended to limit the various embodiments of this application. As used herein, the singular form is intended to include the plural form as well, unless the context clearly indicates otherwise. Unless otherwise defined, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art to which the various embodiments of this application pertain. The terms (such as those defined in a generally used dictionary) are to be interpreted as having the same meaning as in the context of the relevant technical field and are not to be interpreted as having an idealized or overly formal meaning, unless clearly defined in the various embodiments of this application.
[0062] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the embodiments and accompanying drawings. The illustrative embodiments and descriptions of this application are only for explaining this application and are not intended to limit this application.
[0063] To address the challenges of existing technologies in efficiently visualizing low-precision data, rendering massive amounts of data at high performance, deeply mapping abstract data, and rapidly responding to dynamic data, this application proposes a 3D visualization system for massive urban core data, such as... Figure 1 As shown, the 3D visualization system 100 includes:
[0064] The tile generation module 101 is configured to convert two-dimensional outline vector data of urban buildings into vector tiles or 3DTiles format, retaining only the vertex coordinates and height attributes of the bottom polygons, and supporting data fragmented storage and on-demand loading. Specifically, the implementation process of the tile generation module 101 includes:
[0065] Format conversion. Convert the 2D outline data of urban buildings in GeoJSON or Shapefile format to lightweight vector tiles or 3DTiles (b3dm) format, remove redundant information such as textures and materials, and retain only the vertex coordinates of the bottom polygons, building ID, and height attributes, significantly compressing the data volume (more than 60%).
[0066] Data is stored in shards. Data is sharded according to city administrative regions or latitude and longitude ranges. Each shard covers a fixed range, supporting on-demand loading and caching, thus avoiding performance bottlenecks caused by loading all data at once.
[0067] Data validation. Remove abnormal data such as duplicate contours and empty coordinates, and smooth irregular contours to ensure the geometric integrity of subsequent stretch rendering.
[0068] The GPU dynamic stretching rendering module 102 is configured to: read the vertex coordinates of vector tiles in real time using a GPU parallel computing architecture, perform dynamic stretching along the ground normal direction based on height attributes to generate a 3D block model, and batch render similar-shaped buildings. Specifically, the implementation process of the GPU dynamic stretching rendering module 102 includes:
[0069] The GPU performs real-time stretching. The CPU only transmits the vertex coordinates, height attributes, and building ID of the vector tile to the GPU. After reading the data through the built-in vertex shader, it uses the vertically upward ground normal of the ground plane as the displacement direction to derive the corresponding top vertex for each bottom vertex. The position of the derived vertex is obtained by superimposing the bottom vertex coordinates with "ground normal vector × building height". The assembly of side and top primitives is completed within the GPU pipeline, directly generating a 3D block model without the need for CPU triangulation. This embodiment of the application adopts a GPU parallel computing architecture, completely eliminating the performance limitations of CPU-side geometry construction.
[0070] Geometry instantiation optimization. Buildings with the same shape (such as rectangular commercial buildings) are grouped, and each group shares a set of geometry data. Only instantiation attributes (position offset, height, core metric values) are passed, and rendering commands are submitted in batches, which greatly reduces the number of rendering batches (by more than 80%) and improves rendering efficiency.
[0071] Performance Guarantee. Through view frustum culling and LOD (Level of Detail) technology, the rendering precision of buildings in distant or occluded areas is automatically reduced to ensure a stable frame rate of 60 FPS in scenes with millions of buildings.
[0072] The visual enhancement module 103 is configured to: generate texture-free textures based on the model's world coordinates and height information using a custom fragment shader, and overlay edge glow, dynamic scan lines, and height gradient effects, mapping core data metrics to self-emission intensity and scan line frequency. This visual enhancement module 103 does not rely on texture mapping and generates a technological visual effect in real time through a custom fragment shader. The specific implementation process includes:
[0073] Texture generation without texture mapping. Textures are generated in real-time within the GPU fragment shader, requiring no external texture resources. The inputs are fragment world coordinates, normalized building height, and model surface normal direction. The noise function takes world coordinates as input, uses gradient noise for lattice interpolation, and outputs smooth perturbation values to simulate the subtle dappled light and shadow of a glass curtain wall. Gradient calculations generate a vertical background color gradient based on the building height and a surface brightness gradient based on the angle between the normal and the viewpoint. The noise perturbation results are superimposed onto the gradient background color, and then semi-transparency parameters are configured to output color and transparency for each fragment, generating a semi-transparent glass-like texture to simulate the appearance of a futuristic building.
[0074] Edge glow effect. Calculate the angle between the surface normal of the model and the viewing direction. When the angle is greater than a preset threshold (such as 120°), automatically enhance the brightness of the building edge pixels to improve recognition in dense scenes.
[0075] Dynamic scan lines. By introducing a time variable, a periodically upward-moving (0.5-5Hz) bright grating band (scan line) is generated along the model height direction, metaphorically representing the real-time flow of data and monitoring status.
[0076] Height gradient fill. Based on the building height normalized value (0-1 range), a linear gradient is achieved from dark color at the bottom (RGB: 0.1, 0.1, 0.2) to light color at the top (RGB: 0.3, 0.5, 0.8), enhancing the three-dimensional effect.
[0077] Core data mapping. After standardizing indicators such as the city's core value comprehensive score and GDP density, a linear correlation is established between the self-emission intensity (0-1 range) and the scan line frequency. The higher the indicator, the brighter the self-emission and the faster the scan line moves, naturally highlighting high-value targets in the scene. Figure 2 This image shows a schematic of a futuristic architectural effect generated by a custom fragment shader.
[0078] The dual visual mapping module 104 is configured to support dual visualization of physical form and value distribution, switching between physical height mode and value height mode as needed. In physical height mode, the city skyline is stretched and restored according to actual height; in value height mode, building height is bound to GDP density to achieve non-linear stretching, combined with color thermal encoding to display core value distribution, and key facilities are automatically overlaid with 3D symbols and screen space floodlight effects. The specific implementation process of the dual visual mapping module 104 includes:
[0079] Physical Height Mode. This mode stretches and renders the city skyline according to the actual height of the model, making it suitable for viewpoint analysis and spatial layout assessment.
[0080] Value Height Pattern. The building stretch height is tied to the GDP density of the grid it belongs to, and non-linear stretching is applied, represented as:
[0081] ;
[0082] in, The magnification factor is preferably 0.5-2.0; The GDP density standardized value of the grid where the building is located; This is the actual height; To enhance the visual appeal, building models in high-GDP-density areas are prominently bulged, creating the visual effect of "economic skyscrapers." Color thermal coding employs a gradient mapping with high red and low blue; for example, a core value comprehensive score greater than or equal to 0.8 is displayed as crimson, a score between 0.6 and 0.8 as orange-yellow, a score between 0.4 and 0.6 as cyan-green, and a score less than 0.4 as cool gray. High-scoring building models (e.g., core value comprehensive score greater than or equal to 0.8) are overlaid with a breathing flashing effect (frequency 1Hz).
[0083] Key Target Enhancement. This operation can be performed in both physical height mode and value height mode. It automatically identifies key core facilities (such as energy hubs and transportation hubs), overlays dynamic 3D symbols, such as rotating radar icons and floating warning shields, on top of their stretched models, and adds screen-space bloom effects to achieve rapid location of key targets. Figure 3 A diagram comparing the two visualization modes is shown.
[0084] The incremental scene update module 105 is configured to use attribute texture technology to encode the dynamic attributes of massive amounts of buildings into floating-point attribute textures. When data changes, only the corresponding pixels of the texture are updated, without the need to rebuild the geometry. This incremental scene update module 105 uses attribute texture encoding technology to achieve extremely rapid response after core data changes. The specific implementation process includes:
[0085] Attribute texture construction: The core value comprehensive score and status indicators (normal / warning / abnormal) of all buildings are encoded into an RGBA floating-point texture in the order of building ID. Each pixel corresponds to the attribute information of a building. The texture resolution is adaptively adjusted according to the number of buildings (e.g., 1 million buildings correspond to a 1024×1024 texture).
[0086] Incremental update logic: When the business backend service (server) pushes core data changes, the client application (host) only needs to update the pixel channel value of the corresponding building in the attribute texture (such as updating the R channel for core score and the G channel for status), without rebuilding the geometry or resubmitting rendering instructions;
[0087] Real-time rendering synchronization: When rendering the next frame, the GPU automatically reads the latest attribute values from the attribute texture and drives the procedural shader to adjust visual parameters such as lighting effects and colors, achieving scene state refresh in less than 50ms. Figure 4 The diagram illustrates the principle of attribute texture-driven incremental updates.
[0088] Interaction module 106 is configured to support key target pickup, information pop-up display, and view mode switching, enabling interactive linkage between the visualization scene and core data. This interaction module 106 achieves deep interactive linkage between the visualization scene and core data; the specific implementation process includes:
[0089] Key target picking: Using ray detection and instance ID binding technology, when the mouse is clicked or hovered, the intersection of the ray and the 3D model is calculated through the picking matrix to obtain the instance ID of the target building and query the associated attribute data;
[0090] Information pop-up display: After triggering the pickup, a head-up display (HUD) panel pops up, displaying key information such as building ID, type (e.g., core energy station, commercial building), core value comprehensive score, GDP density, vulnerability level, etc.
[0091] View interaction support: Supports common operations such as rotation, panning, and zooming, and provides a quick view mode switching button to switch between physical height and value height modes with one click, meeting the needs of different analysis scenarios.
[0092] It should be noted that the 3D visualization system 100 proposed in this application embodiment is implemented based on a CPU-GPU collaborative architecture, wherein logic control, data preprocessing, input response and parameter calculation are executed on the CPU, while rendering effect generation, parameter sampling and graphics calculation are executed on the GPU. Figure 1 The dual visual mapping module 104, incremental scene update module 105, and interaction module 106 are located on the GPU. They are only there to demonstrate that the core carrier of rendering execution is on the GPU. However, the complete functionality of these modules requires the CPU to cooperate in control and data interaction.
[0093] Based on the aforementioned massive urban core data 3D visualization system, such as Figure 5 As shown in the embodiments of this application, a three-dimensional visualization and interactive method for massive urban core data is also proposed, including the following steps:
[0094] Step 1: Convert the 2D outline vector data of the target city buildings into vector tiles or 3DTiles format, retaining only the vertex coordinates and height attributes of the bottom polygons;
[0095] Step 2: Load vector tile data, stretch it in real time using a vertex shader to generate a 3D block model, and perform batch rendering of geometric instantiation;
[0096] Step 3: Apply a custom fragment shader to generate a texture without texture, overlay edge glow, dynamic scan lines, and height gradient effects, and map the core data metrics to self-emission intensity and scan line frequency;
[0097] Step 4: Switch between physical height mode and value height mode for visualization as needed;
[0098] Step 5: Perform key target picking and querying, and use attribute texture technology to achieve millisecond-level scene refresh after data changes.
[0099] The massive urban core data 3D visualization system and interaction method proposed in this application rely on a GPU parallel computing architecture. It loads urban vector data containing only two-dimensional outlines and height attributes, and achieves stable 60FPS rendering of millions of buildings through real-time stretching and geometric instantiation batch rendering using GPU vertex shaders. It integrates a procedural shading visual enhancement engine to generate technologically advanced textures without texture mapping, overlaying effects such as edge glow, dynamic scan lines, and height gradients, and mapping core data indicators to self-illumination intensity and scan line frequency. It supports dual-mode switching between physical height and value height, automatically overlaying 3D symbols and bloom effects on key core facilities. It uses attribute texture encoding for dynamic attributes, achieving millisecond-level incremental scene updates. This application embodiment, in the absence of high-precision 3D models, achieves high-tech visualization and deep interaction of massive urban core data at low cost, significantly increasing information capacity (more than 3 times) and reducing dynamic response time, providing intuitive and efficient visual support for urban core value assessment and key target identification.
[0100] Furthermore, this embodiment of the application takes a core area of a key city as the visualization object. This area contains 800,000 buildings. Only two-dimensional outline and height attribute data are acquired, and the entire process of "data loading - rendering enhancement - value mapping - interactive response" is implemented. The specific implementation process is as follows:
[0101] S1, Vector Data Preprocessing and Loading. Raw data is processed through the tile generation module:
[0102] Format conversion. The GeoJSON format building outline data for this area was converted into 1024×1024 resolution vector tiles, with each tile covering an area of 1 square kilometer. Only the coordinates of the bottom vertex, building height (5-150 meters), and building ID were retained, and the total data volume was compressed from 5GB to 1.8GB.
[0103] Loading on demand. During system initialization, three vector tiles within the current view range are loaded. Subsequently, adjacent tiles are automatically loaded as the view moves, and tiles beyond the view distance are unloaded, keeping memory usage within 512MB.
[0104] Data validation: 1200 duplicate contour data were removed, and 3500 irregular contours were smoothed to ensure geometric integrity.
[0105] S2, GPU Dynamic Stretch Rendering. The GPU Dynamic Stretch Rendering module is launched to build a 3D scene:
[0106] Real-time stretching. The CPU transmits the vertex data of the vector tiles to the GPU, and the vertex shader performs stretching according to the height attribute. A low-rise building that is 5 meters high is stretched into a cube that is 5 meters high, and a high-rise building that is 150 meters high is stretched into a cube that is 150 meters high, generating a basic block model.
[0107] Instantiated grouping. The 800,000 buildings were divided into 6 groups (rectangles, polygons, irregular shapes, etc.) according to their outline shapes. Each group shared geometric data and only passed instantiation attributes. The rendering batch was reduced from 800,000 to 120,000, and the frame rate was stabilized at 62 FPS.
[0108] View frustum culling. Buildings at a distance of more than 5 kilometers are automatically culled, while the vertex precision of buildings at a medium distance of 2-5 kilometers is reduced to ensure smooth and lag-free scene playback.
[0109] S3, Procedural Shading Visual Enhancement. This embodiment of the application uses a procedural shader with a "dark night glow" style:
[0110] No texture mapping. Generates a semi-transparent blue glass texture (base RGB: 0.2, 0.3, 0.5, transparency 0.7) to simulate a futuristic city look.
[0111] Edge illumination. The pixel brightness of building edges is increased to 1.0, forming a cyan (RGB: 0.4, 0.9, 0.9) bright outline, making the outlines clearly distinguishable in dense building clusters.
[0112] Dynamic scan lines. Generate cyan highlight scan lines that move at a frequency of 2Hz, scanning from the ground to the top of the building every 0.5 seconds to create a visual effect of data flow.
[0113] The height gradient is significant. The bottom of the building has RGB values of (0.1, 0.1, 0.2), while the top has RGB values of (0.3, 0.5, 0.8), creating a distinct sense of three-dimensionality.
[0114] Data mapping. The core value comprehensive score (0-1 range) is associated with the self-illumination intensity. Buildings with a score of 0.8 or above have a self-illumination intensity of 0.9, and the scan line frequency is increased to 5Hz, making them stand out in the scene.
[0115] S4, Dual visual mapping and key target enhancement. This embodiment switches to a high-value mode as needed for core value assessment:
[0116] High degree of deformation. Using a magnification factor k=1.2 and a GDP density normalization value of 0.9 in the CBD area, a 100-meter-high building is stretched to 100×(1+1.2×0.9)=208 meters, forming a distinct "economic skyscraper" bulge.
[0117] Color coding. Buildings with a core value score of 0.85 are displayed in crimson with a breathing, flashing effect; those with a score of 0.7-0.8 are displayed in orange-yellow; those with a score of 0.5-0.7 are displayed in cyan; and those with a score <0.5 are displayed in cool gray. The value distribution is intuitively visible.
[0118] Key targets enhanced. Three core energy stations are automatically identified, and rotating radar icons (10 meters in diameter) are rendered on top of their stretched models, with a red glow effect added for quick location of key targets.
[0119] S5 features dynamic interaction and incremental updates.
[0120] Key target interaction. Hovering the mouse over a core energy station, the instance ID is obtained through ray detection, and a HUD panel pops up, displaying "Type: Core Energy Station, Core Value Overall Score: 0.88, Vulnerability: High, GDP Density: 0.85".
[0121] Dynamic update test. Simulating the core value comprehensive score update, a building's score increased from 0.75 to 0.86. The system only updated the R channel value of the corresponding pixel in the attribute texture. The scene refresh was completed within 42ms. The building's color changed from orange-yellow to crimson and started breathing flashing. The scan line frequency was increased to 5Hz. The whole process was smooth and without lag. Figure 6 A 3D visualization of the core buildings in the area is shown.
[0122] As demonstrated by the above implementation results, the massive urban core data 3D visualization system and interactive method proposed in this application achieves technologically advanced 3D visualization without a high-precision model, improving the key target identification efficiency by 4 times; the frame rate of 800,000 building scenes is stable at 62FPS, with memory usage ≤512MB, supporting deployment on ordinary terminals; it integrates multi-dimensional information such as physical form, GDP density, and core value comprehensive score, increasing information density by 3.2 times compared to traditional white models; the data update response time is 42ms < 50ms, meeting the needs of real-time situation monitoring; it achieves deep visualization of massive urban core data at low cost, providing intuitive and efficient technical support for urban core value assessment and key target management.
[0123] It should be noted that the descriptions of each embodiment in the above embodiments have different focuses. For parts that are not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0124] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0125] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0126] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0127] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0128] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of this application. It should be understood that the above description is only a specific embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.
Claims
1. A three-dimensional visualization system for massive urban core data, characterized in that, include: The tile generation module is configured to convert two-dimensional outline vector data of urban buildings into vector tiles or 3Dtiles format, retaining only the vertex coordinates and height attributes of the bottom polygon, and supporting data tile storage and on-demand loading. The GPU dynamic stretching rendering module is configured to: read the vertex coordinates of vector tiles in real time through the GPU parallel computing architecture, perform dynamic stretching along the ground normal direction according to the height attribute to generate a three-dimensional block model, and merge and batch render buildings with similar shapes. The visual enhancement module is configured to generate textureless textures based on the world coordinates and height information of the model using a custom fragment shader, and overlay edge glow, dynamic scan lines and height gradient effects, mapping the core data indicators to self-emission intensity and scan line frequency. The dual visual mapping module is configured to support dual visualization of physical height mode and value height mode. The physical height mode stretches and restores the city skyline according to the real height, while the value height mode binds the building height to GDP density to achieve non-linear stretching. Combined with color thermal coding, it displays the distribution of core value, and key facilities are automatically overlaid with three-dimensional symbols and screen space floodlight effects. The incremental scene update module is configured to: use attribute texture technology to encode the dynamic attributes of massive buildings into floating-point textures, and only update the corresponding pixels of the texture when the data is updated; In addition, the interaction module is configured to support key target picking, information pop-up display, and view mode switching, enabling interactive linkage between the visualization scene and core data.
2. The massive urban core data 3D visualization system according to claim 1, characterized in that, The tile generation module is configured as follows: Convert 2D urban building outline data in GeoJSON or Shapefile format to vector tiles or 3DTiles format, retaining only the vertex coordinates of the bottom polygon, building ID, and height attribute; Data is divided into tiles based on city administrative regions or latitude and longitude ranges, with each tile covering a fixed range, supporting on-demand loading and caching; Remove outlier data and smooth irregular contours.
3. The massive urban core data 3D visualization system according to claim 1, characterized in that, The GPU dynamic stretch rendering module is configured as follows: After the vector tile data is loaded, the CPU only transmits the vertex coordinates, height attributes and building ID to the GPU. After reading the data through the vertex shader built into the GPU, dynamic stretching calculation is performed along the ground normal direction to directly generate a three-dimensional block model. Group buildings with the same shape, with each group sharing a set of geometry data, and submit render commands in batches by only passing instantiated properties.
4. The massive urban core data three-dimensional visualization system according to claim 1, characterized in that, The visual enhancement module is configured as follows: Based on the world coordinates, height information and normal direction of the model, textureless textures are generated by noise function and gradient calculation to simulate the appearance of a technological city. The angle between the surface normal of the calculated model and the viewing direction is automatically increased when the angle is greater than a preset threshold. By introducing a time variable, a periodically upward-moving highlight scan line is generated along the model height direction; A linear gradient from dark to light at the top is achieved by normalizing the building height. After standardizing the core data indicators, the self-luminous intensity and scan line frequency are linearly correlated; the higher the indicator, the more significant the luminous effect.
5. A three-dimensional visualization system for massive urban core data according to claim 4, characterized in that, The scan line frequency range is 0.5-5 Hz.
6. The massive urban core data three-dimensional visualization system according to claim 1, characterized in that, The aforementioned value height model: The building's stretch height is tied to the GDP density of the grid containing the building, and non-linear stretching is performed. The building stretch height is calculated as follows: ;in, This is the magnification factor; The GDP density standardized value of the grid where the building is located; This is the actual height; This refers to the stretch height; Color thermal encoding uses a gradient mapping method with high red and low blue, and triggers a breathing flashing effect when the core value comprehensive score is greater than or equal to the threshold.
7. A three-dimensional visualization system for massive urban core data according to claim 6, characterized in that, The magnification factor is 0.5-2.
0.
8. A three-dimensional visualization system for massive urban core data according to any one of claims 1-7, characterized in that, The incremental scene update module is configured as follows: All the dynamic attributes of the buildings are encoded into an RGBA floating-point texture in the order of building IDs. Each pixel corresponds to the attribute information of one building, and the texture resolution is adaptively adjusted according to the number of buildings. When the backend service pushes changes to the core data, the client application only needs to update the pixel channel values of the corresponding building in the attribute texture; When rendering the next frame, the GPU automatically reads the latest attribute values from the attribute texture and updates the rendering effect.
9. A three-dimensional visualization system for massive urban core data according to claim 8, characterized in that, The interaction module is configured as follows: Using ray detection and instance ID binding technology, when the mouse is clicked or hovered, the instance ID of the target building is obtained through the picking matrix, the attribute data is queried, and a HUD panel pops up to display the target building ID, type, core value comprehensive score and status information.
10. A method for interactive 3D visualization of massive urban core data, characterized in that, The implementation of the massive urban core data 3D visualization system according to any one of claims 1-9 includes: Convert the two-dimensional outline data of the target city buildings into vector tiles or 3DTiles format, retaining only the vertex coordinates and height attributes of the bottom polygons; Load vector tile data, stretch it in real time using a vertex shader to generate a 3D block model, and perform batch rendering of geometric instantiation; A custom fragment shader is applied to generate textures without textures, and edge glow, dynamic scan lines, and height gradient effects are overlaid. The core data metrics are mapped to self-emission intensity and scan line frequency. Switch between physical height mode and value height mode as needed for visualization; Perform key target picking and querying, and use attribute texture technology to achieve millisecond-level scene refresh after data changes.
