CN116152446B - Geological model subdivision method, device, terminal and medium based on UE4 - Google Patents

Geological model subdivision method, device, terminal and medium based on UE4 Download PDF

Info

Publication number
CN116152446B
CN116152446B CN202310415962.2A CN202310415962A CN116152446B CN 116152446 B CN116152446 B CN 116152446B CN 202310415962 A CN202310415962 A CN 202310415962A CN 116152446 B CN116152446 B CN 116152446B
Authority
CN
China
Prior art keywords
fault
triangular
model
curved surface
vertex
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310415962.2A
Other languages
Chinese (zh)
Other versions
CN116152446A (en
Inventor
崔海东
李骏威
钟晓叶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tongjian Technology Co ltd
Original Assignee
Tongjian Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tongjian Technology Co ltd filed Critical Tongjian Technology Co ltd
Priority to CN202310415962.2A priority Critical patent/CN116152446B/en
Publication of CN116152446A publication Critical patent/CN116152446A/en
Application granted granted Critical
Publication of CN116152446B publication Critical patent/CN116152446B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Graphics (AREA)
  • Geometry (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The application relates to the field of stratum model processing, and particularly discloses a geological model subdivision method, a geological model subdivision device, a geological model subdivision terminal and a geological model subdivision medium based on UE4, wherein all fault data are collected; creating a fault curved surface and a middle section; acquiring a target geological layer model and a triangular surface set of each surface of the target geological layer model; dividing the triangular surface set into a left triangular surface set and a right triangular surface set by using a fault curved surface and a middle section, and combining a left vertex set and a right vertex; setting a texture coordinate value; forming a left partial fault and a right partial fault; obtaining a break distance vector; and performing offset processing on the left partial fault and the right partial fault according to the fault distance vector. The fault curve generated by the fault line can simulate a smooth curve, simplify the complexity of fault data to a visual model, cut the fault curve according to the triangular surface of each surface of the geological model, set the texture coordinate value of the vertex of the fault model, and realize the uniform mapping of textures.

Description

Geological model subdivision method, device, terminal and medium based on UE4
Technical Field
The application relates to the field of stratum model processing, in particular to a geological model subdivision method, device, terminal and medium based on UE 4.
Background
The three-dimensional stratum modeling is a key step of geological engineering digitization, and a three-dimensional digitization model capable of reflecting the relation among geological structure morphology and structure elements of a modeling area and the change rule of the internal attribute of a geologic body is built based on various original data including engineering investigation data such as topography, drilling, profile and the like. Through a proper visual mode, the digital model not only can display a virtual real geological environment and help users to intuitively understand the geological environment, and is convenient for experience communication among users of different levels, but also can assist the users to carry out scientific decision and risk avoidance based on numerical simulation and spatial analysis of the model.
Modeling software for current formation models is: mapGIS three-dimensional geomodeling tools, EVS software (EarthVolumetric Studio, 3D modeling analysis software applicable to the field of earth science), ZGIS geological three-dimensional modeling software and the like, BIM software CivilStation Designer (CSD for short) geological design modules. However, modeling software in the current geological fault aspect is basically refined modeling and static modeling, the modeling process is very complicated due to the complexity of a geological structure, and the situation that the model is difficult to modify exists, so that the function of dynamically modifying data in a digital twin project to modify the geological fault model in real time is more difficult and heavy.
The UE4 (UE for short) is a sub-time 3D Engine that is currently mainstream, has a strong picture expression capability, is mainly applied to the game field, is used in the digital twin project in the geological modeling field in view of its picture expression capability, and the UE4 can implement fast dynamic modeling, so that a user can quickly perform fault subdivision on the basis of a geological model after inputting fault data, and can dynamically modify parameters during operation, so that the dynamic update requirement of the model in the project due to real-time change of data is solved.
However, although there is an algorithm for splitting the model in the UE4 engine, since the splitting result may have a "hole" in the calculation result when the intersection or the difference is calculated for the model, and the split model is an integral body, it is not possible to determine that the vertices are located in the upper and lower sections, so that it is difficult to calculate the result of uniform mapping in the three-dimensional space by using the texture mapping coordinate as the plane coordinate, the problem of uneven texture or distortion easily occurs, the fault effect is affected, the splitting process is complex, and the efficiency is low.
Disclosure of Invention
In order to solve the problems, the application provides a geological model subdivision method, a geological model subdivision device, a geological model subdivision terminal and a geological model subdivision medium based on UE4, wherein a fault curve generated by using a fault line can simulate a smooth curve, parameters can be dynamically generated in a readjusting mode during operation, complexity of fault data to a visual model is greatly simplified, the geological model is split according to the top, bottom and side triangular surfaces of the geological model by using the fault curve, texture coordinate values of the top of the geological model are set, and uniform mapping of textures is realized.
In a first aspect, the present application provides a geological model subdivision method based on UE4, including the following steps:
summarizing all fault data, including fault lines, dip angles and fault distances;
preparing a geological model G, wherein the geological model G consists of a geological layer model G (1), G (2) … G (n);
creating a fault curved surface H and a middle section L of the fault curved surface H according to the fault line and the inclination angle information;
traversing the geologic layer models in the geologic model G, and taking out one layer of models G (i) to be marked as a target geologic layer model G (i);
acquiring a triangular surface set of each surface of a target geological layer model G (i);
dividing the triangular surface set into a left triangular surface set VL and a right triangular surface set VR of the fault curved surface H by using the fault curved surface H and the middle section L; the intersection point of the triangular surface divided into two parts and the fault curved surface H forms a fault curved surface sectioning section vertex set, which comprises a left vertex set VEL and a right vertex set VER;
setting texture coordinate values for the vertexes of all triangular surfaces;
forming left and right partial faults GL and GR based on the left, right, left Bian Dingdian, and right vertex sets VL, VR, VEL, VER;
obtaining a break distance vector VS according to the break distance and the inclination angle;
the left partial fault GL and the right partial fault GR are offset processed according to the break distance vector VS.
Further, the method for creating the fault curved surface H according to the fault line and the inclination angle information specifically comprises the following steps:
the fault line is stored in a two-dimensional point P (1), P (2), … and P (n) structure array, and is connected into a curve segment according to the sequence of the points;
rotating the unit vector (0, 0, 1) according to the radian value of the fault inclination angle to obtain a unit vector V;
forming a plane H (i) by using each vertex P (i) on the fault line and the adjacent vertex P (i+1) and the unit vector V;
the n-1 planes H (1), H (2), … and H (n-1) formed by n points form a fault curved surface H.
Further, creating an intermediate section L of the tomographic curved surface H according to the tomographic line and the inclination angle information, specifically including:
traversing P according to subscript i=1 to n-1, and calculating an intermediate unit vector U (i) by taking P (i) in three points P (i-1), P (i) and P (i+1) as endpoints;
forming a section L (i) using the point P (i) and the intermediate unit vector U (i);
n-2 sections L (2), L (3), …, L (n-1) formed by n points constitute an intermediate section L.
Further, the method specifically comprises the following steps:
acquiring an upper top triangular surface set VT, a lower bottom triangular surface set VB and a side triangular surface set VE of a target geological layer model G (i);
traversing the upper top triangular surface set VT, the lower bottom triangular surface set VB and the side triangular surface set VE respectively, and dividing the triangular surface set into a left triangular surface set VL and a right triangular surface set VR of the fault curved surface H by using the fault curved surface H and the middle section L; the intersection point of the triangular surface divided into two parts and the fault curved surface H forms a fault curved surface sectioning section vertex set, which comprises a left vertex set VEL and a right vertex set VER.
Further, setting texture coordinate values for vertices of all triangular faces specifically includes:
traversing the triangular faces of each set in the order of the top, bottom and side triangular face sets, wherein the texture coordinates of the top and bottom triangular face vertices are set to the current vertex position VP multiplied by the texture coordinate scaling factor F.
Further, forming the left partial fault GL and the right partial fault GR based on the left triangle face set VL, the right triangle face set VR, the left Bian Dingdian set VEL and the right vertex set VER specifically includes:
stitching by using the left triangular surface set VL and the left vertex set VEL vertex indexes to form a left partial fault GL of the target geological layer model G (i) cut by the fault curved surface H;
and (3) stitching by using the right triangle surface set VR and the right vertex set VER vertex indexes to form a right partial fault GR of the target geological layer model G (i) after being cut by the fault curved surface H.
Further, obtaining a break distance vector VS according to the break distance and the inclination angle specifically includes:
and reading in the break distance, and obtaining a break distance vector VS according to the unit vector V of the dip angle.
In a second aspect, the present application provides a geological model dissection device based on UE4, including:
and a data summarizing module: summarizing all fault data, including fault lines, dip angles and fault distances;
a curved surface section creation module: creating a fault curved surface H and a middle section L of the fault curved surface H according to the fault line and the inclination angle information;
geological layer model acquisition module: traversing the geologic layer models in the geologic model G, and taking out one layer of models G (i) to be marked as a target geologic layer model G (i);
triangular surface acquisition module: acquiring a triangular surface set of each surface of a target geological layer model G (i);
triangular face segmentation module: dividing the triangular surface set into a left triangular surface set VL and a right triangular surface set VR of the fault curved surface H by using the fault curved surface H and the middle section L; the intersection point of the triangular surface divided into two parts and the fault curved surface H forms a fault curved surface sectioning section vertex set, which comprises a left vertex set VEL and a right vertex set VER;
texture setting module: setting texture coordinate values for the vertexes of all triangular surfaces;
a fault forming module: forming left and right partial faults GL and GR based on the left, right, left Bian Dingdian, and right vertex sets VL, VR, VEL, VER;
the broken distance vector acquisition module: obtaining a break distance vector VS according to the break distance and the inclination angle;
and an offset processing module: the left partial fault GL and the right partial fault GR are offset processed according to the break distance vector VS.
In a third aspect, a technical solution of the present application provides a terminal, including:
a memory for storing a geologic model subdivision program based on the UE 4;
a processor, configured to implement the UE 4-based geologic model splitting method according to any of the above steps when executing the UE 4-based geologic model splitting program.
In a fourth aspect, the present application provides a computer readable storage medium, where a UE 4-based geologic model splitting program is stored, where the UE 4-based geologic model splitting program, when executed by a processor, implements the steps of the UE 4-based geologic model splitting method according to any of the above.
The geological model subdivision method, the geological model subdivision device, the geological model subdivision terminal and the geological model subdivision storage medium based on the UE4 have the following beneficial effects compared with the prior art: the method comprises the steps of obtaining geological fault data, extracting fault line data, establishing a fault curved surface, traversing the top, bottom and side surfaces of a geological layer model grid model, cutting by using the fault curved surface respectively according to the top, the bottom and the side surfaces, setting texture coordinate values of the top of the fault model, performing offset processing on the cut fault model according to the breaking distance, realizing uniform mapping of problems, generating a fault curved surface by using the fault line, simulating a smooth curved surface, dynamically generating readjustment parameters during operation, greatly simplifying the complexity from the fault data to a visual model, and improving the efficiency and effect of the cutting processing.
Drawings
For a clearer description of embodiments of the application or of the prior art, the drawings that are used in the description of the embodiments or of the prior art will be briefly described, it being apparent that the drawings in the description below are only some embodiments of the application, and that other drawings can be obtained from them without inventive effort for a person skilled in the art.
FIG. 1 is a schematic representation of geological fault elements.
Fig. 2 is a schematic flow chart of a geological model subdivision method based on UE4 according to an embodiment of the present application.
Fig. 3 is a schematic block diagram of a geologic model subdivision device based on UE4 according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
In order to better understand the aspects of the present application, the present application will be described in further detail with reference to the accompanying drawings and detailed description. It will be apparent that the described embodiments are only some, but not all, embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Fig. 1 is a schematic diagram of geological fault elements, in which a line segment between a reference numeral 1 and a reference numeral 2 is a fault line, a reference numeral 3 is a fault plane, a reference numeral 7 is a fault inclination angle, a reference numeral 5 is an upper disc, a reference numeral 6 is a lower disc, and a distance between a reference numeral 4 and a reference numeral 2 is a total fault distance. Aiming at the problems that texture map coordinates are not easy to process and the subdivision processing is complex in the conventional subdivision model algorithm of the UE4 for geological model subdivision, the application provides a geological model subdivision method based on the UE4, which realizes uniform attachment of texture coordinates, generates a fault curved surface to simulate a smooth curved surface by using a fault line, readjusts parameter dynamic generation during operation, and greatly simplifies the complexity of fault data to a visual model.
Fig. 2 is a schematic flow chart of a geological model subdivision method based on UE4 according to an embodiment of the present application, and as shown in fig. 2, the method includes the following steps.
S1, summarizing all fault data, including fault lines, dip angles and fault distances.
Firstly, collecting all fault data, storing the fault data, and subsequently extracting needed data from the stored fault data for processing. In operation, the geologic model and the subdivision of the geologic model may be dynamically generated by adjusting the stored fault data.
S2, preparing a geological model G, wherein the geological model G consists of a geological layer model G (1), G (2) … G (n).
It should be noted that each geologic model G (i) is a closed geometric body formed by triangular faces, which can be divided into a triangular face set of three parts, top, bottom and side.
S3, creating a fault curved surface H and a middle section L of the fault curved surface H according to the fault line and the inclination angle information.
In the embodiment, the geological model is cut through the fault curved surface H and the intermediate section L, texture coordinate values are set based on the cut data, and the fault curved surface H and the intermediate section L are created in advance based on the stored fault line and inclination angle data.
S4, traversing the geologic layer models in the geologic model G, and taking out one layer of models G (i) to be recorded as a target geologic layer model G (i).
S5, acquiring a triangular surface set of each surface of the target geological layer model G (i).
S6, dividing the triangular surface set by using the fault curved surface H and the middle section L, and dividing the triangular surface set into a left triangular surface set VL and a right triangular surface set VR of the fault curved surface H; the intersection point of the triangular surface divided into two parts and the fault curved surface H forms a fault curved surface sectioning section vertex set, which comprises a left vertex set VEL and a right vertex set VER.
S7, setting texture coordinate values for the vertexes of all triangular surfaces.
S8, forming a left partial fault GL and a right partial fault GR based on the left triangular surface set VL, the right triangular surface set VR, the left Bian Dingdian set VEL and the right vertex set VER.
And S9, obtaining a break distance vector VS according to the break distance and the inclination angle.
S10, performing offset processing on the left partial fault GL and the right partial fault GR according to the break distance vector VS.
According to the embodiment, geological fault data are acquired, fault line data are extracted to establish a fault curved surface, the top, the bottom and the side surfaces of a geological layer model grid model are cut by using the fault curved surface respectively according to the top, the bottom and the side surfaces, texture coordinate values of the fault model top are set, offset processing is carried out on the cut fault model according to the breaking distance, uniform mapping of problems is achieved, the fault line used for generating the fault curved surface can simulate a smooth curved surface, parameters can be readjusted to be dynamically generated during operation, complexity from the fault data to a visual model is greatly simplified, and the splitting processing efficiency and effect are improved.
For a further understanding of the present application, the following description of the present application will be provided in further detail with reference to specific examples, which include the following steps.
S1, summarizing all fault data, including fault lines, dip angles and fault distances.
Information such as fault lines, dip angles, fault distances and the like is stored in a data structure, and data is subsequently retrieved from the data structure.
In this embodiment, the fault line is stored in the two-dimensional point P (1), P (2), … and P (n) structure arrays, and the points can be connected into a curve segment in sequence.
S2, preparing a geological model G, wherein the geological model G consists of a geological layer model G (1), G (2) … G (n).
S3, creating a fault curved surface H and a middle section L of the fault curved surface H according to the fault line and the inclination angle information.
Specifically, the fault curved surface H is created by the following steps S301-S304.
S301, storing fault lines in an array of two-dimensional points P (1), P (2), … and P (n), and connecting the fault lines into a curve segment according to the sequence of the two-dimensional points P (1), P (2), … and P (n);
s302, rotating a unit vector (0, 0, 1) according to the radian value of the fault inclination angle to obtain a unit vector V;
s303, forming a plane H (i) by adding a unit vector V to each vertex P (i) and adjacent vertexes P (i+1) on the fault line;
s304, n-1 planes H (1), H (2), … and H (n-1) formed by n points form a fault curved surface H.
Specifically, first, a two-dimensional point of a fault line is read from a data structure to form a curve segment, then, a unit vector V of the curve segment direction is obtained according to the inclination angle, and planes are formed according to the unit vector V for each vertex and adjacent vertexes of the fault line, so that n-1 planes are formed, and the planes form a fault curved surface H.
The creation of the intermediate section L is achieved by the following steps S305 to S307.
S305, traversing P according to subscripts i=1 to n-1, and calculating an intermediate unit vector U (i) by taking P (i) in three points P (i-1), P (i) and P (i+1) as endpoints;
s306, forming a section L (i) by using the point P (i) and the intermediate unit vector U (i);
s307, n-2 sections L (2), L (3), …, L (n-1) formed by n points form a middle section L.
The intermediate unit vector U (i) is constructed first, and then the corresponding points P (i) are used to form the cross-section L (i) with the intermediate unit vector U (i), thus forming several cross-sections, which constitute the intermediate cross-section L.
S4, traversing the geologic layer models in the geologic model G, and taking out one layer of models G (i) to be recorded as a target geologic layer model G (i).
And (3) obtaining a geological model G, traversing the geological layer model G (1), and reading a layer of geological model G (i) from the geological layer model G (2) … G (n), wherein the geological model G (i) is a target geological layer model.
S5, acquiring a triangular surface set of each surface of the target geological layer model G (i).
Specifically, an upper top triangular face set VT, a lower bottom triangular face set VB, and a side triangular face set VE of the target geologic formation model G (i) are acquired.
S6, dividing the triangular surface set by using the fault curved surface H and the middle section L, and dividing the triangular surface set into a left triangular surface set VL and a right triangular surface set VR of the fault curved surface H; the intersection point of the triangular surface divided into two parts and the fault curved surface H forms a fault curved surface sectioning section vertex set, which comprises a left vertex set VEL and a right vertex set VER.
Specifically, an upper top triangular surface set VT, a lower bottom triangular surface set VB and a side triangular surface set VE of the target geological layer model G (i) are obtained, the upper top triangular surface set VT, the lower bottom triangular surface set VB and the side triangular surface set VE are traversed respectively, the triangular surface set is divided by using a fault curved surface H and a middle section L, and the left triangular surface set VL and the right triangular surface set VR of the fault curved surface H are divided.
The triangular surface is required to be divided into two parts, and the intersection point of the triangular surface divided into two parts and the fault curved surface H forms a fault curved surface sectioning section vertex set, wherein the set comprises a left vertex set VEL and a right vertex set VER.
S7, setting texture coordinate values for the vertexes of all triangular surfaces.
Specifically, the triangular faces of each set are traversed in the order of the top, bottom, and side triangular face sets, wherein the texture coordinates of the top, bottom triangular face vertices are set to the current vertex position VP multiplied by the texture coordinate scaling factor F.
S8, forming a left partial fault GL and a right partial fault GR based on the left triangular surface set VL, the right triangular surface set VR, the left Bian Dingdian set VEL and the right vertex set VER.
Specifically, the left partial fault GL (i) of the target geologic layer model G (i) cut by the fault curved surface H is formed by stitching using the left triangle face set VL and the left vertex set VEL vertex index. And (3) stitching by using the right triangle surface set VR and the right vertex set VER vertex indexes to form a right partial fault GR (i) of the target geological layer model G (i) cut by the fault curved surface H.
And S9, obtaining a break distance vector VS according to the break distance and the inclination angle.
The break distance variable is read from the data structure and a break distance vector VS is derived from the unit vector V.
S10, performing offset processing on the left partial fault GL (i) and the right partial fault GR (i) according to the offset vector VS.
So far, the whole generation algorithm is finished. And (3) cutting the top, the bottom and the side vertexes of the geological model by using the fault curved surfaces respectively, setting texture coordinate values of the vertexes of the fault model, and uniformly attaching the texture coordinates to each stratum section to ensure the aesthetic degree of final modeling. Meanwhile, the fault line generated fault curved surface used in the specific embodiment can simulate a smooth curved surface, and parameters can be readjusted to be dynamically generated during operation, so that the complexity of fault data to a visual model is greatly simplified.
The embodiment of the geologic model splitting method based on the UE4 is described in detail above, and the embodiment of the application further provides a geologic model splitting device based on the UE4 corresponding to the method based on the geologic model splitting method based on the UE4 described in the embodiment.
Fig. 3 is a schematic block diagram of a geologic model splitting device based on UE4 according to an embodiment of the present application, and as shown in fig. 3, the device 300 includes: a data summarization module 310, a curved surface section creation module 320, a geologic layer model block acquisition module 330, a triangular surface acquisition module 340, a triangular surface segmentation module 350, a texture setting module 360, a fault formation module 370, a fault distance vector acquisition module 380, and an offset processing module 390.
Data summarization module 310: and summarizing all fault data including fault lines, dip angles and fault distances. The information of fault line, dip angle, break distance and the like is stored in a data structure, and the fault line is stored in a structure array of two-dimensional points P (1), P (2), … and P (n).
Curved surface section creation module 320: and creating a fault curved surface H and a middle section L of the fault curved surface H according to the fault line and the inclination angle information.
Geological layer model acquisition module 330: traversing the geological layer models in the prepared geological model G, and taking out one layer of model G (i) to be recorded as a target geological layer model G (i).
Triangular face acquisition module 340: a set of triangular faces for each surface of the target geologic formation model G (i) is acquired.
Triangular face segmentation module 350: dividing the triangular surface set into a left triangular surface set VL and a right triangular surface set VR of the fault curved surface H by using the fault curved surface H and the middle section L; the intersection point of the triangular surface divided into two parts and the fault curved surface H forms a fault curved surface sectioning section vertex set, which comprises a left vertex set VEL and a right vertex set VER.
Texture setting module 360: texture coordinate values are set for vertices of all triangular faces.
Fault formation module 370: the left partial fault GL and the right partial fault GR are formed based on the left triangle set VL, the right triangle set VR, the left Bian Dingdian set VEL, and the right vertex set VER.
Break-distance vector acquisition module 380: and obtaining a break distance vector VS according to the break distance and the inclination angle.
Offset processing module 390: the left partial fault GL and the right partial fault GR are offset processed according to the break distance vector VS.
The UE 4-based geologic model splitting apparatus of the present embodiment is used to implement the foregoing UE 4-based geologic model splitting method, and thus, the specific implementation of this apparatus may be found in the foregoing example section of the UE 4-based geologic model splitting method, so, the specific implementation thereof may refer to the description of the corresponding examples of the respective sections and will not be described herein.
In addition, since the UE 4-based geologic model splitting apparatus of the present embodiment is used to implement the foregoing UE 4-based geologic model splitting method, the functions thereof correspond to those of the foregoing method, and will not be described herein.
Fig. 4 is a schematic structural diagram of a terminal 400 according to an embodiment of the present application, including: processor 410, memory 420, and communication unit 430. The processor 410 is configured to implement the following steps when implementing the UE 4-based geologic model subdivision program stored in the memory 420:
summarizing all fault data, including fault lines, dip angles and fault distances;
preparing a geological model G, wherein the geological model G consists of a geological layer model G (1), G (2) … G (n);
creating a fault curved surface H and a middle section L of the fault curved surface H according to the fault line and the inclination angle information;
traversing the geologic layer models in the geologic model G, and taking out one layer of models G (i) to be marked as a target geologic layer model G (i);
acquiring a triangular surface set of each surface of a target geological layer model G (i);
dividing the triangular surface set into a left triangular surface set VL and a right triangular surface set VR of the fault curved surface H by using the fault curved surface H and the middle section L; the intersection point of the triangular surface divided into two parts and the fault curved surface H forms a fault curved surface sectioning section vertex set, which comprises a left vertex set VEL and a right vertex set VER;
setting texture coordinate values for the vertexes of all triangular surfaces;
forming left and right partial faults GL and GR based on the left, right, left Bian Dingdian, and right vertex sets VL, VR, VEL, VER;
obtaining a break distance vector VS according to the break distance and the inclination angle;
the left partial fault GL and the right partial fault GR are offset processed according to the break distance vector VS.
The fault line used in the application can simulate a smooth curved surface, and can readjust parameters for dynamic generation during operation, so that the complexity of fault data to a visual model is greatly simplified, and the triangular surfaces at the top, bottom and side surfaces of a geological model are respectively cut by using the fault curved surface, and the texture coordinate values of the vertexes of the fault model are set, so that uniform mapping of textures is realized.
The terminal 400 includes a processor 410, a memory 420, and a communication unit 430. The components may communicate via one or more buses, and it will be appreciated by those skilled in the art that the configuration of the server as shown in the drawings is not limiting of the application, as it may be a bus-like structure, a star-like structure, or include more or fewer components than shown, or may be a combination of certain components or a different arrangement of components.
The memory 420 may be used to store instructions for execution by the processor 410, and the memory 420 may be implemented by any type of volatile or nonvolatile memory terminal or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk. The execution of the instructions in memory 420, when executed by processor 410, enables terminal 400 to perform some or all of the steps in the method embodiments described below.
The processor 410 is a control center of the storage terminal, connects various parts of the entire electronic terminal using various interfaces and lines, and performs various functions of the electronic terminal and/or processes data by running or executing software programs and/or modules stored in the memory 420, and invoking data stored in the memory. The processor may be comprised of an integrated circuit (Integrated Circuit, simply referred to as an IC), for example, a single packaged IC, or may be comprised of a plurality of packaged ICs connected to the same function or different functions. For example, the processor 410 may include only a central processing unit (Central Processing Unit, simply CPU). In the embodiment of the application, the CPU can be a single operation core or can comprise multiple operation cores.
And a communication unit 430 for establishing a communication channel so that the storage terminal can communicate with other terminals. Receiving user data sent by other terminals or sending the user data to other terminals.
The application also provides a computer storage medium, which can be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (random access memory, RAM) and the like.
The computer storage medium stores a UE 4-based geologic model dissection program, which when executed by the processor, implements the steps of:
summarizing all fault data, including fault lines, dip angles and fault distances;
preparing a geological model G, wherein the geological model G consists of a geological layer model G (1), G (2) … G (n);
creating a fault curved surface H and a middle section L of the fault curved surface H according to the fault line and the inclination angle information;
traversing the geologic layer models in the geologic model G, and taking out one layer of models G (i) to be marked as a target geologic layer model G (i);
acquiring a triangular surface set of each surface of the target geological layer model G;
dividing the triangular surface set into a left triangular surface set VL and a right triangular surface set VR of the fault curved surface H by using the fault curved surface H and the middle section L; the intersection point of the triangular surface divided into two parts and the fault curved surface H forms a fault curved surface sectioning section vertex set, which comprises a left vertex set VEL and a right vertex set VER;
setting texture coordinate values for the vertexes of all triangular surfaces;
forming left and right partial faults GL and GR based on the left, right, left Bian Dingdian, and right vertex sets VL, VR, VEL, VER;
obtaining a break distance vector VS according to the break distance and the inclination angle;
the left partial fault GL and the right partial fault GR are offset processed according to the break distance vector VS.
The fault line used in the application can simulate a smooth curved surface, and can readjust parameters for dynamic generation during operation, so that the complexity of fault data to a visual model is greatly simplified, and the triangular surfaces at the top, bottom and side surfaces of a geological model are respectively cut by using the fault curved surface, and the texture coordinate values of the vertexes of the fault model are set, so that uniform mapping of textures is realized.
It will be apparent to those skilled in the art that the techniques of embodiments of the present application may be implemented in software plus a necessary general purpose hardware platform. Based on such understanding, the technical solution in the embodiments of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium such as a U-disc, a mobile hard disc, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk or an optical disk, etc. various media capable of storing program codes, including several instructions for causing a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, etc.) to execute all or part of the steps of the method described in the embodiments of the present application.
In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The foregoing disclosure is merely illustrative of the preferred embodiments of the application and the application is not limited thereto, since modifications and variations may be made by those skilled in the art without departing from the principles of the application.

Claims (8)

1. The geological model subdivision method based on the UE4 is characterized by comprising the following steps:
summarizing all fault data, including fault lines, dip angles and fault distances;
preparing a geological model G, wherein the geological model G consists of a geological layer model G (1), G (2) … G (n);
creating a fault curved surface H and a middle section L of the fault curved surface H according to the fault line and the inclination angle information;
traversing the geologic layer models in the geologic model G, and taking out one layer of models G (i) to be marked as a target geologic layer model G (i);
acquiring a triangular surface set of each surface of a target geological layer model G (i);
dividing the triangular surface set into a left triangular surface set VL and a right triangular surface set VR of the fault curved surface H by using the fault curved surface H and the middle section L; the intersection point of the triangular surface divided into two parts and the fault curved surface H forms a fault curved surface sectioning section vertex set, which comprises a left vertex set VEL and a right vertex set VER;
setting texture coordinate values for the vertexes of all triangular surfaces;
forming left and right partial faults GL and GR based on the left, right, left Bian Dingdian, and right vertex sets VL, VR, VEL, VER;
obtaining a break distance vector VS according to the break distance and the inclination angle;
performing offset processing on the left partial fault GL and the right partial fault GR according to a break distance vector VS;
the method for creating the middle section L of the fault curved surface H according to the fault line and the inclination angle information specifically comprises the following steps:
traversing P according to subscript i=1 to n-1, and calculating an intermediate unit vector U (i) by taking P (i) in three points P (i-1), P (i) and P (i+1) as endpoints;
forming a section L (i) using the point P (i) and the intermediate unit vector U (i);
n-2 sections L (2), L (3), …, L (n-1) formed by n points constitute a middle section L; wherein P refers to an array formed by two-dimensional points P (1), P (2), … and P (n) of fault lines;
the method specifically comprises the steps of setting texture coordinate values for vertexes of all triangular surfaces, wherein the texture coordinate values comprise:
traversing the triangular faces of each set in the order of the top, bottom and side triangular face sets, wherein the texture coordinates of the top and bottom triangular face vertices are set to the current vertex position VP multiplied by the texture coordinate scaling factor F.
2. The UE 4-based geologic model subdivision method of claim 1, wherein the creating of the fault surface H from fault line and dip angle information specifically comprises:
the fault line is stored in a two-dimensional point P (1), P (2), … and P (n) structure array, and is connected into a curve segment according to the sequence of the points;
rotating the unit vector (0, 0, 1) according to the radian value of the fault inclination angle to obtain a unit vector V;
forming a plane H (i) by using each vertex P (i) on the fault line and the adjacent vertex P (i+1) and the unit vector V;
the n-1 planes H (1), H (2), … and H (n-1) formed by n points form a fault curved surface H.
3. The UE 4-based geologic model subdivision method as claimed in claim 2, further specifically comprising:
acquiring an upper top triangular surface set VT, a lower bottom triangular surface set VB and a side triangular surface set VE of a target geological layer model G (i);
traversing the upper top triangular surface set VT, the lower bottom triangular surface set VB and the side triangular surface set VE respectively, and dividing the triangular surface set into a left triangular surface set VL and a right triangular surface set VR of the fault curved surface H by using the fault curved surface H and the middle section L; the intersection point of the triangular surface divided into two parts and the fault curved surface H forms a fault curved surface sectioning section vertex set, which comprises a left vertex set VEL and a right vertex set VER.
4. The UE 4-based geologic model subdivision method defined in claim 3, wherein the left partial fault GL and the right partial fault GR are formed based on the left triangle set VL, the right triangle set VR, the left Bian Dingdian set VEL and the right vertex set VER, specifically comprising:
stitching by using the left triangular surface set VL and the left vertex set VEL vertex indexes to form a left partial fault GL of the target geological layer model G (i) cut by the fault curved surface H;
and (3) stitching by using the right triangle surface set VR and the right vertex set VER vertex indexes to form a right partial fault GR of the target geological layer model G (i) after being cut by the fault curved surface H.
5. The UE 4-based geologic model subdivision method of claim 4, wherein obtaining the break vector VS from the break and the dip specifically comprises:
and reading in the break distance, and obtaining a break distance vector VS according to the unit vector V of the dip angle.
6. A geological model dissection device based on UE4 is characterized by comprising,
and a data summarizing module: summarizing all fault data, including fault lines, dip angles and fault distances;
a curved surface section creation module: creating a fault curved surface H and a middle section L of the fault curved surface H according to the fault line and the inclination angle information;
geological layer model acquisition module: traversing the geologic layer models in the geologic model G, and taking out one layer of models G (i) to be marked as a target geologic layer model G (i);
triangular surface acquisition module: acquiring a triangular surface set of each surface of a target geological layer model G (i);
triangular face segmentation module: dividing the triangular surface set into a left triangular surface set VL and a right triangular surface set VR of the fault curved surface H by using the fault curved surface H and the middle section L; the intersection point of the triangular surface divided into two parts and the fault curved surface H forms a fault curved surface sectioning section vertex set, which comprises a left vertex set VEL and a right vertex set VER;
texture setting module: setting texture coordinate values for the vertexes of all triangular surfaces;
a fault forming module: forming left and right partial faults GL and GR based on the left, right, left Bian Dingdian, and right vertex sets VL, VR, VEL, VER;
the broken distance vector acquisition module: obtaining a break distance vector VS according to the break distance and the inclination angle;
and an offset processing module: performing offset processing on the left partial fault GL and the right partial fault GR according to a break distance vector VS;
the curved surface section creating module creates an intermediate section L of the curved surface H according to the fault line and the inclination angle information, and specifically comprises the following steps:
traversing P according to subscript i=1 to n-1, and calculating an intermediate unit vector U (i) by taking P (i) in three points P (i-1), P (i) and P (i+1) as endpoints;
forming a section L (i) using the point P (i) and the intermediate unit vector U (i);
n-2 sections L (2), L (3), …, L (n-1) formed by n points constitute a middle section L; wherein P refers to an array formed by two-dimensional points P (1), P (2), … and P (n) of fault lines;
the texture setting module sets texture coordinate values for vertexes of all triangular surfaces, and specifically includes:
traversing the triangular faces of each set in the order of the top, bottom and side triangular face sets, wherein the texture coordinates of the top and bottom triangular face vertices are set to the current vertex position VP multiplied by the texture coordinate scaling factor F.
7. A terminal, comprising:
a memory for storing a geologic model subdivision program based on the UE 4;
a processor for implementing the UE4 based geologic model dissection method of any of claims 1-5 when executing the UE4 based geologic model dissection program.
8. A computer readable storage medium, characterized in that it has stored thereon a UE4 based geologic model splitting program, which when executed by a processor implements the steps of the UE4 based geologic model splitting method according to any of claims 1-5.
CN202310415962.2A 2023-04-19 2023-04-19 Geological model subdivision method, device, terminal and medium based on UE4 Active CN116152446B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310415962.2A CN116152446B (en) 2023-04-19 2023-04-19 Geological model subdivision method, device, terminal and medium based on UE4

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310415962.2A CN116152446B (en) 2023-04-19 2023-04-19 Geological model subdivision method, device, terminal and medium based on UE4

Publications (2)

Publication Number Publication Date
CN116152446A CN116152446A (en) 2023-05-23
CN116152446B true CN116152446B (en) 2023-08-11

Family

ID=86373961

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310415962.2A Active CN116152446B (en) 2023-04-19 2023-04-19 Geological model subdivision method, device, terminal and medium based on UE4

Country Status (1)

Country Link
CN (1) CN116152446B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101906965A (en) * 2010-07-14 2010-12-08 中国矿业大学(北京) Technology for identifying and analyzing stratums in VR (Virtual Reality) geological environment
CN103514630A (en) * 2013-10-16 2014-01-15 北京石油化工学院 Fault structure three-dimensional modeling method
CN106526675A (en) * 2016-12-28 2017-03-22 中国石油化工股份有限公司 Automatic extraction method for fault space parameter
CN111047700A (en) * 2019-12-19 2020-04-21 山东科技大学 Geological structure three-dimensional modeling method and system based on fault generation time sequence
CN111951394A (en) * 2020-07-27 2020-11-17 南京师范大学 Fault structure unit three-dimensional model construction method and device based on geological map
CN112381937A (en) * 2020-11-03 2021-02-19 广东省地质调查院 Multi-source geological data coupling modeling method based on drilling and complex geological profile

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108680956B (en) * 2018-01-08 2020-04-10 中国石油大港油田勘探开发研究院 Overall exploration method for oil-rich sunken mature exploration area

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101906965A (en) * 2010-07-14 2010-12-08 中国矿业大学(北京) Technology for identifying and analyzing stratums in VR (Virtual Reality) geological environment
CN103514630A (en) * 2013-10-16 2014-01-15 北京石油化工学院 Fault structure three-dimensional modeling method
CN106526675A (en) * 2016-12-28 2017-03-22 中国石油化工股份有限公司 Automatic extraction method for fault space parameter
CN111047700A (en) * 2019-12-19 2020-04-21 山东科技大学 Geological structure three-dimensional modeling method and system based on fault generation time sequence
CN111951394A (en) * 2020-07-27 2020-11-17 南京师范大学 Fault structure unit three-dimensional model construction method and device based on geological map
CN112381937A (en) * 2020-11-03 2021-02-19 广东省地质调查院 Multi-source geological data coupling modeling method based on drilling and complex geological profile

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
水文地质结构三维建模与可视化研究;张渭军;《中国博士学位论文全文数据库电子期刊 基础科学辑》;第2013卷(第6期);全文 *

Also Published As

Publication number Publication date
CN116152446A (en) 2023-05-23

Similar Documents

Publication Publication Date Title
CN110738721A (en) Three-dimensional scene rendering acceleration method and system based on video geometric analysis
EP0926628A2 (en) mpparatus and method for generating progressive polygon data
CA2772530C (en) Hair meshes
Tasse et al. Enhanced texture‐based terrain synthesis on graphics hardware
EP1866870B1 (en) Rendering 3d computer graphics using 2d computer graphics capabilities
CN106649776A (en) Method of semi-automating comprehensive vector polygon
CN116152446B (en) Geological model subdivision method, device, terminal and medium based on UE4
CN109102565B (en) Method for automatically generating virtual terrain
CN115965735B (en) Texture map generation method and device
Deng et al. Multiresolution foliage for forest rendering
CN109684656B (en) Assembly constraint inheritance method based on SolidWorks
CN112337093B (en) Virtual object clustering method and device, storage medium and electronic device
Asgharian et al. Feature-preserving mesh simplification through anisotropic Nyquist-based adaptive sampling of points inside the segmented regions
JPH0636013A (en) Method and device for generating topographic data
Pueyo et al. Shrinking city layouts
CN114078180A (en) Three-dimensional hair model generation method and device, electronic equipment and storage medium
Ono et al. Free-form deformation with automatically generated multiresolution lattices
CN116152460B (en) Method, device, terminal and medium for generating rock stratum model based on UE4
Zeng et al. 3D plants reconstruction based on point cloud
Ma et al. Research and application of personalized human body simplification and fusion method
Hauser et al. The state of the art in flow visualization, part 1: Direct, texture-based and geometric techniques
KR102061835B1 (en) How to implement LOD in non-square Grid data with NaN
WO2023179091A1 (en) Three-dimensional model rendering method and apparatus, and device, storage medium and program product
KR100724609B1 (en) A method for generating a cube mesh structure for a terrain rendering
Zhang Foliage Simplification Based on Multi-viewpoints for Efficient Rendering.

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A geological model partitioning method, device, terminal, and medium based on UE4

Effective date of registration: 20231018

Granted publication date: 20230811

Pledgee: Tai'an Caixin Industrial Co.,Ltd.

Pledgor: Tongjian Technology Co.,Ltd.

Registration number: Y2023980061605