CN115170716A - Provincial and regional multi-scale three-dimensional geologic body visual rendering method and system - Google Patents

Provincial and regional multi-scale three-dimensional geologic body visual rendering method and system Download PDF

Info

Publication number
CN115170716A
CN115170716A CN202210915120.9A CN202210915120A CN115170716A CN 115170716 A CN115170716 A CN 115170716A CN 202210915120 A CN202210915120 A CN 202210915120A CN 115170716 A CN115170716 A CN 115170716A
Authority
CN
China
Prior art keywords
rendering
data
loading
geological body
scale
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
Application number
CN202210915120.9A
Other languages
Chinese (zh)
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.)
Wuhan Dida Quanty Technology Co ltd
China University of Geosciences
Original Assignee
Wuhan Dida Quanty Technology Co ltd
China University of Geosciences
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 Wuhan Dida Quanty Technology Co ltd, China University of Geosciences filed Critical Wuhan Dida Quanty Technology Co ltd
Priority to CN202210915120.9A priority Critical patent/CN115170716A/en
Publication of CN115170716A publication Critical patent/CN115170716A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/005General purpose rendering architectures
    • 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/005Tree description, e.g. octree, quadtree
    • 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)
  • Computer Graphics (AREA)
  • Geometry (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Remote Sensing (AREA)
  • Image Generation (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention provides a province-level multi-scale three-dimensional geological body visualization rendering method and a system, wherein the province-level multi-scale three-dimensional geological body visualization rendering method is constructed by using a three-dimensional geological body model metadata index based on an octree, so that an integrated space hierarchical organization structure of a province-level multi-scale three-dimensional geological body model is determined, and the space query efficiency of three-dimensional geological body model data is effectively improved; by adopting a viewpoint distance principle, a data volume size principle, a multithreading asynchronous loading principle and a shielding elimination non-rendering principle, the introduction of model-dependent resources in a scene is effectively avoided, and unnecessary drawing is effectively reduced; based on a dynamic loading and rendering strategy of the three-dimensional geological body model data in the visual area of the multi-level cache structure, the loading and rendering processes of the model data by the main thread are submitted to a rendering queue, the rendering thread obtains rendering instructions from the rendering queue and executes asynchronous parallel loading and rendering of data, the overhead of calling the model rendering in the main thread is effectively saved, and therefore the frame rate is improved.

Description

Provincial and regional multi-scale three-dimensional geologic body visual rendering method and system
Technical Field
The invention belongs to the technical field of geospatial information visualization, and particularly relates to a provincial-region-level multi-scale three-dimensional geologic body visualization rendering method and system which can be used for industries such as glass earth, digital twinning, provincial-region vitreous China, mine geology, urban geology, disaster geology and the like.
Background
The three-dimensional geologic body model data is an important type of geologic data and is the basis of complex problem space analysis and space data mining in the field of resource environments. When a large number of uncertain factors are subjected to qualitative understanding, quantitative estimation and relationship description by technicians or leaders during geological phenomena, geological process analysis, geological resource environment evaluation and development and utilization decision-making, analysis, mining, prediction, evaluation and decision-making assistance are carried out by combining a space-time data model and a space-time analysis model. Data visualization is the best method and means to describe, express, and understand the relationships and models of various semi-structured and even unstructured problems.
The glass earth is an effective carrier of geoscience space-time big data, and a large-area connected and multi-scale integrated three-dimensional model library is a basic construction form of the glass earth. In order to relieve the double pressure of resources and environment, the deep part of the earth is made transparent, which has become the focus of more and more national attention. At present, all countries in the world adopt a mode of combining three-dimensional regional geological mapping as a main factor and a deep detection plan, and develop a glass earth construction plan. In the domestic geological and mining industry, various types of digital homeland, glass earth, digital mine, digital oil field, digital city and other digital and transparent engineering constructions are gradually developed according to the requirement of respective geological work informatization, and a large amount of three-dimensional geological body model data is generated.
Due to the fact that the provincial region glass land construction designs ultra-large-scale three-dimensional geological body model data, the method is very difficult in aspects of multi-scale multi-level multi-element integrated expression and integration, high-efficiency visual rendering and interaction and the like, the problems are prominent, and realization of visual display and interaction analysis is a huge challenge.
Disclosure of Invention
The invention aims to provide a provincial and regional level multi-scale three-dimensional geologic body visualization rendering method and a provincial and regional level multi-scale three-dimensional geologic body visualization rendering system, and aims to solve the problems of slow operation pause and high resource occupation of provincial and regional level ultra-large three-dimensional geologic body models in visualization display and human-computer interaction scenes in the prior art so as to improve the rendering speed and human-computer interaction fluency of the three-dimensional geologic body models with ultra-large data volume.
In order to achieve the technical purpose, the invention provides a provincial-level multi-scale three-dimensional geologic body visualization rendering method, which comprises the following operations:
loading three-dimensional geological body model metadata for space division, and creating an octree index;
the main thread dynamically responds to man-machine interaction, monitors the change of a visual area, acquires all octree nodes in the visual area of the current camera, and starts a rendering thread to load and render model data of the nodes in the visual area;
carrying out spatial sequencing on octree nodes in a visible area according to the distance of a viewpoint and the size of data mapped by the nodes, preferentially loading and rendering a geological body model which is close to the viewpoint and has small data volume, and synchronously and parallelly loading model data which is far from the viewpoint and has large data volume;
and (5) carrying out shielding judgment on the model data in the visible area, and removing the shielded data without rendering.
Preferably, the spatial ordering of the octree nodes in the visible region according to the distance of the viewpoint and the size of the data mapped by the nodes specifically comprises:
after the nodes are sorted from near to far from the viewpoint, the data size of the geologic body model object in each node is sorted from small to large.
Preferably, the loading and rendering process of the model data by the main thread is submitted to a rendering queue, the rendering thread acquires rendering instructions from the rendering queue, and performs asynchronous parallel loading and rendering of the data.
Preferably, the geological body models in the octree nodes in the visible area are divided into three layers according to the number, a third-level cache area is opened up in the memory, the first-level cache area is used for loading geological body model data with small data volume and rendering, and the second-level cache area and the third-level cache area are used for asynchronously loading geological body model data with large data volume in parallel and adding the geological body model data into a rendering queue to wait for rendering.
The invention also provides a provincial-domain multi-scale three-dimensional geologic body visualization rendering system, which comprises:
the octree index creating module is used for loading the metadata of the three-dimensional geologic body model to perform space division and creating octree indexes;
the visual area node acquisition module is used for the main thread to dynamically respond to man-machine interaction, monitor visual area change, acquire all octree nodes in the current camera visual area and start a rendering thread to load and render model data of the nodes in the visual area;
the hierarchy rendering module is used for carrying out spatial sequencing on octree nodes in a visual area according to the distance of a viewpoint and the size of data mapped by the nodes, preferentially loading and rendering a geological body model which is close to the viewpoint and has small data volume, and synchronously and parallelly loading model data which is far from the viewpoint and has large data volume;
and the shielding judgment module is used for judging shielding of the model data in the visual area, and removing the shielded data without rendering.
Preferably, after the octree nodes in the visible area are sorted from near to far from the viewpoint, the data size of the geologic body model object in each node is sorted from small to large.
Preferably, the loading and rendering process of the model data by the main thread is submitted to a rendering queue, the rendering thread acquires rendering instructions from the rendering queue, and performs asynchronous parallel loading and rendering of the data.
Preferably, the geological body models in the octree nodes in the visible area are divided into three layers according to the number, a third-level cache area is opened up in the memory, the first-level cache area is used for loading geological body model data with small data volume and rendering, and the second-level cache area and the third-level cache area are used for asynchronously loading geological body model data with large data volume in parallel and adding the geological body model data into a rendering queue to wait for rendering.
The effects provided in the summary of the invention are only the effects of the embodiments, not all of the effects of the invention, and one of the above technical solutions has the following advantages or beneficial effects:
compared with the prior art, the three-dimensional geological body model is constructed by adopting the octree-based metadata index of the three-dimensional geological body model, the integrated spatial hierarchical organization structure of the provincial-level multi-scale three-dimensional geological body model is determined, and the spatial query efficiency of the three-dimensional geological body model data is effectively improved; by adopting a viewpoint distance principle, a data volume size principle, a multithreading asynchronous loading principle and a shielding elimination non-rendering principle, resources which are dependent on a model in a scene are effectively avoided being introduced, and unnecessary drawing is effectively reduced; based on a dynamic loading and rendering strategy of the three-dimensional geological body model data in the visual area of the multi-level cache structure, the loading and rendering processes of the model data by the main thread are submitted to the rendering queue, the rendering thread acquires rendering instructions from the rendering queue and executes asynchronous parallel loading and rendering of the data, so that the overhead of calling the model rendering in the main thread is effectively saved, and the frame rate is improved.
Drawings
Fig. 1 is a logic flow diagram of a provincial-domain-level multi-scale three-dimensional geologic body visualization rendering method provided in an embodiment of the present invention;
fig. 2 is a diagram 1: and 25 ten thousand three-dimensional geologic body model loading rendering process schematic diagrams.
Detailed Description
In order to clearly explain the technical features of the present invention, the following detailed description of the present invention is provided with reference to the accompanying drawings. The following disclosure provides many different embodiments, or examples, for implementing different features of the invention. To simplify the disclosure of the present invention, the components and arrangements of specific examples are described below. Furthermore, the present invention may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. It should be noted that the components illustrated in the figures are not necessarily drawn to scale. Descriptions of well-known components and processing techniques and procedures are omitted so as to not unnecessarily limit the invention.
The provincial-level multi-scale three-dimensional geologic body visualization rendering method and system provided by the embodiment of the invention are explained in detail in the following with reference to the accompanying drawings.
As shown in fig. 1 and 2, an embodiment of the present invention discloses a provincial-level multi-scale three-dimensional geologic body visualization rendering method, which includes the following operations:
loading three-dimensional geological body model metadata for space division, and creating an octree index;
the main thread dynamically responds to man-machine interaction, monitors the change of a visual area, acquires all octree nodes in the visual area of the current camera, and starts a rendering thread to load and render model data of the nodes in the visual area;
carrying out spatial sequencing on octree nodes in a visible area according to the distance of a viewpoint and the size of data mapped by the nodes, preferentially loading and rendering a geological body model which is close to the viewpoint and has small data volume, and synchronously and parallelly loading model data which is far from the viewpoint and has large data volume;
and (4) carrying out shielding judgment on the model data in the visible area, and eliminating the shielded data without rendering.
The embodiment of the invention adopts an octree-based three-dimensional geological body model metadata index construction method, and constructs a multi-level cache structure-based visual area three-dimensional geological body model data dynamic loading and rendering strategy according to a viewpoint distance principle, a data volume size principle, a multithreading asynchronous loading principle and a shielding elimination non-rendering principle.
The rendering process in the embodiment of the invention is as follows:
opening an engineering file to be rendered, acquiring metadata file paths of all map sheets and map layers, and constructing a three-dimensional geological body model metadata hierarchy directory;
reading metadata of a three-dimensional geological body model, obtaining model bounding box data, constructing an octree through the bounding box data, and calculating and setting an identifier required to be displayed by octree nodes according to a current visual area;
creating a rendering thread, traversing the rendering threads in the queue and setting exit identifiers if the last rendering thread exists, waiting for all the threads to end, opening up a new thread to add into the queue to start rendering, and the specific process is as follows:
judging the scale of each geologic body model object according to the distance between the geologic body model object and the current central viewpoint, and acquiring the scale of the current visual area;
acquiring all octree nodes in a current visual area, firstly carrying out occlusion inquiry on a bounding box, and then sequencing unoccluded nodes from near to far according to a distance from a viewpoint, and sequencing the data size of a geologic body model object in each node from small to large;
the geological body models in the same node are divided into three layers according to the number, and meanwhile, a third-level cache region is opened up in a memory, the first-level cache region is used for loading geological body model data with small data volume and rendering, and the second-level cache region and the third-level cache region are used for asynchronously loading geological body model data with large data volume in parallel and adding the geological body model data into a rendering queue to wait for rendering.
Monitoring the change of the visual area, if the user interaction and the current visual area change, calculating and setting the identifier required to be displayed by the octree node according to the current visual area again, and creating a rendering thread for rendering.
The embodiment of the invention adopts octree-based metadata index construction of the three-dimensional geological body model, determines the integral spatial hierarchical organization structure of the provincial and regional multi-scale three-dimensional geological body model, and effectively improves the spatial query efficiency of the three-dimensional geological body model data; by adopting a viewpoint distance principle, a data volume size principle, a multithreading asynchronous loading principle and a shielding elimination non-rendering principle, resources which are dependent on a model in a scene are effectively avoided being introduced, and unnecessary drawing is effectively reduced; based on a dynamic loading and rendering strategy of the three-dimensional geological body model data in the visual area of the multi-level cache structure, the loading and rendering processes of the model data by the main thread are submitted to the rendering queue, the rendering thread acquires rendering instructions from the rendering queue and executes asynchronous parallel loading and rendering of the data, so that the overhead of calling the model rendering in the main thread is effectively saved, and the frame rate is improved. The method solves the problems of slow operation blockage and high resource occupation of the provincial-level super-large-scale three-dimensional geological body model in visual display and man-machine interaction scenes, can improve the rendering speed and the man-machine interaction fluency of the three-dimensional geological body model with large data volume, and provides technical support for the provincial-level super-large-scale three-dimensional geological body model visual analysis.
The embodiment of the invention also discloses a provincial and regional multi-scale three-dimensional geologic body visualization rendering system, which comprises:
the octree index creating module is used for loading the metadata of the three-dimensional geologic body model for space division and creating an octree index;
the visual area node acquisition module is used for the main thread to dynamically respond to man-machine interaction, monitor visual area change, acquire all octree nodes in the current camera visual area and start a rendering thread to load and render model data of the nodes in the visual area;
the hierarchy rendering module is used for carrying out spatial sequencing on octree nodes in a visual area according to the distance of a viewpoint and the size of data mapped by the nodes, preferentially loading and rendering a geological body model which is close to the viewpoint and has small data volume, and synchronously and parallelly loading model data which is far from the viewpoint and has large data volume;
and the shielding judgment module is used for judging shielding of the model data in the visual area, and removing the shielded data without rendering.
The system according to the embodiment of the present invention can implement the provincial-level multi-scale three-dimensional geologic body visualization rendering method, which is not described herein again.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (8)

1. A provincial-domain multi-scale three-dimensional geologic body visualization rendering method is characterized by comprising the following operations:
loading three-dimensional geological body model metadata for space division, and creating an octree index;
the main thread dynamically responds to man-machine interaction, monitors the change of a visual area, acquires all octree nodes in the visual area of the current camera, and starts a rendering thread to load and render model data of the nodes in the visual area;
carrying out spatial sequencing on octree nodes in a visible area according to the viewpoint distance and the data size mapped by the nodes, preferentially loading and rendering a geological body model which is close to the viewpoint and has small data volume, and synchronously loading model data which is far from the viewpoint and has large data volume in parallel;
and (5) carrying out shielding judgment on the model data in the visible area, and removing the shielded data without rendering.
2. The province-level multi-scale three-dimensional geologic body visualization rendering method according to claim 1, wherein the spatial ordering of octree nodes in a visible region according to viewpoint distance and data size mapped by the nodes is specifically:
after the nodes are sorted from near to far from the viewpoint, the data size of the geologic body model object in each node is sorted from small to large.
3. The method for visually rendering the province-level multi-scale three-dimensional geological body according to claim 1, wherein the main thread submits the loading and rendering processes of the model data to a rendering queue, and the rendering thread acquires rendering instructions from the rendering queue and performs asynchronous parallel loading and rendering of data.
4. The province-level multi-scale three-dimensional geological body visualization rendering method as claimed in claim 1, wherein geological body models in octree nodes in the visible region are divided into three levels according to quantity, and three levels of cache regions are opened up in a memory, wherein the first level of cache region is used for loading geological body model data with small data volume and rendering, and the second level of cache region and the third level of cache region are used for asynchronously loading geological body model data with large data volume in parallel and adding the geological body model data into a rendering queue to wait for rendering.
5. A provincial-domain multi-scale three-dimensional geologic body visualization rendering system, comprising:
the octree index creating module is used for loading the metadata of the three-dimensional geologic body model for space division and creating an octree index;
the visual area node acquisition module is used for the main thread to dynamically respond to man-machine interaction, monitor visual area change, acquire all octree nodes in the current camera visual area and start a rendering thread to load and render model data of the nodes in the visual area;
the hierarchical rendering module is used for carrying out spatial sequencing on octree nodes in a visual area according to the distance of a viewpoint and the size of data mapped by the nodes, preferentially loading and rendering a geological body model which is close to the viewpoint and has small data volume, and synchronously loading model data which is far from the viewpoint and has large data volume in parallel;
and the shielding judgment module is used for carrying out shielding judgment on the model data in the visible area and eliminating the shielded data without rendering.
6. The province-level multi-scale three-dimensional geologic body visualization rendering system of claim 5, wherein the octree nodes in the visible region are sorted from near to far from the viewpoint and then sorted by size from small to large for the data size of the geologic body model object in each node.
7. The province-level multi-scale three-dimensional geological body visualization rendering system of claim 5, wherein the main thread loads and renders model data into the rendering queue, and the rendering thread obtains rendering instructions from the rendering queue and performs asynchronous parallel loading and rendering of data.
8. The province-level multi-scale three-dimensional geological body visualization rendering system as claimed in claim 5, wherein the geological body models in the octree nodes in the visible region are divided into three levels according to the number, and a third level cache region is opened up in the memory, wherein the first level cache region is used for loading geological body model data with small data volume and rendering, and the second level cache region and the third level cache region are used for asynchronously loading geological body model data with large data volume in parallel and adding the geological body model data into the rendering queue to wait for rendering.
CN202210915120.9A 2022-08-01 2022-08-01 Provincial and regional multi-scale three-dimensional geologic body visual rendering method and system Pending CN115170716A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210915120.9A CN115170716A (en) 2022-08-01 2022-08-01 Provincial and regional multi-scale three-dimensional geologic body visual rendering method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210915120.9A CN115170716A (en) 2022-08-01 2022-08-01 Provincial and regional multi-scale three-dimensional geologic body visual rendering method and system

Publications (1)

Publication Number Publication Date
CN115170716A true CN115170716A (en) 2022-10-11

Family

ID=83476451

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210915120.9A Pending CN115170716A (en) 2022-08-01 2022-08-01 Provincial and regional multi-scale three-dimensional geologic body visual rendering method and system

Country Status (1)

Country Link
CN (1) CN115170716A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170046589A1 (en) * 2013-11-07 2017-02-16 Autodesk, Inc. Pre-segment point cloud data to run real-time shape extraction faster
CN107507262A (en) * 2017-08-31 2017-12-22 城市生活(北京)资讯有限公司 A kind of three-dimensional rendering method and system of large scene
CN110070613A (en) * 2019-04-26 2019-07-30 东北大学 Large-scale three dimensional scene web page display method based on model compression and asynchronous load
CN114387375A (en) * 2022-01-17 2022-04-22 重庆市勘测院((重庆市地图编制中心)) Multi-view rendering method for mass point cloud data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170046589A1 (en) * 2013-11-07 2017-02-16 Autodesk, Inc. Pre-segment point cloud data to run real-time shape extraction faster
CN107507262A (en) * 2017-08-31 2017-12-22 城市生活(北京)资讯有限公司 A kind of three-dimensional rendering method and system of large scene
CN110070613A (en) * 2019-04-26 2019-07-30 东北大学 Large-scale three dimensional scene web page display method based on model compression and asynchronous load
CN114387375A (en) * 2022-01-17 2022-04-22 重庆市勘测院((重庆市地图编制中心)) Multi-view rendering method for mass point cloud data

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
田宜平 等: "地质大数据可视化关键技术探讨", 《地质科技通报》 *

Similar Documents

Publication Publication Date Title
US11704537B2 (en) Octree-based convolutional neural network
CN108133044A (en) Space big data three-dimensional visualization method and platform based on attribute separation
CN108804576B (en) Domain name hierarchical structure detection method based on link analysis
CN112035433A (en) Method for converting BIM model into GIS model supporting large-volume grading loading
US20180322608A1 (en) Distributed and parallelized visualization framework
WO2023071273A1 (en) Point cloud data processing
CN114820279B (en) Distributed deep learning method and device based on multiple GPUs and electronic equipment
CN112764004B (en) Point cloud processing method, device, equipment and storage medium
CN103902582B (en) A kind of method and apparatus for reducing data warehouse data redundancy
US20170161944A1 (en) System and method of constructing bounding volume hierarchy tree
CN116307672A (en) Fault diagnosis method, device, electronic equipment and medium
Tamminen et al. Ray-casting and block model conversion using a spatial index
Zhang et al. GeoScope: Full 3D geospatial information system case study
CN107885840A (en) Urban information model service method and system
CN115170716A (en) Provincial and regional multi-scale three-dimensional geologic body visual rendering method and system
CN113254517A (en) Service providing method based on internet big data
CN116502303A (en) BIM model visualization method based on scene hierarchy instance information enhancement
NO20180009A1 (en) Efficient algorithms for volume visualization on irregular grids
CN105093283A (en) Three-dimensional observation system surface element attribute multi-thread rapid display method
CN114820885B (en) Image editing method and model training method, device, equipment and medium thereof
CN115984499A (en) Two-three-dimensional integrated GIS system based on Maptalks
CN112364116B (en) Method and system for establishing association between three-dimensional model of underground pipeline and target GIS (geographic information System)
CN114138925A (en) Location point belonging area retrieval method, device, electronic equipment, medium and product
Lan et al. RETRACTED ARTICLE: Chinese regional economic cooperative development model based on network analysis and multimedia data visualization
Xu et al. Research on Building Space Model Method Based on Big Data Map Visual Design

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