CN111881238A - Lightweight three-dimensional data construction method and medium suitable for Web end and electronic device - Google Patents
Lightweight three-dimensional data construction method and medium suitable for Web end and electronic device Download PDFInfo
- Publication number
- CN111881238A CN111881238A CN202010684824.0A CN202010684824A CN111881238A CN 111881238 A CN111881238 A CN 111881238A CN 202010684824 A CN202010684824 A CN 202010684824A CN 111881238 A CN111881238 A CN 111881238A
- Authority
- CN
- China
- Prior art keywords
- data
- model
- dimensional
- lightweight
- dimensional data
- 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.)
- Pending
Links
- 238000010276 construction Methods 0.000 title claims abstract description 17
- 230000005540 biological transmission Effects 0.000 claims abstract description 12
- 239000000178 monomer Substances 0.000 claims abstract description 10
- 238000000638 solvent extraction Methods 0.000 claims abstract description 7
- 239000007787 solid Substances 0.000 claims abstract description 5
- 238000013144 data compression Methods 0.000 claims abstract description 4
- 238000000034 method Methods 0.000 claims description 21
- 238000007906 compression Methods 0.000 claims description 17
- 230000006835 compression Effects 0.000 claims description 17
- 238000005553 drilling Methods 0.000 claims description 7
- 238000012545 processing Methods 0.000 claims description 6
- 238000004590 computer program Methods 0.000 claims description 5
- 230000009467 reduction Effects 0.000 claims description 3
- 238000009877 rendering Methods 0.000 abstract description 11
- 230000008520 organization Effects 0.000 abstract description 4
- 230000000694 effects Effects 0.000 description 21
- 238000010586 diagram Methods 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 6
- 238000006243 chemical reaction Methods 0.000 description 4
- 239000000463 material Substances 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000033001 locomotion Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 230000032683 aging Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000013467 fragmentation Methods 0.000 description 1
- 238000006062 fragmentation reaction Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000005065 mining Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/29—Geographical information databases
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Remote Sensing (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention relates to the field of three-dimensional data formats, in particular to a lightweight three-dimensional data construction method, a lightweight three-dimensional data construction medium and electronic equipment suitable for a Web end, which are different in that the lightweight three-dimensional data construction method comprises the following steps: 101. acquiring an original data format; 102. optimizing data partitioning, and organizing and reconstructing data; 103. element singulation: extracting single elements in the geometric model into a whole; 104. element combination: merging the monomer elements to reduce the number of the elements; 105. simplifying the solid model: carrying out hierarchical simplification on various entity models in a geographic scene; 106. data compression: compressing the simplified entity model; 107. and (3) converting a data structure: and converting the data structure of the original data to generate converted three-dimensional data. The invention carries out grid division and layered organization on massive three-dimensional data, and realizes the high-efficiency transmission and rendering of the three-dimensional data at a Web end.
Description
Technical Field
The invention relates to the field of three-dimensional data formats, in particular to a lightweight three-dimensional data construction method, medium and electronic equipment suitable for a Web end.
Background
With the aging of the GIS theory and the continuous expansion of the application thereof, the functions of a plurality of GIS software are gradually improved. At present, many commercial GIS software is used for simulating and processing real world entities and relations among the entities on a two-dimensional plane, and natural phenomena related to weather, hydrology, mining, disasters, pollution and the like in the world of our life are three-dimensional, and corresponding three-dimensional data is needed to accurately reflect, store, analyze, process and display geospatial information so as to accurately depict the real world. The three-dimensional data formats commonly used at present are OSGB, OBJ, FBX, 3ds and the like.
1、OSGB
OSGB is a format of oblique photographic three-dimensional data generated by Smart3D, typically organized in a binary storage with embedded link texture data. The OSGB is called Open Scene Gragh Binary, and the characteristics of the data files such as fragmentation, large quantity, large high-level pyramid files and the like are difficult to form an efficient and standard network publishing scheme, so that data sharing between different regions and different departments cannot be realized.
2、OBJ
The OBJ file is a standard 3D model file format developed by Alias | wave front corporation for its suite of workstation-based 3D modeling and animation software "advanced visualizer", suitable for use in the mutual conductance between 3D software models.
3、FBX
FBX is the format used by FilmBoX software, and is called Motionbuilder after that. The Motionbuilder is a platform for motion making, and the FBX is used for conducting mutual conductance of models, materials, motions and camera information among software such as 3dsMax, Maya, softimage and the like, so to speak, the FBX scheme is the best mutual conductance scheme.
4、3ds
The 3ds is a derivative file format of 3dsmax modeling software, and can be derived into the 3ds format after the MAX scene file is made, so that the 3ds format is compatible with other modeling software and can also be used for rendering. This has the advantage that it is not necessarily tied to the software version.
In the three-dimensional data format, the OSGB belongs to an oblique photography three-dimensional data format, the OBJ, the FBX and the 3ds belong to a three-dimensional landscape model format, and the common characteristics of the OSGB, the FBX and the FBX are generally similar to lightweight clients such as a BS (browser/server) client, a mobile terminal and the like in the application of the three-dimensional field. In practical applications, both oblique photography data and three-dimensional modeling result data are relatively large. On one hand, the cache organization of the traditional data format client is complex, single information of an original model is lost, and the traditional data format client cannot be well adapted to devices such as a WebGL browser client and a mobile terminal; on the other hand, the larger data volume causes higher bandwidth requirement for network transmission, which causes that the original three-dimensional data format used for the desktop end cannot well adapt to the current requirement.
In view of this, in order to overcome the technical defects, it is an urgent need in the art to provide lightweight three-dimensional data and a construction method suitable for a Web end.
Disclosure of Invention
The invention aims to overcome the defects of the prior art, and provides a lightweight three-dimensional data construction method, a medium and electronic equipment suitable for a Web end, which are used for carrying out grid division and layered organization on massive three-dimensional data and realizing efficient transmission and rendering of the three-dimensional data at the Web end.
In order to solve the technical problems, the technical scheme of the invention is as follows: a lightweight three-dimensional data construction method suitable for a Web end is characterized by comprising the following steps:
101. acquiring an original data format;
102. optimizing data partitioning, and organizing and reconstructing data;
103. element singulation: extracting single elements in the geometric model into a whole;
104. element combination: merging the monomer elements to reduce the number of the elements;
105. simplifying the solid model: carrying out hierarchical simplification on various entity models in a geographic scene;
106. data compression: compressing the simplified entity model;
107. and (3) converting a data structure: and converting the data structure of the original data to generate converted three-dimensional data.
According to the above technical solution, in the step 102, optimizing data partitioning is to organize and reconstruct original data by controlling the data volume of each three-dimensional tile, so that the number of elements in each three-dimensional tile is relatively balanced.
According to the above technical solution, in the step 103, element singulation is to extract a single element in the geometric model as a whole by recording each vertex of the single element as the same OID value.
According to the above technical scheme, in the step 104, when the elements are combined, the monomer information of the elements is recorded, and the combined elements can still perform the operations of extracting, highlighting and attribute query of the monomer information.
According to the above technical solution, the step 105 specifically includes the following substeps:
1051. element geometric simplification: simplifying the geometric information of the elements under the condition of ensuring that the outer contour is not changed, and reducing the geometric memory;
1052. simplifying texture pictures: and performing resolution reduction processing on texture pictures of different levels to reduce texture memory.
According to the above technical solution, the step 106 specifically includes the following sub-steps:
1061. and (3) geometric information compression: compressing geometric information including, but not limited to, vertex coordinates, normal coordinates, texture coordinates;
1062. and (3) file stream compression: and compressing the file stream to reduce the size of the file and accelerate network transmission.
According to the technical scheme, the original data format comprises aboveground model data and underground model data, the aboveground model data comprises but is not limited to vector data, live-action three-dimensional data and building information model data, and the underground model data comprises but is not limited to underground pipeline model data, geological drilling data, geological profile model data, geological structure model data and geological high-precision grid model data.
The lightweight three-dimensional data which is constructed by the method and is suitable for the Web end is different in that: the spatial index information is divided into two parts: one part is recorded in the configuration file, and the other part is recorded in the entity data; the configuration file stores top node information, and the spatial index information stored in the entity data associates each data entity.
A computer-readable medium, on which a computer program is stored which, when being executed by a processor, is adapted to carry out the method as set forth in the preceding claims.
An electronic device, comprising:
one or more processors;
memory having one or more programs stored thereon, which when executed by the one or more processors, perform the method as described in the previous claims.
Compared with the prior art, the invention has the following beneficial effects:
1) the high-efficiency network transmission mode of high compression ratio and streaming transmission is realized;
2) the texture set technology is used for carrying out batch processing on the geometric figures with different textures, so that the working efficiency of a rendering pipeline is greatly improved;
3) the method supports operations such as extraction, highlight display, attribute query and the like of the monomer information of the elements, and supports operations such as object color modification, object visibility batch modification and the like;
4) the three-dimensional data format is converted into multiple data such as an underground pipeline model, a geological drilling model, a geological profile model, a geological structure model, a geological high-precision grid model and OSGB (open service gateway GB), so that the data display efficiency is improved;
5) the plug-in-free three-dimensional client is comprehensively supported, and seamless fusion of WebGL is guaranteed.
Drawings
FIG. 1 is a schematic flow chart of an embodiment of the present invention;
FIG. 2 is a schematic view showing the element singulation;
FIG. 3 is a schematic diagram of a display effect after conversion of a common three-dimensional model;
FIG. 4 is a diagram illustrating the display effect after vector data is converted;
FIG. 5 is a schematic diagram of the display effect after the conversion of oblique photography (OSGB) data;
FIG. 6 is a schematic diagram of a display effect after point cloud data conversion;
FIG. 7 is a diagram illustrating the display effect of the transformed building information model data (BIM);
FIG. 8 is a schematic diagram illustrating the display effect of the converted data of the underground pipeline;
FIG. 9 is a schematic diagram of the display effect of the converted geological drilling data;
FIG. 10 is a schematic diagram of the display effect of the transformed geological section model;
FIG. 11 is a diagram illustrating the display effect of the transformed geologic structure model;
FIG. 12 is a diagram of the display effect of the transformed geological high-precision grid model.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Many aspects of the invention are better understood with reference to the following drawings. The components in the drawings are not necessarily to scale. Instead, emphasis is placed upon clearly illustrating the components of the present invention. Moreover, in the several views of the drawings, like reference numerals designate corresponding parts.
The word "exemplary" or "illustrative" as used herein means serving as an example, instance, or illustration. Any embodiment described herein as "exemplary" or "illustrative" is not necessarily to be construed as preferred or advantageous over other embodiments. All of the embodiments described below are exemplary embodiments provided to enable persons skilled in the art to make and use the examples of the disclosure and are not intended to limit the scope of the disclosure, which is defined by the claims. In other instances, well-known features and methods are described in detail so as not to obscure the invention. For purposes of the description herein, the terms "upper," "lower," "left," "right," "front," "rear," "vertical," "horizontal," and derivatives thereof shall relate to the invention as oriented in fig. 1. Furthermore, there is no intention to be bound by any expressed or implied theory presented in the preceding technical field, background, brief summary or the following detailed description. It is also to be understood that the specific devices and processes illustrated in the attached drawings, and described in the following specification are simply exemplary embodiments of the inventive concepts defined in the appended claims. Hence, specific dimensions and other physical characteristics relating to the embodiments disclosed herein are not to be considered as limiting, unless the claims expressly state otherwise.
The invention relates to a part of technical concepts as follows:
1. K-D Tree (K-dimensional tree): a binary tree stores some K-dimensional data. Constructing a K-D tree on a K-dimensional data set represents a partition of the K-dimensional space formed by the K-dimensional data set, i.e., each node in the tree corresponds to a K-dimensional hyper-rectangular region (hyper rectangle).
2. Texture set: the images containing a series of smaller images are spliced together, and the texture set technology can be used for batch processing among geometric figures using different textures, so that the working efficiency of a rendering pipeline is greatly improved.
3. LOD model: also called level detail model, is a real-time three-dimensional computer graphics technology, and its working principle is: when the viewpoint is close to the object, the observed model details are rich; as the viewpoint moves away from the model, the observed details gradually blur. The system drawing program selects corresponding details to display according to certain judgment conditions, thereby avoiding time waste caused by drawing details with relatively little meaning, and simultaneously effectively coordinating the relationship between the continuity of the picture and the resolution of the model.
Referring to fig. 1, the present invention discloses a lightweight three-dimensional data construction method suitable for a Web end, which is different in that the method comprises the following steps:
101. acquiring an original data format;
102. optimizing data partitioning, and organizing and reconstructing data;
103. element singulation: extracting single elements in the geometric model into a whole;
104. element combination: merging the monomer elements to reduce the number of the elements;
105. simplifying the solid model: carrying out hierarchical simplification on various entity models in a geographic scene;
106. data compression: compressing the simplified entity model;
107. and (3) converting a data structure: and converting the data structure of the original data to generate converted three-dimensional data.
Specifically, in the step 102, optimizing the data partitioning is to control the data amount of each three-dimensional tile through a K-D tree technique, including geometric data and texture data, to organize and reconstruct the data, so that the number of elements in each three-dimensional tile is relatively balanced, and the situation that the number of elements in a single three-dimensional tile is too large or too small is reduced as much as possible.
Specifically, in step 103, the element singulation is to extract the single element in the geometric model as a whole by recording each vertex of the single element as the same OID value.
Specifically, in step 104, the texture set technique is used to merge the single elements, so as to reduce the number of elements. When the elements are combined, the monomer information of the elements is recorded, and the combined elements can still be subjected to operations of extracting, highlighting, attribute query and the like of the monomer information.
Specifically, in step 105, an LOD model technology is used, and a simplification algorithm is used to perform hierarchical simplification on various entity models in a geographic scene, including two steps of element geometric simplification and texture picture simplification:
1051. element geometric simplification: simplifying the geometric information of the elements under the condition of ensuring that the outer contour is not changed, and reducing the geometric memory;
1052. simplifying texture pictures: and performing resolution reduction processing on texture pictures of different levels to reduce texture memory.
Specifically, in the step 106, the simplified entity model is compressed, which includes two steps of geometric information compression and file stream compression:
1061. and (3) geometric information compression: compressing geometric information including but not limited to vertex coordinates, normal coordinates, texture coordinates, and the like;
1062. and (3) file stream compression: and a conventional zip compression technology is adopted to compress the file stream, so that the size of the file is reduced, and the network transmission is accelerated.
Specifically, the original data format (original three-dimensional data format) includes overground model data including, but not limited to, conventional model data, vector data, live-action three-dimensional data, and building information model data, and underground model data including, but not limited to, underground pipeline model data, geological drilling data, geological profile model data, geological structure model data, and geological high-precision grid model data.
The lightweight three-dimensional data which is constructed by the method and is suitable for the Web end is different in that: the spatial index information is divided into two parts: one part is recorded in the configuration file, and the other part is recorded in the entity data; the configuration file stores top node information, and the spatial index information stored in the entity data associates each data entity.
A computer-readable medium, on which a computer program is stored which, when being executed by a processor, is adapted to carry out the method as set forth in the preceding claims.
An electronic device, comprising:
one or more processors;
memory having one or more programs stored thereon, which when executed by the one or more processors, perform the method as described in the previous claims.
In the embodiment of the invention, the constructed lightweight three-dimensional data suitable for the Web end is named as: model of 3DData (M3D), which will be described below using the name M3D.
The embodiment of the invention specifically describes the data format of M3D as follows:
1. spatial index information
The M3D data format establishes a quadtree as a spatial index through a parent-child cascade relationship to balance the number of elements in each three-dimensional tile, and reduces the situation that the number of elements in a single three-dimensional tile is too much or too little as possible. The spatial index information of the M3D data is divided into two parts, one part is recorded in the configuration file, and the other part is recorded in the entity data. The configuration file stores top node information including a space bounding box of a single three-dimensional tile, excessive parameter information and an entity data path; and the spatial index information stored in the entity data associates each data entity.
2. Single element information table
The simplex element information table is a whole obtained by extracting a single element in a geometric model through data relation mapping in an M3D data format, mainly records an element array, an element ID and space range information of the element, acquires the element ID from a front-end three-dimensional scene through a pickup function, and inquires relevant attributes from an HDF database through the element ID. Wherein the element ID consists of three parts: [ layer GUID _ element array corner mark _ element OID ].
The layer GUID binds the elements with the layer; the element array corner mark records the position of an element in a current data entity, is bound with each vertex and is used for efficiently picking up in a three-dimensional scene; and the element OID is bound to an attribute table in the HDF database.
3. M3D data entity information
The M3D data entity information includes two parts of geometric information and material information.
The geometrical information of the data entities is shown in table 1:
table 1M 3D data entity geometry information
The vertex coordinate, the normal coordinate and the texture coordinate are the most basic elements possessed by a three-dimensional model; the vertex color is simplified aiming at geometry and texture in a massive urban landscape model, and a texture-free pure color model is adopted for substitution, so that the rendering pressure is reduced; the element ID is used for the above-mentioned element singulation; the vertex index is used for a vertex connection sequence and controls line drawing or surface drawing according to a rendering mode; the attribute table is customized for geological body high-precision grid data, and mainly records four attributes: and i, j, k and LOD respectively refer to grid sequences with three latitudes in length, width and height and LOD series of the current model, and can be quickly positioned to a grid surface on the geologic body model through the four attributes, and accurately inquire the attribute value of the current grid surface through associating the MongoDB database.
The material information of the data entity is shown in table 2:
TABLE 2M 3D data entity texture information
Texture, color, transparency and other material information of the model can be basically defined through the sets of parameters. Among them, alphaMode has three parameters: opaquee, BLEND, MASK, respectively, OPAQUE, mixed transparent, masked; the double-sided display refers to a display mode of a triangular surface, which is generally defaulted to double-sided display, otherwise, a strange phenomenon occurs; the alphaCutoff is used in cooperation with the MASK mode, and when the alpha value of the pixel is smaller than the alphaCutoff, the pixel is eliminated.
The M3D data format in the embodiment of the present invention has the following characteristics:
1. instantiation
The point position information and the model posture information of the model are recorded independently, and the entity is connected with the information in an indexing mode, so that the rapid loading of the similar model is realized.
2. Singulation
The single element in the geometric model is extracted as a whole by recording each vertex of the single element as the same OID value. When a certain monomer element is selected, all vertex information is obtained as the vertex of the OID numerical value to obtain the element, and relevant attributes of the element are inquired from the HDF database to realize efficient picking in a three-dimensional scene. As shown in fig. 2.
3. Supporting data blocking load balancing
The data volume of each three-dimensional tile is controlled through the K-D tree, the data comprises geometric data and texture data, and the data is organized and reconstructed, so that the number of elements in each three-dimensional tile is relatively balanced, and the situation that the number of elements in a single three-dimensional tile is too large or too small is reduced as much as possible.
4. Streaming compression
And compressing the solid model, wherein the compression comprises two parts of geometric information compression and file stream compression. The compression of the geometric information includes but is not limited to vertex coordinates, normal coordinates, texture coordinates and other geometric information; the file stream compression refers to compressing the file stream, and the conventional zip compression technology is adopted to compress the file stream, so that the size of a file is reduced, and network transmission is accelerated.
The data type supported by the M3D data format in the embodiment of the present invention:
the data formats of the above-ground model and the underground model are converted into an M3D data format, so that the three-dimensional landscape model and the oblique photography data are efficiently analyzed and rendered:
1. ground model
The traditional model is as follows: common three-dimensional models (obj, dea, fbx, etc.);
vector data: the data comprises two-dimensional point/line/surface data, three-dimensional point/line/surface data and three-dimensional pipeline data;
live-action three-dimensional data: including oblique photography (OSGB), and point cloud data;
building information model data: three-dimensional model data made by BIM design software;
2. an underground model:
the method comprises the following steps of (1) including an underground pipeline model; geological drilling and geological profile models; a geological structure model; geological high-precision grid model.
In the embodiment of the invention, the display effect after the conversion of various three-dimensional data is as follows:
1. ground model
1) The display effect after the ordinary three-dimensional model is converted into M3D is shown in FIG. 3;
2) the display effect after the vector data is converted into M3D is shown in fig. 4;
3) the display effect after the oblique photography (OSGB) data is converted into M3D is shown in fig. 5;
4) the display effect after the point cloud data is converted into M3D is shown in FIG. 6;
5) the display effect after the building information model data (BIM) is converted into M3D is shown in fig. 7.
2. An underground model:
1) the display effect after the underground pipeline data is converted into M3D is shown in FIG. 8;
2) the display effect after geological drilling data is converted into M3D is shown in FIG. 9;
3) the display effect after the geological profile model is converted into M3D is shown in FIG. 10;
4) the display effect after the geological structure model is converted into M3D is shown in FIG. 11;
5) the display effect after the geological high-precision grid model is converted into M3D is shown in FIG. 12.
In some possible embodiments, the aspects of the invention may also be implemented as a computer-readable medium, on which a computer program is stored, which, when being executed by a processor of an electronic device, is adapted to carry out the steps of the method according to various embodiments of the invention described in the above-mentioned solutions of the present description.
In some other embodiments of the present invention, the electronic device includes a memory storing one or more programs, and one or more processors, which when executing the one or more programs, are also configured to perform the above-described method steps.
It should be noted that: the above-mentioned medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take a variety of forms, including, but not limited to: an electromagnetic signal, an optical signal, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the consumer electronic device, partly on a remote electronic device, or entirely on the remote electronic device or server. In the case of remote electronic devices, the remote electronic devices may be connected to the consumer electronic device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external electronic device (e.g., through the internet using an internet service provider).
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
In some possible embodiments, an electronic device according to embodiments of the present invention may include at least one processor, and at least one memory. Wherein the memory stores a program (computer program) which, when executed by the processor, causes the processor to perform the steps of the method according to various embodiments of the present invention described in the above-mentioned technical solutions of the present specification.
The rendering efficiency of the traditional three-dimensional data format is low, the rendering requirement of large data volume cannot be met, the problems of slow network transmission, low rendering efficiency and the like exist, the embodiment of the invention carries out grid division and hierarchical organization on massive three-dimensional data, and adopts a streaming transmission mode to realize the efficient transmission and rendering of the three-dimensional data at a Web end.
The foregoing is a more detailed description of the present invention that is presented in conjunction with specific embodiments, and the practice of the invention is not to be considered limited to those descriptions. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.
Claims (10)
1. A lightweight three-dimensional data construction method suitable for a Web end is characterized by comprising the following steps:
101. acquiring an original data format;
102. optimizing data partitioning, and organizing and reconstructing data;
103. element singulation: extracting single elements in the geometric model into a whole;
104. element combination: merging the monomer elements to reduce the number of the elements;
105. simplifying the solid model: carrying out hierarchical simplification on various entity models in a geographic scene;
106. data compression: compressing the simplified entity model;
107. and (3) converting a data structure: and converting the data structure of the original data to generate converted three-dimensional data.
2. The lightweight three-dimensional data construction method suitable for the Web end according to claim 1, characterized in that: in step 102, optimizing the data partitioning is to organize and reconstruct the original data by controlling the data amount of each three-dimensional tile, so that the number of elements in each three-dimensional tile is relatively balanced.
3. The lightweight three-dimensional data construction method suitable for the Web end according to claim 1, characterized in that: in step 103, element singulation is to extract a single element in the geometric model as a whole by recording each vertex of the single element as the same OID value.
4. The lightweight three-dimensional data construction method suitable for the Web end according to claim 1, characterized in that: in the step 104, when the elements are combined, the individual information of the elements is recorded, and it is ensured that the combined elements can still perform the operations of extracting, highlighting, and attribute query of the individual information.
5. The lightweight three-dimensional data construction method suitable for the Web end according to claim 1, characterized in that: the step 105 specifically includes the following substeps:
1051. element geometric simplification: simplifying the geometric information of the elements under the condition of ensuring that the outer contour is not changed, and reducing the geometric memory;
1052. simplifying texture pictures: and performing resolution reduction processing on texture pictures of different levels to reduce texture memory.
6. The lightweight three-dimensional data construction method suitable for the Web end according to claim 1, characterized in that: the step 106 specifically includes the following substeps:
1061. and (3) geometric information compression: compressing geometric information including, but not limited to, vertex coordinates, normal coordinates, texture coordinates;
1062. and (3) file stream compression: and compressing the file stream to reduce the size of the file and accelerate network transmission.
7. The lightweight three-dimensional data construction method suitable for the Web end according to claim 1, characterized in that: the raw data format includes aboveground model data including, but not limited to, vector data, live-action three-dimensional data, building information model data, and underground model data including, but not limited to, underground pipeline model data, geological drilling data, geological profile model data, geological structure model data, geological high-precision grid model data.
8. The lightweight three-dimensional data which is constructed by the method and is suitable for the Web end is characterized in that: the spatial index information is divided into two parts: one part is recorded in the configuration file, and the other part is recorded in the entity data; the configuration file stores top node information, and the spatial index information stored in the entity data associates each data entity.
9. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, is adapted to carry out the method of any one of the preceding claims 1 to 7.
10. An electronic device, comprising:
one or more processors;
memory having one or more programs stored thereon which, when executed by the one or more processors, perform the method of any of claims 1-7 above.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010684824.0A CN111881238A (en) | 2020-07-16 | 2020-07-16 | Lightweight three-dimensional data construction method and medium suitable for Web end and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010684824.0A CN111881238A (en) | 2020-07-16 | 2020-07-16 | Lightweight three-dimensional data construction method and medium suitable for Web end and electronic device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111881238A true CN111881238A (en) | 2020-11-03 |
Family
ID=73154841
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010684824.0A Pending CN111881238A (en) | 2020-07-16 | 2020-07-16 | Lightweight three-dimensional data construction method and medium suitable for Web end and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111881238A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113255051A (en) * | 2021-07-07 | 2021-08-13 | 天津市天房科技发展股份有限公司 | Method and device for lightening large-volume BIM (building information modeling) model |
CN113486419A (en) * | 2021-06-04 | 2021-10-08 | 上海宝冶冶金工程有限公司 | Combination method and system for accurately positioning multiple monomer models based on BIM |
CN114021394A (en) * | 2021-12-06 | 2022-02-08 | 北京达美盛软件股份有限公司 | Oblique photography model optimization method and device |
CN114972663A (en) * | 2022-04-21 | 2022-08-30 | 武汉市测绘研究院 | Mobile terminal urban geological data fusion and visual analysis system |
CN114972664A (en) * | 2022-04-21 | 2022-08-30 | 武汉市测绘研究院 | Integrated management method for urban full-space three-dimensional model data |
CN115391903A (en) * | 2022-10-25 | 2022-11-25 | 中建八局第三建设有限公司 | BIM + AR reinforcement bar graph set visualization method and system |
CN115409906A (en) * | 2022-11-02 | 2022-11-29 | 中国测绘科学研究院 | Large-scale oblique photography model lightweight method and device |
CN115937456A (en) * | 2023-02-15 | 2023-04-07 | 天津市测绘院有限公司 | Real-scene three-dimensional model top layer reconstruction method and reconstruction system |
CN116012546A (en) * | 2023-03-24 | 2023-04-25 | 南京信大气象科学技术研究院有限公司 | Method for extracting meteorological system from environment background and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106600679A (en) * | 2015-10-20 | 2017-04-26 | 星际空间(天津)科技发展有限公司 | Three-dimensional model data simplification method |
CN110134752A (en) * | 2019-05-16 | 2019-08-16 | 洛阳众智软件科技股份有限公司 | Three-dimensional large scene modeling data processing method and processing device |
CN110910505A (en) * | 2019-11-29 | 2020-03-24 | 西安建筑科技大学 | Accelerated rendering method of scene model |
-
2020
- 2020-07-16 CN CN202010684824.0A patent/CN111881238A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106600679A (en) * | 2015-10-20 | 2017-04-26 | 星际空间(天津)科技发展有限公司 | Three-dimensional model data simplification method |
CN110134752A (en) * | 2019-05-16 | 2019-08-16 | 洛阳众智软件科技股份有限公司 | Three-dimensional large scene modeling data processing method and processing device |
CN110910505A (en) * | 2019-11-29 | 2020-03-24 | 西安建筑科技大学 | Accelerated rendering method of scene model |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113486419A (en) * | 2021-06-04 | 2021-10-08 | 上海宝冶冶金工程有限公司 | Combination method and system for accurately positioning multiple monomer models based on BIM |
CN113255051B (en) * | 2021-07-07 | 2021-09-14 | 天津市天房科技发展股份有限公司 | Method and device for lightening large-volume BIM (building information modeling) model |
CN113255051A (en) * | 2021-07-07 | 2021-08-13 | 天津市天房科技发展股份有限公司 | Method and device for lightening large-volume BIM (building information modeling) model |
CN114021394A (en) * | 2021-12-06 | 2022-02-08 | 北京达美盛软件股份有限公司 | Oblique photography model optimization method and device |
CN114021394B (en) * | 2021-12-06 | 2024-06-04 | 北京达美盛软件股份有限公司 | Oblique photography model optimization method and device |
CN114972663B (en) * | 2022-04-21 | 2024-04-05 | 武汉市测绘研究院 | Mobile terminal urban geological data fusion and visual analysis system |
CN114972663A (en) * | 2022-04-21 | 2022-08-30 | 武汉市测绘研究院 | Mobile terminal urban geological data fusion and visual analysis system |
CN114972664A (en) * | 2022-04-21 | 2022-08-30 | 武汉市测绘研究院 | Integrated management method for urban full-space three-dimensional model data |
CN114972664B (en) * | 2022-04-21 | 2024-04-05 | 武汉市测绘研究院 | Integrated management method for urban full-space three-dimensional model data |
CN115391903B (en) * | 2022-10-25 | 2023-02-17 | 中建八局第三建设有限公司 | BIM + AR reinforcement bar graph set visualization method and system |
CN115391903A (en) * | 2022-10-25 | 2022-11-25 | 中建八局第三建设有限公司 | BIM + AR reinforcement bar graph set visualization method and system |
CN115409906B (en) * | 2022-11-02 | 2023-03-24 | 中国测绘科学研究院 | Large-scale oblique photography model lightweight method and device |
CN115409906A (en) * | 2022-11-02 | 2022-11-29 | 中国测绘科学研究院 | Large-scale oblique photography model lightweight method and device |
CN115937456A (en) * | 2023-02-15 | 2023-04-07 | 天津市测绘院有限公司 | Real-scene three-dimensional model top layer reconstruction method and reconstruction system |
CN115937456B (en) * | 2023-02-15 | 2023-05-05 | 天津市测绘院有限公司 | Top layer reconstruction method and reconstruction system for live-action three-dimensional model |
CN116012546A (en) * | 2023-03-24 | 2023-04-25 | 南京信大气象科学技术研究院有限公司 | Method for extracting meteorological system from environment background and storage medium |
CN116012546B (en) * | 2023-03-24 | 2023-05-26 | 南京信大气象科学技术研究院有限公司 | Method for extracting meteorological system from environment background and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111881238A (en) | Lightweight three-dimensional data construction method and medium suitable for Web end and electronic device | |
CN108710739B (en) | Method and system for building information model lightweight and three-dimensional scene visualization | |
US9024947B2 (en) | Rendering and navigating photographic panoramas with depth information in a geographic information system | |
US9996976B2 (en) | System and method for real-time overlay of map features onto a video feed | |
US9852544B2 (en) | Methods and systems for providing a preloader animation for image viewers | |
US8456467B1 (en) | Embeddable three-dimensional (3D) image viewer | |
CN112017270A (en) | Live-action three-dimensional visualization online application system | |
CN111915726B (en) | Construction method of three-dimensional scene of overhead transmission line | |
CN112686997B (en) | WebGIS-based three-dimensional model data analysis display platform and method | |
Lu et al. | Design and implementation of virtual interactive scene based on unity 3D | |
CN115062188A (en) | Method for storing building digital twin data | |
CN104850700A (en) | Collaborative visual simulation platform | |
Gan et al. | Hybrid organization and visualization of the DSM combined with 3D building model | |
Guney | Rethinking GIS towards the vision of smart cities through CityGML | |
El Haje et al. | 3D cities rendering and visualisation: a web-based solution | |
Di Staso et al. | Heterogeneous-Resolution and multi-source terrain builder for CesiumJS WebGL virtual globe | |
CN113870409B (en) | Three-dimensional graph lightweight method based on industrial simulation scene | |
Gruber et al. | Urban data management—A modern approach | |
Ding et al. | Lightweight display of railway four-electricity BIM model based on glTF format and WebGL technology | |
Dai et al. | Research on BIM+ GIS full element 3D model processing technology | |
Di Benedetto et al. | SpiderGL: a graphics library for 3D web applications | |
Mower | Fast Image‐Space Silhouette Extraction for Non‐Photorealistic Landscape Rendering | |
Agbossou | Urban Built Environment Visual Features Modeling for 3D GeoSimulation Using USD Standard Specifications | |
CN117689808A (en) | City data integrated management method, system, equipment and medium based on CIM | |
CN113936111A (en) | Smart city display method and device based on city three-dimensional model |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: A1100, Wuhan Zhongdi science and technology park complex building, 598 Guanshan Avenue, Donghu New Technology Development Zone, Wuhan City, Hubei Province, 430000 Applicant after: WUHAN ZONDY CYBER TECHNOLOGY Co.,Ltd. Address before: 430073 building C, Huazhong Software Park, No.1 Guanshan 1st Road, Hongshan District, Wuhan City, Hubei Province Applicant before: WUHAN ZONDY CYBER TECHNOLOGY Co.,Ltd. |