CN114708396B - High-precision priority display method for three-dimensional model - Google Patents

High-precision priority display method for three-dimensional model Download PDF

Info

Publication number
CN114708396B
CN114708396B CN202210618858.9A CN202210618858A CN114708396B CN 114708396 B CN114708396 B CN 114708396B CN 202210618858 A CN202210618858 A CN 202210618858A CN 114708396 B CN114708396 B CN 114708396B
Authority
CN
China
Prior art keywords
model
level
dimensional
range
models
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.)
Active
Application number
CN202210618858.9A
Other languages
Chinese (zh)
Other versions
CN114708396A (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.)
Beijing Feidu Technology Co ltd
China Academy Of Urban Planning And Design Remote Sensing Application Center Of Ministry Of Housing And Urban Rural Development
Original Assignee
Beijing Feidu Technology Co ltd
China Academy Of Urban Planning And Design Remote Sensing Application Center Of Ministry Of Housing And Urban Rural Development
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 Beijing Feidu Technology Co ltd, China Academy Of Urban Planning And Design Remote Sensing Application Center Of Ministry Of Housing And Urban Rural Development filed Critical Beijing Feidu Technology Co ltd
Priority to CN202210618858.9A priority Critical patent/CN114708396B/en
Publication of CN114708396A publication Critical patent/CN114708396A/en
Application granted granted Critical
Publication of CN114708396B publication Critical patent/CN114708396B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/26Visual data mining; Browsing structured data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • 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/20Finite element generation, e.g. wire-frame surface description, tesselation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • Software Systems (AREA)
  • Computer Graphics (AREA)
  • Remote Sensing (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention provides a high-precision priority display method of a three-dimensional model, which comprises the following steps: s1: preparing data of different levels of the three-dimensional model, acquiring a polygon range of the three-dimensional model of each level, and adding the three-dimensional models of different levels into a three-dimensional scene; s2: and for the three-dimensional models with different levels, a recursive algorithm is adopted, and the models with the high level are laminated from the models with the low level until the three-dimensional model with the lowest level is laminated. According to the high-precision priority display method for the three-dimensional model, when different-grade models exist in a three-dimensional display page at the same time, the high-grade models automatically cover the low-grade models, the labor cost is greatly reduced, and meanwhile, the perfect butt joint of different-grade model ranges can be realized without shortage and overlapping.

Description

High-precision priority display method for three-dimensional model
Technical Field
The invention relates to a three-dimensional visual high-precision model priority display method, in particular to a high-precision priority display method for a three-dimensional model.
Background
In smart city or CIM field, three-dimensional visualization is a very common technical means, has different production means to three-dimensional model, and the cost is different, and the precision is also different. According to the precision, 7 grades are defined for the three-dimensional model: the CIM 1-CIM 7 are higher in grade, and the accuracy of the model is higher. In a city-level three-dimensional visualization solution, because the production cost of a model at a lower level is lower, generally, a low-level model (CIM 1-CIM 2) is adopted in a scene with a large area, a medium-high level model (CIM 3-CIM 4) is adopted in a scene with a key area, and a high-level model (CIM 5-CIM 7) is generally adopted in a key cell or building. In a comprehensive urban three-dimensional visualization solution, three-dimensional models of different grades are basically displayed at the same time. Therefore, the range of models with different grades is required to be perfectly butted, and the models cannot be lacked or overlapped, otherwise, the display effect is poor, and the scheme of the smart city cannot be accurately supported. Currently, when dealing with models of different grades, it is necessary to refer to the range of models of other grades to perform trimming and filling, for example: a city whole-city range is a low-level model, a street is a middle-level three-dimensional model, and the low-level model within the street range needs to be manually removed when the low-level model is displayed in an overlapping mode. If there is a level of models that needs to be adjusted twice, the range of other models is also adjusted manually, as in the example above: a middle-level model of a street is additionally arranged in the city, and the low-level model of the newly-added street range needs to be manually removed.
Disclosure of Invention
The invention provides a high-precision priority display method of a three-dimensional model, which solves the problem that a high-level model automatically covers a low-level model for display, and adopts the following technical scheme:
a high-precision priority display method for a three-dimensional model comprises the following steps:
s1: preparing data of the three-dimensional models in different levels, acquiring the polygonal range of the three-dimensional model in each level, and adding the three-dimensional models in different levels into a three-dimensional scene;
s2: and for the three-dimensional models with different levels, a recursive algorithm is adopted, and the models with the high level are laminated from the models with the low level until the three-dimensional model with the lowest level is laminated.
Further, step S1 includes the following steps:
s11: creating three-dimensional models with different accuracies for the content of the three-dimensional scene, and dividing the three-dimensional models into seven levels from low to high according to the accuracies, namely CIM 1-CIM 7;
s12: acquiring a polygon range of each level three-dimensional model, and storing specific data of the polygon range into a PostgreSQL database;
s13: adding three-dimensional models of different grades into the same three-dimensional scene;
s14: a minimum altitude value for the current three-dimensional scene is determined and stored to a PostgreSQL database.
Further, step S2 includes the following steps:
s21: completing the covering of the next CIM6 grade model by the highest grade CIM7 grade model;
s22: taking the polygon range of the union of the CIM7 grade model and the CIM6 grade model as the range of the CIM6 grade model, and covering the next grade CIM5 grade model by the CIM6 grade model;
s23: and repeating the capping operation of the steps S21-S22, performing the capping operation on the next level by taking the new polygon range formed after capping of each level as a result, and if a model of a certain level does not exist, skipping the capping calculation of the level until the capping of the CIM1 level model is finished.
Further, in step S21, the capping process includes the steps of:
s211: firstly, calculating the intersection of the polygon range of the CIM7 level model and the polygon range of the CIM6 level model to obtain an intersection polygon range;
s212: then screening out all CIM6 grade models in the range of the intersection polygon;
s213: then hiding the independent single three-dimensional model in the CIM6 level model in the range;
s214: and finally, setting the heights of all triangular patches of the non-singletized three-dimensional model in the CIM6 level model in the range as the lowest altitude value of the current three-dimensional scene.
Further, in step S22, a union of the polygon range of the CIM7 hierarchical model and the polygon range of the CIM6 hierarchical model is calculated to obtain a union polygon range, and the union polygon range is processed by using a union function of the graphics engine.
Further, after step S2 is completed, the three-dimensional model file at a certain level in the three-dimensional scene is updated, and only the new three-dimensional model needs to be updated and stored in the polygon range corresponding to the level in the PostgreSQL database, and then step S2 is invoked, so as to implement the docking of model ranges at different levels.
Further, after step S2 is completed, when the model display state is selected again, the three-dimensional model file of the level that needs to be displayed is determined, and step S2 is invoked to implement the capping process of the new three-dimensional model.
The high-precision priority display method of the three-dimensional model realizes that the high-level model automatically covers the low-level model when different-level models exist in the three-dimensional display page at the same time. When the three-dimensional model of each grade is manufactured, cutting is not needed according to the range of other grade models; when the range of the model of a certain level is changed, the models of other levels are not required to follow the change any more. The labor cost is greatly reduced, and perfect butt joint of different levels of model ranges can be realized without shortage and overlapping.
Drawings
FIG. 1 is a schematic flow chart of a high-precision priority display method of the three-dimensional model;
FIG. 2 is a schematic diagram of a CIM7 class model capping to a CIM6 class model;
FIG. 3 is a schematic diagram of capping of a CIM6 class model to a CIM5 class model;
FIG. 4 is a schematic diagram of a high-level model recursively capping to a low-level model;
FIG. 5 is a schematic diagram of a final display of the urban scene in the embodiment.
Detailed Description
The high-precision priority display method of the three-dimensional model adopts the strategies of hiding low-level models and displaying high-level models in the same range aiming at independent single three-dimensional models (such as building models); for a flaky non-monomorphic three-dimensional model (such as a terrain model), the height of all triangular patches (which are computer graphics terms and are the minimum units of graphics in a display memory and are similar to atoms in physics) of a low-level model in the same range is set as the minimum altitude value of the current city, and the high-level model is normally displayed.
The high-precision priority display method of the three-dimensional model comprises the following steps:
s1: preparing data of different levels of the three-dimensional model, acquiring a polygon range of the three-dimensional model of each level, and adding the three-dimensional models of different levels into a three-dimensional scene; an example is illustrated in which:
s11: the three-dimensional scene in a certain embodiment is an urban scene, three-dimensional models with different precisions are created for urban contents (including buildings and ground), and the three-dimensional models are divided into seven levels according to the precisions from low to high: CIM 1-CIM 7;
s12: acquiring a Polygon (Polygon) range of each grade three-dimensional model, and storing specific data of the Polygon (Polygon) range into a PostgreSQL database;
s13: the three-dimensional models with different grades are added into the same three-dimensional scene, namely the urban scene, and the urban scene can be built by using an Explorer loading model in DTS platform software of the flight technology.
S14: a minimum altitude value for the current city is determined and stored to the PostgreSQL database.
S2: and for the three-dimensional models with different levels, a recursive algorithm is adopted, and the models with the high level are laminated from the models with the low level until the three-dimensional model with the lowest level is laminated. The details are as follows:
s21: as shown in FIG. 2, the CIM7 grade model covers the CIM6 grade model, and the method comprises the following operation steps:
s211: firstly, calculating the intersection of a range of a CIM7 grade model Polygon (Polygon) and a range of a CIM6 grade model Polygon (Polygon) to obtain an intersection Polygon (Polygon) range; this step can be handled using the intersection-taking function of the existing graphics engine; this step can be handled using the interject function in turf.
S212: then screening out all CIM6 grade models in the range of the intersection Polygon (Polygon); this step can be handled using the functions of existing graphics engines that can determine whether a model belongs to a specified polygon range; this step can be handled, for example, using the boleagontains function in turf.js, which can determine whether a model belongs to a specified polygon range;
s213: then hiding the independent single three-dimensional model (such as a building model) in the CIM6 level model in the range, wherein the step can be processed by using a hiding function of an existing graphic engine; for example, this step may be processed using the tilelayer. hideActor (id, objectId, fn) function in the Cloud second development API in the DTS platform software of the flight technology;
s214: and finally, setting the heights of all triangular patches of the non-singleton three-dimensional model (such as a terrain model) in the CIM6 level model in the range as the lowest altitude value of the current city.
S22: as shown in FIG. 3, the CIM6 grade model covers the CIM5 grade model, and the method comprises the following operation steps:
s221: firstly, calculating a union of a range of a CIM7 level model Polygon (Polygon) and a range of a CIM6 level model Polygon (Polygon) to obtain a union Polygon (Polygon) range; this step can be handled using the union function of the existing graphics engine; js, this step may be processed using the union function in turf, and may return the union range of the two polygon ranges.
S222: and then, the union Polygon (Polygon) range is used as a CIM6 grade model range to be capped to a CIM5 grade model range, and the step of capping specifically can repeat the step S21 to complete the capping of the CIM6 grade model to the CIM5 grade model.
S23: as shown in fig. 4, the capping operations in steps S21-S22 are repeated, the new polygon range formed after capping of each level is used as a result, the capping operation is performed on the next level, if there is no model of a certain level, the capping calculation of the level is skipped until the capping of the CIM1 level model is completed, and the final display effect of the city scene is shown in fig. 5.
S3: after a new three-dimensional model is added or the display state of the model is selected again, the mode of 'refreshing' is clicked on a scene interface to trigger gland calculation, and perfect butt joint of the same-level model range can be achieved without shortage and overlapping.
The method has the following effects: and updating the three-dimensional model file of a certain grade in the scene every time, namely only updating the Polygon (Polygon) range corresponding to the grade stored in the PostgreSQL database, and calling the interactive logic once to realize perfect butt joint of the model ranges of different grades without shortage and overlap.
When a new three-dimensional model is added, the level of the new three-dimensional model is determined based on the accuracy, and the capping process of the new three-dimensional model is performed based on the polygon range in step S2.
The re-checking of the model display state means that it is determined whether or not to display the three-dimensional models of some levels, and after the three-dimensional models of some levels are selected for display, the capping process of the new three-dimensional model is performed according to step S2.
The high-precision priority display method of the three-dimensional model realizes that the high-level model automatically covers the low-level model when different-level models exist in the three-dimensional display page at the same time. When the three-dimensional model of each grade is manufactured, cutting is not needed according to the range of other grade models; when the range of the model of a certain level is changed, the models of other levels are not required to follow the change any more. The labor cost is greatly reduced, and perfect butt joint of different levels of model ranges can be realized without shortage and overlapping.

Claims (5)

1. A high-precision priority display method for a three-dimensional model comprises the following steps:
s1: preparing data of different levels of the three-dimensional model, acquiring a polygon range of the three-dimensional model of each level, and adding the three-dimensional models of different levels into a three-dimensional scene;
s2: for three-dimensional models of different levels, adopting a recursive algorithm to cover the models from a high-level model to a low-level model layer by layer until the three-dimensional model of the lowest level is covered;
the method comprises the following steps:
s21: completing the capping of the next-level CIM6 level model by the highest-level CIM7 level model;
s22: taking the polygon range of the union of the CIM7 grade model and the CIM6 grade model as the range of the CIM6 grade model, and covering the next grade CIM5 grade model by the CIM6 grade model;
s23: repeating the capping operation of the steps S21-S22, performing capping operation on the next level by taking a new polygon range formed after capping of each level as a result, and skipping the capping calculation of the level if a model of a certain level does not exist until the capping of the CIM1 level model is finished;
further, in step S21, the capping process includes the steps of:
s211: firstly, calculating the intersection of the polygon range of the CIM7 level model and the polygon range of the CIM6 level model to obtain an intersection polygon range;
s212: then screening out all CIM6 grade models in the range of the intersection polygon;
s213: then hiding the independent single three-dimensional model in the CIM6 level model in the range;
s214: and finally, setting the heights of all triangular patches of the non-mononized three-dimensional model in the CIM6 level model in the range as the lowest altitude value of the current three-dimensional scene.
2. The method for high-precision priority display of a three-dimensional model according to claim 1, characterized in that: in step S1, the method includes the steps of:
s11: creating three-dimensional models with different accuracies for the content of the three-dimensional scene, and dividing the three-dimensional models into seven levels from low to high according to the accuracies, namely CIM 1-CIM 7;
s12: acquiring a polygon range of each level three-dimensional model, and storing specific data of the polygon range into a PostgreSQL database;
s13: adding three-dimensional models with different grades into the same three-dimensional scene;
s14: a minimum altitude value for the current three-dimensional scene is determined and stored to a PostgreSQL database.
3. The method for high-precision priority display of three-dimensional models according to claim 1, characterized in that: in step S22, a union of the CIM7 level model polygon range and the CIM6 level model polygon range is calculated to obtain a union polygon range, and the union polygon range is processed by using a union function of the graphics engine.
4. The method for high-precision priority display of a three-dimensional model according to claim 2, characterized in that: after step S2 is completed, the three-dimensional model file at a certain level in the three-dimensional scene is updated, and only the new three-dimensional model needs to be updated and stored in the polygon range corresponding to the level in the PostgreSQL database, and then step S2 is invoked, so as to realize the docking of model ranges at different levels.
5. The method for high-precision priority display of a three-dimensional model according to claim 2, characterized in that: and after the step S2 is finished, when the model display state is selected again, determining the three-dimensional model file of the grade required to be displayed, and calling the step S2 to realize the capping processing of the new three-dimensional model.
CN202210618858.9A 2022-06-02 2022-06-02 High-precision priority display method for three-dimensional model Active CN114708396B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210618858.9A CN114708396B (en) 2022-06-02 2022-06-02 High-precision priority display method for three-dimensional model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210618858.9A CN114708396B (en) 2022-06-02 2022-06-02 High-precision priority display method for three-dimensional model

Publications (2)

Publication Number Publication Date
CN114708396A CN114708396A (en) 2022-07-05
CN114708396B true CN114708396B (en) 2022-08-26

Family

ID=82177557

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210618858.9A Active CN114708396B (en) 2022-06-02 2022-06-02 High-precision priority display method for three-dimensional model

Country Status (1)

Country Link
CN (1) CN114708396B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110009750A (en) * 2019-04-19 2019-07-12 贝壳技术有限公司 A kind of room images display methods and device based on threedimensional model
JP2021070945A (en) * 2019-10-30 2021-05-06 中日本ハイウェイ・エンジニアリング名古屋株式会社 Internal defect detection display method for highway concrete floor slabs using perspectives and system for the same
CN113066157A (en) * 2021-04-07 2021-07-02 奥格科技股份有限公司 Data grading request rendering method and system based on CIM platform

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110009750A (en) * 2019-04-19 2019-07-12 贝壳技术有限公司 A kind of room images display methods and device based on threedimensional model
JP2021070945A (en) * 2019-10-30 2021-05-06 中日本ハイウェイ・エンジニアリング名古屋株式会社 Internal defect detection display method for highway concrete floor slabs using perspectives and system for the same
CN113066157A (en) * 2021-04-07 2021-07-02 奥格科技股份有限公司 Data grading request rendering method and system based on CIM platform

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
三维地形环境中矢量地图实时符号化显示技术;曹雪峰等;《系统仿真学报》;20130725;全文 *

Also Published As

Publication number Publication date
CN114708396A (en) 2022-07-05

Similar Documents

Publication Publication Date Title
CN105701103B (en) Three-dimensional application system based on geographic information
JP2010541051A (en) Geospace modeling system and related methods with user-selectable building shape options
CN105989198A (en) BIM-based (building information modeling based) road parametric auto-modeling method and system
CN111506949A (en) BIM-based visualization method for road soft foundation treatment construction progress
TW200923835A (en) Geospatial modeling system providing inpainting and error calculation features and related methods
CN113570275A (en) Water resource real-time monitoring system based on BIM and digital elevation model
CN113590706B (en) Visual platform based on CIM
CN106611438B (en) Local area updating and map cutting method and device of three-dimensional simulation map
CN112348317A (en) Project planning condition generation method and system for smart city
US20070296722A1 (en) Imagery-Based Synthetic Environment for Computer Generated Forces
EP3427167A1 (en) Method for providing details to a computer aided design (cad) model, a computer program product and a server therefore
CN114708396B (en) High-precision priority display method for three-dimensional model
CN104392035B (en) A kind of urban three-dimensional modeling method of sing on web
CN113505185A (en) Three-dimensional scene rendering and displaying method for urban information model
IL278905B2 (en) Improved geographic indexing
US7634149B2 (en) Method for dynamically updating a planar topology
CN114490907A (en) Method and device for constructing famous city management database and storage medium
US6867784B2 (en) Methods, systems, and computer readable media for using closed contours of a modeled surface
CN111368468A (en) Method for solving two-dimensional boundary of centralized village based on mathematical method and programming algorithm
CN108345750A (en) A kind of method and system to underground utilities modeling
CN117173367B (en) Method and equipment for establishing dynamic landscape plant component library based on Rhino
EP4060593A1 (en) Property valuation using object identification
CN115457413A (en) Information extraction method and device, computer equipment and storage medium
CN115908676A (en) Map display method, device, equipment and storage medium
Adán et al. Simulation applications based on digital terrain models integrated in Web3D viewers and graphic engines

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: No.9, Sanlihe Road, Haidian District, Beijing 100089

Patentee after: China Academy of urban planning and design (Remote Sensing Application Center of the Ministry of housing and urban rural development)

Patentee after: Beijing Feidu Technology Co.,Ltd.

Address before: No.9, Sanlihe Road, Haidian District, Beijing 100089

Patentee before: China Academy of urban planning and design (Remote Sensing Application Center of the Ministry of housing and urban rural development)

Patentee before: Beijing Feidu Technology Co.,Ltd.