WO2023236465A1 - Display processing method and apparatus for geological analysis, device, and medium - Google Patents
Display processing method and apparatus for geological analysis, device, and medium Download PDFInfo
- Publication number
- WO2023236465A1 WO2023236465A1 PCT/CN2022/136133 CN2022136133W WO2023236465A1 WO 2023236465 A1 WO2023236465 A1 WO 2023236465A1 CN 2022136133 W CN2022136133 W CN 2022136133W WO 2023236465 A1 WO2023236465 A1 WO 2023236465A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- visible
- dimensional
- dimensional grid
- grid
- mesh
- Prior art date
Links
- 238000004458 analytical method Methods 0.000 title claims abstract description 52
- 238000003672 processing method Methods 0.000 title claims abstract description 27
- 238000000034 method Methods 0.000 claims abstract description 35
- 238000004590 computer program Methods 0.000 claims description 9
- 238000004891 communication Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 7
- 230000009286 beneficial effect Effects 0.000 description 5
- 230000035699 permeability Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
- G06T17/05—Geographic models
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating 3D models or images for computer graphics
- G06T19/20—Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
Definitions
- the present application relates to the field of data processing technology, and more specifically, to a display processing method, device, equipment and medium for geological analysis.
- the purpose of this application is to provide a display processing method, device, equipment and medium for geological analysis, by selecting visible three-dimensional grids for display processing, to solve the problem that the three-dimensional grid model cannot be displayed normally due to excessive data volume. .
- this application discloses a three-dimensional grid display processing method, including:
- the visible three-dimensional grid is selected for display processing according to the geological parameters, attribute values and its position in the three-dimensional grid. This not only effectively reduces the amount of data for display processing, but also The geological area is displayed in real time and normally, thereby solving the problem in the existing technology that the three-dimensional grid model cannot be displayed normally due to excessive data volume.
- the display processing method of geological analysis also includes:
- each visible three-dimensional grid determines whether each face in the visible three-dimensional grid is a visible face
- the display processing of the visible three-dimensional mesh in the three-dimensional mesh body includes:
- Display processing is performed on visible surfaces in the visible three-dimensional mesh in the three-dimensional mesh body.
- For each three-dimensional grid determine whether the three-dimensional grid is displayed in the three-dimensional grid model according to the geological parameters corresponding to the three-dimensional grid;
- the geological parameters and attribute values corresponding to the three-dimensional grids select visible ones from a plurality of the three-dimensional grids.
- 3D mesh including:
- the visible three-dimensional grid For each visible three-dimensional grid in the visible grid set, according to the attribute value corresponding to the visible three-dimensional grid, when it is determined that the visible three-dimensional grid is transparent, delete the visible transparent three-dimensional grid, and put the three-dimensional mesh adjacent to the visible transparent three-dimensional mesh as a visible three-dimensional mesh into the visible mesh set to determine the three-dimensional mesh adjacent to the visible transparent three-dimensional mesh whether it is transparent; or, according to the attribute value corresponding to the visible three-dimensional grid, when it is determined that the visible three-dimensional grid is opaque, the visible three-dimensional grid is deleted.
- determining whether each face in the visible three-dimensional mesh is a visible face includes:
- each visible three-dimensional mesh when it is determined that the visible three-dimensional mesh is transparent, it is determined that each face of the visible three-dimensional mesh is invisible.
- determining whether each face in the visible three-dimensional mesh is a visible face includes:
- the three-dimensional grid where the adjacent face is located is transparent. If the three-dimensional grid where the adjacent face is located is transparent, the face corresponding to the adjacent face is regarded as a visible face.
- determining whether each face in the visible three-dimensional mesh is a visible face includes:
- this application discloses a display processing device for geological analysis, including:
- An acquisition module is used to acquire a three-dimensional grid corresponding to the geological area to be analyzed, where the three-dimensional grid is composed of multiple three-dimensional grids;
- a setting module configured to set attribute values corresponding to the attributes of the geological parameters for each three-dimensional grid corresponding to the geological parameters according to the geological parameters in the geological area to be analyzed and the attributes corresponding to the geological parameters.
- a selection module configured to select a visible three-dimensional grid from a plurality of three-dimensional grids based on the position of each three-dimensional grid in the three-dimensional grid body and the geological parameters and attribute values corresponding to the three-dimensional grids. grid;
- a display processing module is used to display the visible three-dimensional mesh in the three-dimensional mesh body.
- the present application provides an electronic device, including: a processor, a memory, and a communication interface; the memory is used to store executable instructions of the processor; wherein the processor is configured to execute the executable instructions via Execute instructions to perform the display processing method of geological analysis described in the first aspect.
- the present application provides a readable storage medium on which a computer program is stored.
- the computer program is executed by a processor, the display processing method for geological analysis described in the first aspect is implemented.
- this application provides a display processing method, device, equipment and medium for geological analysis to obtain a three-dimensional grid corresponding to the geological area to be analyzed.
- the three-dimensional grid is composed of multiple three-dimensional grids; according to The geological parameters and the attributes corresponding to the geological parameters in the geological area to be analyzed are set for each three-dimensional grid corresponding to the geological parameters.
- the attribute values corresponding to the attributes of the geological parameters are set; according to each three-dimensional grid in the The position in the three-dimensional mesh, the geological parameters and attribute values corresponding to the three-dimensional mesh, select the visible three-dimensional mesh from multiple three-dimensional meshes; display and process the visible three-dimensional mesh in the three-dimensional mesh .
- this application selects visible three-dimensional grids based on the geological parameters, attribute values and their positions in the three-dimensional grid. Display processing is performed, which not only effectively reduces the amount of data for display processing, but also enables real-time and normal display of the geological area, thereby solving the problem in the existing technology that the three-dimensional grid model cannot be displayed normally due to excessive data volume. question.
- Figure 1 is a schematic diagram of the geological analysis system architecture suitable for the display processing method of geological analysis provided in this application;
- FIG. 2 is a schematic flow chart of Embodiment 1 of a geological analysis display processing method provided by this application;
- Figure 3 is a schematic flow chart of Embodiment 2 of a geological analysis display processing method provided by this application;
- Figure 4 is a schematic flow chart of Embodiment 3 of a geological analysis display processing method provided by this application;
- Figure 5 is a schematic flow chart of Embodiment 4 of a geological analysis display processing method provided by this application;
- Figure 6 is a schematic flow chart of Embodiment 5 of a geological analysis display processing method provided by this application.
- Figure 7 is a schematic structural diagram of an embodiment of a geological analysis display processing device provided by the present application.
- Figure 8 is a schematic structural diagram of another embodiment of a display processing device for geological analysis provided by this application.
- Figure 9 is a schematic structural diagram of an electronic device provided by this application.
- Visible 3D mesh When the user browses the 3D mesh outside the body of the 3D mesh, the 3D mesh located on the surface of the 3D mesh that can be seen by the user is called the visible 3D mesh.
- Triangular piece The three-dimensional mesh body is composed of multiple three-dimensional meshes, and each three-dimensional mesh is composed of 6 faces. Each surface of the 3D grid that is uploaded to the 3D display platform for display is called a triangle.
- the geological analysis system includes: a three-dimensional geological modeling device 11 , a geological analysis display processing device 12 and a three-dimensional display platform 13 .
- the three-dimensional geological modeling device 11 constructs a three-dimensional grid corresponding to the geological area to be analyzed, and all three-dimensional grids contained in the three-dimensional grid are uploaded to the three-dimensional display platform 13 for display.
- the display load of the graphics card of the three-dimensional display platform 13 mainly depends on the number of triangles submitted for rendering.
- the inventive concept of this application is: how to display the three-dimensional grid corresponding to the geological area to be analyzed in real time and normally, so as to avoid lagging and failure to display normally due to excessive data volume based on display processing. technical problem.
- FIG. 2 is a schematic flow chart of Embodiment 1 of a geological analysis display processing method provided by this application.
- the display processing method of this geological analysis specifically includes the following steps:
- Step S201 Obtain a three-dimensional grid corresponding to the geological area to be analyzed.
- the three-dimensional grid is composed of multiple three-dimensional grids.
- the three-dimensional geological modeling device 11 uses corner point grid modeling technology to construct the corresponding geological area to be analyzed by obtaining parameters such as the step size of the grid, the direction of the grid, fault lines, and layered data.
- the three-dimensional mesh body is composed of multiple three-dimensional meshes.
- the display processing device 12 for geological analysis can obtain the three-dimensional grid corresponding to the geological area to be analyzed through the three-dimensional geological modeling device 11 .
- Step S202 Based on the geological parameters in the geological area to be analyzed and the attributes corresponding to the geological parameters, set attribute values corresponding to the attributes of the geological parameters for each three-dimensional grid corresponding to the geological parameters.
- attribute model of the geological area to be analyzed.
- the attributes mentioned here include but are not limited to underground sedimentary phases, reservoir porosity, permeability, etc.
- attribute models are established, that is, sedimentary phase models, porosity models, permeability models, etc. of the geological area to be analyzed are formed.
- an attribute model is to reflect the distribution of geological parameters in the geological area to be analyzed, and the geological parameters correspond to the attributes.
- a porosity model is constructed to reflect the distribution of reservoir porosity in the area to be analyzed.
- the display processing device 12 of geological analysis sets, for each three-dimensional grid corresponding to a geological parameter, an attribute value corresponding to the attribute of the geological parameter.
- an attribute value corresponding to the attribute of the geological parameter For example, for a three-dimensional grid, The corresponding geological parameter is "reservoir porosity 0.05", then for this three-dimensional grid, set the attribute value "0.05" corresponding to the attribute "porosity”.
- these attributes can be assigned to the corresponding three-dimensional grid through the modeling interpolation algorithm, so that each three-dimensional grid on the three-dimensional grid can be assigned the corresponding attribute value, thus forming the corresponding attribute.
- Model. Interpolation algorithms include sequential Gaussian, indicator kriging, etc.
- Step S203 Select a visible three-dimensional grid from multiple three-dimensional grids based on the position of each three-dimensional grid in the three-dimensional grid body and the geological parameters and attribute values corresponding to the three-dimensional grid.
- Step S204 Display the visible three-dimensional mesh in the three-dimensional mesh.
- the display processing device 12 for geological analysis selects a three-dimensional grid located on the outer surface of the three-dimensional grid from multiple three-dimensional grids, and performs display processing, that is, only the surfaces included in the part of the three-dimensional grid visible to the user are displayed.
- the triangles are submitted to the graphics card of the three-dimensional display platform 13 for display, which effectively reduces the amount of data that the graphics card needs to process.
- the three-dimensional display platform 13 displays through the graphics engine Direct-Viewer, and the specific implementation is as follows:
- a three-dimensional grid corresponding to the geological area to be analyzed is obtained, and the three-dimensional grid is composed of multiple three-dimensional grids; according to the geological parameters in the geological area to be analyzed and the attributes corresponding to the geological parameters, For each three-dimensional grid corresponding to the geological parameter, set the attribute value corresponding to the attribute of the geological parameter; according to the position of each three-dimensional grid in the three-dimensional grid, the geological parameters corresponding to the three-dimensional grid, and Attribute value: select a visible three-dimensional grid from multiple three-dimensional grids; display the visible three-dimensional grid in the three-dimensional grid.
- this application selects visible three-dimensional grids based on the geological parameters, attribute values and their positions in the three-dimensional grid. Display processing is performed, which not only effectively reduces the amount of data for display processing, but also enables real-time and normal display of the geological area, thereby solving the problem in the existing technology that the three-dimensional grid model cannot be displayed normally due to excessive data volume. question.
- FIG 3 is a schematic flow chart of Embodiment 2 of a geological analysis display processing method provided by this application. Based on the embodiment shown in Figure 2 above, referring to Figure 3, the geological analysis display processing method specifically includes the following steps:
- Step S301 Obtain a three-dimensional grid corresponding to the geological area to be analyzed.
- the three-dimensional grid is composed of multiple three-dimensional grids.
- S301 is similar to S201 in Figure 2 and will not be described again here.
- Step S302 Based on the geological parameters in the geological area to be analyzed and the attributes corresponding to the geological parameters, set attribute values corresponding to the attributes of the geological parameters for each three-dimensional grid corresponding to the geological parameters.
- S302 is similar to S202 in Figure 2 and will not be described again here.
- Step S303 Select a visible three-dimensional grid from multiple three-dimensional grids based on the position of each three-dimensional grid in the three-dimensional grid body and the geological parameters and attribute values corresponding to the three-dimensional grid.
- Step S304 For each visible three-dimensional mesh, determine whether each face in the visible three-dimensional mesh is a visible face.
- Step S305 Display the visible surfaces in the visible three-dimensional grid in the three-dimensional grid.
- Each three-dimensional grid includes 6 faces. Specifically, for each visible three-dimensional grid, the faces that can be seen by the user are also located on the outer surface.
- the display processing device 12 for geological analysis determines for each visible three-dimensional grid whether each face in the visible three-dimensional grid is a visible face, and performs display processing on the visible face, that is, only The visible surfaces included in the visible three-dimensional grid are submitted to the graphics card of the three-dimensional display platform 13 for display as triangular slices, further reducing the amount of data that the graphics card needs to process.
- visible faces are selected from each visible three-dimensional grid for display processing, which further reduces the number of triangles uploaded to the three-dimensional display platform, that is, the amount of data that the graphics card needs to process, and more effectively solves the problem of data problems.
- the problem that the 3D mesh model cannot be displayed normally due to excessive volume is solved, so that the 3D mesh model can be displayed normally in real time.
- FIG. 4 is a schematic flow chart of Embodiment 3 of a geological analysis display processing method provided by this application. Based on the above-mentioned Figure 2 or Figure 3, referring to Figure 4, a specific implementation manner of the above-mentioned step S202 or S302 is:
- Step S401 For each three-dimensional grid, determine whether the three-dimensional grid is displayed in the three-dimensional grid model according to the geological parameters corresponding to the three-dimensional grid. If yes, execute S402; if not, execute S403.
- the display processing device 12 for geological analysis determines whether the three-dimensional grid is displayed in the three-dimensional grid model according to its corresponding geological parameters for each three-dimensional grid. For example, in the above example, based on the reservoir porosity value corresponding to the three-dimensional grid, it is determined whether the three-dimensional grid is displayed in the three-dimensional grid model. The three-dimensional grid with a reservoir porosity greater than 0.05 is displayed in the three-dimensional grid model. , three-dimensional grids with reservoir porosity less than 0.05 are not displayed in the three-dimensional grid model.
- Step S402 According to the geological parameters, assign corresponding effective attribute values to the three-dimensional grid.
- corresponding effective attribute values are assigned to the three-dimensional grid based on the geological parameters. For example, in the above example, if the reservoir porosity value of a three-dimensional grid is 0.08, and it is determined that the three-dimensional grid is displayed in the three-dimensional grid model, the corresponding effective attribute value is assigned to the three-dimensional grid, such as " 0.08".
- Step S403 Assign invalid attribute values to the three-dimensional grid.
- an invalid attribute value is assigned to the three-dimensional grid. For example, in the above example, if the reservoir porosity value of a three-dimensional grid is 0.03, it is determined that the three-dimensional grid is not displayed in the three-dimensional grid model, and the corresponding invalid attribute value is assigned to the three-dimensional grid, such as "null".
- the three-dimensional grid that is not displayed in the three-dimensional grid model will not be intuitively seen by the user, and it must not be a visible three-dimensional grid. Since the display processing device 12 for geological analysis selects a visible three-dimensional grid from multiple three-dimensional grids based on the geological parameters and attribute values corresponding to the three-dimensional grid, the three-dimensional grid that is not displayed in the three-dimensional grid model is Assigning invalid property values reduces the amount of visible 3D meshes.
- the geological parameters corresponding to the three-dimensional grid when it is determined that the three-dimensional grid is not displayed in the three-dimensional grid model, an invalid attribute value is assigned to it, which can simplify the number of visible three-dimensional grids and simplify the three-dimensional grids.
- the visible three-dimensional grid is submitted to the graphics card of the three-dimensional display platform 13 for display, which further reduces the amount of data that the graphics card needs to process, and more effectively solves the problem that the three-dimensional grid model cannot be displayed normally due to excessive data volume. Enables the 3D mesh model to be displayed normally in real time.
- FIG. 5 is a schematic flow chart of Embodiment 4 of a geological analysis display processing method provided by this application. Based on the above-mentioned Figure 2 or Figure 3, referring to Figure 5, a specific implementation method of the above-mentioned step S203 or S303 is:
- Step S501 Obtain the three-dimensional mesh with non-adjacent faces in the three-dimensional mesh body, use the three-dimensional mesh with non-adjacent faces as a visible three-dimensional mesh, and put the visible three-dimensional mesh into the pre-set Set the visible grid collection.
- the three-dimensional mesh with non-adjacent faces is generally the three-dimensional mesh located on the surface of the three-dimensional mesh body, and it is also the three-dimensional mesh that can be seen by the user.
- a visible mesh set S is set in advance, and three-dimensional meshes with non-adjacent faces are placed into the set S.
- Step S502 For each visible three-dimensional grid in the visible grid set, determine whether the visible three-dimensional grid is transparent according to the attribute value corresponding to the visible three-dimensional grid. If yes, execute S503; if not, execute S504.
- the corresponding attribute value may be a valid attribute value or an invalid attribute value.
- the attribute value corresponding to the visible three-dimensional grid is a valid attribute value
- the three-dimensional grid is displayed in the three-dimensional grid model and can be seen by the user, that is, the three-dimensional grid is opaque; when the visible three-dimensional grid
- the corresponding attribute value is an invalid attribute value
- the three-dimensional mesh is not displayed in the three-dimensional mesh model and cannot be seen by the user, that is, the three-dimensional mesh is transparent.
- the three-dimensional grid a in the set S is transparent, that is, whether the attribute value corresponding to the three-dimensional grid a is an invalid attribute value.
- Step S503 Delete the visible transparent three-dimensional grid, and put the three-dimensional grid adjacent to the visible transparent three-dimensional grid as a visible three-dimensional grid into the visible grid set to determine the relationship between the visible transparent three-dimensional grid and the visible three-dimensional grid. Whether the adjacent 3D meshes of the mesh are transparent. Finish.
- Step S504 Delete the visible three-dimensional mesh.
- the three-dimensional grid when it is determined that the visible three-dimensional grid is transparent, the three-dimensional grid will not be seen by the user, but through the transparent three-dimensional grid, the adjacent three-dimensional grid can be seen, so , the three-dimensional mesh adjacent to the visible transparent three-dimensional mesh should be put into the visible mesh set S as a visible three-dimensional mesh.
- the three-dimensional grid a in the set S is transparent, the three-dimensional grid a is deleted from the set S, and all three-dimensional grids b, c and d are put into the set S, and the marks of the three-dimensional grid b, c, and d are modified to "visible". If the three-dimensional grid a is opaque, just delete the three-dimensional grid a from the set S.
- the three-dimensional grid b, c, and d are transparent. If the three-dimensional grid b is transparent and the three-dimensional grid c and d are opaque, then the three-dimensional grid b, c, and d will be deleted from the set S and will be combined with the three-dimensional grid. b All adjacent three-dimensional grids e, f, and g marked as "invisible” are put into the set S, and the marks of the three-dimensional grids e, f, and g are modified to "visible", and then the three-dimensional grid is further judged. Whether grids e, f, and g are transparent, loop the above operations until the visible grid set S is an empty set. At this time, all three-dimensional grids that can be seen by the user are marked as "visible".
- the three-dimensional meshes located on the outer surface of the three-dimensional mesh are put into the visible mesh set.
- the three-dimensional meshes located on the outer surface may be transparent.
- the three-dimensional grids adjacent to the transparent grid are also put into the visible grid set, and finally all three-dimensional grids that can be seen by the user are obtained.
- all visible three-dimensional meshes in the three-dimensional mesh can be selected more accurately, without omitting the three-dimensional meshes that can be seen by the user. This reduces the amount of data uploaded to the three-dimensional display platform and further ensures that the user For the display requirements of the three-dimensional mesh model, the three-dimensional mesh model can be displayed in real time and normally.
- FIG. 6 is a schematic flow chart of Embodiment 5 of a geological analysis display processing method provided by this application. Based on the above-mentioned Figure 3, referring to Figure 6, a specific implementation method of the above-mentioned step S304 is:
- Step S601 For each visible three-dimensional mesh, determine whether the visible three-dimensional mesh is transparent. If yes, execute S602; if not, execute S603.
- Step S602 Determine that each face of the visible three-dimensional mesh is invisible.
- the attribute value corresponding to the visible three-dimensional grid is an invalid attribute value
- the three-dimensional grid is not displayed in the three-dimensional grid model and is not visible to the user. , so every face contained in the three-dimensional grid is not seen by the user, that is, invisible.
- Step S603 Determine whether each face of the visible three-dimensional mesh has an adjacent face. If so, execute S604; if not, execute S605.
- Step S604 Determine whether the three-dimensional grid where the adjacent surface is located is transparent. If the three-dimensional grid where the adjacent surface is located is transparent, use the surface corresponding to the adjacent surface as a visible surface. Finish.
- Step S605 Use the surface with no adjacent surface as a visible surface; for the surface with adjacent surface, determine whether the three-dimensional grid where the adjacent surface is located is transparent. If the three-dimensional grid where the adjacent surface is located is transparent, then The surface corresponding to the adjacent surface is regarded as the visible surface.
- the attribute value corresponding to the visible three-dimensional mesh is a valid attribute value
- the three-dimensional mesh is in the three-dimensional mesh. It is displayed in the grid model and can be seen by the user. At this time, it is necessary to determine whether each face included in the three-dimensional grid is visible.
- each face of the visible three-dimensional mesh has an adjacent face. If the face x of the three-dimensional mesh has an adjacent face y, then it is further determined whether the three-dimensional mesh where the adjacent face y is located is transparent. If If the three-dimensional grid where the adjacent face y is located is transparent, it means that the user can see the face x through the three-dimensional grid where the adjacent face y is located, that is, the face x is a visible face. Correspondingly, if the three-dimensional grid where the adjacent face y is located is not transparent, it means that the user cannot see the face x through the three-dimensional grid where the adjacent face y is located, that is, the face x is invisible.
- the face z included in the visible three-dimensional mesh does not have an adjacent face, it means that the face z is located on the outer surface of the three-dimensional mesh, can be seen by the user, and is a visible face.
- the visible faces in each visible three-dimensional mesh are determined based on whether the visible three-dimensional mesh is transparent and whether there are adjacent faces on each face included in the visible three-dimensional mesh, and only the visible faces are uploaded.
- the 3D display platform is used for display processing, which further reduces the amount of data that the graphics card needs to process, and more effectively solves the problem of the 3D grid model being unable to display normally due to excessive data volume, so that the 3D grid model can be displayed normally and in real time. displayed.
- FIG. 7 is a schematic structural diagram of an embodiment of a geological analysis display processing device provided by this application; as shown in Figure 7, the geological analysis display processing device 70 includes: an acquisition module 71, a setting module 72, a selection module 73 and a display processing Module 74.
- the acquisition module 71 is used to acquire a three-dimensional grid corresponding to the geological area to be analyzed, and the three-dimensional grid is composed of multiple three-dimensional grids.
- the setting module 72 is configured to set attribute values corresponding to the attributes of the geological parameters for each three-dimensional grid corresponding to the geological parameters according to the geological parameters in the geological area to be analyzed and the attributes corresponding to the geological parameters.
- the selection module 73 is used to select visible three-dimensional grids from multiple three-dimensional grids based on the position of each three-dimensional grid in the three-dimensional grid volume, the geological parameters and attribute values corresponding to the three-dimensional grids.
- the display processing module 74 is used to perform display processing on the visible three-dimensional mesh in the three-dimensional mesh body.
- the display processing device for geological analysis provided by the embodiments of the present application can execute the technical solutions shown in the above method embodiments.
- the implementation principles and beneficial effects are similar and will not be described again here.
- FIG 8 is a schematic structural diagram of another embodiment of a geological analysis display processing device provided by this application; as shown in Figure 8, the geological analysis display processing device 80 includes an acquisition module 81, a setting module 82, a selection module 83, a display processing module 84 and determination module 85.
- the determining module 85 is configured to determine, for each visible three-dimensional grid, whether each face in the visible three-dimensional grid is a visible face.
- the display processing module 84 is specifically configured to perform display processing on visible surfaces in the visible three-dimensional grid in the three-dimensional grid.
- the display processing device for geological analysis provided by the embodiments of the present application can execute the technical solutions shown in the above method embodiments.
- the implementation principles and beneficial effects are similar and will not be described again here.
- the setting module 82 is specifically configured to, for each three-dimensional grid, determine whether the three-dimensional grid is displayed in the three-dimensional grid model according to the geological parameters corresponding to the three-dimensional grid; if it is determined that the three-dimensional grid is displayed in the three-dimensional grid model, If the grid is displayed in the three-dimensional network model, then the corresponding effective attribute value is assigned to the three-dimensional grid according to the geological parameters; or, if it is determined that the three-dimensional grid is not displayed in the three-dimensional network model, then the three-dimensional network is Cell is assigned an invalid attribute value.
- the display processing device for geological analysis provided by the embodiments of the present application can execute the technical solutions shown in the above method embodiments.
- the implementation principles and beneficial effects are similar and will not be described again here.
- the selection module 83 is specifically configured to obtain a three-dimensional mesh with non-adjacent faces in the three-dimensional mesh body, and use the three-dimensional mesh with non-adjacent faces as a visible three-dimensional mesh. , and put the visible three-dimensional grid into the preset visible grid collection; for each visible three-dimensional grid in the visible grid collection, according to the attribute value corresponding to the visible three-dimensional grid, determine When the visible three-dimensional grid is transparent, delete the visible transparent three-dimensional grid, and put the three-dimensional grid adjacent to the visible transparent three-dimensional grid as a visible three-dimensional grid into the visible grid collection to determine Whether the three-dimensional grid adjacent to the visible transparent three-dimensional grid is transparent; or, according to the attribute value corresponding to the visible three-dimensional grid, when it is determined that the visible three-dimensional grid is opaque, the visible three-dimensional grid is deleted.
- the display processing device for geological analysis provided by the embodiments of the present application can execute the technical solutions shown in the above method embodiments.
- the implementation principles and beneficial effects are similar and will not be described again here.
- the determining module 85 is specifically configured to, for each visible three-dimensional mesh, determine that each face of the visible three-dimensional mesh is invisible when determining that the visible three-dimensional mesh is transparent. .
- the determination module 85 is specifically configured to, for each visible three-dimensional mesh, when determining that the visible three-dimensional mesh is opaque, determine whether there is a phase on each face of the visible three-dimensional mesh. Adjacent faces, and the faces without adjacent faces are regarded as visible faces; for faces with adjacent faces, determine whether the three-dimensional grid where the adjacent faces are located is transparent. If the three-dimensional grid where the adjacent faces are located is transparent, then The surface corresponding to the adjacent surface is regarded as the visible surface.
- the determination module 85 is specifically configured to determine that the visible three-dimensional mesh is opaque, and that each face of the visible three-dimensional mesh has adjacent faces, and determine the three-dimensional mesh where the adjacent faces are located. Whether the grid is transparent. If the three-dimensional grid where the adjacent face is located is transparent, the face corresponding to the adjacent face will be regarded as the visible face.
- the display processing device for geological analysis provided by the embodiments of the present application can execute the technical solutions shown in the above method embodiments.
- the implementation principles and beneficial effects are similar and will not be described again here.
- Figure 9 is a schematic structural diagram of an electronic device provided by this application.
- the electronic device 90 includes: a processor 91, a memory 92, and a communication interface 93; the memory 92 is used to store executable instructions of the processor 91; the processor 91 is configured to execute the executable instructions. Implement the technical solution in any of the foregoing method embodiments.
- the memory 92 can be independent or integrated with the processor 91 .
- the electronic device 90 may also include a bus 94 for connecting the above devices.
- the electronic device is used to execute the technical solutions in any of the foregoing method embodiments. Its implementation principles and technical effects are similar and will not be described again here.
- Embodiments of the present application also provide a readable storage medium on which a computer program is stored.
- the computer program is executed by a processor, the technical solution provided by any of the foregoing embodiments is implemented.
- Embodiments of the present application also provide a computer program product, which includes a computer program.
- the computer program When the computer program is executed by a processor, it is used to implement the technical solution provided by any of the foregoing method embodiments.
- the aforementioned program can be stored in a computer-readable storage medium.
- the steps including the above-mentioned method embodiments are executed; and the aforementioned storage media include: ROM, RAM, magnetic disks, optical disks and other media that can store program codes.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Software Systems (AREA)
- Computer Graphics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Geometry (AREA)
- Architecture (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Remote Sensing (AREA)
- Geophysics And Detection Of Objects (AREA)
Abstract
A display processing method and apparatus for geological analysis, a device, and a medium. The method comprises: obtaining a three-dimensional mesh object corresponding to a geological area to be analyzed, the three-dimensional mesh object consisting of a plurality of three-dimensional meshes (S201); according to a geological parameter in the geological area to be analyzed and an attribute corresponding to the geological parameter, setting an attribute value corresponding to the attribute of the geological parameter for each three-dimensional mesh corresponding to the geological parameter (S202); selecting a visible three-dimensional mesh from the plurality of three-dimensional meshes according to the position of each three-dimensional mesh in the three-dimensional mesh object and the geological parameter and the attribute value corresponding to the three-dimensional mesh (S203); and displaying the visible three-dimensional mesh in the three-dimensional mesh object (S204). The problem in the prior art that a three-dimensional mesh model cannot be normally displayed due to the fact that the data volume is too large is solved.
Description
本申请要求于2022年6月9日提交中国专利局、申请号为2022106476552,申请名称为“一种地质分析的显示处理方法、装置、设备及介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application requests the priority of the Chinese patent application submitted to the China Patent Office on June 9, 2022, with the application number 2022106476552 and the application title "A display processing method, device, equipment and medium for geological analysis", and its entire content incorporated herein by reference.
本申请涉及数据处理技术领域,更为具体地,涉及一种地质分析的显示处理方法、装置、设备及介质。The present application relates to the field of data processing technology, and more specifically, to a display processing method, device, equipment and medium for geological analysis.
在进行地质分析时,往往需要通过建立三维网格模型并进行显示来对一个区域的地质情况进行直观的展示。When conducting geological analysis, it is often necessary to intuitively display the geological conditions of an area by establishing a three-dimensional grid model and displaying it.
目前,通常通过搭建三维网格体来模拟待分析区域的三维结构,建立三维网格模型,之后将三维网格体包含的所有三维网格上传至三维显示平台进行显示。然而,这样会使三维显示平台需要处理的数据量超过其显卡的承受能力,导致显示上明显的卡顿,无法做到实时显示,甚至造成部分网格无法正常显示,难以满足用户的实际需求。Currently, it is common to build a three-dimensional mesh to simulate the three-dimensional structure of the area to be analyzed, establish a three-dimensional mesh model, and then upload all three-dimensional meshes contained in the three-dimensional mesh to a three-dimensional display platform for display. However, this will cause the amount of data that the 3D display platform needs to process exceeds the capacity of its graphics card, resulting in obvious display lags, inability to display in real time, and even causing some grids to be unable to display normally, making it difficult to meet the actual needs of users.
发明内容Contents of the invention
本申请的目的在于提供一种地质分析的显示处理方法、装置、设备及介质,通过选取可见的三维网格进行显示处理,解决因数据量过大而导致的三维网格模型无法正常显示的问题。The purpose of this application is to provide a display processing method, device, equipment and medium for geological analysis, by selecting visible three-dimensional grids for display processing, to solve the problem that the three-dimensional grid model cannot be displayed normally due to excessive data volume. .
第一方面,本申请公开了一种三维网格的显示处理方法,包括:In the first aspect, this application discloses a three-dimensional grid display processing method, including:
获取待分析的地质区域对应的三维网格体,所述三维网格体由多个三维网格构成;Obtain a three-dimensional grid corresponding to the geological area to be analyzed, where the three-dimensional grid is composed of multiple three-dimensional grids;
根据所述待分析的地质区域中的地质参数和地质参数对应的属性,为每个与所述地质参数对应的三维网格,设置与所述地质参数的属性对应的属性值;According to the geological parameters in the geological area to be analyzed and the attributes corresponding to the geological parameters, set attribute values corresponding to the attributes of the geological parameters for each three-dimensional grid corresponding to the geological parameters;
根据每个所述三维网格在所述三维网格体中的位置、所述三维网格对应的地质参数和属性值,从多个所述三维网格中选取可见的三维网格;Select a visible three-dimensional grid from a plurality of the three-dimensional grids according to the position of each three-dimensional grid in the three-dimensional grid volume, the geological parameters and attribute values corresponding to the three-dimensional grid;
对所述三维网格体中的可见的三维网格进行显示处理。Perform display processing on visible three-dimensional meshes in the three-dimensional mesh body.
基于上述技术内容,根据三维网格的地质参数、属性值以及其在三维网格体中的位置,选取可见的三维网格进行显示处理,从而不仅有效的减少了显示处理的数据量,还能够实时、正常的显示该地质区域,进而解决了现有技术中因数据量过大而导致的三维网格模型无法正常显示的问题。Based on the above technical content, the visible three-dimensional grid is selected for display processing according to the geological parameters, attribute values and its position in the three-dimensional grid. This not only effectively reduces the amount of data for display processing, but also The geological area is displayed in real time and normally, thereby solving the problem in the existing technology that the three-dimensional grid model cannot be displayed normally due to excessive data volume.
可选的,所述地质分析的显示处理方法,还包括:Optionally, the display processing method of geological analysis also includes:
针对每个可见的三维网格,确定所述可见的三维网格中的每个面是否为可见面;For each visible three-dimensional grid, determine whether each face in the visible three-dimensional grid is a visible face;
则所述对所述三维网格体中的可见的三维网格进行显示处理,包括:The display processing of the visible three-dimensional mesh in the three-dimensional mesh body includes:
对所述三维网格体中的可见的三维网格中的可见面进行显示处理。Display processing is performed on visible surfaces in the visible three-dimensional mesh in the three-dimensional mesh body.
可选的,所述根据所述待分析的地质区域中的地质参数和地质参数对应的属性,为每个与所述地质参数对应的三维网格,设置与所述地质参数的属性对应的属性值,包括:Optionally, according to the geological parameters in the geological area to be analyzed and the attributes corresponding to the geological parameters, for each three-dimensional grid corresponding to the geological parameters, set attributes corresponding to the attributes of the geological parameters. Values, including:
针对每个三维网格,根据所述三维网格对应的地质参数,确定所述三维网格是否在三维网格模型中显示;For each three-dimensional grid, determine whether the three-dimensional grid is displayed in the three-dimensional grid model according to the geological parameters corresponding to the three-dimensional grid;
若确定所述三维网格在所述三维网络模型中显示,则根据所述地质参数,为所述三维网格分配对应的有效的属性值;或者,若确定所述三维网格不在所述三维网络模型中显示,则为所述三维网格分配无效的属性值。If it is determined that the three-dimensional grid is displayed in the three-dimensional network model, corresponding effective attribute values are assigned to the three-dimensional grid according to the geological parameters; or, if it is determined that the three-dimensional grid is not displayed in the three-dimensional Displayed in the network model, the 3D mesh is assigned an invalid attribute value.
可选的,所述根据每个所述三维网格在所述三维网格体中的位置、所述三维网格对应的地质参数和属性值,从多个所述三维网格中选取可见的三维网格,包括:Optionally, based on the position of each of the three-dimensional grids in the three-dimensional grid body, the geological parameters and attribute values corresponding to the three-dimensional grids, select visible ones from a plurality of the three-dimensional grids. 3D mesh, including:
获取所述三维网格体中存在不相邻面的三维网格,并将所述存在不相邻面的三维网格作为可见的三维网格,并将所述可见的三维网格放入预先设置的可见网格集合中;Obtain the three-dimensional mesh with non-adjacent faces in the three-dimensional mesh body, use the three-dimensional mesh with non-adjacent faces as the visible three-dimensional mesh, and put the visible three-dimensional mesh into the pre-set In the set visible grid collection;
针对所述可见网格集合中的每个可见的三维网格,根据所述可见的三维网格对应的属性值,在确定所述可见的三维网格透明时,删除可见的透明三维网格,并将与所述可见的透明三维网格相邻的三维网格作为可见的三维网格放入所述可见网格集合中,以确定与所述可见的透明三维网格相邻的三维网格是否透明;或者,根据所述可见的三维网格对应的属性值,在确定所述可见的三维网格不透明时,删除所述可见的三维网格。For each visible three-dimensional grid in the visible grid set, according to the attribute value corresponding to the visible three-dimensional grid, when it is determined that the visible three-dimensional grid is transparent, delete the visible transparent three-dimensional grid, and put the three-dimensional mesh adjacent to the visible transparent three-dimensional mesh as a visible three-dimensional mesh into the visible mesh set to determine the three-dimensional mesh adjacent to the visible transparent three-dimensional mesh whether it is transparent; or, according to the attribute value corresponding to the visible three-dimensional grid, when it is determined that the visible three-dimensional grid is opaque, the visible three-dimensional grid is deleted.
可选的,所述针对每个可见的三维网格,确定所述可见的三维网格中的每个面是否为可见面,包括:Optionally, for each visible three-dimensional mesh, determining whether each face in the visible three-dimensional mesh is a visible face includes:
针对每个可见的三维网格,在确定所述可见的三维网格为透明时,确定所述可见的三维网格的每个面均不可见。For each visible three-dimensional mesh, when it is determined that the visible three-dimensional mesh is transparent, it is determined that each face of the visible three-dimensional mesh is invisible.
可选的,所述针对每个可见的三维网格,确定所述可见的三维网格中的每个面是否为可见面,包括:Optionally, for each visible three-dimensional mesh, determining whether each face in the visible three-dimensional mesh is a visible face includes:
针对每个可见的三维网格,在确定所述可见的三维网格为不透明时,确定所述可见的三维网格的每个面是否存在相邻面,并将不存在相邻面的面作为可见面;For each visible three-dimensional mesh, when it is determined that the visible three-dimensional mesh is opaque, determine whether there are adjacent faces on each face of the visible three-dimensional mesh, and use the faces without adjacent faces as can meet;
针对存在相邻面的面,分别确定所述相邻面所在的三维网格是否透明,若相邻面所在的三维网格透明,则将所述相邻面对应的面作为可见面。For faces with adjacent faces, it is determined whether the three-dimensional grid where the adjacent face is located is transparent. If the three-dimensional grid where the adjacent face is located is transparent, the face corresponding to the adjacent face is regarded as a visible face.
可选的,所述针对每个可见的三维网格,确定所述可见的三维网格中的每个面是否为可见面,包括:Optionally, for each visible three-dimensional mesh, determining whether each face in the visible three-dimensional mesh is a visible face includes:
确定所述可见的三维网格为不透明,且所述可见的三维网格的每个面都存在相邻面,确定相邻面所在的三维网格是否透明,若相邻面所在的三维网格透明,则将所述相邻面对应的面作为可见面。Determine that the visible three-dimensional grid is opaque, and each face of the visible three-dimensional grid has adjacent faces. Determine whether the three-dimensional grid where the adjacent face is located is transparent. If the three-dimensional mesh where the adjacent face is located is If transparent, the surface corresponding to the adjacent surface is regarded as the visible surface.
第二方面,本申请公开了一种地质分析的显示处理装置,包括:In a second aspect, this application discloses a display processing device for geological analysis, including:
获取模块,用于获取待分析的地质区域对应的三维网格体,所述三维网格体由多个三维网格构成;An acquisition module is used to acquire a three-dimensional grid corresponding to the geological area to be analyzed, where the three-dimensional grid is composed of multiple three-dimensional grids;
设置模块,用于根据所述待分析的地质区域中的地质参数和地质参数对应的属性,为每个与所述地质参数对应的三维网格,设置与所述地质参数的属性对应的属性值;A setting module configured to set attribute values corresponding to the attributes of the geological parameters for each three-dimensional grid corresponding to the geological parameters according to the geological parameters in the geological area to be analyzed and the attributes corresponding to the geological parameters. ;
选取模块,用于根据每个所述三维网格在所述三维网格体中的位置、所述三维网格对应的地质参数和属性值,从多个所述三维网格中选取可见的三维网格;A selection module configured to select a visible three-dimensional grid from a plurality of three-dimensional grids based on the position of each three-dimensional grid in the three-dimensional grid body and the geological parameters and attribute values corresponding to the three-dimensional grids. grid;
显示处理模块,用于对所述三维网格体中的可见的三维网格进行显示处理。A display processing module is used to display the visible three-dimensional mesh in the three-dimensional mesh body.
第三方面,本申请提供一种电子设备,包括:处理器,存储器,通信接口;所述存储器用于存储所述处理器的可执行指令;其中,所述处理器配置为经由执行所述可执行指令来执行第一方面所述的地质分析的显示处理方法。In a third aspect, the present application provides an electronic device, including: a processor, a memory, and a communication interface; the memory is used to store executable instructions of the processor; wherein the processor is configured to execute the executable instructions via Execute instructions to perform the display processing method of geological analysis described in the first aspect.
第四方面,本申请提供一种可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现第一方面所述的地质分析的显示处理方法。In a fourth aspect, the present application provides a readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the display processing method for geological analysis described in the first aspect is implemented.
结合上述技术方案,本申请提供一种地质分析的显示处理方法、装置、设备及介质,获取待分析的地质区域对应的三维网格体,该三维网格体由多个三维网格构成;根据该待分析的地质区域中的地质参数和地质参数对应的属性,为每个与该地质参数对应的三维网格,设置与该地质参数的属性对应的属性值;根据每个三维网格在该三维网格体中的位置、该三维网格对应的地质参数和属性值,从多个三维网格中选取可见的三维网格;对该三维网格体中的可见的三维网格进行显示处理。相较于现有技术将三维网格体包含的所有三维网格进行显示处理,本申请根据三维网格的地质参数、属性值以及其在三维网格体中的位置,选取可见的三维网格进行显示处理,从而不仅有效的减少了显示处理的数据量,还能够实时、正常的显示该地质区域,进而解决了现有技术中因数据量过大而导致的三维网格模型无法正常显示的问题。Combined with the above technical solution, this application provides a display processing method, device, equipment and medium for geological analysis to obtain a three-dimensional grid corresponding to the geological area to be analyzed. The three-dimensional grid is composed of multiple three-dimensional grids; according to The geological parameters and the attributes corresponding to the geological parameters in the geological area to be analyzed are set for each three-dimensional grid corresponding to the geological parameters. The attribute values corresponding to the attributes of the geological parameters are set; according to each three-dimensional grid in the The position in the three-dimensional mesh, the geological parameters and attribute values corresponding to the three-dimensional mesh, select the visible three-dimensional mesh from multiple three-dimensional meshes; display and process the visible three-dimensional mesh in the three-dimensional mesh . Compared with the existing technology that displays all three-dimensional grids contained in a three-dimensional grid, this application selects visible three-dimensional grids based on the geological parameters, attribute values and their positions in the three-dimensional grid. Display processing is performed, which not only effectively reduces the amount of data for display processing, but also enables real-time and normal display of the geological area, thereby solving the problem in the existing technology that the three-dimensional grid model cannot be displayed normally due to excessive data volume. question.
图1为适用于本申请提供的地质分析的显示处理方法的地质分析系统架构示意图;Figure 1 is a schematic diagram of the geological analysis system architecture suitable for the display processing method of geological analysis provided in this application;
图2为本申请提供的一种地质分析的显示处理方法实施例一的流程示意图;Figure 2 is a schematic flow chart of Embodiment 1 of a geological analysis display processing method provided by this application;
图3为本申请提供的一种地质分析的显示处理方法实施例二的流程示意图;Figure 3 is a schematic flow chart of Embodiment 2 of a geological analysis display processing method provided by this application;
图4为本申请提供的一种地质分析的显示处理方法实施例三的流程示意图;Figure 4 is a schematic flow chart of Embodiment 3 of a geological analysis display processing method provided by this application;
图5为本申请提供的一种地质分析的显示处理方法实施例四的流程示意图;Figure 5 is a schematic flow chart of Embodiment 4 of a geological analysis display processing method provided by this application;
图6为本申请提供的一种地质分析的显示处理方法实施例五的流程示意图;Figure 6 is a schematic flow chart of Embodiment 5 of a geological analysis display processing method provided by this application;
图7为本申请提供的一种地质分析的显示处理装置实施例的结构示意图;Figure 7 is a schematic structural diagram of an embodiment of a geological analysis display processing device provided by the present application;
图8为本申请提供的另一种地质分析的显示处理装置实施例的结构示意图;Figure 8 is a schematic structural diagram of another embodiment of a display processing device for geological analysis provided by this application;
图9为本申请提供的一种电子设备的结构示意图。Figure 9 is a schematic structural diagram of an electronic device provided by this application.
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在根据本实施例的启示下作出的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments These are part of the embodiments of this application, but not all of them. Based on the embodiments in this application, all other embodiments made by those of ordinary skill in the art based on the inspiration of this embodiment fall within the scope of protection of this application.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if present) in the description and claims of this application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used for Describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the application described herein can be practiced in sequences other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, e.g., a process, method, system, product, or apparatus that encompasses a series of steps or units and need not be limited to those explicitly listed. Those steps or elements may instead include other steps or elements not expressly listed or inherent to the process, method, product or apparatus.
首先对本申请所涉及的名词进行解释:First, the terms involved in this application will be explained:
可见的三维网格:用户在三维网格体外浏览三维网格体时,位于三维网格体外表面能够被用户看到的三维网格,称为可见的三维网格。Visible 3D mesh: When the user browses the 3D mesh outside the body of the 3D mesh, the 3D mesh located on the surface of the 3D mesh that can be seen by the user is called the visible 3D mesh.
三角片:三维网格体由多个三维网格组成,每个三维网格由6个面组成。每个被上传至三维显示平台进行显示的三维网格的面,称为三角片。Triangular piece: The three-dimensional mesh body is composed of multiple three-dimensional meshes, and each three-dimensional mesh is composed of 6 faces. Each surface of the 3D grid that is uploaded to the 3D display platform for display is called a triangle.
本申请提供的地质分析的显示处理方法,可以适用于图1所示的地质分析系统架构示意图。如图1所示,该地质分析系统包括:三维地质建模装置11、地质分析的显示处理装置12和三维显示平台13。三维地质建模装置11构建待分析的地质区域对应的三维网格体,三维网格体包含的所有三维网格都被上传至三维显示平台13进行显示。而三维显示平台13的显卡的显示负载主要在于提交渲染的三角片的数量,如果把所有网格都被上传至三维显示平台13,也就是把三维网格体包含的所有面都作为三角片都提交给显卡,则三角片的数量很容易超过当前显卡的承受能力,显示上会明显地卡顿,无法做到实时显示,甚至造成部分网格无法正常显示,难以满足用户的实际需求。The display processing method of geological analysis provided by this application can be applied to the schematic diagram of the geological analysis system architecture shown in Figure 1. As shown in Figure 1 , the geological analysis system includes: a three-dimensional geological modeling device 11 , a geological analysis display processing device 12 and a three-dimensional display platform 13 . The three-dimensional geological modeling device 11 constructs a three-dimensional grid corresponding to the geological area to be analyzed, and all three-dimensional grids contained in the three-dimensional grid are uploaded to the three-dimensional display platform 13 for display. The display load of the graphics card of the three-dimensional display platform 13 mainly depends on the number of triangles submitted for rendering. If all meshes are uploaded to the three-dimensional display platform 13, that is, all the faces included in the three-dimensional mesh will be treated as triangles. If submitted to the graphics card, the number of triangles will easily exceed the current graphics card's capacity, and the display will be obviously stuck, making it impossible to display in real time, and even causing some grids to not be displayed normally, making it difficult to meet the actual needs of users.
基于上述技术问题,本申请的发明构思在于:如何对待分析的地质区域对应的三维网格体进行实时、正常地显示,以避免基于显示处理的数据量过大而导致卡顿,无法正常显示的技术问题。Based on the above technical problems, the inventive concept of this application is: how to display the three-dimensional grid corresponding to the geological area to be analyzed in real time and normally, so as to avoid lagging and failure to display normally due to excessive data volume based on display processing. technical problem.
下面,通过具体实施例对本申请的技术方案进行详细说明。需要说明的是,下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。Below, the technical solution of the present application will be described in detail through specific embodiments. It should be noted that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.
图2为本申请提供的一种地质分析的显示处理方法实施例一的流程示意图。参见图2,该地质分析的显示处理方法具体包括以下步骤:Figure 2 is a schematic flow chart of Embodiment 1 of a geological analysis display processing method provided by this application. Referring to Figure 2, the display processing method of this geological analysis specifically includes the following steps:
步骤S201:获取待分析的地质区域对应的三维网格体,该三维网格体由多个三维网格构成。Step S201: Obtain a three-dimensional grid corresponding to the geological area to be analyzed. The three-dimensional grid is composed of multiple three-dimensional grids.
在本实施例中,三维地质建模装置11采用角点网格建模技术,通过获取网格的步长、网格的方向、断层线、分层数据等参数,构建待分析的地质区域对应的三维网格体,三维网格体由多个三维网格构成。另外,地质分析的显示处理装置12可以通过三维地质建模装置11获取该待分析的地质区域对应的三维网格体。In this embodiment, the three-dimensional geological modeling device 11 uses corner point grid modeling technology to construct the corresponding geological area to be analyzed by obtaining parameters such as the step size of the grid, the direction of the grid, fault lines, and layered data. The three-dimensional mesh body is composed of multiple three-dimensional meshes. In addition, the display processing device 12 for geological analysis can obtain the three-dimensional grid corresponding to the geological area to be analyzed through the three-dimensional geological modeling device 11 .
步骤S202:根据该待分析的地质区域中的地质参数和地质参数对应的属性,为每个与该地质参数对应的三维网格,设置与该地质参数的属性对应的属性值。Step S202: Based on the geological parameters in the geological area to be analyzed and the attributes corresponding to the geological parameters, set attribute values corresponding to the attributes of the geological parameters for each three-dimensional grid corresponding to the geological parameters.
在进行地质分析时,需要建立待分析地质区域的属性模型,这里所说的属性,包括但不限于地下沉积相、储层孔隙度、渗透率等。相应地,建立属性模型,即形成待分析地质区域的沉积相模型、孔隙度模型、渗透率模型等。When conducting geological analysis, it is necessary to establish an attribute model of the geological area to be analyzed. The attributes mentioned here include but are not limited to underground sedimentary phases, reservoir porosity, permeability, etc. Correspondingly, attribute models are established, that is, sedimentary phase models, porosity models, permeability models, etc. of the geological area to be analyzed are formed.
另外,需要说明的是,建立属性模型的目的,是要体现该待分析地质区域的地质参数的分布情况,地质参数与属性相对应。例如构建孔隙度模型,就是为了反映待分析区域的储层孔隙度的分布情况。In addition, it should be noted that the purpose of establishing an attribute model is to reflect the distribution of geological parameters in the geological area to be analyzed, and the geological parameters correspond to the attributes. For example, a porosity model is constructed to reflect the distribution of reservoir porosity in the area to be analyzed.
在本实施例中,为了建立属性模型,地质分析的显示处理装置12为每个与地质参数对应的三维网格,设置与该地质参数的属性对应的属性值,例如,针对一个三维网格,其对应的地质参数为“储层孔隙度0.05”,则为该三维网格,设置与属性“孔隙度”对应的属性值“0.05”。In this embodiment, in order to establish an attribute model, the display processing device 12 of geological analysis sets, for each three-dimensional grid corresponding to a geological parameter, an attribute value corresponding to the attribute of the geological parameter. For example, for a three-dimensional grid, The corresponding geological parameter is "reservoir porosity 0.05", then for this three-dimensional grid, set the attribute value "0.05" corresponding to the attribute "porosity".
具体地,可以通过建模的插值算法将这些属性赋值到对应的三维网格上,这样三维网格体上的每个三维网格就能分配到对应的属性值,也就形成了对应的属性模型。插值算法包括序贯高斯、指示克里金等。Specifically, these attributes can be assigned to the corresponding three-dimensional grid through the modeling interpolation algorithm, so that each three-dimensional grid on the three-dimensional grid can be assigned the corresponding attribute value, thus forming the corresponding attribute. Model. Interpolation algorithms include sequential Gaussian, indicator kriging, etc.
步骤S203:根据每个三维网格在该三维网格体中的位置、该三维网格对应的地质参数和属性值,从多个三维网格中选取可见的三维网格。Step S203: Select a visible three-dimensional grid from multiple three-dimensional grids based on the position of each three-dimensional grid in the three-dimensional grid body and the geological parameters and attribute values corresponding to the three-dimensional grid.
步骤S204:对该三维网格体中的可见的三维网格进行显示处理。Step S204: Display the visible three-dimensional mesh in the three-dimensional mesh.
用户在三维网格体外浏览三维网格体时,只能看到位于三维网格体外表面的三维网格,这部分网格被称为可见的三维网格。When users browse the 3D mesh outside the 3D mesh body, they can only see the 3D mesh located on the surface of the 3D mesh body. This part of the mesh is called the visible 3D mesh.
在本实施例中,地质分析的显示处理装置12从多个三维网格中选取位于三维网格体外表面的三维网格,并进行显示处理,即仅把用户可见的部分三维网格包含的面作为三角片提交给三维显示平台13的显卡进行显示,有效减少了显卡需要处理的数据量。In this embodiment, the display processing device 12 for geological analysis selects a three-dimensional grid located on the outer surface of the three-dimensional grid from multiple three-dimensional grids, and performs display processing, that is, only the surfaces included in the part of the three-dimensional grid visible to the user are displayed. The triangles are submitted to the graphics card of the three-dimensional display platform 13 for display, which effectively reduces the amount of data that the graphics card needs to process.
具体地,三维显示平台13通过图形引擎Direct-Viewer进行显示,具体实现如下:Specifically, the three-dimensional display platform 13 displays through the graphics engine Direct-Viewer, and the specific implementation is as follows:
在本实施例中,获取待分析的地质区域对应的三维网格体,该三维网格体由多个三维网格构成;根据该待分析的地质区域中的地质参数和地质参数对应的属性,为每个与该地质参数对应的三维网格,设置与该地质参数的属性对应的属性值;根据每个三维网格在该三维网格体中的位置、该三维网格对应的地质参数和属性值,从多个三维网格中选取可见的三维网格;对该三维网格体中的可见的三维网格进行显示处理。相较于现有技术将三维网格体包含的所有三维网格进行显示处理,本申请根据三维网格的地质参数、属性值以及其在三维网格体中的位置,选取可见的三维网格进行显示处理,从而不仅有效的减少了显示处理的数据量,还能够实时、正常的显示该地质区域,进而解决了现有技术中因数据量过大而导致的三维网格模型无法正常显示的问题。In this embodiment, a three-dimensional grid corresponding to the geological area to be analyzed is obtained, and the three-dimensional grid is composed of multiple three-dimensional grids; according to the geological parameters in the geological area to be analyzed and the attributes corresponding to the geological parameters, For each three-dimensional grid corresponding to the geological parameter, set the attribute value corresponding to the attribute of the geological parameter; according to the position of each three-dimensional grid in the three-dimensional grid, the geological parameters corresponding to the three-dimensional grid, and Attribute value: select a visible three-dimensional grid from multiple three-dimensional grids; display the visible three-dimensional grid in the three-dimensional grid. Compared with the existing technology that displays all three-dimensional grids contained in a three-dimensional grid, this application selects visible three-dimensional grids based on the geological parameters, attribute values and their positions in the three-dimensional grid. Display processing is performed, which not only effectively reduces the amount of data for display processing, but also enables real-time and normal display of the geological area, thereby solving the problem in the existing technology that the three-dimensional grid model cannot be displayed normally due to excessive data volume. question.
图3为本申请提供的一种地质分析的显示处理方法实施例二的流程示意图,在上述图 2所示实施例的基础上,参见图3,该地质分析的显示处理方法具体包括以下步骤:Figure 3 is a schematic flow chart of Embodiment 2 of a geological analysis display processing method provided by this application. Based on the embodiment shown in Figure 2 above, referring to Figure 3, the geological analysis display processing method specifically includes the following steps:
步骤S301:获取待分析的地质区域对应的三维网格体,该三维网格体由多个三维网格构成。Step S301: Obtain a three-dimensional grid corresponding to the geological area to be analyzed. The three-dimensional grid is composed of multiple three-dimensional grids.
应理解,S301的具体实现方式与图2中的S201类似,此处不做赘述。It should be understood that the specific implementation of S301 is similar to S201 in Figure 2 and will not be described again here.
步骤S302:根据该待分析的地质区域中的地质参数和地质参数对应的属性,为每个与该地质参数对应的三维网格,设置与该地质参数的属性对应的属性值。Step S302: Based on the geological parameters in the geological area to be analyzed and the attributes corresponding to the geological parameters, set attribute values corresponding to the attributes of the geological parameters for each three-dimensional grid corresponding to the geological parameters.
应理解,S302的具体实现方式与图2中的S202类似,此处不做赘述。It should be understood that the specific implementation of S302 is similar to S202 in Figure 2 and will not be described again here.
步骤S303:根据每个三维网格在该三维网格体中的位置、该三维网格对应的地质参数和属性值,从多个三维网格中选取可见的三维网格。Step S303: Select a visible three-dimensional grid from multiple three-dimensional grids based on the position of each three-dimensional grid in the three-dimensional grid body and the geological parameters and attribute values corresponding to the three-dimensional grid.
应理解,S303的具体实现方式与图2中的S203类似,此处不做赘述。It should be understood that the specific implementation of S303 is similar to S203 in Figure 2 and will not be described again here.
步骤S304:针对每个可见的三维网格,确定该可见的三维网格中的每个面是否为可见面。Step S304: For each visible three-dimensional mesh, determine whether each face in the visible three-dimensional mesh is a visible face.
步骤S305:对该三维网格体中的可见的三维网格中的可见面进行显示处理。Step S305: Display the visible surfaces in the visible three-dimensional grid in the three-dimensional grid.
用户在三维网格体外浏览三维网格体时,只能看到位于三维网格体外表面的三维网格,即可见的三维网格。而每个三维网格包括6个面,具体到每个可见的三维网格,其能被用户看到的也是位于外表面的面。When users browse the 3D mesh outside the 3D mesh body, they can only see the 3D mesh located on the surface of the 3D mesh body, that is, the visible 3D mesh. Each three-dimensional grid includes 6 faces. Specifically, for each visible three-dimensional grid, the faces that can be seen by the user are also located on the outer surface.
在本实施例中,地质分析的显示处理装置12针对每个可见的三维网格,确定该可见的三维网格中的每个面是否为可见面,并对可见面进行显示处理,即仅把可见的三维网格包含的可见面作为三角片提交给三维显示平台13的显卡进行显示,进一步减少了显卡需要处理的数据量。In this embodiment, the display processing device 12 for geological analysis determines for each visible three-dimensional grid whether each face in the visible three-dimensional grid is a visible face, and performs display processing on the visible face, that is, only The visible surfaces included in the visible three-dimensional grid are submitted to the graphics card of the three-dimensional display platform 13 for display as triangular slices, further reducing the amount of data that the graphics card needs to process.
在本实施例中,从每个可见的三维网格中选取可见面进行显示处理,进一步减少了上传至三维显示平台三角片的数量,即显卡需要处理的数据量,更加有效地解决了因数据量过大而导致的三维网格模型无法正常显示的问题,使三维网格模型能够实时、正常地显示。In this embodiment, visible faces are selected from each visible three-dimensional grid for display processing, which further reduces the number of triangles uploaded to the three-dimensional display platform, that is, the amount of data that the graphics card needs to process, and more effectively solves the problem of data problems. The problem that the 3D mesh model cannot be displayed normally due to excessive volume is solved, so that the 3D mesh model can be displayed normally in real time.
图4为本申请提供的一种地质分析的显示处理方法实施例三的流程示意图。在上述图2或图3的基础上,参见图4,上述步骤S202或S302的一种具体实现方式为:Figure 4 is a schematic flow chart of Embodiment 3 of a geological analysis display processing method provided by this application. Based on the above-mentioned Figure 2 or Figure 3, referring to Figure 4, a specific implementation manner of the above-mentioned step S202 or S302 is:
步骤S401:针对每个三维网格,根据该三维网格对应的地质参数,确定该三维网格是否在三维网格模型中显示。若是,则执行S402;若否,则执行S403。Step S401: For each three-dimensional grid, determine whether the three-dimensional grid is displayed in the three-dimensional grid model according to the geological parameters corresponding to the three-dimensional grid. If yes, execute S402; if not, execute S403.
在进行地质分析的过程中,需要关注待分析地质区域的地质参数的分布情况,例如需要着重观察储层孔隙度大于0.05的三维网格的分布情况,那么就需要将储层孔隙度值小于等于0.05的三维网格隐藏不显示。In the process of geological analysis, it is necessary to pay attention to the distribution of geological parameters in the geological area to be analyzed. For example, if it is necessary to focus on observing the distribution of three-dimensional grids with reservoir porosity greater than 0.05, then it is necessary to set the reservoir porosity value to less than or equal to The 0.05 three-dimensional grid is hidden and not displayed.
在本实施例中,为实现上述需求,地质分析的显示处理装置12针对每个三维网格,根据其对应的地质参数,确定该三维网格是否在三维网格模型中显示。例如,在上述示例中,根据三维网格对应的储层孔隙度值,确定该三维网格是否在三维网格模型中显示,储层孔隙度大于0.05的三维网格在三维网格模型中显示,储层孔隙度小于0.05的三维网格不在三维网格模型中显示。In this embodiment, in order to achieve the above requirements, the display processing device 12 for geological analysis determines whether the three-dimensional grid is displayed in the three-dimensional grid model according to its corresponding geological parameters for each three-dimensional grid. For example, in the above example, based on the reservoir porosity value corresponding to the three-dimensional grid, it is determined whether the three-dimensional grid is displayed in the three-dimensional grid model. The three-dimensional grid with a reservoir porosity greater than 0.05 is displayed in the three-dimensional grid model. , three-dimensional grids with reservoir porosity less than 0.05 are not displayed in the three-dimensional grid model.
步骤S402:根据该地质参数,为该三维网格分配对应的有效的属性值。Step S402: According to the geological parameters, assign corresponding effective attribute values to the three-dimensional grid.
在本实施例中,若确定该三维网格在三维网络模型中显示,则根据该地质参数,为该三维网格分配对应的有效的属性值。例如,在上述示例中,若一个三维网格的储层孔隙度值为0.08,确定该三维网格在三维网格模型中显示,则为该三维网格分配对应的有效的属 性值,例如“0.08”。In this embodiment, if it is determined that the three-dimensional grid is displayed in the three-dimensional network model, corresponding effective attribute values are assigned to the three-dimensional grid based on the geological parameters. For example, in the above example, if the reservoir porosity value of a three-dimensional grid is 0.08, and it is determined that the three-dimensional grid is displayed in the three-dimensional grid model, the corresponding effective attribute value is assigned to the three-dimensional grid, such as " 0.08".
步骤S403:为该三维网格分配无效的属性值。Step S403: Assign invalid attribute values to the three-dimensional grid.
在本实施例中,若确定该三维网格不在三维网络模型中显示,则为该三维网格分配无效的属性值。例如,在上述示例中,若一个三维网格的储层孔隙度值为0.03,确定该三维网格在三维网格模型中不显示,则为该三维网格分配对应的无效的属性值,例如“空”。In this embodiment, if it is determined that the three-dimensional grid is not displayed in the three-dimensional network model, an invalid attribute value is assigned to the three-dimensional grid. For example, in the above example, if the reservoir porosity value of a three-dimensional grid is 0.03, it is determined that the three-dimensional grid is not displayed in the three-dimensional grid model, and the corresponding invalid attribute value is assigned to the three-dimensional grid, such as "null".
不在三维网格模型中显示的三维网格,也是不会被用户直观看到的,也就必然不是可见的三维网格。由于地质分析的显示处理装置12是根据三维网格对应的地质参数和属性值,从多个三维网格中选取可见的三维网格的,因此通过给不在三维网格模型中显示的三维网格分配无效的属性值,能够精简可见的三维网格的数量。The three-dimensional grid that is not displayed in the three-dimensional grid model will not be intuitively seen by the user, and it must not be a visible three-dimensional grid. Since the display processing device 12 for geological analysis selects a visible three-dimensional grid from multiple three-dimensional grids based on the geological parameters and attribute values corresponding to the three-dimensional grid, the three-dimensional grid that is not displayed in the three-dimensional grid model is Assigning invalid property values reduces the amount of visible 3D meshes.
本实施例中,根据三维网格对应的地质参数,在确定该三维网格不在三维网格模型中显示时,为其分配无效的属性值,能够精简可见的三维网格的数量,把精简后的可见的三维网格提交给三维显示平台13的显卡进行显示,进一步减少了显卡需要处理的数据量,更加有效地解决了因数据量过大而导致的三维网格模型无法正常显示的问题,使三维网格模型能够实时、正常地显示。In this embodiment, according to the geological parameters corresponding to the three-dimensional grid, when it is determined that the three-dimensional grid is not displayed in the three-dimensional grid model, an invalid attribute value is assigned to it, which can simplify the number of visible three-dimensional grids and simplify the three-dimensional grids. The visible three-dimensional grid is submitted to the graphics card of the three-dimensional display platform 13 for display, which further reduces the amount of data that the graphics card needs to process, and more effectively solves the problem that the three-dimensional grid model cannot be displayed normally due to excessive data volume. Enables the 3D mesh model to be displayed normally in real time.
图5为本申请提供的一种地质分析的显示处理方法实施例四的流程示意图。在上述图2或图3的基础上,参见图5,上述步骤S203或S303的一种具体实现方式为:Figure 5 is a schematic flow chart of Embodiment 4 of a geological analysis display processing method provided by this application. Based on the above-mentioned Figure 2 or Figure 3, referring to Figure 5, a specific implementation method of the above-mentioned step S203 or S303 is:
步骤S501:获取该三维网格体中存在不相邻面的三维网格,并将该存在不相邻面的三维网格作为可见的三维网格,并将该可见的三维网格放入预先设置的可见网格集合中。Step S501: Obtain the three-dimensional mesh with non-adjacent faces in the three-dimensional mesh body, use the three-dimensional mesh with non-adjacent faces as a visible three-dimensional mesh, and put the visible three-dimensional mesh into the pre-set Set the visible grid collection.
在三维网格体中,存在不相邻面的三维网格一般是位于三维网格体外表面的三维网格,也是能够被用户看到的三维网格。In a three-dimensional mesh, the three-dimensional mesh with non-adjacent faces is generally the three-dimensional mesh located on the surface of the three-dimensional mesh body, and it is also the three-dimensional mesh that can be seen by the user.
在本实施例中,预先设置可见网格集合S,将存在不相邻面的三维网格放入集合S中。In this embodiment, a visible mesh set S is set in advance, and three-dimensional meshes with non-adjacent faces are placed into the set S.
具体地,可以先将三维网格体包含的所有三维网格初始化标记为“不可见”,将存在不相邻面的三维网格放入集合S中,并修改这些三维网格的标记为“可见”。Specifically, you can first initialize all the three-dimensional meshes contained in the three-dimensional mesh body and mark them as "invisible", put the three-dimensional meshes with non-adjacent faces into the set S, and modify the marking of these three-dimensional meshes to " visible".
步骤S502:针对该可见网格集合中的每个可见的三维网格,根据该可见的三维网格对应的属性值,确定该可见的三维网格是否透明。若是,则执行S503;若否,则执行S504。Step S502: For each visible three-dimensional grid in the visible grid set, determine whether the visible three-dimensional grid is transparent according to the attribute value corresponding to the visible three-dimensional grid. If yes, execute S503; if not, execute S504.
在本实施例中,针对集合S中的每个可见的三维网格,其对应的属性值可能是有效的属性值,也有可能是无效的属性值。当可见的三维网格对应的属性值为有效的属性值时,该三维网格在三维网格模型中显示,是可以被用户看到的,即该三维网格不透明;当可见的三维网格对应的属性值为无效的属性值时,该三维网格不在三维网格模型中显示,是不被用户看到的,即该三维网格透明。In this embodiment, for each visible three-dimensional grid in the set S, the corresponding attribute value may be a valid attribute value or an invalid attribute value. When the attribute value corresponding to the visible three-dimensional grid is a valid attribute value, the three-dimensional grid is displayed in the three-dimensional grid model and can be seen by the user, that is, the three-dimensional grid is opaque; when the visible three-dimensional grid When the corresponding attribute value is an invalid attribute value, the three-dimensional mesh is not displayed in the three-dimensional mesh model and cannot be seen by the user, that is, the three-dimensional mesh is transparent.
具体地,可以判断集合S中的三维网格a是否透明,即判断三维网格a对应的属性值是否为无效的属性值。Specifically, it can be determined whether the three-dimensional grid a in the set S is transparent, that is, whether the attribute value corresponding to the three-dimensional grid a is an invalid attribute value.
步骤S503:删除可见的透明三维网格,并将与该可见的透明三维网格相邻的三维网格作为可见的三维网格放入该可见网格集合中,以确定与该可见的透明三维网格相邻的三维网格是否透明。结束。Step S503: Delete the visible transparent three-dimensional grid, and put the three-dimensional grid adjacent to the visible transparent three-dimensional grid as a visible three-dimensional grid into the visible grid set to determine the relationship between the visible transparent three-dimensional grid and the visible three-dimensional grid. Whether the adjacent 3D meshes of the mesh are transparent. Finish.
步骤S504:删除该可见的三维网格。Step S504: Delete the visible three-dimensional mesh.
在本实施例中,在确定该可见的三维网格透明时,该三维网格不会被用户看到,但透过透明的三维网格,可以看到与之相邻的三维网格,因此,应当将与该可见的透明三维网格相邻的三维网格作为可见的三维网格放入可见网格集合S中。In this embodiment, when it is determined that the visible three-dimensional grid is transparent, the three-dimensional grid will not be seen by the user, but through the transparent three-dimensional grid, the adjacent three-dimensional grid can be seen, so , the three-dimensional mesh adjacent to the visible transparent three-dimensional mesh should be put into the visible mesh set S as a visible three-dimensional mesh.
具体地,若集合S中的三维网格a为透明时,从集合S中删除三维网格a,并将与三维网格a相邻的所有被标记为“不可见”的三维网格b、c、d放入集合S中,并将三维网格b、c、d的标记修改为“可见”。若三维网格a为不透明,则从集合S中删除三维网格a即可。Specifically, if the three-dimensional grid a in the set S is transparent, the three-dimensional grid a is deleted from the set S, and all three-dimensional grids b, c and d are put into the set S, and the marks of the three-dimensional grid b, c, and d are modified to "visible". If the three-dimensional grid a is opaque, just delete the three-dimensional grid a from the set S.
进一步判断三维网格b、c、d是否透明,如三维网格b透明、三维网格c、d不透明,则将三维网格b、c、d从集合S中删除,并将与三维网格b相邻的所有被标记为“不可见”的三维网格e、f、g放入集合S中,并将三维网格e、f、g的标记修为“可见”,再进一步判断三维网格e、f、g是否透明,循环上述操作,直到可见网格集合S为空集,此时,所有能够被用户看到的三维网格均被标记为“可见”。Further determine whether the three-dimensional grid b, c, and d are transparent. If the three-dimensional grid b is transparent and the three-dimensional grid c and d are opaque, then the three-dimensional grid b, c, and d will be deleted from the set S and will be combined with the three-dimensional grid. b All adjacent three-dimensional grids e, f, and g marked as "invisible" are put into the set S, and the marks of the three-dimensional grids e, f, and g are modified to "visible", and then the three-dimensional grid is further judged. Whether grids e, f, and g are transparent, loop the above operations until the visible grid set S is an empty set. At this time, all three-dimensional grids that can be seen by the user are marked as "visible".
本实施例中,首先将位于三维网格体外表面的,即存在不相邻面的三维网格放入可见网格集合中,再考虑到位于外表面的三维网格可能是透明的,将与透明网格相邻的三维网格也放入可见网格集合中,最终得到所有能被用户看到的三维网格。由此,可以较为准确地选取三维网格体中所有的可见的三维网格,不遗漏能够被用户看到的三维网格,在减少上传至三维显示平台的数据量的同时,进一步保证了用户对于三维网格模型的显示需求,使三维网格模型能够实时、正常的显示。In this embodiment, firstly, the three-dimensional meshes located on the outer surface of the three-dimensional mesh, that is, with non-adjacent faces, are put into the visible mesh set. Then, considering that the three-dimensional meshes located on the outer surface may be transparent, the three-dimensional meshes located on the outer surface may be transparent. The three-dimensional grids adjacent to the transparent grid are also put into the visible grid set, and finally all three-dimensional grids that can be seen by the user are obtained. As a result, all visible three-dimensional meshes in the three-dimensional mesh can be selected more accurately, without omitting the three-dimensional meshes that can be seen by the user. This reduces the amount of data uploaded to the three-dimensional display platform and further ensures that the user For the display requirements of the three-dimensional mesh model, the three-dimensional mesh model can be displayed in real time and normally.
图6为本申请提供的一种地质分析的显示处理方法实施例五的流程示意图。在上述图3的基础上,参见图6,上述步骤S304的一种具体实现方式为:Figure 6 is a schematic flow chart of Embodiment 5 of a geological analysis display processing method provided by this application. Based on the above-mentioned Figure 3, referring to Figure 6, a specific implementation method of the above-mentioned step S304 is:
步骤S601:针对每个可见的三维网格,确定该可见的三维网格是否为透明。若是,则执行S602;若否,则执行S603。Step S601: For each visible three-dimensional mesh, determine whether the visible three-dimensional mesh is transparent. If yes, execute S602; if not, execute S603.
步骤S602:确定该可见的三维网格的每个面均不可见。Step S602: Determine that each face of the visible three-dimensional mesh is invisible.
在本实施例中,在确定可见的三维网格为透明时,该可见的三维网格对应的属性值为无效的属性值,该三维网格不在三维网格模型中显示,是不被用户看到的,因此该三维网格包含的每一个面都是不被用户看到的,即不可见。In this embodiment, when it is determined that the visible three-dimensional grid is transparent, the attribute value corresponding to the visible three-dimensional grid is an invalid attribute value, and the three-dimensional grid is not displayed in the three-dimensional grid model and is not visible to the user. , so every face contained in the three-dimensional grid is not seen by the user, that is, invisible.
步骤S603:确定该可见的三维网格的每个面是否存在相邻面,若是,则执行S604;若否,则执行S605。Step S603: Determine whether each face of the visible three-dimensional mesh has an adjacent face. If so, execute S604; if not, execute S605.
步骤S604:确定相邻面所在的三维网格是否透明,若相邻面所在的三维网格透明,则将该相邻面对应的面作为可见面。结束。Step S604: Determine whether the three-dimensional grid where the adjacent surface is located is transparent. If the three-dimensional grid where the adjacent surface is located is transparent, use the surface corresponding to the adjacent surface as a visible surface. Finish.
步骤S605:将不存在相邻面的面作为可见面;针对存在相邻面的面,分别确定该相邻面所在的三维网格是否透明,若相邻面所在的三维网格透明,则将该相邻面对应的面作为可见面。Step S605: Use the surface with no adjacent surface as a visible surface; for the surface with adjacent surface, determine whether the three-dimensional grid where the adjacent surface is located is transparent. If the three-dimensional grid where the adjacent surface is located is transparent, then The surface corresponding to the adjacent surface is regarded as the visible surface.
在本实施例中,针对每个可见的三维网格,在确定该可见的三维网格为不透明时,该可见的三维网格对应的属性值为有效的属性值,该三维网格在三维网格模型中显示,是能够被用户看到的。此时,需要判断该三维网格所包含的每个面是否可见。In this embodiment, for each visible three-dimensional mesh, when it is determined that the visible three-dimensional mesh is opaque, the attribute value corresponding to the visible three-dimensional mesh is a valid attribute value, and the three-dimensional mesh is in the three-dimensional mesh. It is displayed in the grid model and can be seen by the user. At this time, it is necessary to determine whether each face included in the three-dimensional grid is visible.
具体地,确定该可见的三维网格的每个面是否存在相邻面,若该三维网格的面x存在相邻面y,则进一步判断相邻面y所在的三维网格是否透明,若相邻面y所在的三维网格是透明的,则说明用户是可以透过相邻面y所在的三维网格看到面x的,即面x为可见面。相应地,若相邻面y所在的三维网格不是透明的,则说明用户无法透过相邻面y所在的三维网格看到面x的,即面x为不可见面。Specifically, it is determined whether each face of the visible three-dimensional mesh has an adjacent face. If the face x of the three-dimensional mesh has an adjacent face y, then it is further determined whether the three-dimensional mesh where the adjacent face y is located is transparent. If If the three-dimensional grid where the adjacent face y is located is transparent, it means that the user can see the face x through the three-dimensional grid where the adjacent face y is located, that is, the face x is a visible face. Correspondingly, if the three-dimensional grid where the adjacent face y is located is not transparent, it means that the user cannot see the face x through the three-dimensional grid where the adjacent face y is located, that is, the face x is invisible.
具体地,若确定该可见的三维网格所包含的面z不存在相邻面,则说明面z位于三维 网格体的外表面,是可以被用户看到的,是可见面。Specifically, if it is determined that the face z included in the visible three-dimensional mesh does not have an adjacent face, it means that the face z is located on the outer surface of the three-dimensional mesh, can be seen by the user, and is a visible face.
在本实施例中,根据可见的三维网格是否透明,以及可见的三维网格包含的各个面是否存在相邻面,来确定每个可见的三维网格中的可见面,仅将可见面上传至三维显示平台进行显示处理,进一步减少了显卡需要处理的数据量,更加有效地解决了因数据量过大而导致的三维网格模型无法正常显示的问题,使三维网格模型能够实时、正常地显示。In this embodiment, the visible faces in each visible three-dimensional mesh are determined based on whether the visible three-dimensional mesh is transparent and whether there are adjacent faces on each face included in the visible three-dimensional mesh, and only the visible faces are uploaded. The 3D display platform is used for display processing, which further reduces the amount of data that the graphics card needs to process, and more effectively solves the problem of the 3D grid model being unable to display normally due to excessive data volume, so that the 3D grid model can be displayed normally and in real time. displayed.
下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。The following are device embodiments of the present application, which can be used to execute method embodiments of the present application. For details not disclosed in the device embodiments of this application, please refer to the method embodiments of this application.
图7为本申请提供的一种地质分析的显示处理装置实施例的结构示意图;如图7所示,地质分析的显示处理装置70包括:获取模块71,设置模块72,选取模块73以及显示处理模块74。其中,获取模块71用于获取待分析的地质区域对应的三维网格体,该三维网格体由多个三维网格构成。设置模块72用于根据该待分析的地质区域中的地质参数和地质参数对应的属性,为每个与该地质参数对应的三维网格,设置与该地质参数的属性对应的属性值。选取模块73用于根据每个三维网格在该三维网格体中的位置、该三维网格对应的地质参数和属性值,从多个三维网格中选取可见的三维网格。显示处理模块74用于对该三维网格体中的可见的三维网格进行显示处理。Figure 7 is a schematic structural diagram of an embodiment of a geological analysis display processing device provided by this application; as shown in Figure 7, the geological analysis display processing device 70 includes: an acquisition module 71, a setting module 72, a selection module 73 and a display processing Module 74. Among them, the acquisition module 71 is used to acquire a three-dimensional grid corresponding to the geological area to be analyzed, and the three-dimensional grid is composed of multiple three-dimensional grids. The setting module 72 is configured to set attribute values corresponding to the attributes of the geological parameters for each three-dimensional grid corresponding to the geological parameters according to the geological parameters in the geological area to be analyzed and the attributes corresponding to the geological parameters. The selection module 73 is used to select visible three-dimensional grids from multiple three-dimensional grids based on the position of each three-dimensional grid in the three-dimensional grid volume, the geological parameters and attribute values corresponding to the three-dimensional grids. The display processing module 74 is used to perform display processing on the visible three-dimensional mesh in the three-dimensional mesh body.
本申请实施例提供的地质分析的显示处理装置可以执行上述方法实施例所示的技术方案,其实现原理以及有益效果类似,此处不再进行赘述。The display processing device for geological analysis provided by the embodiments of the present application can execute the technical solutions shown in the above method embodiments. The implementation principles and beneficial effects are similar and will not be described again here.
图8为本申请提供的另一种地质分析的显示处理装置实施例的结构示意图;如图8所示,地质分析的显示处理装置80包括获取模块81,设置模块82,选取模块83,显示处理模块84以及确定模块85。确定模块85用于针对每个可见的三维网格,确定该可见的三维网格中的每个面是否为可见面。显示处理模块84具体用于对该三维网格体中的可见的三维网格中的可见面进行显示处理。Figure 8 is a schematic structural diagram of another embodiment of a geological analysis display processing device provided by this application; as shown in Figure 8, the geological analysis display processing device 80 includes an acquisition module 81, a setting module 82, a selection module 83, a display processing module 84 and determination module 85. The determining module 85 is configured to determine, for each visible three-dimensional grid, whether each face in the visible three-dimensional grid is a visible face. The display processing module 84 is specifically configured to perform display processing on visible surfaces in the visible three-dimensional grid in the three-dimensional grid.
本申请实施例提供的地质分析的显示处理装置可以执行上述方法实施例所示的技术方案,其实现原理以及有益效果类似,此处不再进行赘述。The display processing device for geological analysis provided by the embodiments of the present application can execute the technical solutions shown in the above method embodiments. The implementation principles and beneficial effects are similar and will not be described again here.
在一种可能的实施方案中,设置模块82具体用于针对每个三维网格,根据该三维网格对应的地质参数,确定该三维网格是否在三维网格模型中显示;若确定该三维网格在该三维网络模型中显示,则根据该地质参数,为该三维网格分配对应的有效的属性值;或者,若确定该三维网格不在该三维网络模型中显示,则为该三维网格分配无效的属性值。In a possible implementation, the setting module 82 is specifically configured to, for each three-dimensional grid, determine whether the three-dimensional grid is displayed in the three-dimensional grid model according to the geological parameters corresponding to the three-dimensional grid; if it is determined that the three-dimensional grid is displayed in the three-dimensional grid model, If the grid is displayed in the three-dimensional network model, then the corresponding effective attribute value is assigned to the three-dimensional grid according to the geological parameters; or, if it is determined that the three-dimensional grid is not displayed in the three-dimensional network model, then the three-dimensional network is Cell is assigned an invalid attribute value.
本申请实施例提供的地质分析的显示处理装置可以执行上述方法实施例所示的技术方案,其实现原理以及有益效果类似,此处不再进行赘述。The display processing device for geological analysis provided by the embodiments of the present application can execute the technical solutions shown in the above method embodiments. The implementation principles and beneficial effects are similar and will not be described again here.
在一种可能的实施方案中,选取模块83具体用于获取该三维网格体中存在不相邻面的三维网格,并将该存在不相邻面的三维网格作为可见的三维网格,并将该可见的三维网格放入预先设置的可见网格集合中;针对该可见网格集合中的每个可见的三维网格,根据该可见的三维网格对应的属性值,在确定该可见的三维网格透明时,删除可见的透明三维网格,并将与该可见的透明三维网格相邻的三维网格作为可见的三维网格放入该可见网格集合中,以确定与该可见的透明三维网格相邻的三维网格是否透明;或者,根据该可见的三维网格对应的属性值,在确定该可见的三维网格不透明时,删除该可见的三维网格。In a possible implementation, the selection module 83 is specifically configured to obtain a three-dimensional mesh with non-adjacent faces in the three-dimensional mesh body, and use the three-dimensional mesh with non-adjacent faces as a visible three-dimensional mesh. , and put the visible three-dimensional grid into the preset visible grid collection; for each visible three-dimensional grid in the visible grid collection, according to the attribute value corresponding to the visible three-dimensional grid, determine When the visible three-dimensional grid is transparent, delete the visible transparent three-dimensional grid, and put the three-dimensional grid adjacent to the visible transparent three-dimensional grid as a visible three-dimensional grid into the visible grid collection to determine Whether the three-dimensional grid adjacent to the visible transparent three-dimensional grid is transparent; or, according to the attribute value corresponding to the visible three-dimensional grid, when it is determined that the visible three-dimensional grid is opaque, the visible three-dimensional grid is deleted.
本申请实施例提供的地质分析的显示处理装置可以执行上述方法实施例所示的技术方案,其实现原理以及有益效果类似,此处不再进行赘述。The display processing device for geological analysis provided by the embodiments of the present application can execute the technical solutions shown in the above method embodiments. The implementation principles and beneficial effects are similar and will not be described again here.
在一种可能的实施方案中,确定模块85具体用于针对每个可见的三维网格,在确定该可见的三维网格为透明时,确定该可见的三维网格的每个面均不可见。In a possible implementation, the determining module 85 is specifically configured to, for each visible three-dimensional mesh, determine that each face of the visible three-dimensional mesh is invisible when determining that the visible three-dimensional mesh is transparent. .
在一种可能的实施方案中,确定模块85具体用于针对每个可见的三维网格,在确定该可见的三维网格为不透明时,确定该可见的三维网格的每个面是否存在相邻面,并将不存在相邻面的面作为可见面;针对存在相邻面的面,分别确定该相邻面所在的三维网格是否透明,若相邻面所在的三维网格透明,则将该相邻面对应的面作为可见面。In a possible implementation, the determination module 85 is specifically configured to, for each visible three-dimensional mesh, when determining that the visible three-dimensional mesh is opaque, determine whether there is a phase on each face of the visible three-dimensional mesh. Adjacent faces, and the faces without adjacent faces are regarded as visible faces; for faces with adjacent faces, determine whether the three-dimensional grid where the adjacent faces are located is transparent. If the three-dimensional grid where the adjacent faces are located is transparent, then The surface corresponding to the adjacent surface is regarded as the visible surface.
在一种可能的实施方案中,确定模块85具体用于确定该可见的三维网格为不透明,且该可见的三维网格的每个面都存在相邻面,确定相邻面所在的三维网格是否透明,若相邻面所在的三维网格透明,则将该相邻面对应的面作为可见面。In a possible implementation, the determination module 85 is specifically configured to determine that the visible three-dimensional mesh is opaque, and that each face of the visible three-dimensional mesh has adjacent faces, and determine the three-dimensional mesh where the adjacent faces are located. Whether the grid is transparent. If the three-dimensional grid where the adjacent face is located is transparent, the face corresponding to the adjacent face will be regarded as the visible face.
本申请实施例提供的地质分析的显示处理装置可以执行上述方法实施例所示的技术方案,其实现原理以及有益效果类似,此处不再进行赘述。The display processing device for geological analysis provided by the embodiments of the present application can execute the technical solutions shown in the above method embodiments. The implementation principles and beneficial effects are similar and will not be described again here.
图9为本申请提供的一种电子设备的结构示意图。如图9所示,该电子设备90包括:处理器91,存储器92,以及通信接口93;其中,存储器92用于存储处理器91的可执行指令;处理器91配置为经由执行可执行指令来执行前述任一方法实施例中的技术方案。Figure 9 is a schematic structural diagram of an electronic device provided by this application. As shown in Figure 9, the electronic device 90 includes: a processor 91, a memory 92, and a communication interface 93; the memory 92 is used to store executable instructions of the processor 91; the processor 91 is configured to execute the executable instructions. Implement the technical solution in any of the foregoing method embodiments.
可选的,存储器92既可以是独立的,也可以跟处理器91集成在一起。Optionally, the memory 92 can be independent or integrated with the processor 91 .
可选的,当存储器92是独立于处理器91之外的器件时,电子设备90还可以包括:总线94,用于将上述器件连接起来。Optionally, when the memory 92 is a device independent of the processor 91, the electronic device 90 may also include a bus 94 for connecting the above devices.
该电子设备用于执行前述任一方法实施例中的技术方案,其实现原理和技术效果类似,在此不再赘述。The electronic device is used to execute the technical solutions in any of the foregoing method embodiments. Its implementation principles and technical effects are similar and will not be described again here.
本申请实施例还提供一种可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现前述任一实施例提供的技术方案。Embodiments of the present application also provide a readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the technical solution provided by any of the foregoing embodiments is implemented.
本申请实施例还提供一种计算机程序产品,包括计算机程序,计算机程序被处理器执行时用于实现前述任一方法实施例提供的技术方案。Embodiments of the present application also provide a computer program product, which includes a computer program. When the computer program is executed by a processor, it is used to implement the technical solution provided by any of the foregoing method embodiments.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Persons of ordinary skill in the art can understand that all or part of the steps to implement the above method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps including the above-mentioned method embodiments are executed; and the aforementioned storage media include: ROM, RAM, magnetic disks, optical disks and other media that can store program codes.
最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或对其中部分或全部技术特征进行等同替换;而这些修改或替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present application, but not to limit it; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions described in the foregoing embodiments can still be modified, or some or all of the technical features can be equivalently replaced; and these modifications or substitutions do not deviate from the essence of the corresponding technical solutions from the technical solutions of the embodiments of the present application. scope.
Claims (16)
- 一种地质分析的显示处理方法,其特征在于,包括:A display processing method for geological analysis, which is characterized by including:获取待分析的地质区域对应的三维网格体,所述三维网格体由多个三维网格构成;Obtain a three-dimensional grid corresponding to the geological area to be analyzed, where the three-dimensional grid is composed of multiple three-dimensional grids;根据所述待分析的地质区域中的地质参数和地质参数对应的属性,为每个与所述地质参数对应的三维网格,设置与所述地质参数的属性对应的属性值;According to the geological parameters in the geological area to be analyzed and the attributes corresponding to the geological parameters, set attribute values corresponding to the attributes of the geological parameters for each three-dimensional grid corresponding to the geological parameters;根据每个所述三维网格在所述三维网格体中的位置、所述三维网格对应的地质参数和属性值,从多个所述三维网格中选取可见的三维网格;Select a visible three-dimensional grid from a plurality of the three-dimensional grids according to the position of each three-dimensional grid in the three-dimensional grid volume, the geological parameters and attribute values corresponding to the three-dimensional grid;对所述三维网格体中的可见的三维网格进行显示处理。Perform display processing on visible three-dimensional meshes in the three-dimensional mesh body.
- 根据权利要求1所述的方法,其特征在于,还包括:The method according to claim 1, further comprising:针对每个可见的三维网格,确定所述可见的三维网格中的每个面是否为可见面;For each visible three-dimensional grid, determine whether each face in the visible three-dimensional grid is a visible face;则所述对所述三维网格体中的可见的三维网格进行显示处理,包括:The display processing of the visible three-dimensional mesh in the three-dimensional mesh body includes:对所述三维网格体中的可见的三维网格中的可见面进行显示处理。Display processing is performed on visible surfaces in the visible three-dimensional mesh in the three-dimensional mesh body.
- 根据权利要求1或2所述的方法,其特征在于,所述根据所述待分析的地质区域中的地质参数和地质参数对应的属性,为每个与所述地质参数对应的三维网格,设置与所述地质参数的属性对应的属性值,包括:The method according to claim 1 or 2, characterized in that, according to the geological parameters in the geological area to be analyzed and the attributes corresponding to the geological parameters, for each three-dimensional grid corresponding to the geological parameters, Set attribute values corresponding to the attributes of the geological parameters, including:针对每个三维网格,根据所述三维网格对应的地质参数,确定所述三维网格是否在三维网格模型中显示;For each three-dimensional grid, determine whether the three-dimensional grid is displayed in the three-dimensional grid model according to the geological parameters corresponding to the three-dimensional grid;若确定所述三维网格在所述三维网络模型中显示,则根据所述地质参数,为所述三维网格分配对应的有效的属性值;If it is determined that the three-dimensional grid is displayed in the three-dimensional network model, assign corresponding effective attribute values to the three-dimensional grid according to the geological parameters;或者,or,若确定所述三维网格不在所述三维网络模型中显示,则为所述三维网格分配无效的属性值。If it is determined that the three-dimensional grid is not displayed in the three-dimensional network model, an invalid attribute value is assigned to the three-dimensional grid.
- 根据权利要求1~3中任一项所述的方法,其特征在于,所述根据每个所述三维网格在所述三维网格体中的位置、所述三维网格对应的地质参数和属性值,从多个所述三维网格中选取可见的三维网格,包括:The method according to any one of claims 1 to 3, characterized in that: according to the position of each three-dimensional grid in the three-dimensional grid body, the geological parameters corresponding to the three-dimensional grid and Attribute value, select a visible 3D mesh from multiple 3D meshes, including:获取所述三维网格体中存在不相邻面的三维网格,并将所述存在不相邻面的三维网格作为可见的三维网格,并将所述可见的三维网格放入预先设置的可见网格集合中;Obtain the three-dimensional mesh with non-adjacent faces in the three-dimensional mesh body, use the three-dimensional mesh with non-adjacent faces as the visible three-dimensional mesh, and put the visible three-dimensional mesh into the pre-set In the set of visible grids;针对所述可见网格集合中的每个可见的三维网格,根据所述可见的三维网格对应的属性值,在确定所述可见的三维网格透明时,删除可见的透明三维网格,并将与所述可见的透明三维网格相邻的三维网格作为可见的三维网格放入所述可见网格集合中,以确定与所述可见的透明三维网格相邻的三维网格是否透明;或者,根据所述可见的三维网格对应的属性值,在确定所述可见的三维网格不透明时,删除所述可见的三维网格。For each visible three-dimensional grid in the visible grid set, according to the attribute value corresponding to the visible three-dimensional grid, when it is determined that the visible three-dimensional grid is transparent, delete the visible transparent three-dimensional grid, and put the three-dimensional mesh adjacent to the visible transparent three-dimensional mesh as a visible three-dimensional mesh into the visible mesh set to determine the three-dimensional mesh adjacent to the visible transparent three-dimensional mesh whether it is transparent; or, according to the attribute value corresponding to the visible three-dimensional grid, when it is determined that the visible three-dimensional grid is opaque, the visible three-dimensional grid is deleted.
- 根据权利要求2所述的方法,其特征在于,所述针对每个可见的三维网格,确定所述可见的三维网格中的每个面是否为可见面,包括:The method according to claim 2, characterized in that, for each visible three-dimensional grid, determining whether each face in the visible three-dimensional grid is a visible face includes:针对每个可见的三维网格,在确定所述可见的三维网格为透明时,确定所述可见的三维网格的每个面均不可见。For each visible three-dimensional mesh, when it is determined that the visible three-dimensional mesh is transparent, it is determined that each face of the visible three-dimensional mesh is invisible.
- 根据权利要求2所述的方法,其特征在于,所述针对每个可见的三维网格,确定所述可见的三维网格中的每个面是否为可见面,包括:The method according to claim 2, characterized in that, for each visible three-dimensional grid, determining whether each face in the visible three-dimensional grid is a visible face includes:针对每个可见的三维网格,在确定所述可见的三维网格为不透明时,确定所述可见的三维网格的每个面是否存在相邻面,并将不存在相邻面的面作为可见面;For each visible three-dimensional mesh, when it is determined that the visible three-dimensional mesh is opaque, determine whether there are adjacent faces on each face of the visible three-dimensional mesh, and use the faces without adjacent faces as can meet;针对存在相邻面的面,分别确定所述相邻面所在的三维网格是否透明,若相邻面所在的三维网格透明,则将所述相邻面对应的面作为可见面。For faces with adjacent faces, it is determined whether the three-dimensional grid where the adjacent face is located is transparent. If the three-dimensional grid where the adjacent face is located is transparent, the face corresponding to the adjacent face is regarded as a visible face.
- 根据权利要求2所述的方法,其特征在于,所述针对每个可见的三维网格,确定所述可见的三维网格中的每个面是否为可见面,包括:The method according to claim 2, characterized in that, for each visible three-dimensional grid, determining whether each face in the visible three-dimensional grid is a visible face includes:确定所述可见的三维网格为不透明,且所述可见的三维网格的每个面都存在相邻面,确定相邻面所在的三维网格是否透明,若相邻面所在的三维网格透明,则将所述相邻面对应的面作为可见面。Determine that the visible three-dimensional grid is opaque, and each face of the visible three-dimensional grid has adjacent faces. Determine whether the three-dimensional grid where the adjacent face is located is transparent. If the three-dimensional mesh where the adjacent face is located is If transparent, the surface corresponding to the adjacent surface is regarded as the visible surface.
- 一种地质分析的显示处理装置,其特征在于,包括:A display and processing device for geological analysis, which is characterized by including:获取模块,用于获取待分析的地质区域对应的三维网格体,所述三维网格体由多个三维网格构成;An acquisition module is used to acquire a three-dimensional grid corresponding to the geological area to be analyzed, where the three-dimensional grid is composed of multiple three-dimensional grids;设置模块,用于根据所述待分析的地质区域中的地质参数和地质参数对应的属性,为每个与所述地质参数对应的三维网格,设置与所述地质参数的属性对应的属性值;A setting module configured to set attribute values corresponding to the attributes of the geological parameters for each three-dimensional grid corresponding to the geological parameters according to the geological parameters in the geological area to be analyzed and the attributes corresponding to the geological parameters. ;选取模块,用于根据每个所述三维网格在所述三维网格体中的位置、所述三维网格对应的地质参数和属性值,从多个所述三维网格中选取可见的三维网格;A selection module configured to select a visible three-dimensional grid from a plurality of three-dimensional grids based on the position of each three-dimensional grid in the three-dimensional grid body and the geological parameters and attribute values corresponding to the three-dimensional grids. grid;显示处理模块,用于对所述三维网格体中的可见的三维网格进行显示处理。A display processing module is used to display the visible three-dimensional mesh in the three-dimensional mesh body.
- 根据权利要求8所述的装置,其特征在于,还包括:The device according to claim 8, further comprising:确定模块,用于针对每个可见的三维网格,确定所述可见的三维网格中的每个面是否为可见面;A determination module configured to determine, for each visible three-dimensional grid, whether each face in the visible three-dimensional grid is a visible face;则所述显示处理模块,具体用于:The display processing module is specifically used for:对所述三维网格体中的可见的三维网格中的可见面进行显示处理。Display processing is performed on visible surfaces in the visible three-dimensional mesh in the three-dimensional mesh body.
- 根据权利要求8或9所述的装置,其特征在于,所述设置模块,具体用于:The device according to claim 8 or 9, characterized in that the setting module is specifically used for:针对每个三维网格,根据所述三维网格对应的地质参数,确定所述三维网格是否在三维网格模型中显示;For each three-dimensional grid, determine whether the three-dimensional grid is displayed in the three-dimensional grid model according to the geological parameters corresponding to the three-dimensional grid;若确定所述三维网格在所述三维网络模型中显示,则根据所述地质参数,为所述三维网格分配对应的有效的属性值;If it is determined that the three-dimensional grid is displayed in the three-dimensional network model, assign corresponding effective attribute values to the three-dimensional grid according to the geological parameters;或者,or,若确定所述三维网格不在所述三维网络模型中显示,则为所述三维网格分配无效的属性值。If it is determined that the three-dimensional grid is not displayed in the three-dimensional network model, an invalid attribute value is assigned to the three-dimensional grid.
- 根据权利要求8~10中任一项所述的装置,其特征在于,所述选取模块,具体用于:The device according to any one of claims 8 to 10, characterized in that the selection module is specifically used for:获取所述三维网格体中存在不相邻面的三维网格,并将所述存在不相邻面的三维网格作为可见的三维网格,并将所述可见的三维网格放入预先设置的可见网格集合中;Obtain the three-dimensional mesh with non-adjacent faces in the three-dimensional mesh body, use the three-dimensional mesh with non-adjacent faces as the visible three-dimensional mesh, and put the visible three-dimensional mesh into the pre-set In the set of visible grids;针对所述可见网格集合中的每个可见的三维网格,根据所述可见的三维网格对应的属性值,在确定所述可见的三维网格透明时,删除可见的透明三维网格,并将与所述可见的透明三维网格相邻的三维网格作为可见的三维网格放入所述可见网格集合中,以确定与所述可见的透明三维网格相邻的三维网格是否透明;或者,根据所述可见的三维网格对应的属性值,在确定所述可见的三维网格不透明时,删除所述可见的三维网格。For each visible three-dimensional grid in the visible grid set, according to the attribute value corresponding to the visible three-dimensional grid, when it is determined that the visible three-dimensional grid is transparent, delete the visible transparent three-dimensional grid, and put the three-dimensional mesh adjacent to the visible transparent three-dimensional mesh as a visible three-dimensional mesh into the visible mesh set to determine the three-dimensional mesh adjacent to the visible transparent three-dimensional mesh whether it is transparent; or, according to the attribute value corresponding to the visible three-dimensional grid, when it is determined that the visible three-dimensional grid is opaque, the visible three-dimensional grid is deleted.
- 根据权利要求9所述的装置,其特征在于,所述确定模块,具体用于:The device according to claim 9, characterized in that the determining module is specifically used to:针对每个可见的三维网格,在确定所述可见的三维网格为透明时,确定所述可见的三维网格的每个面均不可见。For each visible three-dimensional mesh, when it is determined that the visible three-dimensional mesh is transparent, it is determined that each face of the visible three-dimensional mesh is invisible.
- 根据权利要求9所述的装置,其特征在于,所述确定模块,具体用于:The device according to claim 9, characterized in that the determining module is specifically used to:针对每个可见的三维网格,在确定所述可见的三维网格为不透明时,确定所述可见的三维网格的每个面是否存在相邻面,并将不存在相邻面的面作为可见面;For each visible three-dimensional mesh, when it is determined that the visible three-dimensional mesh is opaque, determine whether there are adjacent faces on each face of the visible three-dimensional mesh, and use the faces without adjacent faces as can meet;针对存在相邻面的面,分别确定所述相邻面所在的三维网格是否透明,若相邻面所在的三维网格透明,则将所述相邻面对应的面作为可见面。For faces with adjacent faces, it is determined whether the three-dimensional grid where the adjacent face is located is transparent. If the three-dimensional grid where the adjacent face is located is transparent, the face corresponding to the adjacent face is regarded as a visible face.
- 根据权利要求9所述的装置,其特征在于,所述确定模块,具体用于:The device according to claim 9, characterized in that the determining module is specifically used to:确定所述可见的三维网格为不透明,且所述可见的三维网格的每个面都存在相邻面,确定相邻面所在的三维网格是否透明,若相邻面所在的三维网格透明,则将所述相邻面对应的面作为可见面。Determine that the visible three-dimensional grid is opaque, and each face of the visible three-dimensional grid has adjacent faces. Determine whether the three-dimensional grid where the adjacent face is located is transparent. If the three-dimensional mesh where the adjacent face is located is If transparent, the surface corresponding to the adjacent surface is regarded as the visible surface.
- 一种电子设备,其特征在于,包括:An electronic device, characterized by including:处理器,存储器,通信接口;Processor, memory, communication interface;所述存储器用于存储所述处理器的可执行指令;The memory is used to store executable instructions of the processor;其中,所述处理器配置为经由执行所述可执行指令来执行权利要求1至7中任一项所述的地质分析的显示处理方法。Wherein, the processor is configured to execute the display processing method of geological analysis according to any one of claims 1 to 7 via executing the executable instructions.
- 一种可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至7中任一项所述的地质分析的显示处理方法。A readable storage medium on which a computer program is stored, characterized in that when the computer program is executed by a processor, the display processing method of geological analysis according to any one of claims 1 to 7 is implemented.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210647655.2A CN115019001A (en) | 2022-06-09 | 2022-06-09 | Geological analysis display processing method, device, equipment and medium |
CN202210647655.2 | 2022-06-09 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023236465A1 true WO2023236465A1 (en) | 2023-12-14 |
Family
ID=83073324
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/136133 WO2023236465A1 (en) | 2022-06-09 | 2022-12-02 | Display processing method and apparatus for geological analysis, device, and medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN115019001A (en) |
WO (1) | WO2023236465A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118229904A (en) * | 2024-05-22 | 2024-06-21 | 北京畅图科技有限公司 | Updating method and device of transparent three-dimensional geological model, computer equipment and medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115019001A (en) * | 2022-06-09 | 2022-09-06 | 中国石油天然气集团有限公司 | Geological analysis display processing method, device, equipment and medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9171402B1 (en) * | 2013-06-19 | 2015-10-27 | Google Inc. | View-dependent textures for interactive geographic information system |
CN110555085A (en) * | 2018-03-29 | 2019-12-10 | 中国石油化工股份有限公司 | Three-dimensional model loading method and device |
CN112396682A (en) * | 2020-11-17 | 2021-02-23 | 重庆市地理信息和遥感应用中心 | Visual progressive model browsing method in three-dimensional scene |
CN113421324A (en) * | 2021-03-20 | 2021-09-21 | 贵州北斗空间信息技术有限公司 | Three-dimensional model loading method and system |
CN113656514A (en) * | 2021-08-12 | 2021-11-16 | 煤炭科学研究总院 | Visualization method and device for three-dimensional model of mine |
CN115019001A (en) * | 2022-06-09 | 2022-09-06 | 中国石油天然气集团有限公司 | Geological analysis display processing method, device, equipment and medium |
-
2022
- 2022-06-09 CN CN202210647655.2A patent/CN115019001A/en active Pending
- 2022-12-02 WO PCT/CN2022/136133 patent/WO2023236465A1/en unknown
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9171402B1 (en) * | 2013-06-19 | 2015-10-27 | Google Inc. | View-dependent textures for interactive geographic information system |
CN110555085A (en) * | 2018-03-29 | 2019-12-10 | 中国石油化工股份有限公司 | Three-dimensional model loading method and device |
CN112396682A (en) * | 2020-11-17 | 2021-02-23 | 重庆市地理信息和遥感应用中心 | Visual progressive model browsing method in three-dimensional scene |
CN113421324A (en) * | 2021-03-20 | 2021-09-21 | 贵州北斗空间信息技术有限公司 | Three-dimensional model loading method and system |
CN113656514A (en) * | 2021-08-12 | 2021-11-16 | 煤炭科学研究总院 | Visualization method and device for three-dimensional model of mine |
CN115019001A (en) * | 2022-06-09 | 2022-09-06 | 中国石油天然气集团有限公司 | Geological analysis display processing method, device, equipment and medium |
Non-Patent Citations (1)
Title |
---|
SHANSHAN LIU, JIANG HONGWEI; HAO YIPENG; LUO GUANGQIANG: "Efficient Visualization Technology of Geology-Engineering Integration Reservoir Model", JURNAL OF XI'AN SHIYOU UNIVERSITY(NATURAL SCIENCE EDITION), vol. 36, no. 4, 25 July 2021 (2021-07-25), pages 58 - 67, XP093113629 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118229904A (en) * | 2024-05-22 | 2024-06-21 | 北京畅图科技有限公司 | Updating method and device of transparent three-dimensional geological model, computer equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN115019001A (en) | 2022-09-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2023236465A1 (en) | Display processing method and apparatus for geological analysis, device, and medium | |
US8839142B2 (en) | Desktop system object removal | |
WO2016145832A1 (en) | Method of operating terminal and device utilizing same | |
CN101493528B (en) | Magnanimity earthquake three-dimensional visualized display method | |
CN110675728B (en) | Generation method, device and equipment of thermodynamic diagram and computer readable storage medium | |
CN109064390A (en) | A kind of image processing method, image processing apparatus and mobile terminal | |
CN105631923B (en) | A kind of rendering intent and device | |
CN104765594B (en) | A kind of method and device of display graphic user interface | |
JP3954596B2 (en) | Image processing apparatus, image processing method, and image processing program | |
AU2015343265B2 (en) | Systems and methods for multi-dimensional geophysical data visualization | |
CN103984720B (en) | Tile map creation method and device based on OpenGL | |
US9280847B2 (en) | Image composition apparatus, image retrieval method, and storage medium storing program | |
CN109448077A (en) | A kind of method, apparatus, equipment and storage medium that multi-layer image merges | |
CN108846899A (en) | User is improved between the method and system of the area perception function each in the source of houses | |
CN109499067A (en) | A kind of method for drafting and device, electronic equipment, storage medium of terrain texture | |
CN107808416A (en) | Image processing method, image display method, image processing device, image display device, electronic equipment and storage medium | |
EP3304134B1 (en) | Method for estimating faults in a three-dimensional seismic image block | |
EP4287134A1 (en) | Method and system for generating polygon meshes approximating surfaces using root-finding and iteration for mesh vertex positions | |
CN112435322B (en) | Rendering method, device and equipment of 3D model and storage medium | |
CN115006842A (en) | Scene map generation method and device, storage medium and computer equipment | |
CN108460061A (en) | A kind of Method of Loading Digital Map and electronic map terminal | |
CN110516284A (en) | House property divides the method for drafting and electronic equipment of family figure | |
CN117557711B (en) | Method, device, computer equipment and storage medium for determining visual field | |
US11954802B2 (en) | Method and system for generating polygon meshes approximating surfaces using iteration for mesh vertex positions | |
KR101661529B1 (en) | Three-dimensional visibility analysis, three-dimensional visibility analyzing program, server system and computer saved the program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22945593 Country of ref document: EP Kind code of ref document: A1 |