Grid merging method and device, electronic equipment, medium and product

By merging meshes with identical material data and vertices with identical positional information in 3D clothing models, the problem of unclear model structure in existing technologies is solved, enabling efficient model editing and reducing labor costs.

CN121366271APending Publication Date: 2026-01-20LINGDI (ZHEJIANG) TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410977828.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2026-01-20

AI Technical Summary

Technical Problem

Existing mesh merging methods for 3D clothing models result in unclear model structures, requiring manual integration and splitting, which increases additional labor costs.

Method used

By detecting the user's mesh merging operation, meshes with the same material data in the 3D clothing model are merged to generate a 3D clothing model with merged meshes. Vertices with the same position information are merged when necessary to ensure the clarity and logic of the model structure.

Benefits of technology

It improves the editability of 3D clothing models, reduces the cost of manual integration and disassembly, reduces data redundancy, and improves the accuracy and compatibility of the models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121366271A_ABST
    Figure CN121366271A_ABST
Patent Text Reader

Abstract

The invention provides a grid merging method and device, electronic equipment, a medium and a product. According to one example of the invention, the method comprises the following steps: detecting a mesh merging operation of a user on a 3D clothing model; and merging the grids with the same material data in the 3D clothing model to generate a grid-merged 3D clothing model.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of garment design, and particularly relates to a mesh merging method and device, electronic equipment, medium and product. BACKGROUND

[0002] In recent years, with the rapid development of 3D simulation technology, its application in the garment industry also presents a vigorous trend. Enterprises are increasingly relying on 3D digital garment assets, which are essentially 3D garment models composed of meshes connected by a number of vertices in three-dimensional space coordinates.

[0003] At present, all meshes of a 3D garment model are usually merged into one whole mesh, or each piece of a pattern of the 3D garment model is disassembled into a separate mesh, so as to realize the merging of the meshes in the 3D garment model.

[0004] However, the model structure of the 3D garment model merged by using the above method is not clear enough. For example, the 3D garment model may include a shirt, trousers, shoes, a hat, etc., and the above merging method may combine all the garments such as the shirt and the trousers together, or disassemble the cloth of a shirt into dozens of independent meshes.

[0005] Users are difficult to directly edit the garments in the 3D garment model, and need to manually merge or disassemble the meshes again, which leads to an increase in additional labor costs. SUMMARY

[0006] To overcome the problems in the related art, the present application provides a mesh merging method, device, electronic equipment, medium and product.

[0007] According to a first aspect of any one of the embodiments of the present application, a mesh merging method is provided, and the method comprises:

[0008] detecting a mesh merging operation of a user on a 3D garment model;

[0009] merging meshes with the same material data in the 3D garment model to generate a 3D garment model after mesh merging.

[0010] According to a second aspect of any one of the embodiments of the present application, a mesh merging device is provided, and the device comprises:

[0011] an operation detection module configured to detect a mesh merging operation of a user on a 3D garment model;

[0012] a mesh merging module configured to merge meshes with the same material data in the 3D garment model to generate a 3D garment model after mesh merging.

[0013] According to a third aspect of any of the embodiments of the present application, an electronic device is provided, comprising:

[0014] a processor;

[0015] a memory for storing processor-executable instructions;

[0016] wherein the processor implements the method as described in any of the embodiments of the present application by running the executable instructions.

[0017] According to a fourth aspect of any of the embodiments of the present application, a computer-readable storage medium is provided, having stored thereon computer instructions which, when executed by a processor, implement the method as described in any of the embodiments of the present application.

[0018] According to a fifth aspect of any of the embodiments of the present application, a computer program product is provided, having stored thereon computer program / instructions which, when executed by a processor, implement the method as described in any of the embodiments of the present application.

[0019] The technical solutions provided by the present application can include the following beneficial effects:

[0020] According to the above embodiments, by detecting the mesh merging operation on the 3D clothing model, merging the meshes with the same material data in the 3D clothing model, generating the 3D clothing model after mesh merging, and only merging the meshes with the same material data, the 3D clothing model is split into a plurality of separate meshes grouped by material data, the clarity and logicality of the model structure can be maintained, thereby improving the editability of the 3D clothing model, without the need for artificial integration and splitting again, and reducing the artificial cost of mesh merging.

[0021] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present application. BRIEF DESCRIPTION OF DRAWINGS

[0022] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present application and serve to explain the principles of the present application together with the specification.

[0023] Figure 1 is a schematic diagram of a 3D clothing model after global splitting according to an exemplary embodiment of the present application;

[0024] Figure 2 is a schematic diagram of a 3D clothing model after global merging according to an exemplary embodiment of the present application;

[0025] Figure 3 is a flowchart of a mesh merging method according to an exemplary embodiment of the present application;

[0026] Figure 4 FIG. 1 is a schematic diagram of a 3D garment model before vertex merging according to an example embodiment of the present application;

[0027] Figure 5 FIG. 2 is a schematic diagram of a 3D garment model after vertex merging according to an example embodiment of the present application;

[0028] Figure 6 FIG. 3 is a schematic diagram of a 3D garment model after vertex merging according to an example embodiment of the present application;

[0029] Figure 7 FIG. 4 is a schematic diagram of a renamed and unrenamed merged mesh name according to an example embodiment of the present application;

[0030] Figure 8 FIG. 5 is a flowchart of another mesh merging method according to an example embodiment of the present application;

[0031] Figure 9 FIG. 6 is a schematic diagram of an electronic device according to an example embodiment of the present application;

[0032] Figure 10 FIG. 7 is a block diagram of a mesh merging apparatus according to an example embodiment of the present application. DETAILED DESCRIPTION

[0033] The example embodiments will now be described in detail with reference to the accompanying drawings. If desired, the same numbers can be used throughout the different drawings to refer to the same or like components. The following detailed description is not intended to limit the examples to particular embodiments. Other example embodiments can be derived from the following description by applying the principles of the examples to other embodiments and applications.

[0034] The terminology used in the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used in the description of the embodiments and the appended claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It also will be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.

[0035] It should be understood that, although the terms first, second, third, etc. can be employed in this application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another type of information. For example, without departing from the scope of the present application, first information can also be referred to as second information, and similarly, second information can also be referred to as first information. Depending on the context, the word "if" as used herein can be interpreted as "when" or "upon" or "in response to determining".

[0036] At present, the mesh merging method of the 3D garment model is usually global splitting or global merging. The model structure of the merged 3D garment model is not clear enough, and still needs to be manually merged or split.

[0037] Please refer to Figure 1 , Figure 1 A schematic diagram of a 3D garment model after global splitting is shown. The 3D garment model can include several patterns.

[0038] By globally splitting all meshes in the 3D garment model, each pattern in the 3D garment model is disassembled into a single mesh, for example, the green pattern 10 in Figure 1 When editing the 3D garment model after global splitting, the user needs to do a lot of merging work.

[0039] Please refer to Figure 2 , Figure 2 A schematic diagram of a 3D garment model after global merging is shown. By globally merging all meshes in the 3D garment model, all meshes of the 3D garment model are merged into a whole mesh 20. When editing the 3D garment model after global merging, the user needs to do a lot of splitting work.

[0040] In order to solve the above problems, the present application proposes a mesh merging method. In order to further illustrate the present application, the following embodiments are provided:

[0041] Please refer to Figure 3 , Figure 3 is a flowchart of a mesh merging method according to an exemplary embodiment of the present application. The mesh merging method can be executed by a mesh merging tool with mesh merging function.

[0042] The mesh merging tool has a merging function for the meshes in the 3D garment model, which can be a modeling tool, a model display tool, etc. The mesh merging tool can be applied to electronic devices such as computers, tablets, smartphones, notebook computers, personal digital assistants, etc.

[0043] The mesh merging method can include the following steps:

[0044] Step 302: detecting a grid merging operation of the user on the 3D garment model.

[0045] In this step, the grid merging tool can support the user to edit the 3D garment model, or support the user to import the 3D garment model. The grid merging tool can display the edited and imported 3D garment model in the display interface.

[0046] In the scenarios of importing, exporting, etc. of the 3D garment model, the user can perform the grid merging operation through touch, mouse, etc. The grid merging tool detects the grid merging operation of the user on the 3D garment model.

[0047] The 3D garment model is a form of restoring the garment into a three-dimensional model, which provides a three-dimensional visualization effect of the garment. The 3D garment model can simulate the corresponding real 3D object through 3D visual simulation technology.

[0048] The 3D garment model includes a plurality of grids generated by connecting a plurality of vertices. The grid in the 3D garment model can represent key information such as the shape, contour and details of the garment. The vertices constituting the grid can define the overall shape of the 3D garment model.

[0049] The grid merging operation is used to represent the grid merging demand of the user, such as clicking the grid merging button, menu option, shortcut key, etc.

[0050] The grid merging tool can also support the user to select the 3D garment model, and detect the grid merging operation according to the selected 3D garment model.

[0051] If the user selects one or more 3D garment models, the grid merging operation is performed on each selected 3D garment model. If the user does not select the 3D garment model, the grid merging operation can be performed on each 3D garment model in the display interface.

[0052] Step 304: merging the grids with the same material data in the 3D garment model to generate the 3D garment model after grid merging.

[0053] In this step, after detecting the grid merging operation, the grid merging tool can traverse all the grids in the 3D garment model and check the material data of the grids.

[0054] The 3D garment model corresponding to the grid merging operation is merged, the grids with the same material data in the 3D garment model are merged, the merged grids are integrated back into the 3D garment model, and the 3D garment model after grid merging is obtained. The 3D garment model after grid merging supports saving or exporting to the required file format.

[0055] Since the meshes with the same material data have been merged, the updated model contains fewer number of meshes, but maintains the original appearance and physical properties.

[0056] After the mesh merging of the 3D garment model, the mesh merging tool can verify the 3D garment model by rendering the model, checking the texture mapping, performing collision detection, etc., to ensure that the merged meshes are correct in appearance and do not introduce any topological errors or rendering problems.

[0057] The 3D garment model after mesh merging can be displayed in the display interface of the mesh merging tool, ensuring that the merged 3D garment model still maintains editability, so that the user can make further modifications when needed.

[0058] The material data is used to represent the physical properties, visual effects, and other attribute information of the 3D garment model, such as fabric data, accessory data, material data, etc.

[0059] The fabric data is used to represent the fabric of the garment in the 3D garment model, such as natural fabric, synthetic fabric, etc. The accessory data is other materials in the garment in addition to the main fabric, such as zippers, buttons, buckles, belts, etc. The material data is used to represent the material properties of the garment in the 3D garment model, such as density, elasticity, color, etc.

[0060] The method of obtaining material data, for example, can be based on the imported 3D garment model, or can be pre-edited and set by the user, and the embodiments of the present application do not limit this.

[0061] Please refer to Figure 4 , Figure 4 A schematic diagram of a 3D garment model after mesh merging is shown. Taking the upper garment of the 3D garment model as an example, the mesh merging tool detects the mesh merging operation of the user on the 3D garment model.

[0062] The mesh merging tool merges the meshes with the same material data in the 3D garment model to obtain a single green mesh 40, generating a 3D garment model after mesh merging.

[0063] In an embodiment, the material data can include at least one of fabric data, accessory data, and material data.

[0064] The mesh merging tool can merge the meshes with the same fabric data in the 3D garment model to obtain a merged mesh in the 3D garment model.

[0065] The meshes with the same accessory data in the 3D garment model can also be merged to obtain a merged mesh in the 3D garment model.

[0066] The material data of the same mesh in the 3D garment model can also be merged to obtain a merged mesh in the 3D garment model.

[0067] The merged mesh is obtained by merging the meshes with the same material data in the 3D garment model, and is used to represent the garment with the same material data in the 3D garment model. The merged mesh can include a plurality of meshes with the same material data.

[0068] As described above, the meshes with the same fabric data in the material data are merged to obtain the merged mesh in the 3D garment model, the meshes with the same auxiliary material data in the material data are merged to obtain the merged mesh in the 3D garment model, and the meshes with the same material data in the material data are merged to obtain the merged mesh in the 3D garment model. The merged mesh can share the same fabric data, auxiliary material data, or material data, so that the user can more conveniently and quickly edit and update the 3D garment model, and the rendering efficiency of the 3D garment model is improved, so that the subsequent simulation process is smoother.

[0069] The mesh merging method of the embodiment merges the meshes with the same material data in the 3D garment model to generate a 3D garment model after mesh merging, only merges the meshes with the same material data, and splits the 3D garment model into a plurality of separate meshes grouped by material data, which can maintain the clarity and logic of the model structure, thereby improving the editability of the 3D garment model, without the need for artificial integration and splitting again, and reducing the labor cost of mesh merging.

[0070] In the foregoing embodiments, the meshes with the same material data in the 3D garment model are merged to obtain a 3D garment model with a clear model structure. In the following embodiments, the vertex merging process in the 3D garment model will be described in detail, and can be applied to any of the above embodiments.

[0071] In an embodiment, there can be a large number of vertices with the same position information in the merged mesh in the 3D garment model. The coincident vertices can cause data redundancy in the 3D garment model, increase the complexity of the 3D garment model, and also cause calculation errors of the 3D garment model.

[0072] The mesh merging tool can receive a user's vertex merging operation on the merged mesh. In response to the user's vertex merging operation, the vertices with the same position information in the merged mesh are merged.

[0073] Only one vertex is kept in the identified vertexes with the same position information, for example, it can be the first detected coincident vertex, or the optimal vertex selected according to an algorithm, and the embodiments of the present application do not limit this.

[0074] The merged mesh is obtained by merging the meshes with the same material data in the 3D garment model. The vertex merging operation is used to represent the vertex merging demand of the user, for example, clicking the vertex merging button, menu option, shortcut key, and the like.

[0075] The position information is used to identify the position of the vertex in the three-dimensional space, for example, the X, Y, Z coordinate information of the three-dimensional space, and the like.

[0076] As described above, by responding to the vertex merging operation of the user on the merged mesh, the vertices with the same position information in the merged mesh are merged, the redundant vertices in the 3D garment model can be effectively merged, the data redundancy and model calculation error caused by a large number of coincident vertices are avoided, and thus the performance and accuracy of the 3D garment model are improved.

[0077] In an embodiment, the mesh merging tool can receive the sewing line data set by the user on the 3D garment model in the modeling and the like of the 3D garment model. The garment in the 3D garment model is sewn by the different patterns in the 3D garment model through the sewing line data.

[0078] The mesh merging tool responds to the vertex merging operation of the user to merge the vertices connected by the sewing line data in the merged mesh.

[0079] The sewing line data is used to define the connection relationship between the different patterns, and the patterns are combined into a complete garment through the sewing process in the physical world, for example, natural sewing line, synthetic sewing line, and the like.

[0080] Please refer to Figure 5 , Figure 5 A schematic diagram of a 3D garment model before vertex merging is shown. For example, the display interface of the mesh merging tool includes the 3D garment model and the gray mesh background. The 3D garment model includes a first vertex 51 and a second vertex 52. The first vertex 51 and the second vertex 52 should be connected by a sewing line 50.

[0081] When the vertices are not merged based on the sewing line data, the vertices on the sewing line 50 in the 3D garment model are not normally merged, and the 3D garment model has the problems of vertex data redundancy and model display error.

[0082] Please refer to Figure 6 , Figure 6A schematic diagram of a vertex-merged 3D garment model is shown. The mesh merging tool merges the first vertex 51 and the second vertex 52 connected by the sewing line 50 in the merged mesh in response to the user's vertex merging operation. There is no redundant vertex in the vertex-merged 3D garment model, and the garment in the 3D garment model can be displayed correctly.

[0083] As described above, by receiving the user-set sewing line data for sewing the panels in the 3D garment model, the vertices connected by the sewing line data in the merged mesh are merged in response to the user's vertex merging operation, ensuring that the vertices of the sewn panels are correctly merged, further reducing the data redundancy of the vertices, and improving the accuracy of the 3D garment model; and since the merging process is automatically completed, a large amount of troubleshooting time spent by the user on abnormal vertices can be saved.

[0084] In the foregoing embodiments, based on the position information of the vertices and the sewing line data, the vertices in the merged mesh are merged to obtain a vertex-merged 3D garment model. In the following embodiments, the renaming process during export of the 3D garment model will be described in detail, and can be applied to any of the above embodiments.

[0085] In an embodiment, the mesh merging tool detects the user's export operation on the 3D garment model. Based on the general naming rules, the merged meshes in the 3D garment model are renamed to generate the merged mesh names corresponding to each merged mesh in the 3D garment model.

[0086] It can be understood that when the user's export operation on the 3D garment model is detected, a prompt can also be popped up to ask whether to perform mesh merging and vertex merging, and whether the user triggers the mesh merging operation and the vertex merging operation on the 3D garment model.

[0087] If the user's mesh merging operation and vertex merging operation on the 3D garment model are detected, the mesh merging tool can merge the meshes with the same material data in the 3D garment model before exporting the model, merge the vertices in the merged mesh, and obtain a 3D garment model after mesh merging and vertex merging.

[0088] The model structure of the 3D garment model in the export file is clear, there is no redundant vertex, and has high accuracy and efficiency. Moreover, the export file also contains the merged mesh names of all the merged meshes, so as to accurately identify the merged mesh names in subsequent 3D rendering, animation, simulation or other processing processes.

[0089] The merged mesh name is the name of the merged mesh generated after the mesh is merged. The naming rule is the naming specification commonly used by other modeling tools, model display tools and other third-party tools.

[0090] For example, the naming rule can be that the merged mesh is named using English characters, underscores, numbers, and other characters. Information can also be extracted from the properties, positions, shapes, or other characteristics of the merged mesh to construct the name of the merged mesh, and the embodiments of the present application do not limit this.

[0091] The export operation is an operation for representing the export requirements of the user for the 3D clothing model, such as clicking the model export button, menu option, shortcut key, and the like.

[0092] Please refer to Figure 7 , Figure 7 A schematic diagram of a renamed and an unrenamed merged mesh name is shown. The unrenamed merged mesh name is a name generated by random characters, and third-party tools can not correctly read the merged mesh name in the exported 3D clothing model, which can cause the merged mesh name to be displayed incorrectly and make it difficult to correctly identify the corresponding merged mesh of the merged mesh name.

[0093] For example, the mesh merging tool detects the export operation of the user for the 3D clothing model, generates a merged mesh name using English characters, underscores, numbers, and other characters, and the renamed merged mesh name can be read by third-party tools, ensuring that the corresponding merged mesh of the merged mesh name can be correctly identified.

[0094] As described above, by detecting the export operation of the user for the 3D clothing model and generating the merged mesh name in the 3D clothing model based on the general naming rule, the compatibility of the 3D clothing model can be improved, so that other modeling tools can correctly read and identify the merged mesh in the 3D clothing model, reducing the user's adjustment and troubleshooting work for the merged mesh name, and eliminating the omission of manual troubleshooting.

[0095] In an embodiment, the mesh merging tool generates a merged mesh name based on the material data corresponding to the merged mesh, so that the merged mesh name can intuitively reflect the characteristic properties of the merged mesh.

[0096] For example, the fabric data corresponding to the merged mesh is defined as the merged mesh name, the auxiliary material data corresponding to the merged mesh is defined as the merged mesh name, and the material data corresponding to the merged mesh is defined as the merged mesh name.

[0097] As described above, by generating the merged mesh name based on the material data corresponding to the merged mesh, it is helpful for the user to quickly identify, manage, and edit each merged mesh in the 3D clothing model.

[0098] In order to further introduce the mesh merging process of the 3D clothing model, Figure 8 A flowchart of another mesh merging method is shown. The mesh merging method can include the following steps:

[0099] Step 802: receiving the user-set sewing line data.

[0100] In this step, the mesh merging tool receives the user-set sewing line data of the 3D garment model.

[0101] Step 804: detecting the user's export operation on the 3D garment model.

[0102] In this step, the mesh merging tool detects the user's export operation on the 3D garment model.

[0103] Step 806: detecting the user's mesh merging operation on the 3D garment model.

[0104] In this step, the mesh merging tool detects the user's mesh merging operation on the 3D garment model in the model export scenario.

[0105] Step 808: merging the meshes with the same material data in the 3D garment model to obtain the merged meshes in the 3D garment model.

[0106] In this step, the mesh merging tool can merge the meshes with the same fabric data, the same auxiliary material data, and the same material data respectively to obtain the merged meshes in the 3D garment model.

[0107] Step 810: in response to the user's vertex merging operation, merging the vertices with the same position information in the merged meshes.

[0108] In this step, the mesh merging tool merges the vertices with the same position information in the merged meshes in response to the user's vertex merging operation on the merged meshes, eliminating the redundant vertices in the 3D garment model.

[0109] Step 812: in response to the user's vertex merging operation, merging the vertices connected by the sewing line data in the merged meshes.

[0110] In this step, the mesh merging tool merges the vertices connected by the sewing line data in the merged meshes in response to the user's vertex merging operation on the merged meshes, so that the patterns in the 3D garment model are normally connected based on the sewing line data.

[0111] Step 814: generating the merged mesh name based on the material data corresponding to the merged mesh.

[0112] In this step, the mesh merging tool automatically renames the merged mesh based on the material data corresponding to the merged mesh, and generates the merged mesh name corresponding to each merged mesh.

[0113] Figure 9is a structural schematic diagram of an electronic device according to an example embodiment of the present application. The electronic device may, for example, be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a personal digital assistant, a server, a smart home appliance, a car machine, etc. Referring to Figure 9 At the hardware level, the electronic device includes a processor 902, an internal bus 904, a network interface 906, a memory 908, and a non-volatile memory 910, and of course can also include other hardware required by the business. The processor 902 reads the corresponding computer program from the non-volatile memory 910 into the memory 908 and then runs, forming a mesh merging device at the logical level. Of course, in addition to the software implementation, the present application does not exclude other implementations, such as logic devices or a combination of software and hardware, etc., that is, the execution subject of the following processing flow is not limited to each logical unit, but can also be hardware or logic devices.

[0114] Figure 10 is a block diagram of a mesh merging device according to an example embodiment of the present application. Referring to Figure 10 The device can include an operation detection module 1002 and a mesh merging module 1004, wherein:

[0115] The operation detection module 1002 is configured to detect a mesh merging operation of a user on a 3D clothing model.

[0116] The mesh merging module 1004 is configured to merge meshes with the same material data in the 3D clothing model to generate a 3D clothing model after mesh merging.

[0117] In one example, the mesh merging module 1004 is further configured to, in response to a vertex merging operation of the user on a merged mesh, merge vertices with the same position information in the merged mesh, wherein the merged mesh is obtained by merging meshes with the same material data in the 3D clothing model.

[0118] In one example, the mesh merging module 1004, before merging meshes with the same material data in the 3D clothing model to generate a 3D clothing model after mesh merging, further includes receiving sewing line data set by the user, wherein the sewing line data is used to define a connection relationship between different panels in the 3D clothing model; the mesh merging module 1004 is further configured to, in response to the vertex merging operation of the user, merge vertices connected by the sewing line data in the merged mesh.

[0119] In an example, the operation detecting module 1002, before detecting the user's mesh merging operation on the 3D garment model, further comprises: detecting the user's export operation on the 3D garment model; the mesh merging module 1004, after merging the meshes with the same material data in the 3D garment model to generate the mesh-merged 3D garment model, further comprises: generating a merged mesh name in the 3D garment model based on a general naming rule; wherein the merged mesh name is the name of the merged mesh generated after the mesh merging.

[0120] In an example, the mesh merging module 1004, when generating the merged mesh name in the 3D garment model based on the general naming rule, comprises: generating the merged mesh name based on the material data corresponding to the merged mesh.

[0121] In an example, the mesh merging module 1004, when merging the meshes with the same material data in the 3D garment model, comprises at least one of: merging the meshes with the same fabric data in the material data to obtain the merged mesh in the 3D garment model; merging the meshes with the same auxiliary material data in the material data to obtain the merged mesh in the 3D garment model; merging the meshes with the same material data in the material data to obtain the merged mesh in the 3D garment model.

[0122] The implementation process of the functions and roles of each unit in the above device is specifically described in the implementation process of the corresponding steps in the above method, which will not be repeated here.

[0123] For the device embodiment, since it basically corresponds to the method embodiment, the related parts can be referred to the part of the method embodiment. The device embodiments described above are only illustrative, and the modules described as separate components can or can not be physically separated, and the components displayed as modules can or can not be physical modules, i.e. they can be located in one place or distributed on multiple network modules. Some or all of the modules can be selected to achieve the purpose of the present application according to actual needs. Those skilled in the art can understand and implement without creative labor.

[0124] In an example embodiment, a non-transitory computer-readable storage medium comprising instructions, such as a memory comprising instructions, is also provided, and the above-mentioned instructions can be executed by the processor of the mesh merging device to implement the method of any of the above-mentioned embodiments.

[0125] The non-transitory computer readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disc, and an optical data storage device, and the like, and the present application is not limited thereto.

[0126] In an exemplary embodiment, there is also provided a computer program product comprising computer program instructions / program which are executable by a processor of the grid consolidation apparatus to implement a method as described in any of the above embodiments.

[0127] The above described specific embodiments of the present application are merely meant to be illustrative of only a few of the many alternatives and the full scope of the application is to be indicated by the appended claims. Other embodiments are within the scope of the following claims. In some cases, an act or step can be performed in a different order from embodiments described herein, and still achieve desirable results. Additionally, the process depicted in the figures does not necessarily require the particular order shown, or sequential order to achieve desirable results. In certain implementations, multitasking and parallel processing can be advantageous.

[0128] Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. The present application is not intended to be limited by the above description, and modifications and variations are possible without departing from the scope of the application. The scope of the application is limited only by the following claims.

[0129] The above description is merely illustrative of the application, and not restrictive. As such, the application is not limited to the above-described embodiments, and modifications, equivalents, improvements, etc., made within the spirit and scope of the application are included in the scope of the application.

Claims

1. A mesh merging method, characterized in that, The method includes: The user's mesh merging operation on the 3D clothing model was detected; Mesh arrays with identical material data in the 3D clothing model are merged to generate a 3D clothing model with merged meshes.

2. The method according to claim 1, characterized in that, The method further includes: In response to the user's vertex merging operation on the merged mesh, vertices with the same positional information in the merged mesh are merged; The merged mesh is obtained by merging meshes with the same material data in the 3D clothing model.

3. The method according to claim 2, characterized in that, Before merging vertices with the same positional information in the merged mesh in response to the user's vertex merging operation on the merged mesh, the method further includes: Receive the sewing thread data set by the user; wherein, the sewing thread data is used to define the connection relationship between different patterns in the 3D clothing model; After merging meshes with identical material data in the 3D clothing model to generate a mesh-merged 3D clothing model, the method further includes: In response to the user's vertex merging operation, vertices connected by the sewing thread data in the merged mesh are merged.

4. The method according to claim 1, characterized in that, Prior to detecting the user's mesh merging operation on the 3D clothing model, the method further includes: The user's export operation on the 3D clothing model was detected; The method further includes: Based on common naming rules, generate the merged mesh name in the 3D clothing model; The merged mesh name is the name of the merged mesh generated after merging the meshes.

5. The method according to claim 4, characterized in that, The process of generating merged mesh names in the 3D clothing model based on common naming rules includes: The name of the merged grid is generated based on the material data corresponding to the merged grid.

6. The method according to claim 1, characterized in that, Merging meshes with identical material data in the 3D clothing model includes at least one of the following: Merge meshes with identical fabric data in the material data to obtain merged meshes in the 3D clothing model; Merge meshes with identical accessory data in the material data to obtain merged meshes in the 3D clothing model; Mesh data with the same material data in the material data are merged to obtain the merged mesh in the 3D clothing model.

7. A grid merging device, characterized in that, The device includes: The operation detection module is used to detect user mesh merging operations on 3D clothing models; The mesh merging module is used to merge meshes with the same material data in the 3D clothing model to generate a 3D clothing model with merged meshes.

8. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor implements the method as described in any one of claims 1-6 by executing the executable instructions.

9. A computer-readable storage medium storing computer instructions thereon, characterized in that, When executed by the processor, this instruction implements the method as described in any one of claims 1-6.

10. A computer program product having a computer program / instructions stored thereon, characterized in that, When the computer program / instruction is executed by the processor, it implements the method as described in any one of claims 1-6.