Search

CN-121999101-A - Rendering method, device, equipment and storage medium for stratum

CN121999101ACN 121999101 ACN121999101 ACN 121999101ACN-121999101-A

Abstract

The embodiment of the application provides a rendering method, a rendering device, rendering equipment and a storage medium for stratum, and relates to the technical field of stratum exploration. The method comprises the steps of loading layer scatter data of a stratum in a three-dimensional scene, conducting shielding relation calculation on the layer scatter data to determine a front-end scene of the stratum, extracting depth information and color information of scattered points corresponding to the front-end scene from the layer scatter data, transforming all the scattered points from a model space to a clipping space to obtain position information of all the scattered points in the clipping space, determining shielding degrees corresponding to the scattered points corresponding to the front-end scene respectively according to rendering parameters and projection information, and rendering and displaying a three-dimensional model of the stratum in the three-dimensional scene according to the depth information, the color information, the position information of all the scattered points in the clipping space, the rendering parameters and the shielding degrees corresponding to the scattered points corresponding to the front-end scene. By adopting the technical scheme provided by the embodiment of the application, the three-dimensional model rendering efficiency of the stratum can be improved.

Inventors

  • WANG GUAN
  • QIAN YUMING
  • CUI JINGBIN
  • CHEN HAIYUN
  • ZHANG LIHUI
  • WANG JINGLING

Assignees

  • 中国石油天然气集团有限公司
  • 中国石油集团东方地球物理勘探有限责任公司
  • 中油油气勘探软件国家工程研究中心有限公司

Dates

Publication Date
20260508
Application Date
20241105

Claims (10)

  1. 1. A method of rendering for a formation, the method comprising: Loading horizon scatter data of a stratum in a three-dimensional scene, wherein the horizon scatter data is used for representing information of each scatter on the surface of the stratum; performing shielding relation calculation on the horizon point data to determine a front scene of the stratum; Extracting depth information and color information of scattered points corresponding to the front-end scene from the layer position spot data; transforming each scattered point from a model space to a cutting space to obtain the position information of each scattered point in the cutting space; Acquiring rendering parameters and projection information of the stratum, wherein the projection information is used for indicating the illumination direction of the three-dimensional scene; According to the rendering parameters and the projection information, determining the shielding degrees corresponding to the scattered points corresponding to the front-end scene respectively, wherein the shielding degrees are used for indicating the colors of the scattered points; And rendering and displaying the three-dimensional model of the stratum in the three-dimensional scene according to the depth information, the color information, the position information of each scattered point in the clipping space, the rendering parameters and the shielding degree respectively corresponding to the scattered points corresponding to the front-end scene.
  2. 2. The method according to claim 1, wherein after extracting depth information and color information of the corresponding scatter points of the front-end scene from the layer scatter point data, the method further comprises: correcting the depth information under the condition that the projection mode of the three-dimensional scene is a perspective mode, so as to obtain corrected depth information; The rendering and displaying the three-dimensional model of the stratum in the three-dimensional scene according to the depth information, the color information, the position information of each scattered point in the clipping space, the rendering parameters and the shielding degree respectively corresponding to the scattered points corresponding to the front-end scene comprises the following steps: and rendering and displaying the three-dimensional model of the stratum in the three-dimensional scene according to the corrected depth information, the color information, the position information of each scattered point in the clipping space, the rendering parameters and the shielding degree corresponding to the scattered point corresponding to the front-end scene.
  3. 3. The method of claim 1, wherein the rendering parameters comprise at least one of: Parameters of depth and texture sampler; Scaling of the pixel; The distance between two adjacent points; an exponential scaling factor; a depth range of the three-dimensional scene; rendering the size of the viewport; A distance between two adjacent pixels; Whether the display mode of the three-dimensional model is a perspective mode or not; The projection information.
  4. 4. The method of claim 1, wherein the management engine of the three-dimensional scene is an engine developed based on a three-dimensional graphics development kit.
  5. 5. The method according to claim 1, wherein the method further comprises: When the horizon point data comprise horizon point data corresponding to a plurality of strata respectively and the strata are a plurality of strata, carrying out shielding relation calculation on the strata to obtain shielding information among the strata; And rendering and displaying the three-dimensional model of the stratum in the three-dimensional scene according to the shielding information among the stratum.
  6. 6. The method according to claim 1, wherein the rendering and displaying the three-dimensional model of the stratum in the three-dimensional scene according to the depth information, the color information, the position information of each of the scattered points in the clipping space, the rendering parameters, and the respective masking degrees of the scattered points corresponding to the front-end scene, further comprises: And responding to the updating operation of the rendering parameters of the three-dimensional model, and rendering and displaying the three-dimensional model of the stratum according to the updated rendering parameters.
  7. 7. A rendering device for a formation, the device comprising: The data loading module is used for loading horizon data of the stratum in the three-dimensional scene, and the horizon data are used for representing information of all scattered points on the surface of the stratum; the computing module is used for computing the shielding relation of the horizon point data and determining the front end scene of the stratum; The information acquisition module is used for extracting depth information and color information of scattered points corresponding to the front-end scene from the layer scattered point data; The transformation module is used for transforming each scattered point from a model space to a cutting space to obtain the position information of each scattered point in the cutting space; The information acquisition module is used for acquiring rendering parameters and projection information of the stratum, and the projection information is used for indicating the illumination direction of the three-dimensional scene; The shading degree determining module is used for determining the shading degree corresponding to the scattered points corresponding to the front-end scene respectively according to the rendering parameters and the projection information, and the shading degree is used for indicating the color of each scattered point; And the model rendering module is used for rendering and displaying the three-dimensional model of the stratum in the three-dimensional scene according to the depth information, the color information, the position information of each scattered point in the clipping space, the rendering parameters and the shielding degree corresponding to the scattered point corresponding to the front-end scene.
  8. 8. A computer device, characterized in that it comprises a processor and a memory in which a computer program is stored, which computer program is loaded and executed by the processor to implement the method of rendering a formation according to any of the preceding claims 1 to 6.
  9. 9. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program, which is loaded and executed by a processor to implement the method of rendering for a formation according to any of the preceding claims 1 to 6.
  10. 10. A computer program product, characterized in that it is loaded and executed by a processor to implement the method of rendering a formation according to any of the preceding claims 1 to 6.

Description

Rendering method, device, equipment and storage medium for stratum Technical Field The embodiment of the application relates to the technical field of stratum exploration, in particular to a rendering method, device and equipment for stratum and a storage medium. Background Formation exploration is an important component in the oil and gas exploration process. In the related art, a large number of triangular grids are generated through meshing layer scattered point data to form a layer, and information such as normal vectors of the triangular grids is calculated to realize the rendering of strata. In the related art, since the number of triangle meshes is large, it is time-consuming to generate the triangle meshes, and the rendering speed of the GPU (Graphics Processing Unit, graphics processor) on the triangle meshes is slow, resulting in lower rendering efficiency of the stratum. Disclosure of Invention The embodiment of the application provides a rendering method, device and equipment for stratum and a storage medium, which can improve the rendering efficiency of a three-dimensional model of the stratum. The technical scheme provided by the embodiment of the application is as follows: according to an aspect of an embodiment of the present application, there is provided a rendering method for a formation, the method including: Loading horizon scatter data of a stratum in a three-dimensional scene, wherein the horizon scatter data is used for representing information of each scatter on the surface of the stratum; performing shielding relation calculation on the horizon point data to determine a front scene of the stratum; Extracting depth information and color information of scattered points corresponding to the front-end scene from the layer position spot data; transforming each scattered point from a model space to a cutting space to obtain the position information of each scattered point in the cutting space; Acquiring rendering parameters and projection information of the stratum, wherein the projection information is used for indicating the illumination direction of the three-dimensional scene; According to the rendering parameters and the projection information, determining the shielding degrees corresponding to the scattered points corresponding to the front-end scene respectively, wherein the shielding degrees are used for indicating the colors of the scattered points; And rendering and displaying the three-dimensional model of the stratum in the three-dimensional scene according to the depth information, the color information, the position information of each scattered point in the clipping space, the rendering parameters and the shielding degree respectively corresponding to the scattered points corresponding to the front-end scene. In some embodiments, after extracting the depth information and the color information of the scatter corresponding to the front-end scene from the layer location point data, the method further includes: correcting the depth information under the condition that the projection mode of the three-dimensional scene is a perspective mode, so as to obtain corrected depth information; The rendering and displaying the three-dimensional model of the stratum in the three-dimensional scene according to the depth information, the color information, the position information of each scattered point in the clipping space, the rendering parameters and the shielding degree respectively corresponding to the scattered points corresponding to the front-end scene comprises the following steps: and rendering and displaying the three-dimensional model of the stratum in the three-dimensional scene according to the corrected depth information, the color information, the position information of each scattered point in the clipping space, the rendering parameters and the shielding degree corresponding to the scattered point corresponding to the front-end scene. In some embodiments, the rendering parameters include at least one of: Parameters of depth and texture sampler; Scaling of the pixel; The distance between two adjacent points; an exponential scaling factor; a depth range of the three-dimensional scene; rendering the size of the viewport; A distance between two adjacent pixels; Whether the display mode of the three-dimensional model is a perspective mode or not; The projection information. In some embodiments, the management engine of the three-dimensional scene is an engine developed based on a three-dimensional graphics development kit. In some embodiments, the method further comprises: When the horizon point data comprise horizon point data corresponding to a plurality of strata respectively and the strata are a plurality of strata, carrying out shielding relation calculation on the strata to obtain shielding information among the strata; And rendering and displaying the three-dimensional model of the stratum in the three-dimensional scene according to the shielding information among th