Underground Disease Body Rendering Method and Device, Storage Medium, Computer Equipment

By performing segmentation processing and rendering of stress and strain data on underground disease bodies, the problem of difficulty in accurately rendering the stress and strain conditions of underground disease bodies in the prior art is solved, and higher display accuracy and disaster prevention effects are achieved.

CN119888054BActive Publication Date: 2025-07-01SHENZHEN MUNICIPAL DESIGN & RES INST
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510352257.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-03-25
Publication Date
2025-07-01
Estimated Expiration
2045-03-25

AI Technical Summary

Technical Problem

The prior art is difficult to accurately and efficiently render the stress and strain conditions of underground diseased bodies, resulting in the inability to effectively prevent and reduce underground engineering disasters.

Method used

Before using the traditional three-dimensional rendering engine to create the model, the parent disease body is segmented in advance to obtain multiple child disease bodies, and the stress and strain conditions of the child disease body are rendered based on the stress and strain data, and finally the parent disease body containing multiple colors is generated.

Benefits of technology

The display accuracy of stress and strain conditions is improved, and the stress and strain distribution of underground disease bodies can be more accurately displayed, thereby more effectively preventing and reducing underground engineering disasters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119888054B_ABST
    Figure CN119888054B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of image data processing, and discloses an underground disease body rendering method, an apparatus, a storage medium, and a computer device. The method includes: a rendering data processing platform loads stress and strain data of a target rendered underground disease body, segments the target rendered underground disease body to obtain a plurality of sub-disease bodies, and determines sub-stress and strain data of each sub-disease body based on the stress and strain data; among the sub-stress and strain data, a target rendering pixel value is determined based on target sub-stress and strain data of a stress and strain data rendering type, so that a three-dimensional rendering engine renders the sub-disease body based on the target rendering pixel value, and a target rendered underground disease body including a variety of target rendering pixel values is obtained based on the plurality of rendered sub-disease bodies. By performing segmentation processing on the parent disease body in advance, even if the rendering engine itself can only use one color for rendering, it is possible to separately render the sub-disease bodies and finally generate a parent disease body containing multiple colors, thereby improving the display accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of image data processing, and particularly to a method and device for rendering underground disease bodies, a storage medium, and a computer device. Background Art

[0002] During the development and utilization of urban underground space, the existence of underground disease bodies poses a serious threat to the safety and stability of underground projects. Underground disease bodies, such as cavities, loose bodies, water-rich areas, and water sacs, etc., may cause serious problems such as road collapses and underground pipeline ruptures, posing significant hidden dangers to people's lives and property. Therefore, accurately and efficiently detecting and rendering the stress and strain conditions of underground disease bodies is of great significance for preventing and reducing underground engineering disasters. Summary of the Invention

[0003] In view of this, this application provides a method and device for rendering underground disease bodies, a storage medium, and a computer device. Before creating an underground disease body model using a traditional 3D rendering engine, the parent disease body is segmented in advance to obtain individual child disease bodies. Even if the rendering engine itself can only use one color to render the stress and strain conditions, it is possible to separately render the stress and strain conditions of the child disease bodies, and finally generate a parent disease body with stress and strain conditions of multiple colors, thereby improving the display accuracy of the stress and strain conditions.

[0004] According to one aspect of this application, a method for rendering underground disease bodies is provided. The method includes:

[0005] The rendering data processing platform loads the stress and strain data of the target rendered underground disease body. Among them, the target rendered underground disease body is represented based on a 3D model, and the stress and strain data includes the stress values and strain values of each 3D coordinate point in the 3D coordinate system where the 3D model corresponding to the target rendered underground disease body is located;

[0006] The rendering data processing platform segments the target rendered underground disease body to obtain a plurality of child disease bodies, and based on the stress and strain data, determines the child stress and strain data of each child disease body. Among them, the child stress and strain data includes the child stress values and child strain values of each child disease body;

[0007] The rendering data processing platform determines the rendering type of stress-strain data. Among the sub stress-strain data, it determines the target rendering pixel values based on the target sub stress-strain data of the stress-strain data rendering type, so that the 3D rendering engine renders the sub-disease bodies based on the target rendering pixel values, and obtains a target rendered underground disease body containing multiple target rendering pixel values based on multiple rendered sub-disease bodies. Among them, the stress-strain data rendering type includes stress values and strain values, and different sub stress-strain data respectively correspond to different preset rendering pixel values.

[0008] Optionally, the target rendered underground disease body is a cube; the rendering data processing platform divides the target rendered underground disease body to obtain multiple sub-disease bodies, including:

[0009] The rendering data processing platform determines the target volume division interval to which the volume of the target rendered underground disease body belongs among multiple preset volume division intervals, and determines a target segmentation strategy based on the target volume division interval. Among them, different preset volume division intervals respectively correspond to different preset segmentation strategies, and the preset segmentation strategy includes the length, width, and height of the sub-disease bodies into which the sub-disease body requirements are divided.

[0010] The rendering data processing platform divides the target rendered underground disease body based on the determined target segmentation strategy to obtain multiple sub-disease bodies.

[0011] Optionally, the 3D coordinate system includes the x-axis, y-axis, and z-axis. The rendering data processing platform divides the target rendered underground disease body based on the determined target segmentation strategy to obtain multiple sub-disease bodies, including:

[0012] The rendering data processing platform determines multiple x-axis division segments according to the length of the target rendered underground disease body and the length of the sub-disease body, determines multiple y-axis division segments according to the width of the target rendered underground disease body and the width of the sub-disease body, and determines multiple z-axis division segments according to the height of the target rendered underground disease body and the height of the sub-disease body.

[0013] The rendering data processing platform divides multiple x-axis division segments along the x-axis direction, divides multiple y-axis division segments along the y-axis direction, and divides multiple z-axis division segments along the z-axis direction starting from the origin of the 3D coordinate system corresponding to the 3D model of the target rendered underground disease body, and then obtains multiple sub-disease bodies. Among them, the origin of the 3D coordinate system is the vertex of the 3D model corresponding to the target rendered underground disease body.

[0014] Optionally, when the rendering data processing platform divides the target rendered underground disease body to obtain multiple sub-disease bodies, it further includes:

[0015] The rendering data processing platform obtains the environmental information of the location where the target rendered underground disease body is located, determines a target segmentation strategy based on the environmental information, and segments the target rendered underground disease body based on the target segmentation strategy to obtain a plurality of sub-disease bodies, where different environmental information corresponds to different preset segmentation strategies.

[0016] Optionally, determining the sub-stress-strain data of each sub-disease body based on the stress-strain data includes:

[0017] The rendering data processing platform determines the three-dimensional coordinates of the center point of each sub-disease body;

[0018] The rendering data processing platform obtains the sub-stress-strain data at the three-dimensional coordinates of the center point of each sub-disease body in the stress-strain data of the target rendered underground disease body.

[0019] Optionally, before the three-dimensional rendering engine renders the sub-disease body based on the target rendering pixel value and obtains the target rendered underground disease body containing a variety of target rendering pixel values based on the rendered sub-disease bodies, the method further includes:

[0020] When the difference between the target sub-stress-strain data of any two adjacent sub-disease bodies is greater than or equal to the preset segmentation roughness threshold, the rendering data processing platform determines a target adjustment segmentation strategy according to the difference between the target sub-stress-strain data, re-segments the target rendered underground disease body based on the target adjustment segmentation strategy, and determines the target rendering pixel values of the re-segmented sub-disease bodies.

[0021] Optionally, the rendering data processing platform determines the target adjustment segmentation strategy according to the difference between the target sub-stress-strain data, including:

[0022] The rendering data processing platform determines a target adjustment segmentation strategy based on the length, width, and height of the sub-disease body corresponding to the current target segmentation strategy, where the target adjustment segmentation strategy includes the adjusted length, adjusted width, and adjusted height of the sub-disease body obtained by adjusting the segmentation of the sub-disease body, the adjusted length of the sub-disease body is less than the length of the sub-disease body, the adjusted width of the sub-disease body is less than the width of the sub-disease body, and the adjusted height of the sub-disease body is less than the height of the sub-disease body.

[0023] According to another aspect of the present application, there is provided an underground disease body rendering device, the device includes:

[0024] A stress-strain data loading module, configured to load the stress-strain data of the target rendered underground disease body, where the target rendered underground disease body is represented based on a three-dimensional model, and the stress-strain data includes the stress value and strain value of each three-dimensional coordinate point in the three-dimensional coordinate system where the three-dimensional model corresponding to the target rendered underground disease body is located;

[0025] The underground disease body segmentation module is used to segment the target-rendered underground disease body to obtain a plurality of sub-disease bodies, and based on the stress-strain data, determine the sub-stress-strain data of each sub-disease body, where the sub-stress-strain data includes the sub-stress value and sub-strain value of each sub-disease body;

[0026] The underground disease body rendering module is used to determine the stress-strain data rendering type, and in the sub-stress-strain data, determine the target rendering pixel value based on the target sub-stress-strain data of the stress-strain data rendering type, render the sub-disease body based on the target rendering pixel value, and obtain the target-rendered underground disease body containing various target rendering pixel values based on a plurality of rendered sub-disease bodies, where the stress-strain data rendering type includes stress value and strain value, and different sub-stress-strain data respectively correspond to different preset rendering pixel values.

[0027] Optionally, the target-rendered underground disease body is a cube; the underground disease body segmentation module is further used for:

[0028] Among a plurality of preset volume division intervals, determine the target volume division interval to which the volume of the target-rendered underground disease body belongs, and determine the target segmentation strategy based on the target volume division interval, where different preset volume division intervals respectively correspond to different preset segmentation strategies, and the preset segmentation strategy includes the length, width, and height of the sub-disease bodies into which the sub-disease bodies need to be segmented;

[0029] Segment the target-rendered underground disease body based on the determined target segmentation strategy to obtain a plurality of sub-disease bodies.

[0030] Optionally, the three-dimensional coordinate system includes the x-axis, y-axis, and z-axis, and the underground disease body segmentation module is further used for:

[0031] According to the length of the target-rendered underground disease body and the length of the sub-disease body, determine a plurality of x-axis division segments, according to the width of the target-rendered underground disease body and the width of the sub-disease body, determine a plurality of y-axis division segments, and according to the height of the target-rendered underground disease body and the height of the sub-disease body, determine a plurality of z-axis division segments;

[0032] For the three-dimensional coordinate system where the three-dimensional model corresponding to the target-rendered underground disease body is located, starting from the origin of the three-dimensional coordinate system, divide a plurality of x-axis division segments along the x-axis direction, divide a plurality of y-axis division segments along the y-axis direction, and divide a plurality of z-axis division segments along the z-axis direction, and then obtain a plurality of sub-disease bodies, where the origin of the three-dimensional coordinate system is the vertex of the three-dimensional model corresponding to the target-rendered underground disease body.

[0033] Optionally, the underground disease body segmentation module is further used for:

[0034] Obtain the environmental information of the location where the target rendered underground disease body is located, determine the target segmentation strategy based on the environmental information, and segment the target rendered underground disease body based on the target segmentation strategy to obtain a plurality of sub-disease bodies, where different environmental information corresponds to different preset segmentation strategies.

[0035] Optionally, the device further includes: a sub-stress-strain data determination module, configured to:

[0036] Determine the three-dimensional coordinates of the center point of each sub-disease body;

[0037] In the stress-strain data of the target rendered underground disease body, obtain the sub-stress-strain data at the three-dimensional coordinates of the center point of each sub-disease body.

[0038] Optionally, the underground disease body segmentation module is further configured to:

[0039] When the difference between the target sub-stress-strain data of any two adjacent sub-disease bodies is greater than or equal to the preset segmentation roughness threshold, determine the target adjustment segmentation strategy according to the difference between the target sub-stress-strain data, re-segment the target rendered underground disease body based on the target adjustment segmentation strategy, and determine the target rendered pixel values of each sub-disease body after re-segmentation.

[0040] Optionally, the underground disease body segmentation module is further configured to:

[0041] Based on the length, width, and height of the sub-disease body corresponding to the current target segmentation strategy, determine the target adjustment segmentation strategy, where the target adjustment segmentation strategy includes the adjusted length, adjusted width, and adjusted height of the sub-disease body obtained by adjusting the segmentation of the sub-disease body, the adjusted length of the sub-disease body is less than the length of the sub-disease body, the adjusted width of the sub-disease body is less than the width of the sub-disease body, and the adjusted height of the sub-disease body is less than the height of the sub-disease body.

[0042] According to another aspect of the present application, a storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the above-mentioned underground disease body rendering method is implemented.

[0043] According to still another aspect of the present application, a computer device is provided, including a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, and when the processor executes the program, the above-mentioned underground disease body rendering method is implemented.

[0044] With the above technical solution, a method and device for rendering underground disease bodies, a storage medium, and a computer device provided by the present application are such that the rendering data processing platform loads the stress and strain data of the target underground disease body to be rendered, segments the target underground disease body to be rendered to obtain multiple sub-disease bodies, and determines the sub-stress and strain data of each sub-disease body based on the stress and strain data; among the sub-stress and strain data, the target rendering pixel value is determined based on the target sub-stress and strain data of the stress and strain data rendering type, so that the three-dimensional rendering engine renders the sub-disease body based on the target rendering pixel value, and obtains the target underground disease body containing multiple target rendering pixel values based on the multiple rendered sub-disease bodies. By performing segmentation processing on the parent disease body in advance before using the traditional three-dimensional rendering engine to create a model, even if the rendering engine itself can only use one color for rendering, it is possible to separately render the sub-disease bodies and finally generate a parent disease body containing multiple colors, thereby improving the display accuracy.

[0045] The above description is only an overview of the technical solution of the present application. In order to be able to understand the technical means of the present application more clearly, it can be implemented according to the content of the specification. And in order to make the above and other purposes, features, and advantages of the present application more obvious and understandable, the following specifically illustrates the specific embodiments of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] The drawings described herein are used to provide a further understanding of the present application and form a part of the present application. The schematic embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation to the present application. In the drawings:

[0047] Figure 1 The flowchart of a method for rendering an underground disease body provided by an embodiment of the present application is shown;

[0048] Figure 2 The flowchart of another method for rendering an underground disease body provided by an embodiment of the present application is shown;

[0049] Figure 3 The three-dimensional model diagram of an underground disease body provided by an embodiment of the present application is shown;

[0050] Figure 4 The flowchart of yet another method for rendering an underground disease body provided by an embodiment of the present application is shown;

[0051] Figure 5 The structural diagram of a device for rendering an underground disease body provided by an embodiment of the present application is shown;

[0052] Figure 6 The structural diagram of another device for rendering an underground disease body provided by an embodiment of the present application is shown. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0053] The present application will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments. It should be noted that, without conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

[0054] In this embodiment, a method for rendering underground disease bodies is provided. As Figure 1 shown, the method includes:

[0055] Step 101, a rendering data processing platform loads stress and strain data of a target underground disease body to be rendered, where the target underground disease body to be rendered is represented based on a three-dimensional model, and the stress and strain data includes stress values and strain values of each three-dimensional coordinate point in the three-dimensional coordinate system where the three-dimensional model corresponding to the target underground disease body to be rendered is located.

[0056] Currently, when the underground disease body expression technology combines stress and strain information, that is, when using a three-dimensional rendering engine to render the stress and strain distribution of an underground disease body, there is a problem that the stress and strain data cannot be accurately displayed. For example, color gradient cannot be achieved in a three-dimensional model, so the change and distribution of attribute information in the three-dimensional model cannot be represented by colors. Therefore, the specific stress and strain conditions of each part cannot be obtained from the underground disease body.

[0057] In the above embodiment of the present application, it can be applied before rendering the stress and strain distribution of an underground disease body through a three-dimensional rendering engine. First, the underground disease body is segmented by a rendering data processing platform. Specifically, the rendering data processing platform loads stress and strain data of a target underground disease body to be rendered. In particular, the target underground disease body to be rendered is represented based on a three-dimensional model, and the stress and strain data includes stress values and strain values of each three-dimensional coordinate point in the three-dimensional coordinate system where the three-dimensional model corresponding to the target underground disease body to be rendered is located. The stress and strain data are known quantities. When processing the "rendering data" by the rendering data processing platform, there is no need to recalculate the stress and strain data of the underground disease body, but directly load the data that has been simulated by the finite element method by the rendering data processing platform.

[0058] Step 102, the rendering data processing platform segments the target underground disease body to be rendered to obtain a plurality of sub-disease bodies, and based on the stress and strain data, determines sub-stress and strain data of each sub-disease body, where the sub-stress and strain data includes sub-stress values and sub-strain values of each sub-disease body.

[0059] Next, use the rendering data processing platform to divide the target rendered underground disease body to obtain multiple sub-disease bodies, and based on the stress-strain data, determine the sub-stress-strain data of each sub-disease body. The sub-stress-strain data includes sub-stress values and sub-strain values. The underground disease body is divided into smaller parts (sub-disease bodies) by the rendering data processing platform, and in each part, according to the overall distribution of stress and strain, the sub-stress values and sub-strain values of each sub-disease body are calculated. Through this segmentation algorithm, the subsequent smooth expression of the stress-strain change and distribution of the underground disease body with position in the 3D rendering engine can be achieved.

[0060] Step 103, the rendering data processing platform determines the stress-strain data rendering type. Among the sub-stress-strain data, based on the target sub-stress-strain data of the stress-strain data rendering type, determine the target rendering pixel value, so that the 3D rendering engine renders the sub-disease body based on the target rendering pixel value, and based on multiple rendered sub-disease bodies, obtain the target rendered underground disease body containing multiple target rendering pixel values. Among them, the stress-strain data rendering type includes stress values and strain values, and different sub-stress-strain data respectively correspond to different preset rendering pixel values.

[0061] Then, for example, select to render the stress value or strain value of the underground disease body. Among the sub-stress-strain data, the rendering data processing platform determines the target rendering pixel value based on the target sub-stress-strain data of the stress-strain data rendering type corresponding to the sub-disease body, so that the 3D rendering engine renders the sub-disease body based on the target rendering pixel value, and based on multiple rendered sub-disease bodies, obtain the target rendered underground disease body containing multiple target rendering pixel values. Among them, the stress-strain data rendering type includes stress values and strain values, and different sub-stress-strain data respectively correspond to different preset rendering pixel values. Specifically, the 3D rendering engine usually uses colors to color the underground disease body. Therefore, the color of a sub-disease body is determined by three pixel values of R, G, and B, and the range of these three pixel values is 0 to 255. Therefore, the process of corresponding stress-strain data to RGB values can be: display the minimum stress value a as blue (R: 0, G: 0, B: 255), display the maximum stress value b as red (R: 255, G: 0, B: 0). If the stress value at the center position of any sub-disease body is x, then the value (preset pixel value) y = x / (b - a) can be calculated. Then the color of this sub-disease body can be set as:

[0062] ,

[0063] Therefore, the 3D models (underground disease bodies) in current 3D software (3D rendering engines) can usually only be set to a single color, resulting in the inability to intuitively express the stress and strain distribution on the underground disease body through color changes. Through the above embodiments of the present application, when such software displays the underground disease body, a color can be determined for each sub-disease body according to the stress and strain conditions of the center point in each sub-disease body and assigned to the sub-disease body. At this time, although the sub-disease body can still only be represented by one color, overall, the stress and strain distribution on the parent disease body (the target-rendered underground disease body) is expressed by the sub-disease bodies. In particular, the underground disease body is represented by a 3D model of a cube. That is, in practical applications, only the overall range of the underground disease body model needs to be determined, and then the underground disease body can be just wrapped by a cube, so that the cube is inscribed in the underground disease body. Finally, the cube is used to replace the underground disease body as the model for representation, which can reduce the performance pressure of the 3D software.

[0064] By applying the technical solution of this embodiment, the rendering data processing platform loads the stress and strain data of the target-rendered underground disease body, divides the target-rendered underground disease body to obtain multiple sub-disease bodies, and determines the sub-stress and strain data of each sub-disease body based on the stress and strain data; in the sub-stress and strain data, the target rendering pixel value is determined based on the target sub-stress and strain data of the stress and strain data rendering type, so that the 3D rendering engine renders the sub-disease body based on the target rendering pixel value, and the target-rendered underground disease body containing multiple target rendering pixel values is obtained based on the multiple rendered sub-disease bodies. By performing segmentation processing on the parent disease body in advance before creating a model using the traditional 3D rendering engine, even if the rendering engine itself can only use one color for rendering, it is possible to generate a parent disease body containing multiple colors by separately rendering the sub-disease bodies, thereby improving the display accuracy.

[0065] Further, as a refinement and extension of the specific implementation manner of the above embodiment, in order to fully illustrate the specific implementation process of this embodiment, another method for rendering the underground disease body is provided, as Figure 2 shown. This method includes:

[0066] Step 201, the rendering data processing platform loads the stress and strain data of the target-rendered underground disease body, where the target-rendered underground disease body is represented based on a 3D model, the stress and strain data includes the stress value and strain value of each 3D coordinate point in the 3D coordinate system where the 3D model corresponding to the target-rendered underground disease body is located, the target-rendered underground disease body is a cube, and the 3D coordinate system includes the x-axis, y-axis, and z-axis.

[0067] In the above embodiments of the present application, the underground disease bodies can reach more than ten meters or as small as a few centimeters. When using a 3D rendering engine to render the stress and strain distribution of the underground disease bodies, the rendering can be performed for a single underground disease body each time. Specifically, before using the 3D rendering engine to render the stress and strain distribution of the underground disease bodies, first use the rendering data processing platform to load the stress and strain data of the target rendering underground disease body. The target rendering underground disease body is represented based on a 3D model in the 3D rendering engine and is a cube. For example Figure 3 as shown, the stress and strain data includes the stress values and strain values of each 3D coordinate point in the 3D coordinate system where the 3D model corresponding to the target rendering underground disease body is located. The stress value can be expressed as f(x, y, z)=d, and the strain value can be expressed as f(x, y, z)=e. The 3D model information of the underground disease body can be expressed as (length: a; width: b; height: c), and the origin of the 3D coordinate system of the underground disease body is O.

[0068] Step 202: The rendering data processing platform determines the target volume division interval to which the volume of the target rendering underground disease body belongs among multiple preset volume division intervals, and determines a target segmentation strategy based on the target volume division interval. Among them, different preset volume division intervals respectively correspond to different preset segmentation strategies. The preset segmentation strategy includes the length, width, and height of the sub-disease bodies into which the sub-disease body needs to be segmented.

[0069] Next, the rendering data processing platform determines the target volume division interval to which the volume of the target rendering underground disease body belongs among multiple preset volume division intervals, and determines a target segmentation strategy based on the target volume division interval. For example, the preset volume division interval can be set to 10 cubic meters to 100 cubic meters. When the volume of the target rendering underground disease body is within the interval of 10 cubic meters to 100 cubic meters, the target segmentation strategy can be set to divide the target rendering underground disease body into 1000 pieces. That is, relative to when the target rendering underground disease body is a cube with a side length of 10 meters, in the determined target segmentation strategy, the length, width, and height of the sub-disease bodies are 0.01 meters respectively.

[0070] Step 203: The rendering data processing platform determines multiple x-axis division segments according to the length of the target rendering underground disease body and the length of the sub-disease body, determines multiple y-axis division segments according to the width of the target rendering underground disease body and the width of the sub-disease body, and determines multiple z-axis division segments according to the height of the target rendering underground disease body and the height of the sub-disease body.

[0071] Step 204, for the three-dimensional coordinate system where the three-dimensional model corresponding to the target-rendered underground disease body is located, the rendering data processing platform divides the three-dimensional coordinate system into multiple x-axis divided segments along the x-axis direction starting from the origin of the three-dimensional coordinate system, divides it into multiple y-axis divided segments along the y-axis direction, and divides it into multiple z-axis divided segments along the z-axis direction, and then obtains multiple sub-disease bodies, where the origin of the three-dimensional coordinate system is the vertex of the three-dimensional model corresponding to the target-rendered underground disease body.

[0072] Next, the rendering data processing platform determines multiple x-axis divided segments according to the length of the target-rendered underground disease body and the length of the sub-disease body, determines multiple y-axis divided segments according to the width of the target-rendered underground disease body and the width of the sub-disease body, and determines multiple z-axis divided segments according to the height of the target-rendered underground disease body and the height of the sub-disease body. For the three-dimensional coordinate system where the three-dimensional model corresponding to the target-rendered underground disease body is located, the rendering data processing platform divides the three-dimensional coordinate system into multiple x-axis divided segments along the x-axis direction starting from the origin of the three-dimensional coordinate system, divides it into multiple y-axis divided segments along the y-axis direction, and divides it into multiple z-axis divided segments along the z-axis direction, and then obtains multiple sub-disease bodies. The origin of the three-dimensional coordinate system is the vertex of the three-dimensional model corresponding to the target-rendered underground disease body. Therefore, the target-rendered underground disease body is divided into multiple sub-disease bodies, such as Figure 3 the multiple "small cube blocks" in

[0073] Step 205, the rendering data processing platform determines the three-dimensional coordinates of the center point of each sub-disease body. The rendering data processing platform obtains the sub-stress-strain data at the three-dimensional coordinates of the center point of each sub-disease body in the stress-strain data of the target-rendered underground disease body, where the sub-stress-strain data includes the sub-stress value and the sub-strain value of each sub-disease body.

[0074] Next, the rendering data processing platform determines the three-dimensional coordinates of the center point of the sub-disease body. The rendering data processing platform obtains the sub-stress-strain data at the three-dimensional coordinates of the center point of each sub-disease body in the stress-strain data of the target-rendered underground disease body. Specifically, calculate the three-dimensional coordinate position of the center point of each sub-disease body. According to the stress: f(x, y, z)=d; strain: h(x, y, z)=e, obtain the stress-strain data at the center of the sub-disease body, so as to replace the stress-strain data of the entire sub-disease body. In particular, according to the distribution of stress and strain on the original disease body (target-rendered underground disease body) and the three-dimensional size of the sub-disease body, regarding the nature of the sub-disease body as isotropic, calculate the stress-strain numerical value at the center of the sub-disease body for each sub-disease body according to the interpolation algorithm, and use this numerical value to replace the stress numerical value or strain numerical value of the entire sub-disease body.

[0075] Step 206, the rendering data processing platform determines the stress-strain data rendering type, and in the sub stress-strain data, determines the target rendering pixel value based on the target sub stress-strain data of the stress-strain data rendering type, so that the 3D rendering engine renders the sub-disease body based on the target rendering pixel value, and obtains the target rendered underground disease body containing various target rendering pixel values based on multiple rendered sub-disease bodies, wherein the stress-strain data rendering type includes stress value and strain value, and different sub stress-strain data respectively correspond to different preset rendering pixel values.

[0076] Next, the rendering data processing platform determines the target rendering pixel value in the sub stress-strain data based on the target sub stress-strain data of the stress-strain data rendering type corresponding to the sub-disease body, so that the 3D rendering engine renders the sub-disease body based on the target rendering pixel value, and obtains the target rendered underground disease body containing various target rendering pixel values based on multiple rendered sub-disease bodies. By importing the sub stress-strain data of the segmented sub-disease body into the 3D rendering engine again, a 3D model of the sub-disease body is created, and the color (rendering pixel value) is set according to the sub stress value or sub strain value. Finally, all the sub-disease bodies form the original disease body (target rendered underground disease body) model, realizing the display of the stress-strain distribution of the underground disease body. The display process includes multiple colors. Therefore, the change of stress-strain can be distinguished according to different colors.

[0077] By applying the technical solution of this embodiment, the rendering data processing platform loads the stress and strain data of the target rendered underground disease body. The rendering data processing platform determines the target volume division interval to which the volume of the target rendered underground disease body belongs among multiple preset volume division intervals, and determines the target segmentation strategy based on the target volume division interval. The rendering data processing platform determines multiple x-axis division segments according to the length of the target rendered underground disease body and the length of the sub-disease body, determines multiple y-axis division segments according to the width of the target rendered underground disease body and the width of the sub-disease body, and determines multiple z-axis division segments according to the height of the target rendered underground disease body and the height of the sub-disease body. For the three-dimensional coordinate system where the three-dimensional model corresponding to the target rendered underground disease body is located, the rendering data processing platform starts from the origin of the three-dimensional coordinate system, divides multiple x-axis division segments along the x-axis direction, divides multiple y-axis division segments along the y-axis direction, and divides multiple z-axis division segments along the z-axis direction to obtain multiple sub-disease bodies. The rendering data processing platform determines the three-dimensional coordinates of the center point of each sub-disease body. The rendering data processing platform obtains the sub-stress and strain data at the three-dimensional coordinates of the center point of each sub-disease body in the stress and strain data of the target rendered underground disease body. The rendering data processing platform determines the stress and strain data rendering type, and determines the target rendering pixel value based on the target sub-stress and strain data of the stress and strain data rendering type in the sub-stress and strain data, so that the three-dimensional rendering engine renders the sub-disease body based on the target rendering pixel value, and obtains the target rendered underground disease body containing multiple target rendering pixel values based on multiple rendered sub-disease bodies. By performing segmentation processing on the parent disease body in advance before creating a model using a traditional three-dimensional rendering engine, even if the rendering engine itself can only use one color for rendering, it is possible to separately render the sub-disease bodies and finally generate a parent disease body containing multiple colors, thereby improving the display accuracy.

[0078] Further, as a refinement and extension of the specific implementation manner of the above embodiment, in order to fully illustrate the specific implementation process of this embodiment, another method for rendering an underground disease body is provided, as Figure 4 shown. This method includes:

[0079] Step 301, the rendering data processing platform loads the stress and strain data of the target rendered underground disease body, where the target rendered underground disease body is represented based on a three-dimensional model, and the stress and strain data includes the stress value and strain value of each three-dimensional coordinate point in the three-dimensional coordinate system where the three-dimensional model corresponding to the target rendered underground disease body is located.

[0080] In the above embodiments of the present application, the rendering data processing platform loads the stress and strain data of the target rendered underground disease body to prepare for the subsequent rendering data processing of the underground disease body. The target rendered underground disease body is represented based on a three-dimensional model. The stress and strain data includes the stress values and strain values of each three-dimensional coordinate point in the three-dimensional coordinate system where the three-dimensional model corresponding to the target rendered underground disease body is located.

[0081] Step 302, the rendering data processing platform obtains the environmental information of the location where the target rendered underground disease body is located, determines a target segmentation strategy based on the environmental information, and segments the target rendered underground disease body based on the target segmentation strategy to obtain a plurality of sub-disease bodies. Among them, different environmental information corresponds to different preset segmentation strategies.

[0082] Next, obtain the environmental information of the location where the target rendered underground disease body is located, determine the target segmentation strategy based on the environmental information, and segment the target rendered underground disease body based on the target segmentation strategy to obtain a plurality of sub-disease bodies. Among them, different environmental information corresponds to different preset segmentation strategies. For example, when the location where the target rendered underground disease body is located has both rock and soft soil, the target rendered underground disease body needs to be segmented "sufficiently" to better display the stress and strain distribution. For example, the target rendered underground disease body needs to be segmented into 10,000 pieces. In particular, when determining the segmentation strategy for the parent disease body (the target underground disease body), if the material situation of the parent disease body itself is considered at the same time, for example, when the overall size of the parent disease body is relatively large (volume greater than 100 cubic meters), it means that there are some large changes in the material properties inside the parent disease body. Therefore, if the accuracy of the sub-disease bodies is to be guaranteed, the segmentation size of the sub-disease bodies needs to be set smaller (segmented into 10,000 pieces or more), so that at the location where the material properties change, the stress and strain data reflected by the sub-disease bodies will not be sudden changes, and the segmentation result can be better. Similarly, the environmental data around the disease body can also be not considered, and directly set the size of the sub-disease bodies smaller (segmented into 10,000 pieces or more), so that regardless of whether there are large changes in the material properties inside the parent disease body, the accuracy of the sub-disease bodies can be guaranteed to a certain extent.

[0083] Step 303, the rendering data processing platform determines the sub-stress and strain data of each sub-disease body based on the stress and strain data, where the sub-stress and strain data includes the sub-stress value and sub-strain value of each sub-disease body.

[0084] Step 304, the rendering data processing platform determines the rendering type of the stress and strain data, and determines the target rendering pixel value based on the target sub-stress and strain data of the rendering type of the stress and strain data in the sub-stress and strain data.

[0085] Finally, based on the stress-strain data, the rendering data processing platform determines the sub-stress-strain data of each sub-disease body. Among the sub-stress-strain data, the rendering data processing platform determines the target sub-stress-strain data corresponding to the stress-strain data rendering type of the sub-disease body, and determines the target rendering pixel values, so that the 3D rendering engine renders the sub-disease body based on the target rendering pixel values, and obtains the target rendering underground disease body containing multiple target rendering pixel values based on multiple rendered sub-disease bodies. For this purpose, by dividing the target rendering underground disease body into multiple sub-disease bodies and utilizing the function that the 3D rendering engine can only render "the same color" at one time, based on rendering each sub-disease body separately, the target rendering underground disease body can be "modulated" into multiple colors as a whole, and thus the stress-strain distribution can be presented more accurately.

[0086] Step 305, when the difference between the target sub-stress-strain data of any two adjacent sub-disease bodies is greater than or equal to the preset segmentation roughness threshold, the rendering data processing platform determines the target adjustment segmentation strategy based on the sub-disease body length, sub-disease body width, and sub-disease body height corresponding to the current target segmentation strategy. Among them, the target adjustment segmentation strategy includes the adjusted length, adjusted width, and adjusted height of the sub-disease body obtained by adjusting the segmentation of the sub-disease body. The adjusted length of the sub-disease body is less than the sub-disease body length, the adjusted width of the sub-disease body is less than the sub-disease body width, and the adjusted height of the sub-disease body is less than the sub-disease body height.

[0087] Step 306, the rendering data processing platform re-segments the target rendering underground disease body based on the target adjustment segmentation strategy and determines the target rendering pixel values of each re-segmented sub-disease body.

[0088] Step 307, the 3D rendering engine renders the sub-disease body based on the target rendering pixel values and obtains the target rendering underground disease body containing multiple target rendering pixel values based on multiple rendered sub-disease bodies. Among them, the stress-strain data rendering type includes stress values and strain values, and different sub-stress-strain data respectively correspond to different preset rendering pixel values.

[0089] In particular, when the difference in target sub-stress and strain data between any two adjacent sub-disease entities is greater than or equal to a preset segmentation roughness threshold, which can be set to 5, the rendering data processing platform determines a target adjusted segmentation strategy based on the length, width, and height of the sub-disease entities corresponding to the current target segmentation strategy, re-segments the target rendered underground disease entity based on the target adjusted segmentation strategy, and determines the target rendering pixel values of each sub-disease entity after re-segmentation. For example, when the difference in target sub-stress and strain data between any two adjacent sub-disease entities is 10 (greater than 5), it indicates that the stress and strain difference between the adjacent ones is relatively large at this time and re-segmentation is required. That is, if it was originally segmented into 1000 pieces, it now needs to be adjusted to be segmented into 10,000 pieces to improve the segmentation display accuracy. In particular, adjacent means adjacent in the x, y, or z axis between two sub-disease entities.

[0090] By applying the technical solution of this embodiment, the rendering data processing platform loads the stress and strain data of the target rendered underground disease entity, the rendering data processing platform obtains the environmental information of the location where the target rendered underground disease entity is located, determines a target segmentation strategy based on the environmental information, segments the target rendered underground disease entity based on the target segmentation strategy to obtain multiple sub-disease entities, the rendering data processing platform determines the sub-stress and strain data of each sub-disease entity based on the stress and strain data, the rendering data processing platform determines the stress and strain data rendering type, and determines the target rendering pixel values based on the target sub-stress and strain data of the stress and strain data rendering type in the sub-stress and strain data. When the difference in target sub-stress and strain data between any two adjacent sub-disease entities is greater than or equal to a preset segmentation roughness threshold, the rendering data processing platform determines a target adjusted segmentation strategy based on the length, width, and height of the sub-disease entities corresponding to the current target segmentation strategy, the rendering data processing platform re-segments the target rendered underground disease entity based on the target adjusted segmentation strategy, and determines the target rendering pixel values of each sub-disease entity after re-segmentation. The 3D rendering engine renders the sub-disease entities based on the target rendering pixel values and obtains the target rendered underground disease entity containing multiple target rendering pixel values based on the multiple rendered sub-disease entities. By performing segmentation processing on the parent disease entity in advance before using the traditional 3D rendering engine to create a model, even if the rendering engine itself can only use one color for rendering, it is still possible to generate a parent disease entity containing multiple colors by separately rendering the sub-disease entities, thereby improving the display accuracy.

[0091] Further, as Figure 1 a specific implementation of the method, an embodiment of the present application provides an underground disease entity rendering device, as Figure 5 shown. The device includes:

[0092] A stress-strain data loading module 401 is used to load the stress-strain data of the target-rendered underground disease body. Among them, the target-rendered underground disease body is represented based on a three-dimensional model, and the stress-strain data includes the stress values and strain values of each three-dimensional coordinate point in the three-dimensional coordinate system where the three-dimensional model corresponding to the target-rendered underground disease body is located;

[0093] An underground disease body segmentation module 402 is used to segment the target-rendered underground disease body to obtain multiple sub-disease bodies, and based on the stress-strain data, determine the sub-stress-strain data of each sub-disease body. Among them, the sub-stress-strain data includes the sub-stress values and sub-strain values of each sub-disease body;

[0094] An underground disease body rendering module 403 is used to determine the stress-strain data rendering type, determine the target rendering pixel values based on the target sub-stress-strain data of the stress-strain data rendering type in the sub-stress-strain data, render the sub-disease bodies based on the target rendering pixel values, and obtain the target-rendered underground disease body containing multiple target rendering pixel values based on the multiple rendered sub-disease bodies. Among them, the stress-strain data rendering type includes stress values and strain values, and different sub-stress-strain data respectively correspond to different preset rendering pixel values.

[0095] Optionally, the target-rendered underground disease body is a cube; the underground disease body segmentation module 402 is further used for:

[0096] Among multiple preset volume division intervals, determine the target volume division interval to which the volume of the target-rendered underground disease body belongs, and determine the target segmentation strategy based on the target volume division interval. Among them, different preset volume division intervals respectively correspond to different preset segmentation strategies, and the preset segmentation strategies include the length, width, and height of the sub-disease bodies that the sub-disease bodies need to be segmented into;

[0097] Segment the target-rendered underground disease body based on the determined target segmentation strategy to obtain multiple sub-disease bodies.

[0098] Optionally, the three-dimensional coordinate system includes the x-axis, y-axis, and z-axis, and the underground disease body segmentation module 402 is further used for:

[0099] Determine multiple x-axis division segments according to the length of the target-rendered underground disease body and the length of the sub-disease body, determine multiple y-axis division segments according to the width of the target-rendered underground disease body and the width of the sub-disease body, and determine multiple z-axis division segments according to the height of the target-rendered underground disease body and the height of the sub-disease body;

[0100] For the three-dimensional coordinate system where the three-dimensional model corresponding to the target-rendered underground disease body is located, starting from the origin of the three-dimensional coordinate system, divide multiple x-axis segments along the x-axis direction, divide multiple y-axis segments along the y-axis direction, and divide multiple z-axis segments along the z-axis direction to obtain multiple sub-disease bodies, where the origin of the three-dimensional coordinate system is the vertex of the three-dimensional model corresponding to the target-rendered underground disease body.

[0101] Optionally, the underground disease body segmentation module 402 is further configured to:

[0102] Obtain the environmental information of the location where the target-rendered underground disease body is located, determine a target segmentation strategy based on the environmental information, and segment the target-rendered underground disease body based on the target segmentation strategy to obtain multiple sub-disease bodies, where different environmental information corresponds to different preset segmentation strategies.

[0103] Optionally, the underground disease body segmentation module 402 is further configured to:

[0104] When the difference in target sub-stress and strain data between any two adjacent sub-disease bodies is greater than or equal to the preset segmentation roughness threshold, determine a target adjustment segmentation strategy based on the difference in target sub-stress and strain data, re-segment the target-rendered underground disease body based on the target adjustment segmentation strategy, and determine the target rendering pixel values of each sub-disease body after re-segmentation.

[0105] Optionally, the underground disease body segmentation module 402 is further configured to:

[0106] Based on the length, width, and height of the sub-disease body corresponding to the current target segmentation strategy, determine a target adjustment segmentation strategy, where the target adjustment segmentation strategy includes the adjusted length, adjusted width, and adjusted height of the sub-disease body obtained by adjusting the segmentation of the sub-disease body, the adjusted length of the sub-disease body is less than the length of the sub-disease body, the adjusted width of the sub-disease body is less than the width of the sub-disease body, and the adjusted height of the sub-disease body is less than the height of the sub-disease body.

[0107] Furthermore, the embodiment of the present application provides another underground disease body rendering device, as Figure 6 shown, the device includes:

[0108] A stress and strain data loading module 401, configured to load the stress and strain data of the target-rendered underground disease body, where the target-rendered underground disease body is represented based on a three-dimensional model, and the stress and strain data includes the stress values and strain values of each three-dimensional coordinate point in the three-dimensional coordinate system where the three-dimensional model corresponding to the target-rendered underground disease body is located;

[0109] The underground disease body segmentation module 402 is used to segment the target-rendered underground disease body to obtain a plurality of sub-disease bodies, and based on the stress-strain data, determine the sub-stress-strain data of each sub-disease body, where the sub-stress-strain data includes the sub-stress value and sub-strain value of each sub-disease body;

[0110] The underground disease body rendering module 403 is used to determine the stress-strain data rendering type, in the sub-stress-strain data, determine the target rendering pixel value based on the target sub-stress-strain data of the stress-strain data rendering type, render the sub-disease body based on the target rendering pixel value, and obtain the target-rendered underground disease body containing a variety of target rendering pixel values based on the rendered sub-disease bodies, where the stress-strain data rendering type includes stress value and strain value, and different sub-stress-strain data respectively correspond to different preset rendering pixel values;

[0111] The sub-stress-strain data determination module 404 is used to determine the three-dimensional coordinates of the center point of each sub-disease body, and in the stress-strain data of the target-rendered underground disease body, obtain the sub-stress-strain data at the three-dimensional coordinates of the center point of each sub-disease body.

[0112] Optionally, the target-rendered underground disease body is a cube; the underground disease body segmentation module 402 is further used for:

[0113] In a plurality of preset volume division intervals, determine the target volume division interval to which the volume of the target-rendered underground disease body belongs, and based on the target volume division interval, determine the target segmentation strategy, where different preset volume division intervals respectively correspond to different preset segmentation strategies, and the preset segmentation strategy includes the length, width, and height of the sub-disease bodies into which the sub-disease body needs to be segmented;

[0114] Segment the target-rendered underground disease body based on the determined target segmentation strategy to obtain a plurality of sub-disease bodies.

[0115] Optionally, the three-dimensional coordinate system includes the x-axis, y-axis, and z-axis, and the underground disease body segmentation module 402 is further used for:

[0116] According to the length of the target-rendered underground disease body and the length of the sub-disease body, determine a plurality of x-axis division segments, according to the width of the target-rendered underground disease body and the width of the sub-disease body, determine a plurality of y-axis division segments, and according to the height of the target-rendered underground disease body and the height of the sub-disease body, determine a plurality of z-axis division segments;

[0117] For the three-dimensional coordinate system where the three-dimensional model corresponding to the target-rendered underground disease body is located, starting from the origin of the three-dimensional coordinate system, divide multiple x-axis divided segments along the x-axis direction, divide multiple y-axis divided segments along the y-axis direction, and divide multiple z-axis divided segments along the z-axis direction, to obtain multiple sub-disease bodies, where the origin of the three-dimensional coordinate system is the vertex of the three-dimensional model corresponding to the target-rendered underground disease body.

[0118] Optionally, the underground disease body segmentation module 402 is further configured to:

[0119] Obtain the environmental information of the location where the target-rendered underground disease body is located, determine a target segmentation strategy based on the environmental information, and segment the target-rendered underground disease body based on the target segmentation strategy to obtain multiple sub-disease bodies, where different environmental information corresponds to different preset segmentation strategies.

[0120] Optionally, the underground disease body segmentation module 402 is further configured to:

[0121] When the difference in target sub-stress and strain data between any two adjacent sub-disease bodies is greater than or equal to a preset segmentation roughness threshold, determine a target adjustment segmentation strategy according to the difference in target sub-stress and strain data, re-segment the target-rendered underground disease body based on the target adjustment segmentation strategy, and determine the target rendering pixel values of each sub-disease body after re-segmentation.

[0122] Optionally, the underground disease body segmentation module 402 is further configured to:

[0123] Based on the length, width, and height of the sub-disease body corresponding to the current target segmentation strategy, determine a target adjustment segmentation strategy, where the target adjustment segmentation strategy includes the adjusted length, adjusted width, and adjusted height of the sub-disease body obtained by adjusting the segmentation of the sub-disease body, the adjusted length of the sub-disease body is less than the length of the sub-disease body, the adjusted width of the sub-disease body is less than the width of the sub-disease body, and the adjusted height of the sub-disease body is less than the height of the sub-disease body.

[0124] It should be noted that for other corresponding descriptions of each functional unit involved in the underground disease body rendering device provided in the embodiments of the present application, reference can be made to Figure 1 、 Figure 2 and Figure 4 the corresponding descriptions in the method, which will not be elaborated here.

[0125] Based on the above methods such as Figure 1 、 Figure 2 and Figure 4 shown, correspondingly, the embodiments of the present application further provide a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the above methods such as Figure 1 、 Figure 2 andFigure 4 The underground disease body rendering method shown

[0126] Based on such an understanding, the technical solution of this application can be embodied in the form of a software product. The software product can be stored in a non-volatile storage medium (which can be a CD-ROM, USB flash drive, mobile hard disk, etc.), and includes several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in various implementation scenarios of this application.

[0127] Based on the above as Figure 1 、 Figure 2 and Figure 4 the methods shown, and Figure 5 and Figure 6 the virtual device embodiments shown, in order to achieve the above object, the embodiments of this application also provide a computer device, which can specifically be a personal computer, server, network device, etc. The computer device includes a storage medium and a processor; the storage medium is used to store a computer program; the processor is used to execute the computer program to implement the underground disease body rendering method as shown in Figure 1 、 Figure 2 and Figure 4 above.

[0128] Optionally, the computer device may further include a user interface, a network interface, a camera, a radio frequency (RF) circuit, sensors, an audio circuit, a WI-FI module, etc. The user interface may include a display screen (Display), an input unit such as a keyboard (Keyboard), etc. Optionally, the user interface may further include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (such as a Bluetooth interface, a WI-FI interface), etc.

[0129] Those skilled in the art can understand that the structure of a computer device provided in this embodiment does not constitute a limitation on the computer device, and it may include more or fewer components, or combine certain components, or have different component arrangements.

[0130] The storage medium may further include an operating system and a network communication module. The operating system is a program that manages and saves the hardware and software resources of the computer device, and supports the operation of information processing programs and other software and / or programs. The network communication module is used to implement communication between components inside the storage medium, as well as communication between other hardware and software in this entity device.

[0131] Through the description of the above embodiments, those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform, or the rendering data processing platform can be implemented by hardware to load the stress and strain data of the target rendered underground disease body, segment the target rendered underground disease body to obtain multiple sub-disease bodies, and determine the sub-stress and strain data of each sub-disease body based on the stress and strain data; among the sub-stress and strain data, determine the target rendering pixel value based on the target sub-stress and strain data of the stress and strain data rendering type, so that the three-dimensional rendering engine renders the sub-disease body based on the target rendering pixel value, and obtain the target rendered underground disease body containing multiple target rendering pixel values based on the multiple rendered sub-disease bodies. By performing segmentation processing on the parent disease body in advance before using the traditional three-dimensional rendering engine to create a model, even if the rendering engine itself can only use one color for rendering, it is possible to finally generate a parent disease body containing multiple colors by separately rendering the sub-disease bodies, thereby improving the display accuracy.

[0132] Those skilled in the art can understand that the drawings are only schematic diagrams of a preferred implementation scenario, and the modules or processes in the drawings are not necessarily essential for implementing the present application. Those skilled in the art can understand that the modules in the device in the implementation scenario can be distributed in the device in the implementation scenario according to the description of the implementation scenario, or can be correspondingly changed and located in one or more devices different from the present implementation scenario. The modules in the above implementation scenario can be combined into one module, or further split into multiple sub-modules.

[0133] The above serial numbers of the present application are only for description and do not represent the advantages or disadvantages of the implementation scenarios. The above disclosure only shows several specific implementation scenarios of the present application. However, the present application is not limited thereto, and any changes that can be thought of by those skilled in the art should fall within the protection scope of the present application.

Claims

1. A method for rendering underground diseased bodies, characterized in that: The method comprises: The rendering data processing platform loads stress and strain data of a target rendered underground diseased body, wherein the target rendered underground diseased body is represented based on a three-dimensional model, and the stress and strain data include stress values ​​and strain values ​​of each three-dimensional coordinate point in a three-dimensional coordinate system where the three-dimensional model corresponding to the target rendered underground diseased body is located; The rendering data processing platform divides the target rendered underground damage body to obtain a plurality of sub-damage bodies, and determines sub-stress and strain data of each sub-damage body based on the stress and strain data, wherein the sub-stress and strain data include sub-stress values ​​and sub-strain values ​​of each sub-damage body; The rendering data processing platform determines the stress-strain data rendering type, and in the sub-stress-strain data, determines the target rendering pixel value based on the target sub-stress-strain data of the stress-strain data rendering type, so that the three-dimensional rendering engine renders the sub-damage body based on the target rendering pixel value, and obtains a target rendered underground damage body containing multiple target rendering pixel values ​​based on multiple rendered sub-damage bodies, wherein the stress-strain data rendering type includes stress values ​​and strain values, and different sub-stress-strain data correspond to different preset rendering pixel values.

2. The method according to claim 1, characterized in that The target rendered underground disease body is a cube; the rendering data processing platform divides the target rendered underground disease body to obtain a plurality of sub-disease bodies, including: The rendering data processing platform determines the target volume division interval to which the volume of the target rendered underground disease body belongs in a plurality of preset volume division intervals, and determines the target segmentation strategy based on the target volume division interval, wherein different preset volume division intervals correspond to different preset segmentation strategies, and the preset segmentation strategy includes the length, width and height of the sub-disease body into which the sub-disease body is required to be segmented; The rendering data processing platform segments the target rendering underground diseased body based on the determined target segmentation strategy to obtain a plurality of sub-disease-damaged bodies.

3. The method according to claim 2, characterized in that The three-dimensional coordinate system includes an x-axis, a y-axis, and a z-axis. The rendering data processing platform segments the target rendering underground disease body based on the determined target segmentation strategy to obtain a plurality of sub-disease bodies, including: The rendering data processing platform determines a plurality of x-axis division segments according to the length of the target underground disease body and the length of the sub-disease body, determines a plurality of y-axis division segments according to the width of the target underground disease body and the width of the sub-disease body, and determines a plurality of z-axis division segments according to the height of the target underground disease body and the height of the sub-disease body; The rendering data processing platform divides the three-dimensional coordinate system corresponding to the target underground disease body into a plurality of x-axis segments along the x-axis direction, a plurality of y-axis segments along the y-axis direction, and a plurality of z-axis segments along the z-axis direction, starting from the origin of the three-dimensional coordinate system, to obtain a plurality of sub-disease bodies, wherein the origin of the three-dimensional coordinate system is the vertex of the three-dimensional model corresponding to the target underground disease body.

4. The method according to claim 1, characterized in that: The rendering data processing platform divides the target rendering underground diseased body to obtain a plurality of sub-disease-damaged bodies, and further includes: The rendering data processing platform obtains environmental information of the location of the target rendered underground disease body, determines a target segmentation strategy based on the environmental information, and segments the target rendered underground disease body based on the target segmentation strategy to obtain multiple sub-disease bodies, wherein different environmental information corresponds to different preset segmentation strategies.

5. The method according to claim 1, characterized in that The step of determining the sub-stress and strain data of each sub-damaged body based on the stress and strain data includes: The rendering data processing platform determines the three-dimensional coordinates of the center point of each sub-disease body; The rendering data processing platform obtains the sub-stress and strain data at the three-dimensional coordinates of the center point of each sub-damage body from the stress and strain data of the target rendered underground damage body.

6. The method according to claim 1, characterized in that Before the three-dimensional rendering engine renders the sub-damaged body based on the target rendering pixel value and obtains a target rendered underground damaged body including a plurality of target rendering pixel values ​​based on a plurality of rendered sub-damaged bodies, the method further comprises: When the target sub-stress-strain data difference between any two adjacent sub-damage bodies is greater than or equal to the preset segmentation roughness threshold, the rendering data processing platform determines the target adjustment segmentation strategy according to the target sub-stress-strain data difference, re-segments the target rendered underground damage body based on the target adjustment segmentation strategy, and determines the target rendering pixel value of each re-segmented sub-damage body.

7. The method according to claim 6, characterized in that The rendering data processing platform determines the target adjustment segmentation strategy according to the target sub-stress and strain data difference, including: The rendering data processing platform determines a target adjustment segmentation strategy based on the sub-disease body length, sub-disease body width and sub-disease body height corresponding to the current target segmentation strategy, wherein the target adjustment segmentation strategy includes the sub-disease body adjustment length, sub-disease body adjustment width and sub-disease body adjustment height of the sub-disease body adjustment segmentation, the sub-disease body adjustment length is smaller than the sub-disease body length, the sub-disease body adjustment width is smaller than the sub-disease body width, and the sub-disease body adjustment height is smaller than the sub-disease body height.

8. An underground disease body rendering device, characterized in that: The device comprises: A stress-strain data loading module is used to load stress-strain data of a target rendered underground diseased body, wherein the target rendered underground diseased body is represented based on a three-dimensional model, and the stress-strain data includes stress values ​​and strain values ​​of each three-dimensional coordinate point in a three-dimensional coordinate system where the three-dimensional model corresponding to the target rendered underground diseased body is located; An underground disease body segmentation module is used to segment the target rendered underground disease body to obtain multiple sub-disease bodies, and determine sub-stress and strain data of each sub-disease body based on the stress-strain data, wherein the sub-stress and strain data include sub-stress values ​​and sub-strain values ​​of each sub-disease body; The underground damage body rendering module is used to determine the stress-strain data rendering type, determine the target rendering pixel value in the sub-stress-strain data based on the target sub-stress-strain data of the stress-strain data rendering type, render the sub-damage body based on the target rendering pixel value, and obtain a target rendered underground damage body containing multiple target rendering pixel values ​​based on multiple rendered sub-damage bodies, wherein the stress-strain data rendering type includes stress value and strain value, and different sub-stress-strain data correspond to different preset rendering pixel values.

9. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for rendering underground damaged bodies as claimed in any one of claims 1 to 7 is implemented.

10. A computer device comprising a storage medium, a processor, and a computer program stored in the storage medium and executable on the processor, characterized in that: When the processor executes the computer program, the method for rendering underground damaged bodies according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Underground disease body three-dimensional visualization method and system

    CN115690307A

  • Image processing method and device, equipment and storage medium

    CN117730530A