A three-dimensional model rendering method and system

By collecting geological information in real time and detecting dividing lines to generate three-dimensional dimensions, the geological layer framework and layers are constructed and rendered, which solves the problems of image offset and mold penetration in three-dimensional geological model rendering, and achieves an efficient rendering process.

CN118365764BActive Publication Date: 2025-01-21江西省地质调查勘查院 +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410201817.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-23
Publication Date
2025-01-21
Estimated Expiration
2044-02-23

AI Technical Summary

Technical Problem

In the prior art, in the three-dimensional geological model rendering process, geological images are prone to shift from the model surface, resulting in mold penetration and reducing work efficiency.

Method used

By collecting geological information in real time, detecting the dividing lines between geological layers, generating target three-dimensional dimensions, constructing a geological layer framework and adding labels, filling layers and performing fusion processing to render a geological layer model.

Benefits of technology

It achieves fast and stable rendering of geological layer models without using textures, improving work efficiency and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118365764B_ABST
    Figure CN118365764B_ABST
Patent Text Reader

Abstract

The present invention provides a three-dimensional model rendering method and system, the method comprising: when receiving a target area input by a user, collecting geological information corresponding to the target area in real time, and extracting several geological layers corresponding to the target area in real time from the geological information; detecting the boundary line between each geological layer in real time, and detecting the target three-dimensional size corresponding to each geological layer in real time based on the boundary line; constructing a geological layer framework corresponding to each geological layer according to the target three-dimensional size and a preset program, and adding different target identifiers to each geological layer framework; filling the corresponding target layer into each geological layer framework through the target identifier, and fusing the target layer and the geological layer framework to render the corresponding geological layer model, wherein the target layer is a layered body with a regular shape. The present invention can render a geological layer model with stable image, which correspondingly improves the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of model rendering, and in particular to a three-dimensional model rendering method and system. Background Art

[0002] With the development of the times and the advancement of science and technology, computer technology has become increasingly mature and has been deeply applied in many fields, greatly improving people's work efficiency.

[0003] Among them, in the field of geological exploration technology, it is necessary to first collect geological data of a certain area, and then build a corresponding three-dimensional geological model based on the geological data collected in real time. Furthermore, it is necessary to render the three-dimensional geological model to restore the geological distribution to facilitate subsequent analysis.

[0004] Specifically, in the process of rendering a three-dimensional geological model, most of the existing technologies directly attach the geological image to the surface of the three-dimensional geological model. During the subsequent use of the three-dimensional geological model, the geological image is easily offset on the surface of the three-dimensional geological model, which may cause the geological image and the three-dimensional geological model to penetrate the model, thereby correspondingly reducing work efficiency. Summary of the invention

[0005] Based on this, the purpose of the present invention is to provide a three-dimensional model rendering method and system to solve the problem that the existing technology may cause the geological image and the three-dimensional geological model to penetrate the model, resulting in reduced work efficiency.

[0006] The first aspect of the embodiment of the present invention proposes:

[0007] A three-dimensional model rendering method, wherein the method comprises:

[0008] When receiving the target area input by the user, collecting geological information corresponding to the target area in real time, and extracting several geological layers corresponding to the target area from the geological information in real time;

[0009] Detecting the boundary between each of the geological layers in real time, and detecting the three-dimensional size of the target corresponding to each of the geological layers in real time based on the boundary;

[0010] According to the three-dimensional size of the target and a preset program, a geological layer framework corresponding to each geological layer body is constructed respectively, and a different target identifier is added to each geological layer framework;

[0011] The target identifier is used to fill the corresponding target layer into each geological layer framework, and the target layer and the geological layer framework are fused to render the corresponding geological layer model. Each target layer is unique, and the target layer is a layered body with a regular shape.

[0012] The beneficial effect of the present invention is that by receiving the target area input by the user in real time, based on this, the required geological information can be obtained accordingly, and further, the target three-dimensional size for creating a geological model can be further obtained according to the data contained in the geological information. Based on this, the required geological layer framework is generated in real time according to the current target three-dimensional size, and different identifiers are added. Further, different layers can be rendered accordingly according to the representation, and finally, only the layers and the geological layer framework need to be fused to quickly render the required geological layer model, so that the rendering of the geological layer model can be completed quickly and stably without using mapping, which correspondingly improves the work efficiency and the user experience.

[0013] Furthermore, the step of detecting the three-dimensional size of the target corresponding to each geological layer in real time based on the boundary line includes:

[0014] When a boundary line between adjacent geological layers is identified, blurring the geological layers to highlight the outline of the boundary line;

[0015] Calculate the two-dimensional size of the geological layer body connected to the dividing line in real time according to the contour of the dividing line, and detect the target thickness corresponding to each geological layer body in real time through the geological information;

[0016] The two-dimensional size and the target thickness are fused to generate the target three-dimensional size accordingly.

[0017] Furthermore, the step of fusing the two-dimensional size and the target thickness to generate the target three-dimensional size accordingly includes:

[0018] When the two-dimensional size and the target thickness are respectively obtained, a three-dimensional space adapted to the plurality of geological layers is created through the preset program, and a corresponding three-dimensional coordinate system is created with the center of the plurality of geological layers as the origin, wherein the x-axis and the y-axis are parallel to the horizontal plane, and the z-axis is perpendicular to the x-axis and the y-axis;

[0019] Creating a first reference plane and a second reference plane in the three-dimensional space, respectively, wherein the first reference plane is parallel to the x-axis and the y-axis, and the second reference plane is parallel to the z-axis;

[0020] The two-dimensional size and the target thickness are fused through the first reference plane and the second reference plane to generate the target three-dimensional size.

[0021] Furthermore, the step of fusing the two-dimensional size and the target thickness through the first reference plane and the second reference plane to generate the target three-dimensional size includes:

[0022] A first plane is created in the first reference plane according to the two-dimensional size, and a second plane is created in the second reference plane according to the target thickness:

[0023] Mapping a third plane corresponding to the first plane and a fourth plane corresponding to the second plane in the three-dimensional space respectively, and sequentially splicing the first plane, the second plane, the third plane and the fourth plane to generate a corresponding original geological model;

[0024] The original geological model is measured in three dimensions to generate the target three-dimensional size accordingly.

[0025] Furthermore, the step of fusing the target layer and the geological layer framework to render a corresponding geological layer model includes:

[0026] When the geological layer framework is acquired, a frame contour corresponding to the geological layer framework is detected in real time, and a contour surface adapted to the frame contour is created;

[0027] When it is detected that the target layer fills into the interior of the geological layer frame, the contour surface and the target layer are fused to render the geological layer model accordingly.

[0028] Furthermore, the step of fusing the contour surface and the target layer to render the geological layer model accordingly includes:

[0029] Detecting the contour line corresponding to the target layer in real time, and determining in real time whether the contour line is in contact with the contour surface;

[0030] If it is determined in real time that the contour line is in contact with the contour surface, the contact line generated when the contour line is in contact with the contour surface is detected in real time, and smoothing is performed at the contact line to complete the fusion between the contour surface and the target layer and render the geological layer model.

[0031] Furthermore, the method further comprises:

[0032] When it is detected in real time that the geological layer model rendering is completed, a target folder adapted to the geological layer model is generated, and the target folder is uploaded to a preset cloud server;

[0033] A storage path corresponding to the target folder is generated in real time in the preset cloud server, and the storage path is sent to the mobile terminal of the user.

[0034] The second aspect of the embodiment of the present invention proposes:

[0035] A three-dimensional model rendering system, wherein the system comprises:

[0036] A collection module, for collecting geological information corresponding to the target area in real time upon receiving the target area input by the user, and extracting several geological layers corresponding to the target area from the geological information in real time;

[0037] A detection module, used to detect the boundary line between each of the geological layers in real time, and detect the three-dimensional size of the target corresponding to each of the geological layers in real time based on the boundary line;

[0038] A processing module, used for constructing a geological layer framework corresponding to each geological layer body according to the target three-dimensional size and a preset program, and adding a different target identifier to each geological layer framework;

[0039] A rendering module is used to fill the corresponding target layer into each geological layer framework through the target identifier, and fuse the target layer and the geological layer framework to render a corresponding geological layer model. Each target layer is unique, and the target layer is a layered body with a regular shape.

[0040] Furthermore, the detection module is specifically used for:

[0041] When a boundary line between adjacent geological layers is identified, blurring the geological layers to highlight the outline of the boundary line;

[0042] Calculate the two-dimensional size of the geological layer body connected to the dividing line in real time according to the contour of the dividing line, and detect the target thickness corresponding to each geological layer body in real time through the geological information;

[0043] The two-dimensional size and the target thickness are fused to generate the target three-dimensional size accordingly.

[0044] Furthermore, the detection module is also specifically used for:

[0045] When the two-dimensional size and the target thickness are respectively obtained, a three-dimensional space adapted to the plurality of geological layers is created through the preset program, and a corresponding three-dimensional coordinate system is created with the center of the plurality of geological layers as the origin, wherein the x-axis and the y-axis are parallel to the horizontal plane, and the z-axis is perpendicular to the x-axis and the y-axis;

[0046] Creating a first reference plane and a second reference plane in the three-dimensional space, respectively, wherein the first reference plane is parallel to the x-axis and the y-axis, and the second reference plane is parallel to the z-axis;

[0047] The two-dimensional size and the target thickness are fused through the first reference plane and the second reference plane to generate the target three-dimensional size.

[0048] Furthermore, the detection module is also specifically used for:

[0049] A first plane is created in the first reference plane according to the two-dimensional size, and a second plane is created in the second reference plane according to the target thickness:

[0050] Mapping a third plane corresponding to the first plane and a fourth plane corresponding to the second plane in the three-dimensional space respectively, and sequentially splicing the first plane, the second plane, the third plane and the fourth plane to generate a corresponding original geological model;

[0051] The original geological model is measured in three dimensions to generate the target three-dimensional size accordingly.

[0052] Furthermore, the rendering module is specifically used for:

[0053] When the geological layer framework is acquired, a frame contour corresponding to the geological layer framework is detected in real time, and a contour surface adapted to the frame contour is created;

[0054] When it is detected that the target layer fills into the interior of the geological layer frame, the contour surface and the target layer are fused to render the geological layer model accordingly.

[0055] Furthermore, the rendering module is also specifically used for:

[0056] Detecting the contour line corresponding to the target layer in real time, and determining in real time whether the contour line is in contact with the contour surface;

[0057] If it is determined in real time that the contour line is in contact with the contour surface, the contact line generated when the contour line is in contact with the contour surface is detected in real time, and smoothing is performed at the contact line to complete the fusion between the contour surface and the target layer and render the geological layer model.

[0058] Furthermore, the three-dimensional model rendering system further includes a storage module, and the storage module is specifically used for:

[0059] When it is detected in real time that the geological layer model rendering is completed, a target folder adapted to the geological layer model is generated, and the target folder is uploaded to a preset cloud server;

[0060] A storage path corresponding to the target folder is generated in real time in the preset cloud server, and the storage path is sent to the mobile terminal of the user.

[0061] The third aspect of the embodiment of the present invention proposes:

[0062] A computer comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned three-dimensional model rendering method when executing the computer program.

[0063] The fourth aspect of the embodiments of the present invention proposes:

[0064] A readable storage medium stores a computer program, wherein the program, when executed by a processor, implements the three-dimensional model rendering method as described above.

[0065] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] Figure 1 A flowchart of a three-dimensional model rendering method provided by a first embodiment of the present invention;

[0067] Figure 2 This is a structural block diagram of a 3D model rendering system provided in a sixth embodiment of the present invention.

[0068] The following specific implementation manner will further illustrate the present invention in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION

[0069] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. Several embodiments of the present invention are given in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive.

[0070] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only.

[0071] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.

[0072] See also Figure 1 , which is shown as the three-dimensional model rendering method provided by the first embodiment of the present invention. The three-dimensional model rendering method provided by this embodiment can quickly and stably complete the rendering of the geological layer model, which correspondingly improves the work efficiency and improves the user experience.

[0073] Specifically, this embodiment provides:

[0074] A three-dimensional model rendering method specifically comprises the following steps:

[0075] Step S10, when receiving the target area input by the user, collecting geological information corresponding to the target area in real time, and extracting several geological layers corresponding to the target area from the geological information in real time;

[0076] Step S20, detecting the boundary line between each of the geological layers in real time, and detecting the three-dimensional size of the target corresponding to each of the geological layers in real time based on the boundary line;

[0077] Step S30, constructing a geological layer framework corresponding to each geological layer body according to the target three-dimensional size and a preset program, and adding a different target identifier to each geological layer framework;

[0078] Step S40, fill the corresponding target layer into each geological layer framework through the target identifier, and fuse the target layer and the geological layer framework to render the corresponding geological layer model, each of the target layers is unique, and the target layer is a layered body with a regular shape.

[0079] Specifically, in this embodiment, it should be noted that before performing a specific three-dimensional model rendering, a corresponding target needs to be determined first. In addition, since the three-dimensional model rendering method is implemented for geology, the three-dimensional model rendering method is mainly used to render geological models. In view of this, the server set in the background needs to receive the target area for input in real time. Specifically, the target area can be a mountain or a plain, etc. Further, in order to be able to know the geological conditions inside the current target area, it is also necessary to collect geological information corresponding to the current target area in real time, that is, the geological distribution conditions inside the current target area. Based on this, several geological layers corresponding to the current target area can be further extracted from the current geological information in real time. More specifically, since each geological layer is a layered structure with a certain shape, it is possible to further detect the boundary line generated between each adjacent geological layer, based on which, on the basis of the boundary line, the target three-dimensional size corresponding to each geological layer can be further detected.

[0080] Furthermore, after obtaining the target three-dimensional size of each geological layer body in real time, it is necessary to perform corresponding three-dimensional modeling. Preferably, the geological layer framework corresponding to each geological layer body can be constructed in real time through existing three-dimensional software such as ug or solidworks. At the same time, in order to facilitate the subsequent rendering of each geological layer framework, it is also necessary to add different target identifiers to each geological layer framework. On this basis, the corresponding target layer is finally filled into the interior of each geological layer framework according to the sequence of the current target identifier. Preferably, the target layer filled in this embodiment is a layered body with a regular shape, and each geological layer framework is filled with a layer for corresponding distinction. On this basis, each geological layer framework and the target layer filled in it are finally fused, and the required geological layer model can be finally rendered, which correspondingly improves the work efficiency of the staff.

[0081] Second embodiment

[0082] Furthermore, the step of detecting the three-dimensional size of the target corresponding to each geological layer in real time based on the boundary line includes:

[0083] When a boundary line between adjacent geological layers is identified, blurring the geological layers to highlight the outline of the boundary line;

[0084] Calculate the two-dimensional size of the geological layer body connected to the dividing line in real time according to the contour of the dividing line, and detect the target thickness corresponding to each geological layer body in real time through the geological information;

[0085] The two-dimensional size and the target thickness are fused to generate the target three-dimensional size accordingly.

[0086] Specifically, in this embodiment, it should be noted that in order to simply and quickly determine the target three-dimensional size corresponding to each geological layer body, after clearly identifying the boundary line between each geological layer body, in order to further clearly display the current boundary line, it is necessary to blur each current geological layer body in real time, so that the outline of the boundary line between adjacent geological layers can be highlighted accordingly.

[0087] Furthermore, since each contour has a certain regular shape and length, the two-dimensional size of the geological layer connected to each dividing line can be calculated in real time according to the contour of the current dividing line, specifically, the length and width of each geological layer can be calculated in real time. Furthermore, the target thickness corresponding to each current geological layer can be detected in real time through the above geological information. Based on this, it is only necessary to fuse the current two-dimensional size and the target thickness in real time to generate the required target three-dimensional size, so as to facilitate subsequent processing.

[0088] Furthermore, the step of fusing the two-dimensional size and the target thickness to generate the target three-dimensional size accordingly includes:

[0089] When the two-dimensional size and the target thickness are respectively obtained, a three-dimensional space adapted to the plurality of geological layers is created through the preset program, and a corresponding three-dimensional coordinate system is created with the center of the plurality of geological layers as the origin, wherein the x-axis and the y-axis are parallel to the horizontal plane, and the z-axis is perpendicular to the x-axis and the y-axis;

[0090] Creating a first reference plane and a second reference plane in the three-dimensional space, respectively, wherein the first reference plane is parallel to the x-axis and the y-axis, and the second reference plane is parallel to the z-axis;

[0091] The two-dimensional size and the target thickness are fused through the first reference plane and the second reference plane to generate the target three-dimensional size.

[0092] Specifically, in this embodiment, it should be noted that after the required two-dimensional size and target thickness are obtained in real time through the above steps, the height corresponding to each geological layer body can be directly obtained from the current target thickness. Based on this, in order to be able to present the above target three-dimensional size in three dimensions, a three-dimensional space adapted to the current geological layers can be created in real time through ug, and at the same time, in order to be able to determine the position of the three-dimensional coordinate system inside the current three-dimensional space. Preferably, this embodiment creates the required three-dimensional coordinate system with the center of the current geological layers as the origin, wherein the x-axis and the y-axis are on the same plane and parallel to the horizontal plane, and the z-axis is perpendicular to the x-axis and the y-axis. Further, in order to facilitate subsequent fusion, it is necessary to further create a first reference plane and a second reference plane in the current three-dimensional space, wherein the first reference plane is parallel to the plane where the current x-axis and y-axis are located, and correspondingly, the second reference plane is parallel to the plane where the current z-axis is located. On this basis, the fusion processing of the above two-dimensional size and target thickness is finally completed in real time through the current first reference plane and the second reference plane, and the required target three-dimensional size is generated accordingly.

[0093] Third embodiment

[0094] Furthermore, the step of fusing the two-dimensional size and the target thickness through the first reference plane and the second reference plane to generate the target three-dimensional size includes:

[0095] A first plane is created in the first reference plane according to the two-dimensional size, and a second plane is created in the second reference plane according to the target thickness:

[0096] Mapping a third plane corresponding to the first plane and a fourth plane corresponding to the second plane in the three-dimensional space respectively, and sequentially splicing the first plane, the second plane, the third plane and the fourth plane to generate a corresponding original geological model;

[0097] The original geological model is measured in three dimensions to generate the target three-dimensional size accordingly.

[0098] In addition, in this embodiment, it should be noted that after the first reference plane and the second reference plane are generated in real time, the corresponding first plane can be directly created in the first reference plane according to the current two-dimensional size, that is, the first plane is drawn in the first reference plane at a ratio of 1:1 according to the size of the two-dimensional size, and similarly, the corresponding second plane is drawn in the second reference plane at a ratio of 1:1 according to the current target thickness. It should be noted that since the first reference plane is perpendicular to the second reference plane, the current first plane and the second plane are also perpendicular to each other.

[0099] Furthermore, a third plane corresponding to the current first plane and a fourth plane corresponding to the current second plane are mapped in the current three-dimensional space through the mapping function in the existing three-dimensional software, wherein the mapped planes are equal in size to the original planes. Based on this, the current first plane, the second plane, the third plane and the fourth plane are immediately spliced ​​to construct a complete original geological model. Furthermore, the above-mentioned target three-dimensional size can be simply and quickly mapped by further three-dimensionally measuring the current original geological model.

[0100] Furthermore, the step of fusing the target layer and the geological layer framework to render a corresponding geological layer model includes:

[0101] When the geological layer framework is acquired, a frame contour corresponding to the geological layer framework is detected in real time, and a contour surface adapted to the frame contour is created;

[0102] When it is detected that the target layer fills into the interior of the geological layer frame, the contour surface and the target layer are fused to render the geological layer model accordingly.

[0103] In addition, in this embodiment, it is also necessary to explain that in order to accurately and effectively complete the rendering of the geological layer model, after the required geological layer framework is obtained in real time through the above steps, the frame outline corresponding to the current geological layer framework can be clearly detected at this time. Further, in order to fill the layer into the current geological layer framework, it is also necessary to create a contour surface that matches the current frame contour in real time, that is, each outer surface of the current frame contour. Furthermore, by filling the corresponding target layer inside the current geological layer framework through the above-mentioned three-dimensional software, at the same time, the current target layer is merged with each contour surface of the current geological layer framework, and the required geological layer model can be rendered accordingly for subsequent processing.

[0104] Fourth embodiment

[0105] Furthermore, the step of fusing the contour surface and the target layer to render the geological layer model accordingly includes:

[0106] Detecting the contour line corresponding to the target layer in real time, and determining in real time whether the contour line is in contact with the contour surface;

[0107] If it is determined in real time that the contour line is in contact with the contour surface, the contact line generated when the contour line is in contact with the contour surface is detected in real time, and smoothing is performed at the contact line to complete the fusion between the contour surface and the target layer and render the geological layer model.

[0108] Among them, in this embodiment, it should be pointed out that in order to simply and quickly complete the fusion processing between the contour surface and the target layer to save rendering time, it is necessary to detect the contour line corresponding to the current target layer, and in the process of filling the current target layer, judge in real time whether the contour line of the current target layer is in contact with the contour surface of the current geological layer framework. Specifically, if so, it is necessary to further detect the contact line generated between the current contour line and the contour surface in real time, and immediately smooth the position of the current contact line, that is, connect the two as a whole, so that the fusion between the contour surface and the target layer can be simply and effectively completed, and the required geological layer model can be rendered accordingly.

[0109] Fifth embodiment

[0110] Furthermore, the method further comprises:

[0111] When it is detected in real time that the geological layer model rendering is completed, a target folder adapted to the geological layer model is generated, and the target folder is uploaded to a preset cloud server;

[0112] A storage path corresponding to the target folder is generated in real time in the preset cloud server, and the storage path is sent to the mobile terminal of the user.

[0113] In this embodiment, it should be pointed out that after the rendering of the geological layer model is completed through the above steps, the currently rendered geological layer model needs to be stored immediately for subsequent use.

[0114] Furthermore, the server will generate a target folder that matches the storage space required by the current geological layer model in real time, and immediately upload the target folder to the pre-set cloud server. At the same time, a storage path corresponding to the current target folder will be generated in real time in the current cloud server, and the storage path will be sent to the user's mobile terminal for subsequent use by the user, which improves the user experience.

[0115] See also Figure 2 , the sixth embodiment of the present invention provides:

[0116] A three-dimensional model rendering system, wherein the system comprises:

[0117] A collection module, for collecting geological information corresponding to the target area in real time upon receiving the target area input by the user, and extracting several geological layers corresponding to the target area from the geological information in real time;

[0118] A detection module, used to detect the boundary line between each of the geological layers in real time, and detect the three-dimensional size of the target corresponding to each of the geological layers in real time based on the boundary line;

[0119] A processing module, used for constructing a geological layer framework corresponding to each geological layer body according to the target three-dimensional size and a preset program, and adding a different target identifier to each geological layer framework;

[0120] A rendering module is used to fill the corresponding target layer into each geological layer framework through the target identifier, and fuse the target layer and the geological layer framework to render a corresponding geological layer model. Each target layer is unique, and the target layer is a layered body with a regular shape.

[0121] Furthermore, the detection module is specifically used for:

[0122] When a boundary line between adjacent geological layers is identified, blurring the geological layers to highlight the outline of the boundary line;

[0123] Calculate the two-dimensional size of the geological layer body connected to the dividing line in real time according to the contour of the dividing line, and detect the target thickness corresponding to each geological layer body in real time through the geological information;

[0124] The two-dimensional size and the target thickness are fused to generate the target three-dimensional size accordingly.

[0125] Furthermore, the detection module is also specifically used for:

[0126] When the two-dimensional size and the target thickness are respectively obtained, a three-dimensional space adapted to the plurality of geological layers is created through the preset program, and a corresponding three-dimensional coordinate system is created with the center of the plurality of geological layers as the origin, wherein the x-axis and the y-axis are parallel to the horizontal plane, and the z-axis is perpendicular to the x-axis and the y-axis;

[0127] Creating a first reference plane and a second reference plane in the three-dimensional space, respectively, wherein the first reference plane is parallel to the x-axis and the y-axis, and the second reference plane is parallel to the z-axis;

[0128] The two-dimensional size and the target thickness are fused through the first reference plane and the second reference plane to generate the target three-dimensional size.

[0129] Furthermore, the detection module is also specifically used for:

[0130] A first plane is created in the first reference plane according to the two-dimensional size, and a second plane is created in the second reference plane according to the target thickness:

[0131] Mapping a third plane corresponding to the first plane and a fourth plane corresponding to the second plane in the three-dimensional space respectively, and sequentially splicing the first plane, the second plane, the third plane and the fourth plane to generate a corresponding original geological model;

[0132] The original geological model is measured in three dimensions to generate the target three-dimensional size accordingly.

[0133] Furthermore, the rendering module is specifically used for:

[0134] When the geological layer framework is acquired, a frame contour corresponding to the geological layer framework is detected in real time, and a contour surface adapted to the frame contour is created;

[0135] When it is detected that the target layer fills into the interior of the geological layer frame, the contour surface and the target layer are fused to render the geological layer model accordingly.

[0136] Furthermore, the rendering module is also specifically used for:

[0137] Detecting the contour line corresponding to the target layer in real time, and determining in real time whether the contour line is in contact with the contour surface;

[0138] If it is determined in real time that the contour line is in contact with the contour surface, the contact line generated when the contour line is in contact with the contour surface is detected in real time, and smoothing is performed at the contact line to complete the fusion between the contour surface and the target layer and render the geological layer model.

[0139] Furthermore, the three-dimensional model rendering system further includes a storage module, and the storage module is specifically used for:

[0140] When it is detected in real time that the geological layer model rendering is completed, a target folder adapted to the geological layer model is generated, and the target folder is uploaded to a preset cloud server;

[0141] A storage path corresponding to the target folder is generated in real time in the preset cloud server, and the storage path is sent to the mobile terminal of the user.

[0142] A seventh embodiment of the present invention provides a computer, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the three-dimensional model rendering method as described above when executing the computer program.

[0143] An eighth embodiment of the present invention provides a readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the three-dimensional model rendering method as described above.

[0144] In summary, the three-dimensional model rendering method and system provided by the above embodiments of the present invention can quickly and stably complete the rendering of the geological layer model, which correspondingly improves work efficiency and improves user experience.

[0145] It should be noted that the above modules can be functional modules or program modules, and can be implemented by software or hardware. For modules implemented by hardware, the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.

[0146] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0147] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0148] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0149] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0150] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. A three-dimensional model rendering method, characterized in that: The method comprises: When receiving the target area input by the user, collecting geological information corresponding to the target area in real time, and extracting several geological layers corresponding to the target area from the geological information in real time; Detecting the boundary between each of the geological layers in real time, and detecting the three-dimensional size of the target corresponding to each of the geological layers in real time based on the boundary; According to the three-dimensional size of the target and a preset program, a geological layer framework corresponding to each geological layer body is constructed respectively, and a different target identifier is added to each geological layer framework; Filling the corresponding target layer into each geological layer frame through the target identifier, and fusing the target layer and the geological layer frame to render the corresponding geological layer model, wherein each target layer is unique and is a layered body with a regular shape; The step of detecting the three-dimensional size of the target corresponding to each geological layer in real time based on the dividing line comprises: When a boundary line between adjacent geological layers is identified, blurring the geological layers to highlight the outline of the boundary line; Calculate the two-dimensional size of the geological layer body connected to the dividing line in real time according to the contour of the dividing line, and detect the target thickness corresponding to each geological layer body in real time through the geological information; Performing a fusion process on the two-dimensional size and the target thickness to generate the three-dimensional size of the target accordingly; The step of fusing the two-dimensional size and the target thickness to generate the target three-dimensional size accordingly includes: When the two-dimensional size and the target thickness are respectively obtained, a three-dimensional space adapted to the plurality of geological layers is created through the preset program, and a corresponding three-dimensional coordinate system is created with the center of the plurality of geological layers as the origin, wherein the x-axis and the y-axis are parallel to the horizontal plane, and the z-axis is perpendicular to the x-axis and the y-axis; Creating a first reference plane and a second reference plane in the three-dimensional space, respectively, wherein the first reference plane is parallel to the x-axis and the y-axis, and the second reference plane is parallel to the z-axis; Performing a fusion process on the two-dimensional size and the target thickness through the first reference plane and the second reference plane to generate the target three-dimensional size; The step of fusing the two-dimensional size and the target thickness through the first reference plane and the second reference plane to generate the target three-dimensional size includes: Creating a first plane in the first reference plane according to the two-dimensional size, and creating a second plane in the second reference plane according to the target thickness; Mapping a third plane corresponding to the first plane and a fourth plane corresponding to the second plane in the three-dimensional space respectively, and sequentially splicing the first plane, the second plane, the third plane and the fourth plane to generate a corresponding original geological model; Performing three-dimensional measurement on the original geological model to generate the target three-dimensional size accordingly; The step of fusing the target layer and the geological layer framework to render a corresponding geological layer model includes: When the geological layer framework is acquired, a frame contour corresponding to the geological layer framework is detected in real time, and a contour surface adapted to the frame contour is created; When it is detected that the target layer is filled into the interior of the geological layer frame, the contour surface and the target layer are fused to render the geological layer model accordingly; The step of fusing the contour surface and the target layer to render the geological layer model accordingly includes: Detecting the contour line corresponding to the target layer in real time, and determining in real time whether the contour line is in contact with the contour surface; If it is determined in real time that the contour line is in contact with the contour surface, the contact line generated when the contour line is in contact with the contour surface is detected in real time, and smoothing is performed at the contact line to complete the fusion between the contour surface and the target layer and render the geological layer model.

2. The three-dimensional model rendering method according to claim 1, characterized in that: The method further comprises: When it is detected in real time that the geological layer model rendering is completed, a target folder adapted to the geological layer model is generated, and the target folder is uploaded to a preset cloud server; A storage path corresponding to the target folder is generated in real time in the preset cloud server, and the storage path is sent to the mobile terminal of the user.

3. A three-dimensional model rendering system, characterized in that: Used to implement the three-dimensional model rendering method according to any one of claims 1 to 2, the system comprises: A collection module, for collecting geological information corresponding to the target area in real time upon receiving the target area input by the user, and extracting several geological layers corresponding to the target area from the geological information in real time; A detection module, used to detect the boundary line between each of the geological layers in real time, and detect the three-dimensional size of the target corresponding to each of the geological layers in real time based on the boundary line; A processing module, used for constructing a geological layer framework corresponding to each geological layer body according to the target three-dimensional size and a preset program, and adding a different target identifier to each geological layer framework; A rendering module is used to fill the corresponding target layer into each geological layer framework through the target identifier, and fuse the target layer and the geological layer framework to render a corresponding geological layer model. Each target layer is unique, and the target layer is a layered body with a regular shape.

4. A computer comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the three-dimensional model rendering method as described in any one of claims 1 to 2 is implemented.

5. A readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the three-dimensional model rendering method as described in any one of claims 1 to 2 is implemented.

Citation Information

Patent Citations

  • Model rendering method and device, computer equipment and storage medium

    CN114119848A

  • Three-dimensional geological model generation method and system

    CN117456122A