CN114756937A - Visualization system and method based on UE4 engine and Cesium framework - Google Patents

Visualization system and method based on UE4 engine and Cesium framework Download PDF

Info

Publication number
CN114756937A
CN114756937A CN202210422289.0A CN202210422289A CN114756937A CN 114756937 A CN114756937 A CN 114756937A CN 202210422289 A CN202210422289 A CN 202210422289A CN 114756937 A CN114756937 A CN 114756937A
Authority
CN
China
Prior art keywords
data
engine
dimensional
cesium
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210422289.0A
Other languages
Chinese (zh)
Other versions
CN114756937B (en
Inventor
李斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Rongdian Technology Development Co ltd
Original Assignee
Sichuan Rongdian Technology Development Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sichuan Rongdian Technology Development Co ltd filed Critical Sichuan Rongdian Technology Development Co ltd
Priority to CN202210422289.0A priority Critical patent/CN114756937B/en
Publication of CN114756937A publication Critical patent/CN114756937A/en
Application granted granted Critical
Publication of CN114756937B publication Critical patent/CN114756937B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/05Geographic models

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Computer Graphics (AREA)
  • Evolutionary Computation (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Structural Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Architecture (AREA)
  • Remote Sensing (AREA)
  • Civil Engineering (AREA)
  • Computational Mathematics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a visualization system and a visualization method based on a UE4 engine and a Cesium framework, and relates to the technical field of smart grid information visualization. The device comprises a GIS data acquisition module, a Cesium three-dimensional earth model module and a UE4 engine, wherein the Cesium three-dimensional earth model module is embedded into the UE4 engine, GIS data are converted into a support coordinate system of the UE4 engine through the Cesium three-dimensional earth model module, and the UE4 engine is utilized to realize a gorgeous and high-definition 3D graphical interface with visual geographic coordinates. After data is acquired, all technical links from data management to scene construction and then to visual expression are opened, and the method provides strong three-dimensional rendering capability and space analysis capability and enables data processing to be faster and more accurate. The three-dimensional visual display of the power grid can be clearer and more comprehensive, and a three-dimensional model which is good in visual effect and has spatial information is constructed.

Description

Visualization system and method based on UE4 engine and Cesium framework
Technical Field
The invention relates to the technical field of smart grid information visualization, in particular to a visualization system and a visualization method based on a UE4 engine and a Cesium framework.
Background
Due to the characteristics of dynamics, vividness, cool and dazzling scenes and the like, the digital twin technology is the three-dimensional visualization technology which is most widely applied in the current power grid industry. Summarizing the prior art scheme, the main working and technical features are as follows: (1) the mainstream technical system at present adopts a UE4 engine and GIS data to construct a three-dimensional scene, the GIS data is directly embedded into a UE4 engine, and a three-dimensional GIS spatial data engine is not provided; (2) the traditional technical scheme is that a UE4 game engine is adopted as an engine for driving a real scene, collected multisource GIS space data is manually processed, the processes comprise image splicing, color evening and inlaying, three-dimensional model construction, BIM model construction, terrain data distortion and stretching and the like, a set of virtual real scene simulating a real three-dimensional environment is constructed, and the functions of GIS data browsing, analyzing, applying and the like are developed by adopting the UE4 game engine to drive data; (3) in the existing technical system, models such as some electric wires, iron towers, electric poles and the like need to be manually added individually, and finally a complete three-dimensional scene can be formed.
The goal technology shows that strong scene expressive force and hard real-time dynamic rendering cannot be shown, and the real world is difficult to restore better. On the other hand, ceium lacks powerful physical engine, leads to three-dimensional model visual effect poor, and the three-dimensional model who constructs lacks spatial information and spatial analysis function, can't show information based on the true geographical position trend of electric wire netting, lacks directly perceived effectual data presentation mode, and the display capacity is limited, and the dimension is single, also does not do benefit to the high-efficient management of electric power data.
The UE4 engine is a game engine and has good support capability for simulation of physical reality effect, special effect and real scene in the objective world. However, GIS data is a spatial data structure and has the characteristics of multiple sources, isomerism, mass and the like. The traditional UE4 engine cannot manage and load drivers efficiently for massive GIS data. Under the condition that a three-dimensional engine specially aiming at GIS spatial data is lacked under a UE4 engine, the technical architecture of the current 'UE 4 engine + GIS data' is caused, and in a three-dimensional system, the GIS spatial data are shown to have the problems of poor display effect, low loading speed, incompatible spatial coordinates, unsupported GIS spatial analysis and the like. Therefore, the image data which can be completely compatible in the same set of coordinate system originally has the problems of garland, distortion, deformation and the like, so that the large scene is not fully displayed, only can be displayed in blocks, and the three-dimensional visualization effect is poor.
In summary, the existing UE4 engine lacks functions of storage, exchange, service analysis, and the like for GIS data, and also does not support a cache loading mechanism for massive multi-source heterogeneous spatial data, so that large-scale scenes are not fully displayed, and only can be demonstrated in blocks. Secondly, in the prior art system, partial GIS space analysis function is lost, and functions such as path analysis, filling and digging analysis, disaster influence buffer analysis and the like cannot be performed, so that the capability of the three-dimensional system platform is greatly reduced.
Disclosure of Invention
In order to solve the problems, the invention provides a power three-dimensional visualization system based on a UE4 engine and a Cesium framework. The system is combined with a Cesium frame three-dimensional GIS technology, vector data (points, lines and planes), three-dimensional model data (osgb, obj, fbx, 3dmax and the like), vector superposition grid data, vector tile data, image grid tile data and other GIS data can be loaded rapidly, efficiently and smoothly in a UE4 virtual reality platform, the GIS data, particularly the three-dimensional GIS data, can realize vivid and vivid effects of physical special effects and real natural scenes in a UE4 engine, and meanwhile, the functions of GIS information query, space analysis, space calculation and the like can be realized. When the data is added into the UE4 engine, the operations of projection transformation, coordinate adjustment and the like are not needed, the functions of physical special effects such as high fidelity and the like and GIS space analysis can be finally realized, and the limitation of the original single platform or technology is broken through.
In order to realize the purpose, the invention is realized by the following technical scheme:
a visualization system based on a UE4 engine and a Cesium frame comprises a GIS data acquisition module, a Cesium three-dimensional earth model module and a UE4 engine, wherein the Cesium three-dimensional earth model module is embedded into the UE4 engine, GIS data is converted into a support coordinate system of the UE4 engine through the Cesium three-dimensional earth model module, and a gorgeous and high-definition 3D (three-dimensional) graphical interface of geographic coordinate visualization is realized by utilizing the UE4 engine.
Furthermore, the Cesium three-dimensional earth model module comprises a field rendering module, a tile map module, a longitude and latitude coordinate conversion module, a UMG graphic processing module and a three-dimensional UI interactive module; the Cesium three-dimensional earth model module converts GIS data into a coordinate system supported by the UE4 engine through calculation, and the storage, exchange, rapid calling and three-dimensional display of the GIS data by the UE4 engine are achieved.
Further, the GIS data is calculated and converted into a coordinate system supported by the UE4 engine through a longitude and latitude coordinate conversion module in the cesum three-dimensional earth model module, and the coordinate specific geographic location is displayed and determined in the form of a three-dimensional visual graph.
Further, the UE4 engine supports a plane coordinate system and a cartesian coordinate system, the cesum supports the cartesian coordinate system and a spherical coordinate system, and the cesum three-dimensional earth model module invokes the tile map and the longitude and latitude coordinate conversion module to convert the GIS data displayed by the spherical coordinate system into data displayed by the cartesian coordinate system.
Furthermore, after the spherical coordinate system is converted into a cartesian coordinate system, the data is converted into plane rectangular coordinates which are convenient for the storage, fast retrieval and three-dimensional display of the UE4 engine through a UTM projection mode.
Further, the UMG graphic processing module performs rotary stretching on the displayed three-dimensional visual graphics, and the three-dimensional UI interaction module processes the graphics into clear, comprehensive and rendered graphics with dynamic sense.
Further, the calculation and conversion of the GIS data into the coordinate system supported by the UE4 engine through the longitude and latitude coordinate conversion module in the cesum three-dimensional earth model module includes the following two steps:
the first step conversion formula is as follows:
Figure BDA0003606971800000031
the second step conversion formula is as follows:
Figure BDA0003606971800000032
Figure BDA0003606971800000033
Figure BDA0003606971800000034
r=Rmax×cos(latA)。
the invention also discloses a novel smart power grid visualization method by utilizing the visualization system based on the UE4 engine and the Cesium framework, which comprises the following steps:
step S101: collecting relevant data of a power grid through a GIS system, wherein the collected data at least comprises line length, pole tower model, pole tower position and horizontal corner;
step S102: integrating, classifying and cleaning the acquired data, mainly integrating and classifying geographical position data, tower position data and tower model data, and cleaning unnecessary data;
step S103: storing the geographic coordinates acquired by the integrated and classified data in a data model base in a data storage module, and importing the data into a model base of an engine of the UE4 to search for a model; if the data models are matched, the UE4 engine directly calls the data and directly converts the data to realize three-dimensional visualization; if the data models are not matched, introducing the data into a Cesium three-dimensional earth model module;
Step S104: importing the data into a Cesium three-dimensional earth model module, finding a corresponding tile map by the Cesium three-dimensional earth model module through a tile map module, wherein the tile map has tile geographic coordinates;
step S104: putting the geographical coordinates of the tiles into a first-step conversion formula for conversion;
step S105: converting the result converted by the first conversion formula into a second conversion formula, and converting the data into data in a Cartesian coordinate system supported by the UE4 engine;
step S106: introducing the converted data into a UE4 engine, converting the data into a perfect three-dimensional stereogram through three-dimensional visualization in a UE4 engine, and simultaneously storing the GIS data into a model library of the UE4 engine for quick retrieval and three-dimensional display;
step S107: the three-dimensional stereo image is perfected, and then a field rendering module in the Cesium three-dimensional earth model module is used for rendering to realize a clear and gorgeous three-dimensional stereo image; and simultaneously, the displayed three-dimensional stereo image is rotationally stretched through the UMG graphic processing module, so that multi-directional and multi-angle visual display is realized.
The invention discloses a visualization system and a visualization method based on a UE4 engine and a Cesium framework, which have the advantages that: after data is acquired, all technical links from data management to scene construction and then to visual expression are opened, a set of efficient technical solution is formed, and strong three-dimensional rendering capability and space analysis capability are provided, and data processing is faster and more accurate. The three-dimensional visual display of the power grid can be clearer and more comprehensive, and a three-dimensional model with good visual effect and spatial information is constructed.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic diagram of data interaction in the present invention;
FIG. 2 is a schematic flow diagram of the present invention;
FIG. 3 is a 3D effect diagram of the present invention 1;
FIG. 4 is a 3D effect of the present invention FIG. 2;
fig. 5 is a 3D effect diagram 3 of the present invention.
FIG. 6 is a diagram of a positional relationship in a spherical coordinate system;
FIG. 7 is a schematic view of the positions of the dots;
fig. 8 is a conversion model of plane coordinates.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the specification of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1
A visualization system based on a UE4 engine and a Cesium frame is shown in figures 1-5 and comprises a GIS data acquisition module, a Cesium three-dimensional earth model module and a UE4 engine, wherein the Cesium three-dimensional earth model module is embedded into the UE4 engine, GIS data is converted into a support coordinate system of the UE4 engine through the Cesium three-dimensional earth model module, and a gorgeous and high-definition 3D graphical interface of geographic coordinate visualization is achieved through the UE4 engine.
In this embodiment, the GIS is a geographic information system conventionally used in the prior art, and collects, stores, manages, calculates, analyzes, displays, and describes geographic distribution data in the whole or a part of the space of the earth's surface layer (including the atmosphere), where the collected data is GIS data.
It is further described that the Cesium three-dimensional earth model module comprises a solid rendering module, a tile map module, a longitude and latitude coordinate conversion module, a UMG graphic processing module and a three-dimensional UI interaction module; the Cesium three-dimensional earth model module converts GIS data into a coordinate system supported by the UE4 engine through calculation, and the storage, exchange, rapid calling and three-dimensional display of the GIS data by the UE4 engine are achieved.
It should be further noted that, the GIS data is calculated and converted into a coordinate system supported by the UE4 engine through a longitude and latitude coordinate conversion module in the cesum three-dimensional earth model module, and is displayed in the form of a three-dimensional visual graph and determines the specific geographic location of the coordinates.
Specifically, the UE4 engine supports a plane coordinate system and a Cartesian coordinate system, the Cesium supports the Cartesian coordinate system and a spherical coordinate system, the Cesium three-dimensional earth model module calls the tile map and the longitude and latitude coordinate conversion module to convert GIS data displayed by the spherical coordinate system into data displayed by the Cartesian coordinate system, and after the spherical coordinate system is converted into the Cartesian coordinate system, the data are converted into plane rectangular coordinates which are convenient for the UE4 engine to store, fast call and three-dimensionally display in a UTM projection mode.
It should be further noted that the UMG graphics processing module in the cesum three-dimensional earth model module rotationally stretches the displayed three-dimensional visual graphics, and the three-dimensional UI interaction module processes the graphics into clear, comprehensive, rendered and dynamic graphics.
It is further noted that the ceium calls the tiled map as a way of indexing the database.
Specifically, under the ceium platform, the specific steps of rapidly gathering tiles, three-dimensional data (osgb, ojb) of vector data (point, line and plane), vector superposition and vector tile data are as follows:
ceium quick call vector tile:
the efficiency of the tile index is improved through a database index mode, and the reading speed is much faster than that of a tile file mode. MBTiles is just an SQLite database file, and has the advantages of small size, convenient migration and capability of existing in a mobile terminal. The ceium load vector file is implemented by loading geojson (or czml and the like, mostly geojson). If the data volume of the geojson is too large, the drawing is slow, the user experience is influenced, the drawing quantity is limited, and a large browser is easy to crash, so that the large data volume geojson needs to be classified and partitioned. Firstly, geojson is converted into an mbtiles file, the mbtiles file can be placed under an examplesfile by using mbview of mapbox, try is executed, and then a browser can automatically open a website with a port number of 3000, so that the splitting effect of mbtiles can be seen. Actually, there are only two commands in try.sh, one is to download the mbview module by using npm, and the other is to execute the slicing command, so in order to avoid executing the downloading of the mbview command each time, the global mbview module can be downloaded first, and only mbview xxx.mbtiles can be executed later. Firstly, 4 pbf files of the first level are taken for ceium loading, the first level files are named as 1.0.pbf, 1.0.1.pbf, 1.1.0.pbf and 1.1.1.pbf respectively, then an interface service is written by nodejs, and the pbf is analyzed and converted into geojson to be sent to the front end. And then, the front end requests geojson to perform hierarchical block drawing through ajax.
The main process is as follows: large geojson- > mbtiles- > small geojson, and partitioning is achieved by mbtiles. Since the vector tile project of the ceium is still in progress, it can only be realized by this way in a detour way at present, and a better way to load large data vectors is expected.
ceium calls three-dimensional data quickly:
the invention discloses a method for displaying a three-dimensional visual graph on a base map, which relates to the loading of a large batch of data, and the method utilizes a Cesium platform to display a 3d model and a series of interactive behaviors between the 3d model and the base map, and comprises the following specific steps:
1. creating a viewer-adding a viewer to a specified cesium container, cesiumContainer, can effect a switchover of the base map, loading the day map.
2. Camera control-the content currently visible is controlled by the attribute viewer. scene, the camera can be controlled to switch views by setting the position and orientation of the camera, which can also be set using the ceium camera API.
3. Style entity loading — for ease of viewing, the ceium supports the popular vector formats GeoJson and KML, and the open format we developed specifically for describing the scene called CZML in ceium. Where DataSource defines only one interface, the exact type of data source required will depend on the data format.
(1) KML uses KML with KML data source to read our example geocache point from a KML file by calling KML data source load (optinos) for several options. For kmlldatasource, a camera and canvas option is required. The clampToGround option supports ground grip, a popular display option that allows terrain geometry entities (e.g., polygons and ellipses) to conform to the terrain rather than curves to WGS84 ellipsoidal surfaces.
(2) GeoJson is very similar to the process of loading KML, in which case GeoJson data sources may be used instead, as with previous data sources, needed to add data to the scene. The loading mode is only planar, and the height in each entity attribute can be read by self-setting the height entry, the polygon and the extended height, so that the building looks to have a certain height, the visual angle is switched, and the three-dimensional effect is achieved; loading the geojson file and adding mouse interaction behavior without effect; loading large numbers of buildings in this manner can cause the browser to jam or even crash.
(3) Cesum supports loading 3D models based on glTF (GL transport format), which is not different from any other type of visualization we used so far, only the location of the entity and one URL of the glTF model are needed; each model has its own original COLLADA file (. dae) and glTF file (. glTF), and in Cesium we do not need the original COLLADA file, but only the glTF file after 3d max transformation and the corresponding map file. (in the example, locating Exxon, Pennsylvania is by loading data in the gltf format onto the map).
4. Mouse interaction-only when 3d Tiles are loaded, interaction selection and style change can be achieved with the mouse, otherwise the models will not be viewable interactively. In which case a large batch of model building information can be loaded. For example, viewer. scene. privatives. add (new centre. 3dtileset ({ url: centre. ion resource. from assetid (3839) })); a complete 3d model of all buildings in new york is displayed, adding realism to the three dimensional visualization.
Description of the invention: if a large quantity of models need to be loaded, the phenomenon that the browser is blocked or even crashed can be caused by the method of loading the geojson file by the dataSource; the 3d Tiles are the best choice for loading large-scale scene application, and the style change of mouse interaction can be realized depending on the 3d Tiles.
It should be further noted that, as shown in fig. 6 and 7, the calculation manner of the cartesian coordinate system includes at least two steps of conversion;
the first step conversion formula is:
Figure BDA0003606971800000081
the second step conversion formula is as follows:
Figure BDA0003606971800000082
Figure BDA0003606971800000083
r=Rmax×cos(latA)。
it should be further noted that, as shown in fig. 8, the coordinate transformation includes coordinate transformation without transformation parameters and coordinate transformation with transformation parameters.
Wherein, the coordinate conversion without conversion parameters:
The common coordinate transformation parameters include: three, four and seven parameters, which are often unavailable without field work. We refer to the transformation-free parameters, which is not to say that it does not require transformation parameters, but actually already determines the transformation relationship when determining the reference ellipsoid parameters used in the source coordinate system and the target coordinate system, and we consider it as an "implicit transformation parameter". Because the implicit conversion parameter is obtained by calculating the earth as a regular ellipsoid, the values of the major and minor semi-axes of the implicit conversion parameter in the same coordinate system are fixed, and the surface of the earth is irregular actually, the coordinate values in one coordinate system are converted into the coordinate values in the other coordinate system without the conversion parameter, errors certainly exist, and the error changes according to the change of the position, the topographic relief and the projection mode.
For example, assuming that the longitude and latitude coordinates of a certain point in Jinba when using the WGS84 reference ellipsoid are 29 ° 48 'E and 20 ° 31' S, it is now necessary to convert the coordinates of this point into plane rectangular coordinates under the ARC50 coordinate system, wherein the projection mode is UTM projection.
Before conversion, we need to analyze longitude and latitude data:
1. "E" represents east longitude, "W" represents west longitude, "N" represents north latitude, and "S" represents south latitude. The position of this point above is in the east longitude and south latitude.
2. According to the characteristic of UTM projection banding, the longitude of the central meridian where the point is located can be calculated: east longitude 27 deg.
3. The UTM projection scale is 0.9996.
4. According to the characteristics of UTM projection coordinate axis movement, the following steps are known: x constant 10000000m, Y constant 500000 m.
After obtaining the above parameters, the coordinate transformation software can be formally used to work.
Theoretically: the longitude and latitude are converted into a plane coordinate, and the longitude and latitude coordinate is kept unchanged after the plane coordinate is converted into the longitude and latitude coordinate.
Wherein, the coordinate conversion of the conversion parameters is as follows:
firstly, seven parameters are rotation, translation and scaling between two space coordinate systems, and the three steps generate seven necessary parameters, wherein the translation has three variables Dx, Dy and DZ; the rotation has three variables, plus a scaling, which translates a spatial coordinate system into the desired target coordinate system, which is a seven-parameter effect. If you say that the coordinate systems XYZ to be converted coincide in three directions, we can achieve the goal only by translation, which only needs three parameters, and if the scaling is one, this results in three parameters, which is a special case of seven parameters, the rotation is zero, and the scale is one. The four parameters are parameters for converting different coordinate systems in the same ellipsoid, and the four basic items are respectively: x translation, Y translation, rotation angle and scale, four parameters have no elevation correction from the parameter point of view, so the method is suitable for conversion between plane coordinates.
Before using the parameters for coordinate transformation, the following points are first clear:
1. the four parameters are suitable for small-range coordinate transformation, and generally do not exceed 30 square kilometers.
2. The large-area coordinate conversion adopts a seven-parameter method.
3. At least 2 known point achievements are needed to solve the four parameters, and at least 3 known point achievements are needed to solve the seven parameters.
4. The points taken for the seven parameters are preferably determined to include the entire target area.
The seven-parameter method and the four-parameter method have basically the same steps.
It should be noted that: when the COORDMG software is used for the coordinate conversion of the plane with the parameters, the coordinate projection and the reference ellipsoid parameters do not need to be considered any more, because the values are included when the conversion parameters are calculated.
Example 2
A novel smart grid visualization method using a visualization system is disclosed, as shown in FIG. 2, and comprises the following steps:
step S101: collecting relevant data of a power grid through a GIS system, wherein the collected data at least comprises line length, pole tower model, pole tower position and horizontal corner;
step S102: integrating, classifying and cleaning the acquired data, mainly integrating and classifying geographical position data, tower position data and tower model data, and cleaning unnecessary data;
Step S103: storing the geographical coordinates acquired by the integrated and classified data in a data model base in a data storage module, and importing the geographical coordinates into a model base of an engine of the UE4 through data to search for a model; if the data models are matched, the UE4 engine directly calls the data and directly converts the data to realize three-dimensional visualization; if the data models are not matched, introducing the data into a Cesium three-dimensional earth model module;
step S104: importing the data into a Cesium three-dimensional earth model module, finding a corresponding tile map by the Cesium three-dimensional earth model module through a tile map module, wherein the tile map has tile geographic coordinates;
step S104: the tile geographic coordinates are put into a first-step conversion formula for conversion;
step S105: converting the result converted by the first conversion formula into a second conversion formula, and converting the data into data in a Cartesian coordinate system supported by the UE4 engine;
step S106: introducing the converted data into a UE4 engine, converting the data into a perfect three-dimensional stereogram through three-dimensional visualization in a UE4 engine, and simultaneously storing the GIS data into a model library of the UE4 engine for quick retrieval and three-dimensional display;
step S107: the three-dimensional stereo image is perfected, and then a field rendering module in the Cesium three-dimensional earth model module is used for rendering to realize a clear and gorgeous three-dimensional stereo image; and simultaneously, the displayed three-dimensional stereo image is rotationally stretched through the UMG graphic processing module, so that multi-directional and multi-angle visual display is realized.
Finally, it should be noted that: the embodiments of the present invention are disclosed only as the preferred embodiments of the present invention, which are only used for illustrating the technical solutions of the present invention and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art; the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (7)

1. A visualization system based on a UE4 engine and a Cesium framework, characterized in that: including GIS data acquisition module, three-dimensional earth model module of Cesium and UE4 engine, the three-dimensional earth model module of Cesium imbeds to shown UE4 engine in, GIS data passes through the three-dimensional earth model module of Cesium converts into the support coordinate system of UE4 engine, and utilizes the UE4 engine realizes the visual 3D graphical interface of gorgeous, lifelike, cool function such as dazzling of geographic coordinate.
2. The UE4 engine and Cesium framework-based visualization system of claim 1, wherein: the Cesium three-dimensional earth model module comprises a GIS data display and rendering module, a tile map loading module, a coordinate system conversion module, a UMG graphic processing module and a three-dimensional UI interaction module; the Cesium three-dimensional earth model module converts GIS data to a coordinate system supported by a UE4 engine through calculation, and the UE4 engine can support, read, write, store, exchange, rapidly call and three-dimensionally display the GIS data in a coordinated mode.
3. The UE4 engine and Cesium framework-based visualization system according to claim 2, wherein: the UE4 engine supports a Cartesian coordinate system, the Cesium supports the Cartesian coordinate system and a spherical coordinate system, the Cesium framework calls a tile map and a longitude and latitude coordinate conversion module to embed GIS data into the UE4 engine through the Cesium framework, and geographic coordinate-based display of GIS data free flow in the UE4 engine is achieved.
4. The method of claim 3, wherein the visualization system based on the UE4 engine and the Cesium framework is implemented by: after the spherical coordinate system is converted into a Cartesian coordinate system, the data are converted into plane rectangular coordinates which are convenient for storage, quick calling and three-dimensional display of a UE4 engine in a UTM projection mode.
5. The UE4 engine and Cesium framework-based visualization system according to claim 4, wherein: the UMG graphic processing module rotationally stretches the displayed three-dimensional visual graphics, and the three-dimensional UI interaction module processes the graphics into clear, comprehensive and rendered graphics with dynamic feeling.
6. The UE4 engine and Cesium framework-based visualization system according to claim 5, wherein: the GIS data is calculated and converted into a coordinate system supported by the UE4 engine through a longitude and latitude coordinate conversion module in the Cesium three-dimensional earth model module, and the method comprises the following two steps:
The first step conversion formula is as follows:
Figure FDA0003606971790000011
the second step conversion formula is as follows:
Figure FDA0003606971790000021
Figure FDA0003606971790000022
Figure FDA0003606971790000023
r=Rmax×cos(latA)。
7. a new smart grid visualization method using the visualization system of any one of claims 1 to 6, wherein: the method comprises the following steps:
step S101: collecting relevant data of a power grid through a GIS system, wherein the collected data at least comprises line length, tower model, tower position and horizontal corner;
step S102: integrating, classifying and cleaning the acquired data, mainly integrating and classifying geographical position data, tower position data and tower model data, and cleaning unnecessary data;
step S103: storing the geographic coordinates acquired by the integrated and classified data in a data model base in a data storage module, and importing the data into a model base of an engine of the UE4 to search for a model; if the data models are matched, the UE4 engine directly calls the data and directly converts the data to realize three-dimensional visualization; if the data models are not matched, introducing the data into a Cesium three-dimensional earth model module;
step S104: importing the data into a Cesium three-dimensional earth model module, finding a corresponding tile map by the Cesium three-dimensional earth model module through a tile map module, wherein the tile map has tile geographic coordinates;
Step S104: putting the geographical coordinates of the tiles into a first-step conversion formula for conversion;
step S105: converting the result converted by the first conversion formula into a second conversion formula, and converting the data into data in a Cartesian coordinate system supported by the UE4 engine;
step S106: introducing the converted data into a UE4 engine, converting the data into a perfect three-dimensional stereogram through three-dimensional visualization in a UE4 engine, and simultaneously storing the GIS data into a model library of the UE4 engine for quick retrieval and three-dimensional display;
step S107: the three-dimensional stereo image is perfected, and then a field rendering module in the Cesium three-dimensional earth model module is used for rendering to realize a clear and gorgeous three-dimensional stereo image; and simultaneously, the displayed three-dimensional stereo image is rotationally stretched through the UMG graphic processing module, so that multi-directional and multi-angle visual display is realized.
CN202210422289.0A 2022-04-21 2022-04-21 Visualization system and method based on UE4 engine and Cesium framework Active CN114756937B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210422289.0A CN114756937B (en) 2022-04-21 2022-04-21 Visualization system and method based on UE4 engine and Cesium framework

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210422289.0A CN114756937B (en) 2022-04-21 2022-04-21 Visualization system and method based on UE4 engine and Cesium framework

Publications (2)

Publication Number Publication Date
CN114756937A true CN114756937A (en) 2022-07-15
CN114756937B CN114756937B (en) 2024-03-12

Family

ID=82331808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210422289.0A Active CN114756937B (en) 2022-04-21 2022-04-21 Visualization system and method based on UE4 engine and Cesium framework

Country Status (1)

Country Link
CN (1) CN114756937B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115129401A (en) * 2022-08-29 2022-09-30 吉奥时空信息技术股份有限公司 Method for realizing non-offset and non-deformation superposition of multi-source data based on Cesum
CN116012557A (en) * 2023-01-17 2023-04-25 南方电网数字平台科技(广东)有限公司 Weather natural scene data docking system and docking method based on three-dimensional system
CN116977573A (en) * 2023-09-22 2023-10-31 中科星图测控技术股份有限公司 Space time sequence situation display method and system based on Cesium engine
CN117392331A (en) * 2023-12-12 2024-01-12 天津市城市规划设计研究总院有限公司 Visualization method of CAD file in three-dimensional scene based on vector tile serialization
CN118229902A (en) * 2024-04-02 2024-06-21 四川蓉电科技发展有限公司 Method for constructing electric power carbon intensity map based on illusion engine and GIS

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100055993A (en) * 2008-11-18 2010-05-27 주식회사 히씽크 Remote campus tour system of interactive 3 dimensional game engine based
CN102831644A (en) * 2012-07-09 2012-12-19 哈尔滨工程大学 Marine environment information three-dimensional visualization method
US20130326388A1 (en) * 2012-05-31 2013-12-05 State Grid Corporation Of China Power grid visualization system and method based on three-dimensional gis technology
CN112256790A (en) * 2020-10-19 2021-01-22 湖北泰跃卫星技术发展股份有限公司 WebGL-based three-dimensional visualization display system and data visualization method
CN113158321A (en) * 2021-05-21 2021-07-23 西安建筑科技大学 BIM-based pile foundation engineering digital-analog visualization method
CN113750516A (en) * 2021-08-27 2021-12-07 广州市城市规划勘测设计研究院 Method, system and equipment for realizing three-dimensional GIS data loading in game engine
CN114265999A (en) * 2021-12-21 2022-04-01 集思蔚来(杭州)科技有限公司 Unified cloud rendering signaling product compatible with universal engine 4, unity and ceium
CN114359501A (en) * 2022-03-16 2022-04-15 北京畅春互联科技有限公司 Configurable 3D visualization platform and scene construction method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100055993A (en) * 2008-11-18 2010-05-27 주식회사 히씽크 Remote campus tour system of interactive 3 dimensional game engine based
US20130326388A1 (en) * 2012-05-31 2013-12-05 State Grid Corporation Of China Power grid visualization system and method based on three-dimensional gis technology
CN102831644A (en) * 2012-07-09 2012-12-19 哈尔滨工程大学 Marine environment information three-dimensional visualization method
CN112256790A (en) * 2020-10-19 2021-01-22 湖北泰跃卫星技术发展股份有限公司 WebGL-based three-dimensional visualization display system and data visualization method
CN113158321A (en) * 2021-05-21 2021-07-23 西安建筑科技大学 BIM-based pile foundation engineering digital-analog visualization method
CN113750516A (en) * 2021-08-27 2021-12-07 广州市城市规划勘测设计研究院 Method, system and equipment for realizing three-dimensional GIS data loading in game engine
CN114265999A (en) * 2021-12-21 2022-04-01 集思蔚来(杭州)科技有限公司 Unified cloud rendering signaling product compatible with universal engine 4, unity and ceium
CN114359501A (en) * 2022-03-16 2022-04-15 北京畅春互联科技有限公司 Configurable 3D visualization platform and scene construction method

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
BING HE: "Development of power grid Web3D GIS based on Cesium", 2016 IEEE PES ASIA-PACIFIC POWER AND ENERGY ENGINEERING CONFERENCE (APPEEC) *
任培祥;范光甫;刁富阳;王刚;: "移动终端电力三维GIS平台设计与实现", 电力勘测设计, no. 02 *
李欣 等: "济南市功能区城市信息模型应用平台设计与关键技术研究", 城市勘测》, pages 75 - 78 *
王永岗;孟永军;臧海健;: "基于OpenGL的三维地球可视化及漫游控制研究", 测绘, no. 01 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115129401A (en) * 2022-08-29 2022-09-30 吉奥时空信息技术股份有限公司 Method for realizing non-offset and non-deformation superposition of multi-source data based on Cesum
CN116012557A (en) * 2023-01-17 2023-04-25 南方电网数字平台科技(广东)有限公司 Weather natural scene data docking system and docking method based on three-dimensional system
CN116012557B (en) * 2023-01-17 2023-12-29 南方电网数字平台科技(广东)有限公司 Weather natural scene data docking system and docking method based on three-dimensional system
CN116977573A (en) * 2023-09-22 2023-10-31 中科星图测控技术股份有限公司 Space time sequence situation display method and system based on Cesium engine
CN117392331A (en) * 2023-12-12 2024-01-12 天津市城市规划设计研究总院有限公司 Visualization method of CAD file in three-dimensional scene based on vector tile serialization
CN117392331B (en) * 2023-12-12 2024-03-12 天津市城市规划设计研究总院有限公司 Visualization method of CAD file in three-dimensional scene based on vector tile serialization
CN118229902A (en) * 2024-04-02 2024-06-21 四川蓉电科技发展有限公司 Method for constructing electric power carbon intensity map based on illusion engine and GIS

Also Published As

Publication number Publication date
CN114756937B (en) 2024-03-12

Similar Documents

Publication Publication Date Title
CN114756937A (en) Visualization system and method based on UE4 engine and Cesium framework
EP2643820B1 (en) Rendering and navigating photographic panoramas with depth information in a geographic information system
US9183666B2 (en) System and method for overlaying two-dimensional map data on a three-dimensional scene
CN110379010A (en) Three-dimensional geographic information method for visualizing and system based on video fusion
CN107369205B (en) Mobile terminal city two-dimensional and three-dimensional linkage display method
US20140267273A1 (en) System and method for overlaying two-dimensional map elements over terrain geometry
CN108269304B (en) Scene fusion visualization method under multiple geographic information platforms
US9286712B2 (en) System and method for approximating cartographic projections by linear transformation
CN108269305A (en) A kind of two dimension, three-dimensional data linkage methods of exhibiting and system
CN111784833A (en) WebGL-based flood evolution situation three-dimensional dynamic visualization display method
WO2023231537A1 (en) Topographic image rendering method and apparatus, device, computer readable storage medium and computer program product
CN113593051B (en) Live-action visualization method, dam visualization method and computer equipment
KR101591427B1 (en) Method for Adaptive LOD Rendering in 3-D Terrain Visualization System
CN108765576B (en) OsgEarth-based VIVE virtual earth roaming browsing method
CN111080782A (en) Visual system based on live-action three-dimensional geographic information system
CN114820990B (en) Digital twin-based river basin flood control visualization method and system
CN106326334A (en) Display method and device for electronic map and generation method and device for electronic map
CN113750516A (en) Method, system and equipment for realizing three-dimensional GIS data loading in game engine
CN116778285A (en) Big data fusion method and system for constructing digital twin base
CN117011492B (en) Image rendering method and device, electronic equipment and storage medium
Qiu et al. Web-based 3D map visualization using WebGL
CN115619986A (en) Scene roaming method, device, equipment and medium
CN110827400B (en) Method and device for generating model of object in three-dimensional scene and terminal
CN118468610B (en) Virtual laboratory simulation system and method based on VR technology
Wang et al. Design of Road Panoramic Virtual Reality Simulation System Based on Genetic Algorithm and Virtual Reality

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant