A method, device, electronic device and storage medium for simplifying three-dimensional model
By using the method of evaluating and adjusting simplified parameters of model variant parameters, the problems of feature information loss and data redundancy in the simplification process of three-dimensional model are solved, and effective simplification and automated evaluation of three-dimensional features are realized while retaining the specified proportions.
Patent Information
- Application Number
- CN202111319717.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-09
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2041-11-09
AI Technical Summary
When the prior art simplifies a three-dimensional model, excessive simplification intensity will lead to excessive loss of three-dimensional feature information and the basic appearance of the original model cannot be restored; if the simplification intensity is too weak, it will cause redundant 3-dimensional model data to put pressure on network transmission and computer performance.
By obtaining three-dimensional model data and simplified parameters, the model variation parameters are used to evaluate whether the simplified three-dimensional model data retains the three-dimensional characteristics of the specified proportion, thereby automatically evaluating the simplified results, and adjusting the simplified parameters while retaining the three-dimensional characteristics of the specified proportion to achieve the best simplification effect.
On the premise of retaining the three-dimensional features of the specified proportion, the effective simplification of the three-dimensional model is achieved, avoiding the negative impact of feature information loss and data redundancy on performance, and improving the automated evaluation and control accuracy of model simplification.
Smart Images

Figure CN114004936B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer graphics technology, and in particular to a method, device, electronic device and storage medium for simplifying a three-dimensional model. Background Art
[0002] At present, 3D models can be applied in many fields such as design, production and entertainment consumption. For example, industrial aided design uses 3D models to represent designed industrial products; medical imaging systems use 3D models to present the body tissue structure of patients; in the archaeological or art industries, 3D reconstruction generates 3D models through scanned point cloud information to restore the physical appearance; virtual reality in the entertainment industry and the metaverse that has been repeatedly reported in the newspapers recently use 3D models to build the game world in which players live. Rapid transmission and processing of 3D model information has become an unavoidable problem, because only in this way can the 3D model effect be presented faster and bring people a better experience.
[0003] In the prior art, although the tools for simplifying 3D models can effectively reduce the geometric data information of 3D models, they also bring new problems. If the simplification strength is too strong, too much 3D feature information will be lost and the basic appearance of the original model cannot be restored; if the simplification strength is too weak, the redundant 3D model data will put great pressure on the transmission of the network and the performance of the computer and 3D software, making it inconvenient to use. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a method, device, electronic device and storage medium for simplifying a three-dimensional model, which can achieve the technical effect of simplifying the model while retaining the three-dimensional features of the original model at a specified scale.
[0005] In a first aspect, an embodiment of the present application provides a method for simplifying a three-dimensional model, comprising:
[0006] Obtain 3D model data and simplify parameters;
[0007] Simplifying the three-dimensional model data according to the simplification parameters to obtain simplified three-dimensional model data;
[0008] Obtaining a model deformation parameter according to the three-dimensional model data and the simplified three-dimensional model data;
[0009] Adjust the simplified parameters according to the model variation parameters to obtain reset simplified parameters;
[0010] The three-dimensional model data is simplified according to the reset simplification parameters to obtain a simplified model.
[0011] In the above implementation process, the simplification method of the three-dimensional model can evaluate whether the simplified three-dimensional model data retains the three-dimensional features of the specified proportion relative to the initial three-dimensional model data through the model deformation parameters, thereby verifying whether the simplified result of the three-dimensional model data retains enough three-dimensional features; therefore, when facing the demand for simplified models, the simplification method of the three-dimensional model provides a method for evaluating whether the simplified model retains enough three-dimensional features of the original model without relying on human visual observation, thereby realizing automatic evaluation of the software program; at the same time, under the premise of retaining the three-dimensional features of the specified proportion, the simplification parameters are reset, that is, the technical effect of simplifying the model under the premise of retaining the three-dimensional features of the original model of the specified proportion is achieved.
[0012] Furthermore, the step of obtaining model deformation parameters according to the three-dimensional model data and the simplified three-dimensional model data includes:
[0013] Obtaining a model segmentation area, a model total area, a model bounding box volume, and a model three-view area of the three-dimensional model data;
[0014] Obtaining the model segmentation area, model total area, model bounding box volume and model three-view area of the simplified three-dimensional model data;
[0015] Obtaining a model segmentation area deformation rate according to a model segmentation area of the three-dimensional model data and a model segmentation area of the simplified three-dimensional model data;
[0016] Obtaining a total model area deformation rate according to the total model area of the three-dimensional model data and the total model area of the simplified three-dimensional model data;
[0017] Obtaining a model bounding box volume deformation rate according to the model bounding box volume of the three-dimensional model data and the model bounding box volume of the simplified three-dimensional model data;
[0018] Obtaining a model three-view area deformation rate according to the model three-view area of the three-dimensional model data and the model three-view area of the simplified three-dimensional model data;
[0019] The model deformation parameter is obtained according to the model segmentation area deformation rate, the model total area deformation rate, the model bounding box volume deformation rate and the model three-view area deformation rate.
[0020] In the above implementation process, the deformation rate of the simplified 3D model data is evaluated from four aspects: model segmentation area, model total area, model bounding box volume and model three-view area. This can effectively evaluate the retention ratio of the 3D features of the simplified 3D model data relative to the original 3D model data.
[0021] Furthermore, the step of obtaining the model segmentation area of the three-dimensional model data includes:
[0022] Get a first position offset and a second position offset;
[0023] generating a first cutting surface according to the coordinate system of the three-dimensional model data and the first position offset;
[0024] generating a second cutting plane according to the coordinate system of the three-dimensional model data and the second position offset, wherein the second cutting plane intersects with the first cutting plane and divides the three-dimensional model data into a plurality of parts;
[0025] The model segmentation area of each part after the three-dimensional model data is segmented is obtained according to the three-dimensional model data, the first cutting plane and the second cutting plane.
[0026] Furthermore, the step of obtaining the model segmentation area of the simplified three-dimensional model data includes:
[0027] generating a third cutting surface according to the coordinate system of the simplified three-dimensional model data and the first position offset;
[0028] generating a fourth cutting plane according to the coordinate system of the simplified 3D model data and the second position offset, wherein the fourth cutting plane intersects with the third cutting plane and divides the simplified 3D model data into a plurality of parts, wherein the divided parts of the simplified 3D model data correspond to the divided parts of the 3D model data;
[0029] The model segmentation area of each part of the simplified three-dimensional model data after segmentation is obtained according to the simplified three-dimensional model data, the third cutting plane and the fourth cutting plane.
[0030] In the above implementation process, the first cutting surface corresponds to the third cutting surface, and the second cutting surface corresponds to the fourth cutting surface, so that the original 3D model data and the simplified 3D model data maintain corresponding relationships in each part after cutting.
[0031] Furthermore, the step of obtaining the model segmentation area deformation rate according to the model segmentation area of the three-dimensional model data and the model segmentation area of the simplified three-dimensional model data comprises:
[0032] Obtaining a model segmentation ratio of the three-dimensional model data according to a model segmentation area of the three-dimensional model data relative to a model total area of the three-dimensional model data;
[0033] Obtaining a model segmentation ratio of the simplified three-dimensional model data according to a model segmentation area of the simplified three-dimensional model data relative to a model total area of the simplified three-dimensional model data;
[0034] The model segmentation area deformation rate is obtained according to the model segmentation ratio of the three-dimensional model data and the model segmentation ratio of the simplified three-dimensional model data.
[0035] In the above implementation process, the model segmentation area deformation rate considers whether the area ratio occupied by the segmented parts changes significantly before and after the model is simplified. A large change indicates that the area change of each segmented part is uneven, and a small change indicates that the area change of each segmented part is balanced. Balanced area changes make it more likely that the simplified model will retain more three-dimensional features.
[0036] Furthermore, the step of adjusting the simplified parameters according to the model variation parameters to obtain the reset simplified parameters includes:
[0037] The value of the simplified parameter is reset according to a first calculation formula, wherein the first calculation formula is as follows:
[0038] P1=P+(1-P)×P;
[0039] Wherein, P is the simplified parameter, and P1 is the simplified parameter after reset.
[0040] In the above implementation process, when the model deformation parameter is greater than the preset deformation rate index, it means that the simplified three-dimensional model data retains the three-dimensional features of the preset proportion and the simplification intensity is too large. At this time, the simplification parameter can be increased through the first calculation formula to obtain a better simplification parameter.
[0041] Furthermore, the step of adjusting the simplified parameters according to the model variation parameters to obtain the reset simplified parameters includes:
[0042] The value of the simplified parameter is reset according to a second calculation formula, wherein the second calculation formula is as follows:
[0043] P2 = P - (1 - P) × P;
[0044] Wherein, P is the simplified parameter, and P2 is the simplified parameter after reset.
[0045] In the above implementation process, when the model deformation parameter is less than or equal to the preset deformation rate index, it means that the simplified three-dimensional model data has retained the three-dimensional features of the preset proportion, and the simplification strength can continue to be enhanced. At this time, the simplification parameter can be reduced through the second calculation formula to obtain a better simplification parameter.
[0046] In a second aspect, an embodiment of the present application provides a simplified device for a three-dimensional model, including:
[0047] An acquisition module is used to acquire 3D model data and simplify parameters;
[0048] A first simplification module simplifies the three-dimensional model data according to the simplification parameters to obtain simplified three-dimensional model data;
[0049] A deformation parameter module, used for obtaining a model deformation parameter according to the three-dimensional model data and the simplified three-dimensional model data;
[0050] A reset module, used for adjusting the simplified parameters according to the model variation parameters to obtain reset simplified parameters;
[0051] The second simplification module is used to simplify the three-dimensional model data according to the reset simplification parameters to obtain a simplified model.
[0052] Furthermore, the variant parameter module includes:
[0053] A first acquisition unit is used to acquire a model segmentation area, a model total area, a model bounding box volume and a model three-view area of the three-dimensional model data;
[0054] A second acquisition unit is used to acquire the model segmentation area, the model total area, the model bounding box volume and the model three-view area of the simplified three-dimensional model data;
[0055] A model segmentation area deformation rate unit, used to obtain a model segmentation area deformation rate according to the model segmentation area of the three-dimensional model data and the model segmentation area of the simplified three-dimensional model data;
[0056] A model total area deformation rate unit, used for obtaining a model total area deformation rate according to the model total area of the three-dimensional model data and the model total area of the simplified three-dimensional model data;
[0057] A model bounding box volume deformation rate unit, used to obtain a model bounding box volume deformation rate according to the model bounding box volume of the three-dimensional model data and the model bounding box volume of the simplified three-dimensional model data;
[0058] A model three-view area deformation rate unit, used to obtain a model three-view area deformation rate according to the model three-view area of the three-dimensional model data and the model three-view area of the simplified three-dimensional model data;
[0059] The model deformation parameter unit is used to obtain the model deformation parameter according to the model segmentation area deformation rate, the model total area deformation rate, the model bounding box volume deformation rate and the model three-view area deformation rate.
[0060] Furthermore, the first acquiring unit includes:
[0061] An acquisition subunit, used to acquire a first position offset and a second position offset;
[0062] A first cutting surface subunit, configured to generate a first cutting surface according to a coordinate system of the three-dimensional model data and the first position offset;
[0063] A second cutting plane subunit, configured to generate a second cutting plane according to the coordinate system of the three-dimensional model data and the second position offset, wherein the second cutting plane intersects with the first cutting plane and divides the three-dimensional model data into a plurality of parts;
[0064] The model segmentation area subunit is used to obtain the model segmentation area of each part after the three-dimensional model data is segmented according to the three-dimensional model data, the first cutting surface and the second cutting surface.
[0065] Furthermore, the second acquisition unit includes:
[0066] A third cutting surface subunit, configured to generate a third cutting surface according to the coordinate system of the simplified three-dimensional model data and the first position offset;
[0067] a fourth cutting plane subunit, configured to generate a fourth cutting plane according to the coordinate system of the simplified 3D model data and the second position offset, wherein the fourth cutting plane intersects with the third cutting plane and divides the simplified 3D model data into a plurality of parts, wherein the divided parts of the simplified 3D model data correspond to the divided parts of the 3D model data;
[0068] The simplified model segmentation area subunit is used to obtain the model segmentation area of each part of the simplified three-dimensional model data after segmentation according to the simplified three-dimensional model data, the third cutting surface and the fourth cutting surface.
[0069] Furthermore, the model segmentation area deformation rate unit includes:
[0070] A model segmentation ratio subunit, used for obtaining a model segmentation ratio of the three-dimensional model data according to a model segmentation area of the three-dimensional model data relative to a total model area of the three-dimensional model data;
[0071] A simplified model segmentation ratio subunit, used to obtain a model segmentation ratio of the simplified three-dimensional model data according to a model segmentation area of the simplified three-dimensional model data relative to a model total area of the simplified three-dimensional model data;
[0072] The model segmentation area deformation rate subunit is used to obtain the model segmentation area deformation rate according to the model segmentation ratio of the three-dimensional model data and the model segmentation ratio of the simplified three-dimensional model data.
[0073] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in any one of the first aspects when executing the computer program.
[0074] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which instructions are stored. When the instructions are executed on a computer, the computer executes the method as described in any one of the first aspects.
[0075] In a fifth aspect, an embodiment of the present application provides a computer program product, which, when running on a computer, enables the computer to execute the method as described in any one of the first aspects.
[0076] Other features and advantages disclosed in the present application will be described in the following description, or some features and advantages can be inferred or determined without doubt from the description, or can be learned by implementing the above-mentioned technology disclosed in the present application.
[0077] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0078] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0079] Figure 1a A schematic diagram of a process flow of a method for simplifying a three-dimensional model provided in an embodiment of the present application;
[0080] Figure 1b A schematic flow chart of another method for simplifying a three-dimensional model provided in an embodiment of the present application;
[0081] Figure 2 A schematic diagram of a process for obtaining model variation parameters provided in an embodiment of the present application;
[0082] Figure 3 A schematic diagram of the structure of the model segmentation provided in the embodiment of the present application;
[0083] Figure 4 A schematic diagram of a process for obtaining a model segmentation area of 3D model data provided in an embodiment of the present application;
[0084] Figure 5 A schematic diagram of a process for obtaining a model segmentation area of simplified three-dimensional model data provided in an embodiment of the present application;
[0085] Figure 6 A schematic diagram of a process for obtaining a model segmentation area deformation rate provided in an embodiment of the present application;
[0086] Figure 7 A structural block diagram of a simplified device for a three-dimensional model provided in an embodiment of the present application;
[0087] Figure 8 A structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0088] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0089] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0090] The embodiments of the present application provide a method, device, electronic device and storage medium for simplifying a three-dimensional model, which can be applied to simplifying a three-dimensional model; the method for simplifying a three-dimensional model can evaluate whether the simplified three-dimensional model data retains a specified proportion of three-dimensional features relative to the initial three-dimensional model data through model deformation parameters, thereby verifying whether the simplified result of the three-dimensional model data retains enough three-dimensional features; thus, when faced with the need to simplify the model, the method for simplifying the three-dimensional model provides a method for evaluating whether the simplified model retains enough three-dimensional features of the original model in a form other than human visual observation, thereby realizing automated evaluation of the software program; at the same time, under the premise of retaining the three-dimensional features of the specified proportion, the optimal simplification parameters (resetting the simplification parameters) are achieved, that is, the technical effect of simplifying the model under the premise of retaining the three-dimensional features of the original model of the specified proportion is achieved.
[0091] See also Figure 1a , Figure 1a A schematic flow chart of a method for simplifying a three-dimensional model provided in an embodiment of the present application, wherein the method for simplifying a three-dimensional model comprises the following steps:
[0092] S100: Acquire three-dimensional model data and simplified parameters.
[0093] For example, a 3D model is composed of many points of data information on the surface. The 3D model software connects the points in a specified order to form lines and surfaces, and adds colors to the surfaces to obtain the common 3D model. The points, lines or surfaces that make up the 3D model need to be expressed with data. For example, the position coordinates of a point are a 3D coordinate, which means that three numbers are needed to describe the position information of the point. This information will be recorded in the 3D model file. As long as people get the model file, they can use the corresponding 3D software to parse the data to restore the appearance of the 3D model and present it to the 3D software.
[0094] Optionally, the simplification parameter indicates how many percent the number of vertices of the simplified new model is compared to the original model.
[0095] In some embodiments, fast transmission and processing of three-dimensional model information has become an unavoidable problem, because only in this way can the three-dimensional model effect be presented faster and bring people a better experience. In addition to improving network speed and computer performance, simplifying three-dimensional models has become another important means. The so-called simplified three-dimensional model refers to reducing the data information of the three-dimensional model by reducing the points, lines or surfaces that constitute the three-dimensional model, and less data information can be transmitted and processed faster. At present, there are some means for simplifying three-dimensional models on the market, such as the ProOptimizer tool that comes with the three-dimensional modeling software 3DMax. We only need to provide the original three-dimensional model and set the simplified parameters to simplify the original three-dimensional model; the ProOptimizer tool will simplify the original model according to its own algorithm, delete some points, lines or grids composed of surfaces while retaining the original three-dimensional model features as much as possible, and fill the gaps with simpler grids to complete the simplification of the three-dimensional model. As long as the three-dimensional feature information of the simplified model is retained enough, the difference between it and the original model is not large.
[0096] It should be understood that the simplification method of the three-dimensional model provided in the embodiment of the present application can also be applied to three-dimensional modeling software other than 3DMAX, and is not limited here; in addition, the simplification parameters can correspond to the indicators for measuring the simplified model in each three-dimensional modeling software.
[0097] S200: Simplifying the three-dimensional model data according to the simplification parameters to obtain simplified three-dimensional model data.
[0098] Exemplarily, after obtaining the 3D model data and simplified parameters, the 3D model data can be simplified; for example, the ProOptimizer tool provided in the 3D modeling software 3DMAX can be used to simplify the 3D model data and obtain simplified 3D model data.
[0099] S300: Obtaining model deformation parameters according to the three-dimensional model data and the simplified three-dimensional model data.
[0100] Exemplarily, the model deformation parameter can evaluate the proportion of three-dimensional features retained in the simplified three-dimensional model data relative to the original three-dimensional model data. The more three-dimensional features of the original three-dimensional model data are retained, the smaller the model deformation parameter; thus, the model deformation parameter can be used to infer whether the three-dimensional features of the simplified three-dimensional model data are effectively maintained.
[0101] S400: Adjusting simplified parameters according to model variation parameters to obtain reset simplified parameters.
[0102] S500: Simplifying the three-dimensional model data according to the reset simplification parameters to obtain a simplified model.
[0103] After resetting the simplification parameters, a simplified model can be generated based on the simplified 3D model data, achieving the best simplification effect while retaining enough 3D features.
[0104] In some implementation scenarios, the three-dimensional model simplification method can evaluate whether the simplified three-dimensional model data retains the three-dimensional features of a specified proportion relative to the initial three-dimensional model data through model deformation parameters, thereby verifying whether the simplified result of the three-dimensional model data retains enough three-dimensional features; thus, when faced with the need to simplify the model, the three-dimensional model simplification method provides a method for evaluating whether the simplified model retains enough three-dimensional features of the original model instead of relying on human visual observation, thereby realizing automated evaluation of the software program; at the same time, while retaining the three-dimensional features of a specified proportion, the optimal simplification parameters (resetting the simplification parameters) are achieved, that is, the technical effect of simplifying the model while retaining the three-dimensional features of the original model of a specified proportion is achieved.
[0105] See also Figure 1b , Figure 1b A schematic flow chart of another method for simplifying a three-dimensional model provided in an embodiment of the present application, wherein the method for simplifying a three-dimensional model comprises the following steps:
[0106] S100: Acquire three-dimensional model data and simplified parameters.
[0107] S210: Simplify the three-dimensional model data according to the simplification parameters to obtain simplified three-dimensional model data, and increase the number of simplifications by one.
[0108] S300: Obtaining model deformation parameters according to the three-dimensional model data and the simplified three-dimensional model data.
[0109] S410: Determine whether the model deformation parameter is greater than a preset deformation rate index;
[0110] S411: If yes, resetting the value of the simplified parameter according to the first calculation formula to obtain a reset simplified parameter;
[0111] S412: If not, resetting the value of the simplified parameter according to the second calculation formula to obtain the reset simplified parameter.
[0112] S413: Determine whether the number of simplification times is greater than a preset number, if not, jump to the step of simplifying the three-dimensional model data according to the simplification parameters.
[0113] By way of example, through the above steps, the optimal simplification parameters can be achieved within the preset simplification times and under the premise of satisfying the model variation parameter index (the simplified 3D model data retains enough 3D features). Thus, the simplification intensity of the simplified 3D model data will not be too large, and enough 3D feature information can be retained, and the basic appearance of the original 3D model data can be restored; at the same time, the simplified 3D model data will not put pressure on the network transmission and the performance of the computer and 3D software, and is convenient for computer processing.
[0114] S500: Simplifying the three-dimensional model data according to the reset simplification parameters to obtain a simplified model.
[0115] Qingjian Figure 2 , Figure 2 A schematic diagram of a process for obtaining model variation parameters provided in an embodiment of the present application.
[0116] Exemplarily, S300: the step of obtaining model deformation parameters according to the three-dimensional model data and the simplified three-dimensional model data includes:
[0117] S310: Obtaining the model segmentation area, model total area, model bounding box volume and model three-view area of the three-dimensional model data;
[0118] S320: Obtaining the model segmentation area, model total area, model bounding box volume and model three-view area of the simplified three-dimensional model data;
[0119] S330: Obtaining a model segmentation area deformation rate according to a model segmentation area of the three-dimensional model data and a model segmentation area of the simplified three-dimensional model data;
[0120] S340: Obtaining a total model area deformation rate according to a total model area of the three-dimensional model data and a total model area of the simplified three-dimensional model data;
[0121] S350: Obtaining a model bounding box volume deformation rate according to the model bounding box volume of the three-dimensional model data and the model bounding box volume of the simplified three-dimensional model data;
[0122] S360: Obtaining a model three-view area deformation rate according to the model three-view area of the three-dimensional model data and the model three-view area of the simplified three-dimensional model data;
[0123] S370: Obtain model deformation parameters according to the model segmentation area deformation rate, the model total area deformation rate, the model bounding box volume deformation rate and the model three-view area deformation rate.
[0124] Exemplarily, evaluating the deformation rate of simplified three-dimensional model data from four aspects, namely, model segmentation area, model total area, model bounding box volume, and model three-view area, can effectively evaluate the proportion of three-dimensional features retained in the simplified three-dimensional model data relative to the original three-dimensional model data; after simplifying the model, the deformation rates of the above four aspects are calculated respectively based on the simplified three-dimensional model data and the original three-dimensional model data, and their weighted average values are calculated. If the weighted average value of the deformation rate is within the customized standard range (preset deformation rate index), it means that the simplified new model retains enough original three-dimensional feature information, and the new model can better meet the actual use needs.
[0125] In some embodiments, the total area of the model refers to the sum of the areas of all triangles that constitute the model; the sum of the triangle areas Ss of the original three-dimensional model data and the sum of the triangle areas Sd of the simplified three-dimensional model data are calculated separately, and the deformation rate of the total area of the model can be expressed as (|Ss-Sd|) / Ss.
[0126] In some embodiments, based on the vertex position data information of the three-dimensional model, a rectangular bounding box can be calculated and constructed, where the length, width and height of the bounding box are parallel to the coordinate axes of the model coordinate system, and the length, width and height of the bounding box can just enclose all the model vertices to minimize the volume of the bounding box; the volume Vs of the bounding box of the original three-dimensional model data and the volume Vd of the bounding box of the simplified three-dimensional model data generated after simplification are calculated respectively, and the deformation rate of the model bounding box volume can be recorded as (|Vs-Vd|) / Vs.
[0127] In some embodiments, an orthographic engineering drawing (front view, top view, left view) that can correctly reflect the length, width, and height of the object Figure 3 The three views are a kind of abstract expression of the geometric shape of an object in the engineering field. The three views can be used to obtain the projections of the main view, the top view, and the left view. Optionally, the sum of the areas of the three projections of the three-dimensional model is called the model three-view area. The three-view area of the original three-dimensional model data is calculated as Sss, and the three-view area of the simplified new model is Sdd. Then we record the deformation rate of the model three-view area as (|Sss-Sdd|) / Sss.
[0128] See also Figure 3 , Figure 3 A schematic diagram of the structure of the model segmentation provided in an embodiment of the present application.
[0129] For example, the model segmentation area refers to finding two faces on the three-dimensional model as cutting faces, dividing the three-dimensional model into four parts, and the sum of the areas of all triangles on each part is called the model segmentation area of this part. The two segmentation faces can be any two faces that intersect in the three-dimensional model. Figure 3 Describes the situation where a model is divided into four parts using two split surfaces: Figure 3 As shown, plane A1-B1-C1-D1 and plane A2-B2-C2-D2 divide the three-dimensional model into four parts, and plane A1-B1-C1-D1 and plane A2-B2-C2-D2 have a certain offset relative to the coordinate system O-XYZ of the three-dimensional model.
[0130] See also Figure 4 , Figure 4 A schematic diagram of a process for obtaining model segmentation area of three-dimensional model data provided in an embodiment of the present application.
[0131] Exemplarily, the step of obtaining the model segmentation area of the three-dimensional model data includes:
[0132] S311: Obtain a first position offset and a second position offset;
[0133] S312: generating a first cutting surface according to the coordinate system of the three-dimensional model data and the first position offset;
[0134] S313: generating a second cutting plane according to the coordinate system of the three-dimensional model data and the second position offset, wherein the second cutting plane intersects with the first cutting plane and divides the three-dimensional model data into a plurality of parts;
[0135] S314: Obtaining the model segmentation area of each part after segmentation of the three-dimensional model data according to the three-dimensional model data, the first cutting surface and the second cutting surface.
[0136] Exemplarily, the three-dimensional coordinate system is used to measure vectors and length information in three-dimensional space, and is also convenient for representing point coordinates in three-dimensional space. Each three-dimensional model has its own three-dimensional coordinate system. The origin of this coordinate system and the three axis directions are specified during modeling. The three-dimensional coordinate system that comes with this model is called the model coordinate system, and the origin of the model coordinate system is generally set at the center of the three-dimensional model. In this way, the coordinate information of all points that make up the three-dimensional model can be expressed as position information relative to its own model coordinate system. The model segmentation area refers to finding two faces on the three-dimensional model as cutting faces, dividing the three-dimensional model into four parts, and the sum of the areas of all triangles on each part is called the model segmentation area of this part. The two dividing faces can be any two faces that intersect in the three-dimensional model.
[0137] See also Figure 5 , Figure 5 A schematic diagram of a process for obtaining a model segmentation area of simplified three-dimensional model data provided in an embodiment of the present application.
[0138] Exemplarily, the step of obtaining the model segmentation area of the simplified three-dimensional model data includes:
[0139] S321: generating a third cutting surface according to the coordinate system of the simplified three-dimensional model data and the first position offset;
[0140] S322: generating a fourth cutting plane according to the coordinate system of the simplified 3D model data and the second position offset, wherein the fourth cutting plane intersects with the third cutting plane and divides the simplified 3D model data into a plurality of parts, wherein the divided parts of the simplified 3D model data correspond to the divided parts of the 3D model data;
[0141] S323: Obtaining the model segmentation area of each part after the simplified three-dimensional model data is segmented according to the simplified three-dimensional model data, the third cutting plane and the fourth cutting plane.
[0142] Exemplarily, the first cutting surface corresponds to the third cutting surface, and the second cutting surface corresponds to the fourth cutting surface, so that the original three-dimensional model data and the simplified three-dimensional model data maintain a corresponding relationship in each part after cutting.
[0143] See also Figure 6 , Figure 6 A schematic diagram of a process for obtaining a model segmentation area deformation rate provided in an embodiment of the present application.
[0144] Exemplarily, S330: the step of obtaining the model segmentation area deformation rate according to the model segmentation area of the three-dimensional model data and the model segmentation area of the simplified three-dimensional model data includes:
[0145] S331: obtaining a model segmentation ratio of the three-dimensional model data according to a model segmentation area of the three-dimensional model data relative to a model total area of the three-dimensional model data;
[0146] S332: obtaining a model segmentation ratio of the simplified three-dimensional model data according to a model segmentation area of the simplified three-dimensional model data relative to a model total area of the simplified three-dimensional model data;
[0147] S333: Obtaining a model segmentation area deformation rate according to the model segmentation ratio of the three-dimensional model data and the model segmentation ratio of the simplified three-dimensional model data.
[0148] For example, the calculation of the deformation rate of the model segmentation area is as follows: Figure 4 The first dividing plane and the second cutting plane mentioned are used to divide the three-dimensional model data and obtain four parts, and respectively calculate the ratio of the sum of the areas of all triangles in each part to the total area of all triangular faces of the three-dimensional model data, sp11, sp12, sp13, sp14. Use the tool to simplify the original three-dimensional model data. The simplified three-dimensional model data obtained by simplification will also have its own model coordinate system. According to the same position offset (the first position offset and the second position offset), it is restored to the third cutting plane and the fourth cutting plane in the coordinate system of the simplified three-dimensional model data, which are used to cut the simplified three-dimensional model data to obtain four new parts, and respectively calculate the ratio of the sum of the areas of all triangles in each part to the total area of all triangular faces of the three-dimensional model, sp21, sp22, sp23, sp24. We denote the model segmentation area deformation rate as SP, then:
[0149] SP=|sp21-sp11|+|sp22-sp12|+|sp23-sp13|+|sp24-sp14|.
[0150] Exemplarily, the model segmentation area deformation rate considers whether the area ratio occupied by the segmented parts changes significantly before and after the model is simplified. A large change indicates that the area change of each segmented part is uneven when simplified, and a small change indicates that the area change of each segmented part is balanced. Balanced area changes make it more likely that the simplification of the model will retain more three-dimensional features.
[0151] Exemplarily, in the step of resetting the value of the simplified parameter according to the first calculation formula, the first calculation formula is as follows:
[0152] P1=P+(1-P)×P;
[0153] Among them, P is the simplified parameter, and P1 is the simplified parameter after reset.
[0154] Exemplarily, when the model deformation parameter is greater than the preset deformation rate index, it means that the simplified three-dimensional model data retains a preset proportion of three-dimensional features and the simplification intensity is too high. At this time, the simplification parameter can be increased through the first calculation formula to obtain a better simplification parameter.
[0155] Exemplarily, in the step of resetting the value of the simplified parameter according to the second calculation formula, the second calculation formula is as follows:
[0156] P2 = P - (1 - P) × P;
[0157] Among them, P is the simplified parameter, and P2 is the simplified parameter after reset.
[0158] Exemplarily, when the model deformation parameter is less than or equal to the preset deformation rate index, it means that the simplified three-dimensional model data has retained a preset proportion of three-dimensional features, and the simplification strength can continue to be enhanced. At this time, the simplification parameter can be reduced through the second calculation formula to obtain a better simplification parameter.
[0159] For example, although the simplified model effectively reduces the geometric data information of the 3D model, it also brings new problems. If the simplification strength is too strong, the 3D feature information will be lost too much, and the basic appearance of the original model cannot be restored; if the simplification strength is too weak, the redundant 3D model data will put a great pressure on the network transmission and the performance of the computer and 3D software, making it inconvenient to use.
[0160] In some implementation scenarios, after the three-dimensional model is simplified, how to evaluate whether the generated simplified model retains the specified three-dimensional feature ratio. If you rely solely on naked eye observation, it will inevitably be detrimental to the rapid advancement of the project; moreover, the simplification parameters of different three-dimensional models need to be reasonably controlled. The three-dimensional feature ratios retained by different models using the same simplification parameters may be different or even quite different. If the project has specified requirements for the three-dimensional feature ratio to be retained, it is unreasonable to use the same simplification parameter for all models to be simplified. Therefore, an embodiment of the present application provides a method for measuring the deformation rate, so that there is a basis for simplifying the three-dimensional model in the actual production process, and the strength of the simplified three-dimensional model can be reasonably controlled.
[0161] Exemplarily, the simplification method provided in the embodiment of the present application is to gradually adjust the simplification parameters, perform repeated simplifications on the original three-dimensional model data, and evaluate whether the current simplified result retains enough three-dimensional features based on a certain algorithm to determine the simplification parameters for the next simplification. If enough three-dimensional features are retained, it means that the deformation rate of the simplified result relative to the original model is not high. In terms of specific design, we explain the method of evaluating the deformation rate and the process of simplifying the model based on the method of evaluating the deformation rate in two parts.
[0162] See also Figure 7 , Figure 7 This is a structural block diagram of a device for simplifying a three-dimensional model provided in an embodiment of the present application. The device for simplifying a three-dimensional model includes:
[0163] An acquisition module 100 is used to acquire three-dimensional model data and simplify parameters;
[0164] A first simplification module 200 simplifies the three-dimensional model data according to the simplification parameters to obtain simplified three-dimensional model data;
[0165] A deformation parameter module 300 is used to obtain a model deformation parameter according to the three-dimensional model data and the simplified three-dimensional model data;
[0166] A reset module 400 is used to adjust the simplified parameters according to the model variation parameters to obtain reset simplified parameters;
[0167] The second simplification module 500 is used to simplify the three-dimensional model data according to the reset simplification parameters to obtain a simplified model.
[0168] Exemplarily, the variant parameter module 300 includes:
[0169] A first acquisition unit is used to acquire a model segmentation area, a model total area, a model bounding box volume and a model three-view area of the three-dimensional model data;
[0170] A second acquisition unit is used to acquire the model segmentation area, the model total area, the model bounding box volume and the model three-view area of the simplified three-dimensional model data;
[0171] A model segmentation area deformation rate unit is used to obtain a model segmentation area deformation rate according to a model segmentation area of the three-dimensional model data and a model segmentation area of the simplified three-dimensional model data;
[0172] A model total area deformation rate unit is used to obtain a model total area deformation rate according to a model total area of the three-dimensional model data and a model total area of the simplified three-dimensional model data;
[0173] A model bounding box volume deformation rate unit, used to obtain a model bounding box volume deformation rate according to the model bounding box volume of the three-dimensional model data and the model bounding box volume of the simplified three-dimensional model data;
[0174] A model three-view area deformation rate unit, used to obtain the model three-view area deformation rate according to the model three-view area of the three-dimensional model data and the model three-view area of the simplified three-dimensional model data;
[0175] The model deformation parameter unit is used to obtain the model deformation parameter according to the model segmentation area deformation rate, the model total area deformation rate, the model bounding box volume deformation rate and the model three-view area deformation rate.
[0176] Exemplarily, the first acquiring unit includes:
[0177] An acquisition subunit, used to acquire a first position offset and a second position offset;
[0178] A first cutting surface subunit, used for generating a first cutting surface according to a coordinate system of the three-dimensional model data and a first position offset;
[0179] A second cutting plane subunit is used to generate a second cutting plane according to the coordinate system of the three-dimensional model data and the second position offset, the second cutting plane intersecting with the first cutting plane and dividing the three-dimensional model data into multiple parts;
[0180] The model segmentation area subunit is used to obtain the model segmentation area of each part after the three-dimensional model data is segmented according to the three-dimensional model data, the first cutting surface and the second cutting surface.
[0181] Exemplarily, the second acquiring unit includes:
[0182] A third cutting surface subunit, used for generating a third cutting surface according to the coordinate system of the simplified three-dimensional model data and the first position offset;
[0183] A fourth cutting plane subunit is used to generate a fourth cutting plane according to the coordinate system of the simplified 3D model data and the second position offset, wherein the fourth cutting plane intersects with the third cutting plane and divides the simplified 3D model data into a plurality of parts, and the divided parts of the simplified 3D model data and the divided parts of the 3D model data correspond to each other;
[0184] The simplified model segmentation area subunit is used to obtain the model segmentation area of each part after the simplified three-dimensional model data is segmented according to the simplified three-dimensional model data, the third cutting surface and the fourth cutting surface.
[0185] Exemplarily, the model segmentation area deformation rate unit includes:
[0186] A model segmentation ratio subunit, used to obtain a model segmentation ratio of the three-dimensional model data according to a model segmentation area of the three-dimensional model data relative to a total model area of the three-dimensional model data;
[0187] The simplified model segmentation ratio subunit is used to obtain the model segmentation ratio of the simplified three-dimensional model data according to the model segmentation area of the simplified three-dimensional model data relative to the model total area of the simplified three-dimensional model data;
[0188] The model segmentation area deformation rate subunit is used to obtain the model segmentation area deformation rate according to the model segmentation ratio of the three-dimensional model data and the model segmentation ratio of the simplified three-dimensional model data.
[0189] It should be understood that Figure 7 The simplified device of the three-dimensional model shown is Figures 1a to 6 The method embodiments shown correspond to each other and will not be described again here to avoid repetition.
[0190] This application also provides an electronic device, see Figure 8 , Figure 8 A block diagram of an electronic device provided in an embodiment of the present application. The electronic device may include a processor 510, a communication interface 520, a memory 530, and at least one communication bus 540. The communication bus 540 is used to realize direct connection and communication between these components. The communication interface 520 of the electronic device in the embodiment of the present application is used to communicate signaling or data with other node devices. The processor 510 may be an integrated circuit chip with signal processing capabilities.
[0191] The processor 510 mentioned above can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor 510 can also be any conventional processor, etc.
[0192] The memory 530 may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electric erasable programmable read-only memory (EEPROM), etc. The memory 530 stores computer-readable instructions. When the computer-readable instructions are executed by the processor 510, the electronic device can execute the above-mentioned Figures 1a to 6 The method embodiment involves various steps.
[0193] Optionally, the electronic device may further include a storage controller and an input / output unit.
[0194] The memory 530, storage controller, processor 510, peripheral interface, input and output unit components are directly or indirectly electrically connected to each other to achieve data transmission or interaction. For example, these components can be electrically connected to each other via one or more communication buses 540. The processor 510 is used to execute executable modules stored in the memory 530, such as software function modules or computer programs included in the electronic device.
[0195] The input and output unit is used to provide users with the task creation and to create a start optional time period or preset execution time for the task to realize the interaction between the user and the server. The input and output unit can be, but is not limited to, a mouse and a keyboard.
[0196] Understandably, Figure 8 The structure shown is for illustration only, and the electronic device may also include Figure 8 More or fewer components as shown, or with Figure 8 Different configurations are shown. Figure 8 Each component shown in the figure can be implemented by hardware, software or a combination thereof.
[0197] An embodiment of the present application further provides a storage medium having instructions stored thereon. When the instructions are run on a computer, the computer program is executed by a processor to implement the method described in the method embodiment. To avoid repetition, the method will not be described here.
[0198] The present application also provides a computer program product, which, when executed on a computer, enables the computer to execute the method described in the method embodiment.
[0199] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0200] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0201] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0202] The above description is only an embodiment of the present application and is not intended to limit the scope of protection of the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.
[0203] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0204] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
Claims
1. A method for simplifying a three-dimensional model, characterized in that: include: Obtain 3D model data and simplify parameters; Simplifying the three-dimensional model data according to the simplification parameters to obtain simplified three-dimensional model data; Obtaining a model deformation parameter according to the three-dimensional model data and the simplified three-dimensional model data; The simplified parameter is adjusted according to the model variation parameter to obtain a reset simplified parameter, including: when the model variation parameter is greater than a preset variation rate index, increasing the simplified parameter; when the model variation parameter is less than or equal to the preset variation rate index, decreasing the simplified parameter; Simplifying the three-dimensional model data according to the reset simplification parameters to obtain a simplified model; The step of obtaining the model deformation parameters according to the three-dimensional model data and the simplified three-dimensional model data comprises: Obtaining a model segmentation area, a model total area, a model bounding box volume, and a model three-view area of the three-dimensional model data; Obtaining the model segmentation area, model total area, model bounding box volume and model three-view area of the simplified three-dimensional model data; Obtaining a model segmentation area deformation rate according to a model segmentation area of the three-dimensional model data and a model segmentation area of the simplified three-dimensional model data; Obtaining a total model area deformation rate according to the total model area of the three-dimensional model data and the total model area of the simplified three-dimensional model data; Obtaining a model bounding box volume deformation rate according to the model bounding box volume of the three-dimensional model data and the model bounding box volume of the simplified three-dimensional model data; Obtaining a model three-view area deformation rate according to the model three-view area of the three-dimensional model data and the model three-view area of the simplified three-dimensional model data; The model deformation parameter is obtained according to the model segmentation area deformation rate, the model total area deformation rate, the model bounding box volume deformation rate and the model three-view area deformation rate.
2. The method for simplifying a three-dimensional model according to claim 1, characterized in that: The step of obtaining the model segmentation area of the three-dimensional model data comprises: Get a first position offset and a second position offset; generating a first cutting surface according to the coordinate system of the three-dimensional model data and the first position offset; generating a second cutting plane according to the coordinate system of the three-dimensional model data and the second position offset, wherein the second cutting plane intersects with the first cutting plane and divides the three-dimensional model data into a plurality of parts; The model segmentation area of each part after the three-dimensional model data is segmented is obtained according to the three-dimensional model data, the first cutting plane and the second cutting plane.
3. The method for simplifying a three-dimensional model according to claim 2, characterized in that: The step of obtaining the model segmentation area of the simplified three-dimensional model data comprises: generating a third cutting surface according to the coordinate system of the simplified three-dimensional model data and the first position offset; generating a fourth cutting plane according to the coordinate system of the simplified 3D model data and the second position offset, wherein the fourth cutting plane intersects with the third cutting plane and divides the simplified 3D model data into a plurality of parts, wherein the divided parts of the simplified 3D model data correspond to the divided parts of the 3D model data; The model segmentation area of each part of the simplified three-dimensional model data after segmentation is obtained according to the simplified three-dimensional model data, the third cutting plane and the fourth cutting plane.
4. The method for simplifying a three-dimensional model according to claim 3, characterized in that: The step of obtaining the model segmentation area deformation rate according to the model segmentation area of the three-dimensional model data and the model segmentation area of the simplified three-dimensional model data comprises: Obtaining a model segmentation ratio of the three-dimensional model data according to a model segmentation area of the three-dimensional model data relative to a model total area of the three-dimensional model data; Obtaining a model segmentation ratio of the simplified three-dimensional model data according to a model segmentation area of the simplified three-dimensional model data relative to a model total area of the simplified three-dimensional model data; The model segmentation area deformation rate is obtained according to the model segmentation ratio of the three-dimensional model data and the model segmentation ratio of the simplified three-dimensional model data.
5. The method for simplifying a three-dimensional model according to claim 1, characterized in that: The step of adjusting the simplified parameters according to the model variation parameters to obtain the reset simplified parameters comprises: The value of the simplified parameter is reset according to a first calculation formula, wherein the first calculation formula is as follows: P1=P+(1-P)×P; Wherein, P is the simplified parameter, and P1 is the simplified parameter after reset.
6. The method for simplifying a three-dimensional model according to claim 1, characterized in that: The step of adjusting the simplified parameters according to the model variation parameters to obtain the reset simplified parameters comprises: The value of the simplified parameter is reset according to a second calculation formula, wherein the second calculation formula is as follows: P2=P-(1-P)×P; Wherein, P is the simplified parameter, and P2 is the simplified parameter after reset.
7. A device for simplifying a three-dimensional model, characterized in that: include: An acquisition module is used to acquire 3D model data and simplify parameters; A first simplification module simplifies the three-dimensional model data according to the simplification parameters to obtain simplified three-dimensional model data; A deformation parameter module, used for obtaining a model deformation parameter according to the three-dimensional model data and the simplified three-dimensional model data; A reset module, used for adjusting the simplified parameter according to the model variation parameter to obtain a reset simplified parameter, including: when the model variation parameter is greater than a preset variation rate index, increasing the simplified parameter; when the model variation parameter is less than or equal to the preset variation rate index, decreasing the simplified parameter; A second simplification module, used to simplify the three-dimensional model data according to the reset simplification parameters to obtain a simplified model; The variant parameter module includes: A first acquisition unit is used to acquire a model segmentation area, a model total area, a model bounding box volume and a model three-view area of the three-dimensional model data; A second acquisition unit is used to acquire the model segmentation area, the model total area, the model bounding box volume and the model three-view area of the simplified three-dimensional model data; A model segmentation area deformation rate unit, used to obtain a model segmentation area deformation rate according to the model segmentation area of the three-dimensional model data and the model segmentation area of the simplified three-dimensional model data; A model total area deformation rate unit, used for obtaining a model total area deformation rate according to the model total area of the three-dimensional model data and the model total area of the simplified three-dimensional model data; A model bounding box volume deformation rate unit, used to obtain a model bounding box volume deformation rate according to the model bounding box volume of the three-dimensional model data and the model bounding box volume of the simplified three-dimensional model data; A model three-view area deformation rate unit, used to obtain a model three-view area deformation rate according to the model three-view area of the three-dimensional model data and the model three-view area of the simplified three-dimensional model data; The model deformation parameter unit is used to obtain the model deformation parameter according to the model segmentation area deformation rate, the model total area deformation rate, the model bounding box volume deformation rate and the model three-view area deformation rate.
8. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the three-dimensional model simplification method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a computer, the computer executes the three-dimensional model simplification method according to any one of claims 1 to 6.
Citation Information
Patent Citations
KR1018111350000B1