Three-dimensional model rendering method and device, electronic equipment and storage medium

By obtaining and processing the boundary points and reference points of the three-dimensional model, and generating three-dimensional surfaces for rendering technology, the problem of showing natural rendering effects in the existing technology when ensuring security and privacy is solved, achieving more natural and high-quality rendering Effect.

CN119027616APending Publication Date: 2024-11-26BEIJING AUTONAVI YUNMAP TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411104439.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

Existing three-dimensional model rendering technology is difficult to show more natural rendering effects on the basis of ensuring security and privacy, especially when it is necessary to hide sensitive areas.

Method used

By obtaining the coordinates of multiple boundary points of the area occupied by the target object, determining the reference points in their neighborhood, and generating a three-dimensional surface based on these points, and then rendering it to ensure that the sensitive area is not displayed.

Benefits of technology

It realizes that the three-dimensional model rendering effect is improved without exposing sensitive areas, making the final displayed three-dimensional model more natural and high-quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119027616A_ABST
    Figure CN119027616A_ABST
Patent Text Reader

Abstract

The invention provides a three-dimensional model rendering method and device, electronic equipment and a storage medium, and relates to the technical fields of computers, artificial intelligence and the like. The method comprises the steps of obtaining coordinates of a plurality of first boundary points of a first area occupied by a target object; obtaining a target reference point in a neighborhood of each first boundary point; according to a first coordinate value of a target reference point of each first boundary point in a first direction, a second coordinate value of the first boundary point in the first direction is determined, and the first direction is perpendicular to a plane where the first area is located; generating a three-dimensional curved surface corresponding to the first region based on the second coordinate values of the plurality of first boundary points in the first direction; and rendering the first area based on the three-dimensional curved surface. Therefore, on the basis that the target object in the first area is not displayed, the finally displayed three-dimensional model is more natural, and the rendering effect of the three-dimensional model is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to technical fields such as computers and artificial intelligence, and in particular to a rendering method, device, electronic device and storage medium for a three-dimensional model. Background Art

[0002] With the continuous development of real-life 3D modeling and artificial intelligence technology, the generation of 3D models has become more and more convenient, and the rendering quality of 3D models has also been significantly improved. These significant changes have made the precision and accuracy of real-life 3D modeling higher and higher.

[0003] High-precision 3D model rendering can perfectly display the appearance of the real world. However, not all areas in the real world are suitable for public display. Therefore, a 3D model rendering method is urgently needed to ensure the safety and privacy of these areas and ensure the effect of 3D model rendering. Summary of the invention

[0004] The present application aims to solve one of the technical problems in the related art at least to some extent.

[0005] To this end, the first purpose of the present application is to propose a three-dimensional model rendering method to ensure that the target objects in the sensitive area are not displayed, so that the rendered three-dimensional model is displayed more naturally and the rendering effect of the three-dimensional model is improved.

[0006] The second objective of the present application is to provide a three-dimensional model rendering device.

[0007] The third objective of the present application is to provide an electronic device.

[0008] A fourth objective of the present application is to provide a computer-readable storage medium.

[0009] A fifth object of the present application is to provide a computer program product.

[0010] To achieve the above-mentioned purpose, the first embodiment of the present application proposes a method for rendering a three-dimensional model, comprising:

[0011] Acquire coordinates of a plurality of first boundary points of a first area occupied by the target object;

[0012] Acquire a target reference point located in the neighborhood of each of the first boundary points;

[0013] Determine, according to a first coordinate value of a target reference point of each of the first boundary points in the first direction, a second coordinate value of the first boundary point in the first direction, wherein the first direction is perpendicular to a plane where the first region is located;

[0014] Generate a three-dimensional surface corresponding to the first area based on the second coordinate values ​​of the plurality of first boundary points in the first direction;

[0015] The first area is rendered based on the three-dimensional surface.

[0016] To achieve the above-mentioned purpose, a second embodiment of the present application proposes a three-dimensional model rendering device, including:

[0017] A first acquisition module, used to acquire coordinates of a plurality of first boundary points of a first area occupied by a target object;

[0018] A second acquisition module, used for acquiring a target reference point located in the neighborhood of each of the first boundary points;

[0019] A determination module, configured to determine a second coordinate value of each first boundary point in the first direction according to a first coordinate value of a target reference point of each first boundary point in the first direction, wherein the first direction is perpendicular to a plane where the first area is located;

[0020] A generating module, configured to generate a three-dimensional surface corresponding to the first area based on the second coordinate values ​​of the plurality of first boundary points respectively in the first direction;

[0021] A rendering module is used to render the first area based on the three-dimensional surface.

[0022] To achieve the above-mentioned purpose, the third aspect of the present application provides an electronic device, including: a processor, and a memory communicatively connected to the processor;

[0023] The memory stores computer-executable instructions;

[0024] The processor executes the computer-executable instructions stored in the memory to implement the three-dimensional model rendering method as described in the embodiment of the first aspect.

[0025] To achieve the above-mentioned purpose, the fourth aspect embodiment of the present application proposes a computer-readable storage medium, in which computer execution instructions are stored. When the computer execution instructions are executed by a processor, they are used to implement the three-dimensional model rendering method as described in the first aspect embodiment.

[0026] To achieve the above-mentioned purpose, the fifth embodiment of the present application proposes a computer program product, including a computer program, which, when executed by a processor, implements the three-dimensional model rendering method as described in the first embodiment.

[0027] The rendering method, device, electronic device and storage medium of the three-dimensional model provided by the present application first obtain the coordinates of multiple first boundary points of the first area occupied by the target object, and obtain the target reference point located in the neighborhood of each first boundary point, and then determine the second coordinate value of the first boundary point in the first direction according to the first coordinate value of the target reference point of each first boundary point in the first direction, and then generate the three-dimensional surface corresponding to the first area based on the second coordinate values ​​of the multiple first boundary points in the first direction, and finally render the first area based on the three-dimensional surface. Thus, on the basis of ensuring that the target object in the first area is not displayed, the finally displayed three-dimensional model is made more natural, and the rendering effect of the three-dimensional model is improved.

[0028] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0030] Figure 1 A schematic diagram of a flow chart of a method for rendering a three-dimensional model provided in an embodiment of the present application;

[0031] Figure 2 A schematic diagram of a flow chart of another method for rendering a three-dimensional model provided in an embodiment of the present application;

[0032] Figure 3 A schematic diagram of a flow chart of another method for rendering a three-dimensional model provided in an embodiment of the present application;

[0033] Figure 4 A schematic diagram of a flow chart of another method for rendering a three-dimensional model provided in an embodiment of the present application;

[0034] Figure 5 A schematic diagram of a flow chart of another method for rendering a three-dimensional model provided in an embodiment of the present application;

[0035] Figure 6 A schematic diagram of a flow chart of another method for rendering a three-dimensional model provided in an embodiment of the present application;

[0036] Figure 7 A schematic diagram of the structure of a three-dimensional model rendering device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0037] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0038] The following describes a method and device for rendering a three-dimensional model according to an embodiment of the present application with reference to the accompanying drawings.

[0039] Figure 1 A schematic flow chart of a method for rendering a three-dimensional model provided in an embodiment of the present application.

[0040] like Figure 1 As shown, the rendering method of the three-dimensional model includes the following steps:

[0041] Step 101: Obtain coordinates of a plurality of first boundary points of a first area occupied by a target object.

[0042] Among them, the target object may be an object that does not need to be displayed, which may be determined based on actual needs, and the number may be any number, which is not limited in this application.

[0043] The first area is the area occupied by all three-dimensional points corresponding to the target object.

[0044] The first boundary point may be a boundary point constituting the first region, and the coordinates of the first boundary point may be plane coordinates.

[0045] It should be noted that the number of first boundary points obtained may be different or the same depending on the range of the first area, and this application does not limit this.

[0046] In the embodiment of the present application, in order to ensure the privacy of the target object, the target object may not be rendered and displayed, and in this case, the target object needs to be blurred. In this case, the coordinates of multiple first boundary points of the first area occupied by the target object can be first obtained, and then when rendering, the first area within the coordinates of the multiple first boundary points can be blurred, thereby ensuring that the target object is not rendered and displayed, thereby ensuring the privacy of the target object.

[0047] Step 102: Acquire a target reference point located in the neighborhood of each first boundary point.

[0048] It should be noted that the range of the neighborhood of the first boundary point may be a range within the plane where the first region is located and relatively close to the first boundary point. For example, the range of the neighborhood of the first boundary point may be a range within the plane where the first region is located and contained in a circular area with the first boundary point as the center, and the radius of the circular area may be pre-set, and this application does not limit this.

[0049] The target reference point may be all three-dimensional points in the neighborhood of the first boundary point, or may be some three-dimensional points in the neighborhood of the first boundary point.

[0050] Step 103 , determining a second coordinate value of each first boundary point in the first direction according to a first coordinate value of a target reference point of the first boundary point in the first direction, wherein the first direction is perpendicular to the plane where the first region is located.

[0051] For example, the coordinate axes of the three-dimensional coordinate system where the first area is located are represented by x, y, and z respectively, and xy represents the coordinates of two directions in the coordinate system of the plane where the first area is located. For example, taking the plane where the first area is located as a horizontal plane, xy can be the horizontal axis and the vertical axis of the horizontal plane, and z can represent the height direction, that is, the direction perpendicular to the horizontal plane. In other words, the coordinates of the first boundary point are (X, Y), and the target reference point can be a reference point used to determine the coordinate value Z of the first boundary point in the z-axis direction.

[0052] In an embodiment of the present application, after obtaining the coordinates of multiple first boundary points of the first area occupied by the target object, the target reference points located in the neighborhood of each first boundary point can be obtained respectively based on the coordinates of the first boundary point, so that the coordinate value of the first boundary point in the direction perpendicular to the plane where the first area is located can be determined based on the target reference point, thereby ensuring that there is no sudden change in height in the first direction between the first boundary point and the target reference point in the neighborhood, which provides conditions for improving the smoothness and coherence of the three-dimensional model.

[0053] In an embodiment of the present application, after obtaining the target reference point located in the neighborhood of the first boundary point, the second coordinate value of the corresponding first boundary point in the first direction can be determined based on the first coordinate value of the target reference point in the first direction, thereby improving the accuracy of the determined second coordinate value.

[0054] Taking the above example as an example, the first direction is the z-axis direction. Then, after obtaining the target reference point located in the neighborhood of the first boundary point, the first coordinate value Z of the target reference point in the z-axis direction can be 1 value, and determine the second coordinate value Z of the corresponding first boundary point in the z-axis direction by any method 2 For example, the Z values ​​corresponding to multiple target reference points can be calculated. 1 The average value of the values ​​is then determined as the Z value of the corresponding first boundary point. 2 Value, where the target reference point is different, the corresponding Z 1 The values ​​may be different or the same, and this application does not limit this.

[0055] It should be noted that after obtaining the target reference point located in the neighborhood of the first boundary point, in order to improve the accuracy and reliability of the second coordinate value of the determined first boundary point, the outliers in the neighborhood of the first boundary point can be first eliminated through a preset method (such as quartiles, etc.), and then the remaining points in the neighborhood of the first boundary point can be determined as target reference points. This application does not limit this.

[0056] Step 104 : generating a three-dimensional surface corresponding to the first region based on the second coordinate values ​​of the plurality of first boundary points in the first direction.

[0057] It should be noted that the second coordinate value of each first boundary point in the first direction may be different or the same, and this application does not limit this.

[0058] In an embodiment of the present application, after determining the second coordinate values ​​of multiple first boundary points, a three-dimensional surface corresponding to the first area can be generated based on the second coordinate values ​​of each first boundary point in the first direction by a preset method for generating a three-dimensional surface, wherein the preset method for generating a three-dimensional surface can be any method, for example, it can be a three-dimensional surface fitting method (such as interpolation fitting, polynomial fitting, etc.), and the present application does not limit this.

[0059] Step 105: Render the first area based on the three-dimensional surface.

[0060] In an embodiment of the present application, after obtaining the three-dimensional surface corresponding to the first area, the first area can be rendered based on the three-dimensional surface, so that the first area is rendered as the corresponding three-dimensional surface, thereby realizing blurring processing of the target object and ensuring the security and privacy of the target object.

[0061] It should be noted that when rendering the first area based on the three-dimensional surface, the specific rendering method can be any method pre-set according to actual needs. For example, the first area can be rendered by a three-dimensional Gaussian splatting (3DGS) method, which is not limited in this application.

[0062] Among them, 3D Gaussian splatting is a method for restoring 3D scenes based on 3D Gaussian volumes (Gaussian Splats), which has a high-quality new perspective synthesis effect, thereby improving the rendering effect of 3D models. Among them, new perspective synthesis can generate or render images of other perspectives of the corresponding object based on a given perspective image.

[0063] In this embodiment, firstly, based on the boundary points of the area occupied by the target object, the coordinate values ​​of the target reference points in the neighborhood of the boundary points in the first direction are determined, then based on the coordinate values ​​of the target reference points in the first direction, the coordinate values ​​of the boundary points in the first direction are estimated, and then based on the coordinate values ​​of the boundary points in the first direction, the three-dimensional surface corresponding to the occupied area is generated and rendered. Thus, on the basis of ensuring that the target object is not displayed, the finally displayed three-dimensional model is made more natural, and the rendering effect of the three-dimensional model is improved.

[0064] This embodiment provides another method for rendering a three-dimensional model. Figure 2 A flowchart of another three-dimensional model rendering method provided in an embodiment of the present application.

[0065] like Figure 2 As shown, the rendering method of the three-dimensional model may include the following steps:

[0066] Step 201: Obtain coordinates of a plurality of first boundary points of a first area occupied by a target object.

[0067] For a detailed description of the above step 201, please refer to the above embodiment of the present application, which will not be repeated here.

[0068] Step 202: determine a circular area with the coordinates of the first boundary point as the center and the first reference value as the radius as the neighborhood of the first boundary point.

[0069] Among them, the first reference value can be a reference value for determining the neighborhood range of the first boundary point. It can be any pre-set reference value, or it can also be a reference value determined according to actual needs. This application does not limit this.

[0070] It should be noted that when a circular area with the coordinates of the first boundary point as the center and the first reference value as the radius is determined as the neighborhood of the first boundary point, since the three-dimensional points located in the first area occupied by the target object cannot be displayed in the three-dimensional model rendering, at this time, the circular area with the coordinates of the first boundary point as the center and the first reference value as the radius, except the area located in the first area, can be determined as the neighborhood of the first boundary point, thereby ensuring the privacy of the target object. This application does not limit this.

[0071] Step 203, obtaining the number of three-dimensional points within the neighborhood.

[0072] It should be noted that the number of three-dimensional points located in the neighborhood of each first boundary point may be different or the same, and this application does not limit this.

[0073] It should be noted that when a circular area with the coordinates of the first boundary point as the center and the first reference value as the radius is determined as the neighborhood of the first boundary point, since the three-dimensional points located in the first area occupied by the target object cannot be displayed, at this time, the number of three-dimensional points located in the neighborhood of the first boundary point and not in the first area can be obtained, and this application does not limit this.

[0074] Step 204: When the number of three-dimensional points is greater than or equal to the number threshold, determine the three-dimensional point in the neighborhood as the target reference point of the first boundary point.

[0075] Among them, the quantity threshold can be a critical value of the number of three-dimensional points used to determine whether a three-dimensional point located in the neighborhood can be determined as a target reference point. It can be pre-set according to actual needs, and this application does not limit this.

[0076] In an embodiment of the present application, when the number of three-dimensional points within the neighborhood is greater than or equal to a quantity threshold, it can be determined that the number of three-dimensional points within the neighborhood is large. At this time, when determining the coordinate value of the first boundary point in the direction perpendicular to the horizontal plane based on the three-dimensional points within the neighborhood, the influence of noise points in the neighborhood can be effectively reduced, thereby improving the accuracy and reliability of the determined coordinate values.

[0077] Optionally, when the number of three-dimensional points is less than the number threshold, the number of three-dimensional points in the neighborhood may be re-acquired by increasing the first reference value until the number of three-dimensional points is greater than or equal to the number threshold.

[0078] It should be noted that when the number of three-dimensional points is less than the number threshold, when the first reference value is increased, the degree of increase can be determined according to actual needs, and this application does not limit this.

[0079] In an embodiment of the present application, when the number of three-dimensional points is less than a quantity threshold, it can be determined that the number of three-dimensional points in the neighborhood is small. At this time, when determining the coordinate value of the first boundary point in the direction perpendicular to the horizontal plane based on the three-dimensional points in the neighborhood, if there are noise points in the three-dimensional points in the neighborhood, due to the small number of three-dimensional points in the neighborhood, the influence of the noise points may be large, resulting in lower accuracy of the determined coordinate values. In order to ensure the accuracy and reliability of the determined coordinate values, the first reference value can be increased according to actual needs, thereby expanding the neighborhood range of the first boundary point and obtaining a larger number of three-dimensional points.

[0080] Step 205 , determining a second coordinate value of each first boundary point in the first direction according to a first coordinate value of a target reference point of the first boundary point in the first direction, wherein the first direction is perpendicular to the plane where the first region is located.

[0081] Step 206 : generating a three-dimensional surface corresponding to the first region based on the second coordinate values ​​of the plurality of first boundary points in the first direction.

[0082] Step 207: Render the first area based on the three-dimensional surface.

[0083] For detailed description of the above steps 205 to 207, please refer to the above embodiments of the present application, which will not be repeated here.

[0084] In this embodiment, after obtaining the coordinates of multiple boundary points of the area occupied by the target object, the neighborhood of each boundary point is determined based on the parameter value, and when the number of three-dimensional points contained in the neighborhood is greater than or equal to the quantity threshold, the coordinate value corresponding to the boundary point is determined based on the coordinate value of the three-dimensional point in the neighborhood in the direction perpendicular to the horizontal plane, thereby avoiding the situation where the coordinate value of the boundary point in the direction perpendicular to the horizontal plane is determined based on the noise points in the neighborhood, and improving the accuracy and reliability of the determined coordinate value.

[0085] This embodiment provides another method for rendering a three-dimensional model. Figure 3 A flowchart of another three-dimensional model rendering method provided in an embodiment of the present application.

[0086] like Figure 3 As shown, the rendering method of the three-dimensional model may include the following steps:

[0087] Step 301: Obtain coordinates of a plurality of first boundary points of a first area occupied by a target object.

[0088] Step 302: Acquire a target reference point located in the neighborhood of each first boundary point.

[0089] For detailed description of the above steps 301 to 302, please refer to the above embodiments of the present application, which will not be repeated here.

[0090] Step 303: determine a first distance value between the first boundary point and each target reference point.

[0091] It should be noted that the first distance value between the first boundary point and each target reference point may be different or the same, and this application does not limit this.

[0092] In an embodiment of the present application, after determining the target reference point within the neighborhood of the first boundary point, in order to improve the accuracy of the generated three-dimensional surface corresponding to the first area, the first distance value between the first boundary point and each target reference point can be first determined.

[0093] Step 304: Determine a first weight of each target reference point according to the first distance value corresponding to each target reference point.

[0094] The first weight may be a weight used to determine the coordinate value (ie, Z value) of the first boundary point in a direction perpendicular to the horizontal plane.

[0095] In an embodiment of the present application, after determining the first distance value between the first boundary point and each target reference point, in order to make the boundary of the first area smoother and more natural, the first weight of each target reference point can be first determined based on the first distance value corresponding to each target reference point.

[0096] In the embodiment of the present application, when determining the first weight of each target reference point according to the first distance value corresponding to each target reference point, it can be determined according to any preset method. For example, the inverse of the first distance value corresponding to each target reference point can be determined as the first weight of each target reference point, and the present application does not limit this.

[0097] Step 305 , based on the first weight of each target reference point, the first coordinates of multiple target reference points are merged to obtain the second coordinate value of the corresponding first boundary point.

[0098] In an embodiment of the present application, after determining the first weight of each target boundary point, in order to improve the accuracy and reliability of the determined second coordinate value, the first coordinates of multiple target reference points can be weightedly fused based on the first weight of each target reference point to obtain the second coordinate value of the corresponding first boundary point, so that the first area is more in line with the terrain changes in its corresponding actual environment.

[0099] Optionally, after obtaining the target reference point within the neighborhood of the first boundary point, the average value of the first coordinate values ​​of multiple target reference points can be determined directly based on the first coordinate value of each target reference point, and then the average value can be determined as the second coordinate value of the corresponding first boundary point. This application does not limit this.

[0100] Step 306 : Generate a three-dimensional surface corresponding to the first area based on the second coordinate values ​​of the plurality of first boundary points in the first direction.

[0101] Step 307: Render the first area based on the three-dimensional surface.

[0102] For detailed description of the above steps 306 to 307, please refer to the above embodiments of the present application, which will not be repeated here.

[0103] In this embodiment, after obtaining the target reference point in the neighborhood of the boundary point of the area occupied by the target object, the weight corresponding to each target reference point can be determined based on the distance between the target reference point and the corresponding boundary point, and then the weights of multiple target reference points and the corresponding first coordinate values ​​are fused to obtain the second coordinate value of the corresponding boundary point, thereby ensuring a smooth transition of the coordinate values ​​of the boundary points between the area occupied by the target object and the adjacent area, and improving the display effect of the three-dimensional model after blurring the first area.

[0104] This embodiment provides another method for rendering a three-dimensional model. Figure 4 A flowchart of another three-dimensional model rendering method provided in an embodiment of the present application.

[0105] like Figure 4 As shown, the rendering method of the three-dimensional model may include the following steps:

[0106] Step 401: Obtain coordinates of a plurality of first boundary points of a first area occupied by a target object.

[0107] Step 402: Acquire a target reference point located in the neighborhood of each first boundary point.

[0108] Step 403 , determining a second coordinate value of each first boundary point in the first direction according to a first coordinate value of a target reference point of the first boundary point in the first direction, wherein the first direction is perpendicular to the plane where the first region is located.

[0109] For detailed description of the above steps 401 to 403, please refer to the above embodiments of the present application, which will not be repeated here.

[0110] Step 404: determine a second distance value between a point in the first area and each first boundary point.

[0111] It should be noted that a point in the first area may be any interpolation point located in the first area, which is not a first boundary point of the first area, and the present application does not limit this.

[0112] In the embodiment of the present application, after determining the second coordinate value of the first boundary point, in order to make the generated three-dimensional surface further conform to the terrain changes of the area occupied by the target object in the actual environment and improve the accuracy of the generated three-dimensional surface, three-dimensional point interpolation can be performed in the first area before generating the three-dimensional surface to obtain the corresponding interpolation points, and then the three-dimensional surface is generated based on the boundary point coordinates of the first area and the interpolation point coordinates in the first area. In order to improve the accuracy of the interpolation point coordinates in the determined first area, the second distance value between the point and each first boundary point can be determined first based on the coordinates of a point located in the first area and the coordinates of each first boundary point.

[0113] Step 405: Determine a second weight of each first boundary point according to the second distance value corresponding to each first boundary point.

[0114] The second weight may be a weight used for weighted fusion of the second coordinates of the plurality of first boundary points.

[0115] It should be noted that the second weight may be the same as the first weight, or may be different from the first weight, and this application does not limit this.

[0116] In the embodiment of the present application, after determining the second coordinate values ​​of a point in the first region and each first boundary point, in order to improve the accuracy of the generated three-dimensional surface, the second weight of each first boundary point can be determined according to the second distance value corresponding to each first boundary point. For example, the reciprocal of the second distance value corresponding to each first boundary point can be determined as the corresponding second weight, which is not limited in the present application.

[0117] Step 406: Based on the second weight of each first boundary point, the second coordinates of the plurality of first boundary points are merged to obtain a third coordinate value of a point in the first area.

[0118] The third coordinate value is the coordinate value of a point in the first area in the first direction, that is, the Z value.

[0119] In an embodiment of the present application, after determining the second weight of each first boundary point, the second coordinates of multiple first boundary points can be weightedly fused based on the second weight of each first boundary point to determine the third coordinate value of a corresponding point in the first area, and so on, to determine the third coordinate value corresponding to each point in the first area, thereby ensuring the accuracy of the generated three-dimensional surface.

[0120] Step 407: Generate a three-dimensional surface corresponding to the first area based on the second coordinate values ​​of the plurality of first boundary points and the third coordinate value of each point in the first area.

[0121] In an embodiment of the present application, after determining the third coordinate value of each point in the first area, a three-dimensional surface corresponding to the first area can be generated based on the second coordinate values ​​of multiple first boundary points and the third coordinate value of each point in the first area, thereby making the generated three-dimensional surface more natural and smooth, and improving the accuracy and reliability of the three-dimensional surface.

[0122] Step 408: Render the first area based on the three-dimensional surface.

[0123] For a detailed description of the above step 408, please refer to the above embodiments of the present application, which will not be repeated here.

[0124] In this embodiment, after determining the second coordinate value of the boundary point of the area occupied by the target object in the first direction, the weight of each boundary point and the point is determined based on the distance value between a point in the area and each boundary point, and then the weights of multiple boundary points and the corresponding second coordinate values ​​are weightedly fused to obtain the third coordinate value of the point in the first direction. Similarly, after determining the third coordinate value of each point in the area, a three-dimensional surface corresponding to the occupied area is generated based on the second coordinate values ​​of multiple boundary points and the third coordinate value of each point in the area, thereby further improving the accuracy of the generated three-dimensional surface and improving the reliability of three-dimensional model rendering.

[0125] This embodiment provides another method for rendering a three-dimensional model. Figure 5 A flowchart of another three-dimensional model rendering method provided in an embodiment of the present application.

[0126] like Figure 5 As shown, the rendering method of the three-dimensional model may include the following steps:

[0127] Step 501: Obtain coordinates of a plurality of second boundary points of a second area occupied by a target object in an actual scene.

[0128] The second area may be an area occupied by the target object in the actual scene.

[0129] It should be noted that the second area may be an area that needs to be blurred and is obtained from relevant departments or relevant personnel.

[0130] The actual scene is the actual environment corresponding to the target object. For example, when the target object is an object contained in a street in a city, the actual scene may be the actual environment corresponding to the street where the target object is located, and this application does not limit this.

[0131] The second boundary points may be boundary points constituting the second area, and the number of the second boundary points may be any, which is not limited in the present application.

[0132] In the embodiment of the present application, in order to improve the accuracy of the generated three-dimensional surface, the coordinates of multiple second boundary points of the second area occupied by the target object in the actual scene may be firstly obtained.

[0133] Step 502 : Based on the coordinate transformation matrix associated with the three-dimensional model, the coordinates of the second boundary point are transformed to obtain the coordinates of the first boundary point.

[0134] The three-dimensional model is the three-dimensional model to which the target object belongs.

[0135] The coordinate conversion matrix may be any pre-set conversion matrix. For example, when the coordinate system of the three-dimensional model is a Gaussian coordinate system, the coordinate conversion matrix may be a map coordinate conversion matrix that converts coordinates in the actual scene into coordinates in the Gaussian coordinate system, and this application does not limit this.

[0136] In an embodiment of the present application, after obtaining the coordinates of multiple second boundary points within the second area occupied by the target object in the actual scene, the second boundary point coordinates can be transformed based on the coordinate transformation matrix associated with the three-dimensional model to obtain the first boundary point coordinates, thereby improving the reliability of the determined first boundary point coordinates.

[0137] It should be noted that after the coordinates of the second boundary point are transformed to obtain the coordinates of the first boundary point, in order to make the first boundary point evenly and densely distributed, the first boundary point can also be interpolated based on each three-dimensional point in the neighborhood of the first boundary point, and the blank area between the first boundary points converted from the second boundary point can be filled, so that the boundary of the first area is smoother. At this time, the interpolation point can also be determined as the first boundary point, and the present application does not limit this.

[0138] It should be noted that when the coordinate system to which the three-dimensional model belongs is a Gaussian coordinate system, the first boundary point may be a Gaussian point.

[0139] Step 503: Acquire a target reference point located in the neighborhood of each first boundary point.

[0140] Step 504 , determining a second coordinate value of each first boundary point in the first direction according to a first coordinate value of a target reference point of the first boundary point in the first direction, wherein the first direction is perpendicular to the plane where the first region is located.

[0141] Step 505 : generating a three-dimensional surface corresponding to the first region based on the second coordinate values ​​of the plurality of first boundary points in the first direction.

[0142] For detailed description of the above steps 503 to 505, please refer to the above embodiments of the present application, which will not be repeated here.

[0143] Step 506: Project the three-dimensional points in the first area onto the three-dimensional curved surface to obtain corresponding projection points.

[0144] In an embodiment of the present application, after generating a three-dimensional surface corresponding to the first area, in order to make the generated three-dimensional surface smoother and more continuous, the three-dimensional points located in the first area can be first projected onto the three-dimensional surface to obtain corresponding projection points.

[0145] It should be noted that when the coordinate system to which the three-dimensional model belongs is a Gaussian coordinate system, the three-dimensional points located in the first area can be Gaussian points. At this time, after projecting the three-dimensional points in the first area onto the three-dimensional surface, the obtained projection points are also Gaussian points. This application does not limit this.

[0146] Step 507, adjusting the size of the projection point.

[0147] In an embodiment of the present application, after obtaining the projection point, in order to reduce the abruptness of the projection point on the three-dimensional surface and reduce the impact of the size of the projection point on the three-dimensional surface display, the size of the projection point can be adjusted.

[0148] It should be noted that when adjusting the size of the projection point, the specific adjustment strategy can be determined according to actual needs, and the size adjustment of each projection point may be different or the same. For example, the size of the projection point can be scaled and adjusted, and this application does not limit this.

[0149] Step 508, rotating the projection point along the normal direction of the projection point, wherein the major axis direction of the rotated projection point is perpendicular to the normal direction.

[0150] In an embodiment of the present application, in order to avoid irregular protrusions or depressions on the projected three-dimensional surface, the projection point can be rotated along the normal direction of the projection point so that its long axis direction is perpendicular to the normal direction, thereby making the three-dimensional surface further smooth and continuous.

[0151] It should be noted that when the projection point is a Gaussian point, the shape of the projection point on the three-dimensional surface is an ellipsoid. When it is projected onto the three-dimensional surface, it may affect the smoothness and continuity of the three-dimensional surface. At this time, the projection point needs to be rotated so that its long axis direction is perpendicular to the normal direction of its position. This application does not limit this.

[0152] Step 509: Render the first area based on the three-dimensional surface.

[0153] For a detailed description of the above step 509, please refer to the above embodiments of the present application, which will not be repeated here.

[0154] In this embodiment, after generating a three-dimensional surface corresponding to the area occupied by the target object, the three-dimensional points in the occupied area can be projected onto the three-dimensional surface to obtain corresponding projection points, and then the size of the projection points can be adjusted and the projection points can be rotated. Finally, the first area is rendered, thereby ensuring the continuity of the three-dimensional surface after rendering and display, effectively avoiding the phenomenon of protrusions or depressions on the three-dimensional surface, and making the rendered three-dimensional surface smoother.

[0155] This embodiment provides another method for rendering a three-dimensional model. Figure 6 A flowchart of another three-dimensional model rendering method provided in an embodiment of the present application.

[0156] like Figure 6 As shown, the rendering method of the three-dimensional model may include the following steps:

[0157] Step 601: Obtain coordinates of a plurality of second boundary points of a second area occupied by a target object in an actual scene.

[0158] Step 602 : Based on the coordinate transformation matrix associated with the three-dimensional model, the coordinates of the second boundary point are transformed to obtain the coordinates of the first boundary point.

[0159] Step 603: Acquire a target reference point located in the neighborhood of each first boundary point.

[0160] Step 604 , determining a second coordinate value of each first boundary point in the first direction according to a first coordinate value of a target reference point of the first boundary point in the first direction, wherein the first direction is perpendicular to the plane where the first region is located.

[0161] Step 605 : generating a three-dimensional surface corresponding to the first region based on the second coordinate values ​​of the plurality of first boundary points in the first direction.

[0162] Step 606: Project the three-dimensional points in the first area onto the three-dimensional curved surface to obtain corresponding projection points.

[0163] For detailed description of the above steps 601 to 606, please refer to the above embodiments of the present application, which will not be repeated here.

[0164] Step 607: determine the display granularity of the three-dimensional model.

[0165] It should be noted that the display granularity of the three-dimensional model may be pre-set or may be determined according to actual needs, and this application does not limit this.

[0166] In an embodiment of the present application, after projecting the three-dimensional points in the first area onto the three-dimensional surface, in order to reduce the impact of the size of the projection points on the three-dimensional surface display, the display granularity of the three-dimensional model can be first determined, so that the size of the projection points can be adjusted based on the display granularity to ensure the naturalness and smoothness of the rendered three-dimensional surface.

[0167] Step 608 : determining the size adjustment ratio of the projection point in the second direction and the third direction based on the display granularity, wherein the second direction and the third direction are respectively perpendicular to the first direction.

[0168] Taking the above example, when the first direction is the z-axis direction, the second direction and the third direction can be any direction in the x-axis direction and the y-axis direction respectively, where the second direction is different from the third direction, and this application does not limit this.

[0169] It should be noted that, due to different display granularities, the adjustment ratios of the sizes of the determined projection points in the second direction and the third direction may be different or the same, and this application does not limit this.

[0170] In the embodiment of the present application, after the display granularity of the three-dimensional model is determined, the size adjustment ratio of the projection point in the second direction and the third direction can be determined based on the display granularity, thereby providing conditions for ensuring the continuity of the three-dimensional surface.

[0171] Step 609: Adjust the sizes of the projection point in the second direction and the third direction based on the size adjustment ratio.

[0172] In an embodiment of the present application, after determining the size adjustment ratio of the projection point in the second direction and the third direction, the projection point can be adjusted based on the size adjustment ratio to ensure that the display size of the projection point in the rendered three-dimensional surface is consistent with the current display granularity of the three-dimensional model.

[0173] Step 610, rotating the projection point along the normal direction of the projection point, wherein the major axis direction of the rotated projection point is perpendicular to the normal direction.

[0174] Step 611: Render the first area based on the three-dimensional surface.

[0175] For detailed description of the above steps 610 to 611, please refer to the above embodiments of the present application, which will not be repeated here.

[0176] In this embodiment, a three-dimensional surface corresponding to the area occupied by the target object is generated, and the three-dimensional points in the occupied area are projected onto the three-dimensional surface. After the projection points are obtained, the display granularity of the three-dimensional model is determined, the size adjustment ratio of the projection points is determined, and based on the size adjustment ratio, the projection points are resized, and then the projection points are rotated. Finally, the three-dimensional surface is rendered, thereby improving the aesthetics of the three-dimensional surface after rendering and display, and improving the rendering effect of the three-dimensional model.

[0177] In order to implement the above embodiment, the present application also proposes a three-dimensional model rendering device.

[0178] Figure 7 A schematic diagram of the structure of a three-dimensional model rendering device provided in an embodiment of the present application.

[0179] like Figure 7 As shown, the 3D model rendering device 700 includes:

[0180] A first acquisition module 701 is used to acquire coordinates of a plurality of first boundary points of a first area occupied by a target object;

[0181] A second acquisition module 702 is used to acquire a target reference point located in the neighborhood of each first boundary point;

[0182] A determination module 703, configured to determine a second coordinate value of each first boundary point in the first direction according to a first coordinate value of a target reference point of the first boundary point in the first direction, wherein the first direction is perpendicular to the plane where the first region is located;

[0183] A generating module 704, configured to generate a three-dimensional surface corresponding to the first area based on the second coordinate values ​​of the plurality of first boundary points in the first direction;

[0184] The rendering module 705 is used to render the first area based on the three-dimensional surface.

[0185] Furthermore, in a possible implementation of the embodiment of the present application, the second acquisition module 702 may be specifically configured to:

[0186] A circular area with the coordinates of the first boundary point as the center and the first reference value as the radius is determined as the neighborhood of the first boundary point;

[0187] Get the number of 3D points within the neighborhood;

[0188] When the number of the three-dimensional points is greater than or equal to the number threshold, the three-dimensional point in the neighborhood is determined as the target reference point of the first boundary point.

[0189] Further, in a possible implementation of the embodiment of the present application, after obtaining the number of three-dimensional points located in the neighborhood in the three-dimensional model, the second obtaining module 702 may also be used to:

[0190] When the number of three-dimensional points is less than the number threshold, the first reference value is increased to reacquire the number of three-dimensional points in the neighborhood until the number of three-dimensional points is greater than or equal to the number threshold.

[0191] Further, in a possible implementation of the embodiment of the present application, the determination module 703 may be specifically used to:

[0192] Determining a first distance value between the first boundary point and each target reference point;

[0193] Determine a first weight of each target reference point according to a first distance value corresponding to each target reference point;

[0194] Based on the first weight of each target reference point, the first coordinates of multiple target reference points are fused to obtain the second coordinate value of the corresponding first boundary point.

[0195] Furthermore, in a possible implementation of the embodiment of the present application, the generating module 704 may be specifically used to:

[0196] Determine a second distance value between a point in the first region and each first boundary point;

[0197] Determining a second weight of each first boundary point according to a second distance value corresponding to each first boundary point;

[0198] Based on the second weight of each first boundary point, the second coordinates of the plurality of first boundary points are merged to obtain a third coordinate value of a point in the first area;

[0199] A three-dimensional surface corresponding to the first area is generated based on the second coordinate values ​​of the plurality of first boundary points and the third coordinate value of each point in the first area.

[0200] Furthermore, in a possible implementation manner of the embodiment of the present application, before rendering the first area based on the three-dimensional surface, the following may also be included:

[0201] A projection module (not shown in the figure), used to project the three-dimensional points located in the first area onto the three-dimensional curved surface to obtain corresponding projection points;

[0202] An adjustment module (not shown in the figure), used to adjust the size of the projection point;

[0203] The rotation module (not shown in the figure) is used to rotate the projection point along the normal direction of the position of the projection point, wherein the long axis direction of the rotated projection point is perpendicular to the normal direction.

[0204] Further, in a possible implementation of the embodiment of the present application, the adjustment module (not shown in the figure) can be specifically used to:

[0205] Determine the display granularity of the 3D model;

[0206] Based on the display granularity, determining a size adjustment ratio of the projection point in a second direction and a third direction, wherein the second direction and the third direction are respectively perpendicular to the first direction;

[0207] Based on the size adjustment ratio, the sizes of the projection point in the second direction and the third direction are adjusted.

[0208] Furthermore, in a possible implementation of the embodiment of the present application, the first acquisition module 701 may be specifically configured to:

[0209] Acquire coordinates of a plurality of second boundary points of a second area occupied by the target object in the actual scene;

[0210] Based on the coordinate transformation matrix associated with the three-dimensional model, the coordinates of the second boundary point are transformed to obtain the coordinates of the first boundary point.

[0211] It should be noted that the above explanation of the embodiment of the three-dimensional model rendering method is also applicable to the three-dimensional model rendering device of this embodiment, and will not be repeated here.

[0212] In the embodiment of the present application, the coordinates of multiple first boundary points of the first area occupied by the target object are first obtained, and the target reference point located in the neighborhood of each first boundary point is obtained. Then, according to the first coordinate value of the target reference point of each first boundary point in the first direction, the second coordinate value of the first boundary point in the first direction is determined. Then, based on the second coordinate values ​​of the multiple first boundary points in the first direction, a three-dimensional surface corresponding to the target object is generated. Finally, based on the three-dimensional surface, the first area is rendered. Thus, on the basis of ensuring that the target object in the first area is not displayed, the final displayed three-dimensional model is made more natural, and the rendering effect of the three-dimensional model is improved.

[0213] In order to implement the above embodiments, the present application also proposes an electronic device, including: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the rendering method of the three-dimensional model provided in the above embodiments.

[0214] In order to implement the above embodiments, the present application also proposes a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the three-dimensional model rendering method provided in the above embodiments.

[0215] In order to implement the above embodiments, the present application also proposes a computer program product, including a computer program, which, when executed by a processor, implements the three-dimensional model rendering method provided by the above embodiments.

[0216] The collection, storage, use, processing, transmission, provision and disclosure of user personal information involved in this application are in compliance with relevant laws and regulations and do not violate public order and good morals.

[0217] It should be noted that personal information from users should be collected for legitimate and reasonable purposes and should not be shared or sold outside of these legitimate uses. In addition, such collection / sharing should be carried out after receiving the user's informed consent, including but not limited to notifying the user to read the user agreement / user notice and sign the agreement / authorization including authorization of relevant user information before the user uses the function. In addition, any necessary steps should be taken to protect and safeguard access to such personal information data and ensure that others who have access to personal information data comply with its privacy policy and procedures.

[0218] This application is expected to provide an implementation scheme for users to selectively block the use or access of personal information data. That is, this application is expected to provide hardware and / or software to prevent or block access to such personal information data. Once the personal information data is no longer needed, risks can be minimized by limiting data collection and deleting data. In addition, when applicable, personal identifiers are removed from such personal information to protect the privacy of users.

[0219] In the description of the aforementioned embodiments, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0220] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0221] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0222] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0223] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0224] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0225] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0226] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A method for rendering a three-dimensional model, characterized in that: include: Acquire coordinates of a plurality of first boundary points of a first area occupied by the target object; Acquire a target reference point located in the neighborhood of each of the first boundary points; Determine, according to a first coordinate value of a target reference point of each of the first boundary points in the first direction, a second coordinate value of the first boundary point in the first direction, wherein the first direction is perpendicular to a plane where the first region is located; Generate a three-dimensional surface corresponding to the first area based on the second coordinate values ​​of the plurality of first boundary points in the first direction; The first area is rendered based on the three-dimensional surface.

2. The method according to claim 1, characterized in that The acquiring of a target reference point located in the neighborhood of each of the first boundary points comprises: A circular area with the coordinates of the first boundary point as the center and the first reference value as the radius is determined as the neighborhood of the first boundary point; Obtaining the number of three-dimensional points within the neighborhood; When the number of the three-dimensional points is greater than or equal to the number threshold, the three-dimensional point in the neighborhood is determined as the target reference point of the first boundary point.

3. The method according to claim 2, characterized in that After obtaining the number of three-dimensional points in the neighborhood, the method further includes: When the number of the three-dimensional points is less than the number threshold, the first reference value is increased to reacquire the number of the three-dimensional points in the neighborhood until the number of the three-dimensional points is greater than or equal to the number threshold.

4. The method according to claim 1, characterized in that The step of determining the second coordinate value of each first boundary point in the first direction according to the first coordinate value of the target reference point of each first boundary point in the first direction comprises: Determining a first distance value between the first boundary point and each target reference point; Determine a first weight of each of the target reference points according to a first distance value corresponding to each of the target reference points; Based on the first weight of each of the target reference points, the first coordinates of the plurality of target reference points are fused to obtain the second coordinate value of the corresponding first boundary point.

5. The method according to claim 1, characterized in that The generating a three-dimensional surface corresponding to the first area based on the second coordinate values ​​of the plurality of first boundary points in the first direction respectively includes: Determine a second distance value between a point in the first area and each of the first boundary points; determining a second weight of each of the first boundary points according to a second distance value corresponding to each of the first boundary points; Based on the second weight of each of the first boundary points, the second coordinates of the plurality of first boundary points are merged to obtain a third coordinate value of a point in the first area; A three-dimensional surface corresponding to the first area is generated based on the second coordinate values ​​of the plurality of first boundary points and the third coordinate value of each point in the first area.

6. The method according to any one of claims 1 to 5, characterized in that: Before rendering the first area based on the three-dimensional surface, the method further includes: Projecting the three-dimensional points within the first area onto the three-dimensional curved surface to obtain corresponding projection points; Adjusting the size of the projection point; The projection point is rotated along the normal direction of the position of the projection point, wherein the long axis direction of the rotated projection point is perpendicular to the normal direction.

7. The method according to claim 6, characterized in that The step of adjusting the size of the projection point comprises: Determine the display granularity of the 3D model; Based on the display granularity, determining a size adjustment ratio of the projection point in a second direction and a third direction, wherein the second direction and the third direction are respectively perpendicular to the first direction; Based on the size adjustment ratio, the sizes of the projection point in the second direction and the third direction are adjusted.

8. The method according to any one of claims 1 to 5, characterized in that: The step of obtaining coordinates of a plurality of first boundary points of a first area occupied by the target object includes: Acquire coordinates of a plurality of second boundary points of a second area occupied by the target object in the actual scene; Based on the coordinate transformation matrix associated with the three-dimensional model, the coordinates of the second boundary point are transformed to obtain the coordinates of the first boundary point.

9. A three-dimensional model rendering device, characterized in that: include: A first acquisition module, used to acquire coordinates of a plurality of first boundary points of a first area occupied by a target object; A second acquisition module, used for acquiring a target reference point located in the neighborhood of each of the first boundary points; A determination module, configured to determine a second coordinate value of each first boundary point in the first direction according to a first coordinate value of a target reference point of each first boundary point in the first direction, wherein the first direction is perpendicular to a plane where the first area is located; A generating module, configured to generate a three-dimensional surface corresponding to the first area based on the second coordinate values ​​of the plurality of first boundary points respectively in the first direction; A rendering module is used to render the first area based on the three-dimensional surface.

10. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the three-dimensional model rendering method according to any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the three-dimensional model rendering method according to any one of claims 1 to 8.