Mine model dynamic display method and device and electronic equipment
By obtaining the geometric features of the mine model tunnel and calculating the projection width to determine the LOD level, the problem of difficult to balance the processing efficiency and display effects in the mine model display is solved, and a more efficient display effect is achieved.
Patent Information
- Application Number
- CN202411605086.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-11
- Publication Date
- 2025-02-28
AI Technical Summary
The prior art is difficult to balance the processing efficiency and display effect in the display of mine models, resulting in low processing efficiency when the accuracy is high, and insufficient details when the accuracy is low.
By obtaining the geometric features of the mine model tunnel, a bounding box is generated, the projection width is calculated, and the LOD level is determined based on the relationship between the projection width and the preset distance threshold, and the display details are adjusted.
The LOD level is dynamically adjusted according to the distance between the mine model tunnel and the observer, and the balance between processing efficiency and display effect is improved.
Smart Images

Figure CN119540489A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the fields of mining technology and three-dimensional model display technology, and in particular to a method, device and electronic equipment for dynamic display of a mine model. Background Art
[0002] In the mining industry, underground mines are located deep below the surface, creating extremely complex and harsh environments. Hazards such as toxic gases, dust, water inrush, and fire are difficult to detect and identify, leading to frequent accidents that cause significant losses to mine production and seriously endanger worker safety. Therefore, development planning, production control, and safety management projects require mines to effectively balance technological advancements with equipment reliability and safety in both design and production control.
[0003] Digital twin technology comprehensively utilizes sensors, Internet of Things, virtual reality, artificial intelligence and other technologies to describe and model the characteristics, behaviors, operating processes and performance of physical objects in the real world.
[0004] Applying digital twin technology to the mining industry to realize digital twins of mines can enable a simulated display of underground mine scenes, making it easier for operators to know the underground mine scene conditions in real time, so that mine management affairs can be carried out more safely and efficiently.
[0005] In mine digital twin technology, it is necessary to perform three-dimensional modeling of the underground mine scene, generate a mine model, and display the mine model in the application.
[0006] Because underground mine tunnels are complex, span many layers, and the model volume is large, when displaying a three-dimensional mine model, if the accuracy is high, more computing resources will be consumed, which will reduce processing efficiency and make the display process less smooth. If the accuracy is low, the details of the underground mine scene may not be displayed clearly, affecting the display effect. Summary of the Invention
[0007] The embodiments of the present application provide a method, device, and electronic device for dynamically displaying a mine model, so as to solve the problem in the prior art of being unable to balance processing efficiency and display effect during the mine model display process.
[0008] The present application provides a method for dynamically displaying a mine model, including:
[0009] For a to-be-displayed laneway in the mine model, obtaining geometric features of the to-be-displayed laneway;
[0010] generating a bounding box of the lane to be displayed based on the geometric features of the lane to be displayed;
[0011] Calculating a projection width of the lane to be displayed based on a reference vertex of the bounding box of the lane to be displayed;
[0012] Determining a corresponding level of detail (LOD) based on a size relationship between the projection width of the lane to be displayed and a preset distance threshold, wherein the larger the projection width, the higher the corresponding LOD level;
[0013] The to-be-displayed tunnel of the mine model is displayed according to the determined LOD level.
[0014] Furthermore, the geometric features include: length, width and curvature;
[0015] The step of generating a bounding box of the lane to be displayed based on the geometric features of the lane to be displayed includes:
[0016] A bounding box of the lane to be displayed is generated based on the length, the width, and the curvature of the lane to be displayed.
[0017] Furthermore, the calculating of the projection width of the lane to be displayed based on the reference vertex of the bounding box of the lane to be displayed includes:
[0018] Determining a reference vertex for measuring a width of the bounding box from a plurality of reference vertices of the bounding box of the lane to be displayed as a width reference vertex;
[0019] The projection width of the bounding box is calculated according to the width reference vertex as the projection width of the lane to be displayed.
[0020] Furthermore, the bounding box is a directed bounding box, and the directed bounding box has 8 reference vertices;
[0021] Determining a reference vertex for measuring the width of the bounding box from a plurality of reference vertices of the bounding box of the lane to be displayed includes:
[0022] Based on the starting point and the end point of the lane to be displayed, the center point of the directed bounding box of the lane to be displayed, three mutually perpendicular principal axis vectors, and the half widths corresponding to the three principal axis vectors, four reference vertices close to the starting point and four reference vertices close to the end point are determined from the eight reference vertices;
[0023] Selecting two reference vertices for measuring the width of the bounding box from the four reference vertices close to the starting point; or
[0024] From the four reference vertices close to the end point, two reference vertices for measuring the bounding box width are selected.
[0025] Furthermore, the step of calculating the projection width of the bounding box according to the width reference vertex as the projection width of the lane to be displayed includes:
[0026] Determining the projection position coordinates of the width reference vertex;
[0027] The projection position coordinates of the width reference vertex are used to calculate the projection width of the bounding box as the projection width of the lane to be displayed.
[0028] Furthermore, before obtaining the geometric features of the mine model tunnel to be displayed, the method further includes:
[0029] A mine tunnel with a length greater than a preset length threshold in the original mine model is split into a plurality of mine tunnels with a length not greater than the preset length threshold, to obtain a mine model for display.
[0030] The present application also provides a mine model dynamic display device, including:
[0031] A feature acquisition module, configured to acquire geometric features of a to-be-displayed lane in a mine model;
[0032] a bounding box generating module, configured to generate a bounding box of the lane to be displayed based on the geometric features of the lane to be displayed;
[0033] a width calculation module, configured to calculate a projected width of the lane to be displayed based on a reference vertex of the bounding box of the lane to be displayed;
[0034] a level determination module, configured to determine a corresponding level of detail (LOD) level based on a size relationship between the projection width of the lane to be displayed and a preset distance threshold, wherein a larger projection width corresponds to a higher LOD level;
[0035] A tunnel display module is used to display the tunnel to be displayed in the mine model according to the determined LOD level.
[0036] Furthermore, the geometric features include: length, width and curvature;
[0037] The bounding box generation module is specifically configured to generate a bounding box of the lane to be displayed based on the length, the width, and the curvature of the lane to be displayed.
[0038] Furthermore, the width calculation module is specifically used to determine a reference vertex for measuring the width of the bounding box from multiple reference vertices of the bounding box of the lane to be displayed, as a width reference vertex; and calculate the projected width of the bounding box according to the width reference vertex, as the projected width of the lane to be displayed.
[0039] Furthermore, the bounding box is a directed bounding box, and the directed bounding box has 8 reference vertices;
[0040] The width calculation module is specifically configured to determine, based on the starting point and end point of the lane to be displayed, the center point of the directed bounding box of the lane to be displayed, three mutually perpendicular principal axis vectors, and the half-widths corresponding one-to-one to the three principal axis vectors, four reference vertices close to the starting point and four reference vertices close to the end point from the eight reference vertices; select two reference vertices for measuring the width of the bounding box from the four reference vertices close to the starting point; or select two reference vertices for measuring the width of the bounding box from the four reference vertices close to the end point.
[0041] Furthermore, the width calculation module is specifically configured to determine the projection position coordinates of the width reference vertex; and use the projection position coordinates of the width reference vertex to calculate the projection width of the bounding box as the projection width of the lane to be displayed.
[0042] Furthermore, it also includes:
[0043] The tunnel splitting module is used to split the mine tunnels with a length greater than a preset length threshold in the original mine model into multiple mine tunnels with a length not greater than the preset length threshold before the feature acquisition module obtains the geometric features of the tunnels to be displayed in the mine model, so as to obtain a mine model for display.
[0044] An embodiment of the present application also provides an electronic device, including a processor and a machine-readable storage medium, wherein the machine-readable storage medium stores machine-executable instructions that can be executed by the processor, and the processor is prompted by the machine-executable instructions to implement any of the above-mentioned methods for dynamic display of mine models.
[0045] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, any of the above-mentioned methods for dynamically displaying a mine model is implemented.
[0046] An embodiment of the present application further provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute any of the above-mentioned methods for dynamically displaying a mine model.
[0047] The beneficial effects of this application include:
[0048] In the method provided in the embodiments of the present application, when a mine model needs to be displayed, the geometric features of the mine model's roadway to be displayed are obtained. Based on the geometric features of the roadway to be displayed, a bounding box of the roadway to be displayed is generated. Based on the reference vertex of the bounding box of the roadway to be displayed, the projection width of the roadway to be displayed is calculated. Based on the relationship between the projection width of the roadway to be displayed and a preset distance threshold, the corresponding level of detail (LOD) level is determined. The larger the projection width, the higher the corresponding LOD level. The mine model's roadway to be displayed is displayed according to the determined LOD level. Since a larger projection width indicates that the roadway is closer to the observer, more roadway details can be displayed at a relatively higher LOD level. A smaller projection width indicates that the roadway is farther away from the observer, and thus can be displayed at a relatively lower LOD level, the LOD level used for displaying the roadway to be displayed is adjusted to match the distance between the mine model's roadway to be displayed and the observer. That is, the LOD levels of multiple roadways to be displayed within the current screen viewport are differentiated, thereby achieving a better balance between processing efficiency and display effect.
[0049] Other features and advantages of the present application will be described in the following description, and in part will become apparent from the description, or will be understood by practicing the present application. The purposes and other advantages of the present application can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] The accompanying drawings are used to provide a further understanding of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings:
[0051] Figure 1 A flowchart of a method for dynamically displaying a mine model provided in an embodiment of the present application;
[0052] Figure 2 A flowchart of determining a reference vertex for measuring the width of a bounding box in an embodiment of the present application;
[0053] Figure 3 A schematic diagram of the structure of a dynamic display device for a mine model provided in an embodiment of the present application;
[0054] Figure 4 A schematic structural diagram of a mine model dynamic display device provided in another embodiment of the present application;
[0055] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0056] To provide a solution that better balances processing efficiency and display effects during the mine model display process, the present application provides a method, device, and electronic device for dynamically displaying a mine model. The preferred embodiments of the present application are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are intended only to illustrate and explain the present application and are not intended to limit the present application. Furthermore, the embodiments and features within the embodiments of the present application may be combined with each other unless there is a conflict.
[0057] The present application embodiment provides a method for dynamically displaying a mine model, such as Figure 1 Shown, including:
[0058] Step 11: For the tunnel to be displayed in the mine model, obtain the geometric features of the tunnel to be displayed;
[0059] Step 12: Generate a bounding box of the lane to be displayed based on the geometric features of the lane to be displayed;
[0060] Step 13: Calculate the projection width of the lane to be displayed based on the reference vertex of the bounding box of the lane to be displayed;
[0061] Step 14: Determine the corresponding LOD level based on the relationship between the projection width of the lane to be displayed and the preset distance threshold. The larger the projection width, the higher the corresponding LOD level.
[0062] Step 15: Display the tunnels to be displayed in the mine model according to the determined LOD level.
[0063] By adopting the above-mentioned dynamic display method of the mine model provided in the embodiment of the present application, since the larger the projection width, the closer the tunnel is to the observer, more tunnel details can be displayed at a relatively high LOD level. The smaller the projection width, the farther the tunnel is from the observer, so it can be displayed at a relatively low LOD level, thereby achieving a matching adjustment of the LOD level used for displaying the tunnel to be displayed based on the distance between the tunnel to be displayed in the mine model and the observer, that is, distinguishing the LOD levels of multiple tunnels that need to be displayed in the current screen viewport, thereby better balancing processing efficiency and display effect.
[0064] The method provided in this application is described in detail below with reference to specific embodiments in conjunction with the accompanying drawings.
[0065] In one embodiment of the present application, the geometric features of the lane to be displayed may include length, width, and curvature, and a bounding box of the lane to be displayed may be generated based on the length, width, and curvature of the lane to be displayed.
[0066] In 3D rendering engines, bounding boxes are a common data structure used to quickly determine the position and size of objects in space and perform efficient collision detection. These structures include axis-aligned bounding boxes (AABBs) and oriented bounding boxes (OBBs). When a 3D scene is scaled or the viewer's perspective changes, the rendering engine needs to recalculate which objects should be rendered. Bounding boxes help the engine quickly determine which objects are visible from the current viewpoint and which should be culled.
[0067] In the embodiment of the present application, since the tunnels in the mine model are long strips, the bounding box generated for the tunnels is a strip-shaped bounding box along the center line of the tunnels.
[0068] In one embodiment of the present application, the above step 13, i.e., calculating the projection width of the lane to be displayed based on the reference vertex of the bounding box of the lane to be displayed, may specifically include:
[0069] Determining a reference vertex for measuring a width of a bounding box from among a plurality of reference vertices of a bounding box of a lane to be displayed as a width reference vertex;
[0070] The projection width of the bounding box is calculated according to the width reference vertex and used as the projection width of the lane to be displayed.
[0071] Furthermore, in the embodiment of the present application, the bounding box may be a directed bounding box having 8 reference vertices;
[0072] like Figure 2 As shown, determining the reference vertex for measuring the width of the bounding box may specifically include:
[0073] Step 21: Based on the starting point Ps and end point Pe of the lane to be displayed, the center point C of the directed bounding box of the lane to be displayed, the three mutually perpendicular principal axis vectors ux, uy, uz, and the half-widths ex, ey, ez that correspond one-to-one to the three principal axis vectors, determine the four reference vertices close to the starting point and the four reference vertices close to the end point from the eight reference vertices.
[0074] In this step, first, the direction vector of the directed bounding box of the lane to be displayed can be determined in the local coordinate system of the directed bounding box, which can be expressed as follows:
[0075]
[0076] in, Represents the direction vector of the oriented bounding box,
[0077] Then, the eight reference vertices of the directed bounding box are calculated as follows:
[0078]
[0079] Among them, V i represents the i-th base vertex.
[0080] Then, each base vertex is projected onto the direction of the oriented bounding box, as follows:
[0081]
[0082] Among them, proj i is the projection value of the i-th reference vertex;
[0083] Then, the reference vertices are classified. Specifically, the direction of the reference vertex relative to the directed bounding box can be determined based on the size of the projection value of the reference vertex. The reference vertex with a larger projection value is closer to the end point, and the vertex with a smaller projection value is closer to the starting point. The details are as follows:
[0084]
[0085] Among them, θ is the threshold, and is the half-width position;
[0086] For each reference vertex V i , if proj i >θ, then the reference vertex V i Near the end point, if proj i <-θ, then the reference vertex V i Close to the starting point, so that 4 reference vertices close to the starting point and 4 reference vertices close to the end point can be selected from the 8 reference vertices.
[0087] Step 22: Select two reference vertices for measuring the width of the bounding box from the four reference vertices close to the starting point, or select two reference vertices for measuring the width of the bounding box from the four reference vertices close to the end point as the reference vertices for measuring the width of the bounding box.
[0088] In this step, specifically, the four reference vertices close to the starting point or the end point can be divided into two upper reference vertices and two lower reference vertices according to the height of the reference vertices, and the two upper reference vertices or the two lower reference vertices can be determined as the reference vertices for measuring the width of the bounding box.
[0089] In the embodiment of the present application, the projection width of the bounding box is calculated according to the width reference vertex as the projection width of the lane to be displayed, which can be specifically as follows:
[0090] First, determine the projection position coordinates of the width reference vertex.
[0091] Convert the coordinates of the spatial rectangular coordinate system of the two selected width reference vertices (x.bottom0, y.bottom0, z.bottom0) and (x.bottom1, y.bottom1, z.bottom1) to projection position coordinates to obtain the projection position coordinates of the first width reference vertex (x1, y1) and the projection position coordinates of the second width reference vertex (x2, y2);
[0092] Then, the projection position coordinates of the width reference vertex are used to calculate the projection width of the bounding box as the projection width of the lane to be displayed.
[0093] Specifically, the projection width of the bounding box can be calculated using the following formula:
[0094]
[0095] Among them, wproj is the projection width of the bounding box of the lane to be displayed, that is, it can be used as the projection width of the lane to be displayed.
[0096] In one embodiment of the present application, for the above step 14, i.e., based on the relationship between the projection width of the lane to be displayed and the preset distance threshold, the corresponding LOD (Levels of Detail) level is determined. The larger the projection width, the higher the corresponding LOD level. Specifically, the following method can be used:
[0097] The first method is to set a preset distance threshold. When the projection width of the lane to be displayed is not less than the preset distance threshold, a high-precision LOD level is used. When the projection width of the lane to be displayed is less than the preset distance threshold, a low-precision LOD level is used.
[0098] The second method is to set multiple preset distance thresholds, and the multiple preset distance thresholds constitute multiple threshold intervals. Different threshold intervals correspond to different LOD levels. The larger the value contained in the threshold interval, the higher the LOD level corresponding to the threshold interval. The threshold interval in which the projection width of the alley to be displayed is determined, and the LOD level of the alley to be displayed is determined to be the LOD level corresponding to the threshold interval in which it is located.
[0099] In actual mining scenarios, the length of underground tunnels may be very long. When displaying the tunnels, the viewing distance at one end of the tunnel may be very close, while the viewing distance at the other end may be farther. In this case, if a high-precision LOD level is used to load a high-precision tunnel model, the tunnel model at a farther distance will also be presented as a high-precision model, resulting in a waste of resources and low processing efficiency.
[0100] To solve this technical problem, in one embodiment of the present application, before obtaining the geometric features of the tunnel to be displayed in the mine model, the following steps may be included:
[0101] The mine tunnels in the original mine model whose length is greater than a preset length threshold are split into multiple mine tunnels whose length is not greater than the preset length threshold, so as to obtain a mine model for display.
[0102] After splitting a longer lane into multiple relatively shorter lanes, when the multiple lanes need to be displayed at the same time, the projection width of each lane can be calculated separately for each split lane, and the corresponding LOD level can be determined separately. This allows different LOD levels to be distinguished when displaying the longer lane, reduces unnecessary consumption of computing resources, and ensures clear display of lane details, further achieving a better balance between processing efficiency and display effect.
[0103] Based on the same inventive concept, according to the mine model dynamic display method provided in the above embodiment of the present application, correspondingly, another embodiment of the present application also provides a mine model dynamic display device, the structural diagram of which is shown in FIG. Figure 3 As shown, specifically including:
[0104] A feature acquisition module 31 is used to acquire geometric features of the to-be-displayed lanes in the mine model;
[0105] A bounding box generating module 32 is configured to generate a bounding box of the lane to be displayed based on the geometric features of the lane to be displayed;
[0106] A width calculation module 33 is configured to calculate the projected width of the lane to be displayed based on the reference vertices of the bounding box of the lane to be displayed;
[0107] A level determination module 34 is configured to determine a corresponding level of detail (LOD) level based on a relationship between the projection width of the lane to be displayed and a preset distance threshold, wherein a larger projection width corresponds to a higher LOD level;
[0108] The tunnel display module 35 is configured to display the tunnel to be displayed in the mine model according to the determined LOD level.
[0109] Furthermore, the geometric features include: length, width and curvature;
[0110] The bounding box generating module 32 is specifically configured to generate a bounding box of the lane to be displayed based on the length, the width, and the curvature of the lane to be displayed.
[0111] Furthermore, the width calculation module 33 is specifically configured to determine a reference vertex for measuring the width of the bounding box of the lane to be displayed from a plurality of reference vertices of the bounding box, as a width reference vertex; and calculate the projected width of the bounding box according to the width reference vertex, as the projected width of the lane to be displayed.
[0112] Furthermore, the bounding box is a directed bounding box, and the directed bounding box has 8 reference vertices;
[0113] The width calculation module 33 is specifically used to determine, based on the starting point and end point of the lane to be displayed, the center point of the directed bounding box of the lane to be displayed, three mutually perpendicular principal axis vectors, and the half-widths corresponding one-to-one to the three principal axis vectors, from the eight reference vertices to determine four reference vertices close to the starting point and four reference vertices close to the end point; select two reference vertices for measuring the width of the bounding box from the four reference vertices close to the starting point; or select two reference vertices for measuring the width of the bounding box from the four reference vertices close to the end point.
[0114] Furthermore, the width calculation module 33 is specifically configured to determine the projection position coordinates of the width reference vertex; and use the projection position coordinates of the width reference vertex to calculate the projection width of the bounding box as the projection width of the lane to be displayed.
[0115] Further, such as Figure 4 As shown, it also includes:
[0116] The tunnel splitting module 36 is used to split the mine tunnels in the original mine model whose length is greater than a preset length threshold into multiple mine tunnels whose length is not greater than the preset length threshold before the feature acquisition module obtains the geometric features of the tunnels to be displayed in the mine model, so as to obtain a mine model for display.
[0117] The functions of the above modules can correspond to Figure 1 or Figure 2 The corresponding processing steps in the shown process will not be repeated here.
[0118] The dynamic mine model display device provided in the embodiments of the present application can be implemented via a computer program. Those skilled in the art will appreciate that the aforementioned modular division is only one of many modular division methods, and that other modular divisions or no modular divisions, as long as the dynamic mine model display device has the aforementioned functions, are within the scope of protection of the present application.
[0119] The present application also provides an electronic device, such as Figure 5As shown, it includes a processor 51 and a machine-readable storage medium 52, wherein the machine-readable storage medium 52 stores machine-executable instructions that can be executed by the processor 51, and the processor 51 is prompted by the machine-executable instructions to implement any of the above-mentioned mine model dynamic display methods.
[0120] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, any of the above-mentioned methods for dynamically displaying a mine model is implemented.
[0121] An embodiment of the present application further provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute any of the above-mentioned methods for dynamically displaying a mine model.
[0122] The machine-readable storage medium in the electronic device may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage device. Optionally, the memory may be at least one storage device located remote from the processor.
[0123] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components.
[0124] Each embodiment in this specification is described in a related manner. Similar portions between the various embodiments can be referenced to each other. Each embodiment focuses on the differences between the other embodiments. In particular, the device, electronic device, computer-readable storage medium, and computer program product embodiments are generally similar to the method embodiments, so their descriptions are relatively simple. For related portions, reference can be made to the descriptions of the method embodiments.
[0125] It should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply the existence of any such actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.
[0126] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the steps in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0127] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0128] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0129] Obviously, those skilled in the art may make various changes and modifications to this application without departing from the spirit and scope of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalents, this application is intended to include these modifications and variations.
Claims
1. A method for dynamically displaying a mine model, characterized in that: include: For the tunnel to be displayed in the mine model, obtaining geometric features of the tunnel to be displayed; Based on the geometric features of the lane to be displayed, generating a bounding box of the lane to be displayed; Calculating a projection width of the lane to be displayed based on a reference vertex of the bounding box of the lane to be displayed; Based on the size relationship between the projection width of the lane to be displayed and a preset distance threshold, a corresponding LOD level is determined, wherein the larger the projection width is, the higher the corresponding LOD level is; The to-be-displayed tunnel of the mine model is displayed according to the determined LOD level.
2. The method according to claim 1, characterized in that The geometric features include: length, width and curvature; The step of generating a bounding box of the lane to be displayed based on the geometric features of the lane to be displayed includes: A bounding box of the lane to be displayed is generated based on the length, the width and the curvature of the lane to be displayed.
3. The method according to claim 1, characterized in that The calculating the projection width of the lane to be displayed based on the reference vertex of the bounding box of the lane to be displayed includes: Determining a reference vertex for measuring the width of the bounding box from among a plurality of reference vertices of the bounding box of the lane to be displayed as a width reference vertex; The projection width of the bounding box is calculated according to the width reference vertex as the projection width of the lane to be displayed.
4. The method according to claim 3, characterized in that The bounding box is a directed bounding box, and the directed bounding box has 8 reference vertices; Determining a reference vertex for measuring the width of the bounding box from a plurality of reference vertices of the bounding box of the lane to be displayed includes: Based on the starting point and the end point of the lane to be displayed, the center point of the directed bounding box of the lane to be displayed, three mutually perpendicular principal axis vectors, and half widths corresponding to the three principal axis vectors, four reference vertices close to the starting point and four reference vertices close to the end point are determined from the eight reference vertices; Selecting two reference vertices for measuring the width of the bounding box from the four reference vertices close to the starting point; or From the four reference vertices close to the end point, two reference vertices for bounding box width measurement are selected.
5. The method according to claim 3, characterized in that The step of calculating the projection width of the bounding box according to the width reference vertex as the projection width of the lane to be displayed includes: Determining the projection position coordinates of the width reference vertex; The projection position coordinates of the width reference vertex are used to calculate the projection width of the bounding box as the projection width of the lane to be displayed.
6. The method according to claim 1, characterized in that Before obtaining the geometric features of the tunnel to be displayed for the mine model, the method further includes: The mine tunnels in the original mine model whose length is greater than a preset length threshold are split into a plurality of mine tunnels whose length is not greater than the preset length threshold, so as to obtain a mine model for display.
7. A mine model dynamic display device, characterized in that: include: A feature acquisition module, for acquiring geometric features of the to-be-displayed lanes of the mine model; A bounding box generation module, used to generate a bounding box of the lane to be displayed based on the geometric features of the lane to be displayed; A width calculation module, used for calculating the projection width of the lane to be displayed based on the reference vertices of the bounding box of the lane to be displayed; A level determination module, used to determine the corresponding LOD level based on the size relationship between the projection width of the lane to be displayed and a preset distance threshold, wherein the larger the projection width, the higher the corresponding LOD level; The tunnel display module is used to display the tunnel to be displayed in the mine model according to the determined LOD level.
8. The device according to claim 7, characterized in that The width calculation module is specifically used to determine a reference vertex for measuring the width of the bounding box from a plurality of reference vertices of the bounding box of the lane to be displayed, as a width reference vertex; The projection width of the bounding box is calculated according to the width reference vertex as the projection width of the lane to be displayed.
9. An electronic device, characterized in that: The method comprises a processor and a machine-readable storage medium, wherein the machine-readable storage medium stores machine-executable instructions that can be executed by the processor, and the processor is prompted by the machine-executable instructions to implement the method described in any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Scene display method based on levels of detail technology and storage medium
CN108664284A
Three-dimensional roadway modeling system and method
CN113744388A
Roadway three-dimensional roaming inspection method and inspection system
CN114187414A
Three-dimensional roadway model rapid construction method and device, computer equipment and medium
CN116385688A
Model rendering method and device, animation production method and device, equipment and storage medium
CN118001727A
Cited By
Mine roadway design model training method, mine roadway design and device
CN120705937A