Digital clothing modeling method and device and storage medium
By dividing the digital clothing model into regions and adjusting the mesh thickness, and adjusting the mesh at the connection based on the specified curve, the problems of low efficiency and insufficient accuracy of clothing model thickness adjustment in the existing technology are solved, and a more realistic and flexible digital clothing modeling effect is achieved.
Patent Information
- Application Number
- CN202410307626.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-18
- Publication Date
- 2025-09-19
AI Technical Summary
Existing digital clothing modeling technology is inefficient and difficult to precisely control when adjusting the thickness of the clothing model, resulting in differences between the simulation effect and the actual clothing, especially when dealing with transition areas, it is difficult to achieve the expected visual and structural effects.
In response to the region division command, the digital garment model is divided into a first region and a second region. The thickness of the first region is modified by extending the mesh outward or inward on the surface of the garment model. The connection between the first and second regions is then adjusted based on a specified curve to ensure that the mesh conforms to the specified curve.
It achieves fast and efficient adjustment of digital clothing models, improves design flexibility and accuracy, enhances the realism and visual effects of digital clothing, and can better display the edge shape and thickness changes of clothing.
Smart Images

Figure CN120672932A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of clothing modeling, and in particular relates to a digital clothing modeling method, device and storage medium. Background Art
[0002] In the field of digital clothing design, designers typically use computer-aided design (CAD) software, such as CAD, to create and adjust garment models. This software allows designers to simulate the appearance and structural features of garments in a virtual environment, allowing them to preview designs before actual production. Existing technologies generally rely on traditional mesh modeling techniques, simulating different garment styles and structures by adjusting the size, shape, and connection methods of the mesh.
[0003] However, traditional digital clothing modeling methods have limitations when it comes to adjusting the thickness of clothing models. In existing technologies, adjusting the thickness of a clothing model often requires rebuilding the mesh of the entire clothing model, which is not only time-consuming and labor-intensive, but also difficult to precisely control thickness variations, resulting in differences between the final simulation and the actual garment. When designers need to perform special processing on transition areas of clothing to simulate the structural characteristics of real garments, traditional methods often struggle to provide effective solutions. For example, when simulating seams or the effect of layered fabrics, existing technologies cannot flexibly adjust the mesh to achieve the desired visual and structural effects, and the resulting simulation results often suffer from instability and problems with clipping.
[0004] Moreover, existing technologies are also insufficient in terms of design process speed. Due to the need to frequently reconstruct models and adjust grids, traditional digital clothing modeling methods often lead to slow design processes, large demands on computing resources, and high simulation costs. Summary of the Invention
[0005] In order to overcome the above-mentioned defects of the prior art, the present invention proposes a digital clothing modeling method, which comprises:
[0006] In response to the region division instruction, dividing the digital clothing model into a first region and a second region;
[0007] The thickness of the first region is changed.
[0008] Specifically, after changing the thickness of the first region, the method further includes:
[0009] The connection between the first region and the second region is adjusted.
[0010] Furthermore, the “adjusting the connection between the first region and the second region” includes:
[0011] In response to a first adjustment instruction, a connection between the first region and the second region is adjusted based on a specified curve.
[0012] The “adjusting the connection between the first area and the second area based on a specified curve” includes:
[0013] The grid points on the grid cross section at the connection between the first area and the second area are adjusted so that the grid at the connection between the first area and the second area fits the specified curve.
[0014] Furthermore, after changing the thickness of the first region, the method further includes:
[0015] In response to a second adjustment instruction, a portion of the first region that is away from the second region is adjusted based on a designated curve.
[0016] Specifically, the digital clothing model includes a first side and a second side that are opposite to each other, and "changing the mesh thickness of the first area" is achieved by extending the mesh of the first area outward or inward on the first side and / or the second side of the digital clothing model.
[0017] Preferably, when there are at least two independent connections between the first region and the second region, the “adjusting the connection between the first region and the second region” includes:
[0018] Prompting the user to confirm the connection between the first area and the second area that needs to be adjusted;
[0019] After the user completes the confirmation, providing the user with a plurality of preset curves for the user to select;
[0020] After the user completes the selection, the preset curve selected by the user is used as the designated curve, and the grid of the connection confirmed by the user is adjusted based on the designated curve.
[0021] Specifically, the “prompting the user to confirm the connection where the grid needs to be adjusted” includes:
[0022] Obtaining a surface mesh form formed by mesh points at all independent connections between the first region and the second region;
[0023] The surface mesh forms of each connection are displayed to the user in a selection interface in the form of pictures, prompting the user to select from them to complete the confirmation.
[0024] Specifically, adjusting the grid based on the specified curve includes:
[0025] The grid points on the grid cross section are adjusted so that the grid fits the specified curve.
[0026] Furthermore, after adjusting the connection between the first region and the second region, the method further includes:
[0027] The digital clothing model is rendered.
[0028] Preferably, the step of “rendering the digital clothing model” includes:
[0029] The mesh of the digital clothing model where the adjustment is performed is refined so that the refined mesh has a smooth transition.
[0030] Specifically, the “refining the mesh at the location where the digital clothing model is adjusted so as to achieve a smooth transition of the refined mesh” includes:
[0031] A plurality of grid points are added to the grid area where the digital clothing model is adjusted to increase the grid density in the grid area, so as to improve the fit between the grid edge contour of the grid area in the direction extending from the first area to the second area and the specified curve.
[0032] Optionally, the grid thickness of the first area after the change is greater than the grid thickness before the change;
[0033] Alternatively, the grid thickness of the first region after the change is smaller than the grid thickness before the change.
[0034] Preferably, the specified curve is generated by a spline function.
[0035] Preferably, a mapping length of the designated curve in the extending direction from the first area to the second area is no more than 1 cm.
[0036] The present invention also proposes a digital clothing modeling device, which includes:
[0037] a region division module, configured to divide the digital clothing model into a first region and a second region in response to a region division instruction;
[0038] The thickness changing module is used to change the thickness of the first area.
[0039] The present invention also provides a computer-readable storage medium storing executable instructions for implementing the digital clothing modeling method as described above when executed by a processor.
[0040] The present invention has at least the following beneficial effects:
[0041] The solution proposed in this invention can adjust the thickness and edge curve of specific areas of a digital clothing model, thereby showing users the effects of fabrics of different materials and thicknesses, increasing the realism of the digital clothing. The method has strong overall stability, does not cause model penetration, and provides a better sense of realism and visual effects for the digital clothing. It also requires a short time and provides extremely high design flexibility.
[0042] Furthermore, the solution proposed by the present invention can also specifically adjust the shape and smoothness of clothing edges, and can be applied to the design of clothing with wavy edges, lace, and other edges that require edge processing. By changing the mesh thickness by extending the mesh outward on one or both sides of the digital clothing model, the three-dimensional effect caused by the increased material thickness in real clothing can be displayed, further enhancing the realism of the digital clothing. This solution can also render the adjusted mesh to enhance the realism of thickness and transitions. The refinement of the mesh included in the rendering process ensures richer and more accurate details of the model, greatly improving the sophistication and realism of the digital clothing.
[0043] In addition, when there are multiple independent connections, this solution allows users to confirm the connections that need to be adjusted and provides preset curve options. The interactive adjustment method improves the accuracy and personalization of the design, ensuring that the displayed results are closer to the user's actual needs. The curves generated using spline functions can provide smoother and continuous curve shapes, which helps to achieve a more natural and harmonious design effect. Limiting the curve mapping length to no more than 1 cm helps to ensure the precision and control of grid adjustment, avoid unnatural effects caused by excessive adjustment, and is also conducive to maintaining the integrity and coordination of the design.
[0044] Thus, the present invention provides a digital clothing modeling method, device and storage medium. The solution proposed in the present invention can adjust the digital clothing model by modifying the grid thickness and transition shape of specific areas, greatly improving the design flexibility, and displaying it at a faster process speed and extremely low cost, thereby improving the realism and visual effects of digital clothing, allowing clothing designers to personalize the design of different parts of clothing according to specific design needs or functional requirements, thereby being closer to the appearance and structural characteristics of real clothing. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0046] Figure 1 A schematic diagram of a method flow chart of a digital clothing modeling method provided in Example 1;
[0047] Figure 2 A schematic flow chart of an optimization method for the digital clothing modeling method provided in Example 1;
[0048] Figure 3(a)-Figure 3(c) This is an example diagram of applying the digital clothing modeling method provided in Example 1 to the edge area of a digital clothing model;
[0049] Figure 4 A flow chart of a method for adjusting a grid based on a specified curve;
[0050] Figure 5 This is a schematic diagram of the module structure of the digital clothing modeling device provided in Example 2.
[0051] Reference numerals
[0052] 10-thickness change module; 20-adjustment module; 21-confirmation unit; 22-selection unit; 23-adjustment unit; 40-rendering module. DETAILED DESCRIPTION
[0053] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0054] Hereinafter, various embodiments of the present invention will be described more fully. The present invention can have various embodiments, and modifications and variations can be made therein. However, it should be understood that there is no intention to limit the various embodiments of the present invention to the specific embodiments disclosed herein, but rather that the present invention should be construed to encompass all modifications, equivalents, and / or alternatives falling within the spirit and scope of the various embodiments of the present invention.
[0055] Hereinafter, the terms "include" or "may include" used in various embodiments of the present invention indicate the presence of disclosed functions, operations, or elements, and do not limit the addition of one or more functions, operations, or elements. In addition, as used in various embodiments of the present invention, the terms "include", "have" and their cognates are intended only to indicate specific features, numbers, steps, operations, elements, components, or combinations of the foregoing, and should not be understood as excluding the presence of one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing or the possibility of adding one or more features, numbers, steps, operations, elements, components, or combinations of the foregoing.
[0056] In various embodiments of the present invention, the expression "or" or "at least one of A or / and B" includes any or all combinations of the words listed simultaneously. For example, the expression "A or B" or "at least one of A or / and B" may include A, may include B, or may include both A and B.
[0057] The expressions (such as "first", "second", etc.) used in the various embodiments of the present invention may modify the various constituent elements in the various embodiments, but may not limit the corresponding constituent elements. For example, the above expressions do not limit the order and / or importance of the elements. The above expressions are only used to distinguish one element from other elements. For example, a first user device and a second user device indicate different user devices, although both are user devices. For example, without departing from the scope of the various embodiments of the present invention, a first element may be referred to as a second element, and similarly, a second element may also be referred to as a first element.
[0058] It should be noted that, in the present invention, unless otherwise expressly specified or defined, terms such as "mounted," "connected," and "fixed" should be understood broadly. For example, they may refer to fixed, detachable, or integral connections; mechanical or electrical connections; direct or indirect connections through an intermediary; and internal communication between two components. Those skilled in the art will understand the specific meanings of these terms in the present invention based on specific circumstances.
[0059] In the present invention, those skilled in the art need to understand that the terms indicating orientation or positional relationships herein are based on the orientation or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.
[0060] The terms used in various embodiments of the present invention are only used to describe the purpose of specific embodiments and are not intended to limit the various embodiments of the present invention. As used herein, the singular form is intended to also include the plural form, unless the context clearly indicates otherwise. Unless otherwise limited, all terms used here (including technical terms and scientific terms) have the same meaning as those of ordinary skill in the art generally understood by the various embodiments of the present invention. The terms (such as those defined in generally used dictionaries) will be interpreted as having the same meaning as the contextual meaning in the relevant technical field and will not be interpreted as having idealized meaning or too formal meaning, unless clearly defined in various embodiments of the present invention.
[0061] Example 1
[0062] This embodiment proposes a digital clothing modeling method. The method proposed in this embodiment can display the specified visual effect of digital clothing at a faster process speed and extremely low cost, and improve the realism of digital clothing display. Figure 1 、 Figure 2 、 Figure 3(a)-Figure 3(c) , the method comprising:
[0063] S100: In response to a region division instruction, the digital clothing model is divided into a first region and a second region.
[0064] Specifically, step S100, in response to the region division instruction, determines a first region that includes at least a portion of the digital garment model, and determines a portion of the digital garment model that does not include the first region as a second region. In one embodiment, after the first region and the second region are divided in step S100, the first region and the second region divided on the digital garment model are mapped to corresponding digital garment patterns.
[0065] S200: Changing the thickness of the first region.
[0066] In this embodiment, step S200 is achieved by changing the mesh thickness of the first area. Specifically, the digital clothing model includes a first side and a second side that are relatively opposite to each other. The "changing the mesh thickness of the first area" is achieved by extending the mesh of the first area outward or inward on the first side and / or the second side of the digital clothing model.
[0067] Specifically, the mesh thickness of the first region after the change is greater than the mesh thickness before the change;
[0068] Alternatively, the grid thickness of the first region after the change is smaller than the grid thickness before the change.
[0069] In this embodiment, the designated curve is generated by a spline function. By generating the curve by the spline function, the continuity and smoothness of the curve can be ensured.
[0070] It should be noted that the spline function is a special piecewise polynomial function, which is widely used in fields such as interpolation, fitting and numerical analysis. The spline function can provide a smooth and continuous curve or surface to approximate or pass through a given set of data points.
[0071] The basic idea of the spline function is to divide a complex function or data set into several small intervals, and use low-order polynomials such as linear polynomials, quadratic polynomials, and cubic polynomials to approximate each small interval. The entire domain of definition is composed of polynomial functions on these small intervals. In order to ensure the overall smoothness of the spline function, it is usually required that these piecewise polynomials not only have equal values at each division point, but also have equal first-order, second-order, and even higher-order derivatives.
[0072] Preferably, the mapping length of the specified curve in the extension direction from the first area to the second area is no greater than a preset value. The preset value in this embodiment is 1 cm. This solution helps to ensure the fineness and control of grid adjustment by limiting the mapping length of the specified curve in the extension direction from the first area to the second area to no more than 1 cm, avoids unnatural effects caused by excessive adjustment, and is also conducive to maintaining the integrity and coordination of the design.
[0073] S300: Adjusting the connection between the first area and the second area.
[0074] Specifically, step S300 includes:
[0075] In response to the first adjustment instruction, the connection between the first area and the second area is adjusted based on the specified curve.
[0076] In this embodiment, the implementation method of adjusting the connection between the first area and the second area based on the specified curve described in step S300 is specifically to adjust the grid points on the grid cross section at the connection between the first area and the second area so that the grid at the connection between the first area and the second area fits the specified curve.
[0077] Furthermore, when the first area includes an edge portion of the digital clothing model, the method proposed in this embodiment further includes:
[0078] In response to the second adjustment instruction, a portion of the first region that is away from the second region is adjusted based on a designated curve.
[0079] It should be noted that, when the first area includes an edge portion of the digital clothing model, the method proposed in this embodiment can selectively perform one or both of adjusting the mesh at the connection and adjusting the mesh at the edge according to user needs.
[0080] Therefore, this method can more accurately display the edge shape and thickness changes of the clothing by adjusting the grid based on the specified curve on the digital clothing model. This adjustment capability makes the digital clothing more visually realistic and can better capture the subtle differences of real clothing, such as the curling and folding of the edges. The method proposed in this embodiment can be applied to the design of specific logos such as logos on digital clothing models, and can also specifically adjust the edge shape and smoothness of the digital clothing model to be applied to the design of clothing with wavy edges, lace, etc. that require edge processing.
[0081] Furthermore, after executing step S300, the method further includes:
[0082] S400: Rendering of digital clothing models.
[0083] It should be noted that, by rendering the digital clothing model in step S400, the three-dimensional model of the digital clothing model can be displayed in the form of an image or video, so that the user can intuitively see the effect of the clothing design, enhance the three-dimensionality and realism of the clothing, and help evaluate the practicality and aesthetics of the design; the designer can preview the design effect to check the details of the clothing design and adjust and optimize the design plan in time, reduce the number of times physical samples are produced, and save cost and time.
[0084] In this embodiment, step S400 of rendering the digital clothing model may include refining the mesh at the location where the digital clothing model is adjusted, so that the refined mesh has a smooth transition, specifically:
[0085] A plurality of grid points are added to the grid area where the digital clothing model is adjusted to increase the grid density in the grid area, so as to improve the fit between the grid edge contour of the grid area in the direction extending from the first area to the second area and the specified curve.
[0086] The method proposed in this embodiment can more finely display the detailed features of the clothing by refining the grid at the adjustment location. The refined grid can provide a smoother transition effect in the first area, which not only avoids the jagged phenomenon caused by the grid being too large, but also can achieve a more natural and continuous transition visually, making the digital clothing model visually appear richer and more realistic, thereby improving the quality of the final rendering effect.
[0087] Furthermore, after applying the digital clothing modeling method proposed in this embodiment to the digital clothing model, if the digital clothing model needs to be simulated, the simulation will be performed based on the original mesh of the digital clothing model. Therefore, the method proposed in this embodiment can make rendering and simulation independent of each other, and rendering can provide the user with a preview of the visual effect, and the processing of the digital clothing model due to rendering in the scheme will not affect the actual application process of the digital clothing model.
[0088] Specifically, see Figure 4 When there are at least two independent connections between the first area and the second area, step S300 specifically includes:
[0089] S310: Prompting the user to confirm the connection between the first area and the second area that needs to be adjusted.
[0090] Specifically, step S310 includes:
[0091] Obtaining a surface mesh form composed of mesh points at all independent connections between the first region and the second region;
[0092] The surface mesh shape of each connection is displayed to the user in the selection interface in the form of a picture, prompting the user to select from them to complete the confirmation.
[0093] S320: After the user completes the confirmation, multiple preset curves are provided for the user to select.
[0094] S330: After the user completes the selection, the preset curve selected by the user is used as the designated curve, and the grid of the connection confirmed by the user is adjusted based on the designated curve.
[0095] It should be noted that the surface mesh morphology formed by the grid points at the connection may include but is not limited to a shuttle-shaped surface mesh morphology with a smooth transition, a teardrop-shaped surface mesh morphology, and an abrupt vertical simulated edging surface mesh morphology. In a specific embodiment, step S310 can convert the surface mesh morphology of each connection into the form of a picture after summarizing the surface mesh morphology of each connection, and place each picture in a list that allows the user to select. After the user selects the picture, the confirmation in step S310 is completed, and the grid adjusted in step S330 is the grid at the connection corresponding to the picture selected by the user.
[0096] Therefore, the method proposed in this embodiment can enable the user to confirm the connection that needs to be adjusted when there are multiple independent connections and provide the user with a preset curve selection. The user can select the object that needs to be adjusted through the curve from multiple independent connections, and can further use different preset curves to adjust each connection that needs to be adjusted, thereby further improving the accuracy and personalization of the method and ensuring that the display results of the digital clothing are closer to the real needs of the user.
[0097] Please see again Figure 3(a)-Figure 3(c) It should be noted that the refinement steps of S310-S330 can also be applied to adjust the grid in the first area far away from the second area, thereby providing a more convenient choice for the user.
[0098] Example 2
[0099] This embodiment proposes a digital clothing modeling device for implementing the digital clothing modeling method proposed in Example 1. Figure 5 , the device comprises:
[0100] A region division module 10 is configured to divide the digital clothing model into a first region and a second region in response to a region division instruction;
[0101] a thickness changing module 20, configured to change the thickness of the first region;
[0102] The adjustment module 30 is used to adjust the connection between the first area and the second area, specifically, in response to a first adjustment instruction, adjusting the grid at at least one side of the connection between the first area and the second area based on a specified curve; and / or, in response to a second adjustment instruction, adjusting the grid in the first area away from the second area based on the specified curve.
[0103] Specifically, the region division module 10, in response to the region division instruction, determines a first region that includes at least a portion of the digital garment model, and determines a portion of the digital garment model that does not include the first region as a second region. In one specific embodiment, after the region division module 10 divides the first region and the second region, it maps the first and second regions divided on the digital garment model to corresponding digital garment patterns.
[0104] In this embodiment, the step implemented by the thickness changing module 20 is achieved by changing the mesh thickness of the first area. Specifically, the digital clothing model includes a first side and a second side that are relatively opposite. The step of the thickness changing module 20 changing the mesh thickness of the first area is achieved by extending the mesh of the first area outward or inward on the first side and / or the second side of the digital clothing model.
[0105] Specifically, the mesh thickness of the first region after the change is greater than the mesh thickness before the change;
[0106] Alternatively, the grid thickness of the first region after the change is smaller than the grid thickness before the change.
[0107] In this embodiment, the designated curve is generated by a spline function. By generating the curve by the spline function, the continuity and smoothness of the curve can be ensured.
[0108] Preferably, the mapping length of the specified curve in the extension direction from the first area to the second area is no greater than a preset value. The preset value in this embodiment is 1 cm. This solution helps to ensure the fineness and control of grid adjustment by limiting the mapping length of the specified curve in the extension direction from the first area to the second area to no more than 1 cm, avoids unnatural effects caused by excessive adjustment, and is also conducive to maintaining the integrity and coordination of the design.
[0109] In this embodiment, the adjustment module 30 adjusts the connection between the first area and the second area based on the specified curve, specifically by adjusting the grid points on the grid cross section at the connection between the first area and the second area so that the grid at the connection between the first area and the second area fits the specified curve.
[0110] Furthermore, the device further comprises:
[0111] The rendering module 40 is configured to render the digital clothing model after adjusting the mesh in the first region based on the specified curve.
[0112] It should be noted that by rendering the digital clothing model through the rendering module 40, the three-dimensional model of the digital clothing model can be displayed in the form of an image or video, so that the user can intuitively see the effect of the clothing design, enhance the three-dimensionality and realism of the clothing, and help evaluate the practicality and aesthetics of the design; the designer can preview the design effect to facilitate the inspection of various details of the clothing design and timely adjust and optimize the design plan, reduce the number of times physical samples are produced, and save costs and time.
[0113] In this embodiment, the rendering module 40 renders the digital clothing model by refining the mesh at the location where the digital clothing model is adjusted, so that the refined mesh has a smooth transition, specifically:
[0114] A plurality of grid points are added to the grid area where the digital clothing model is adjusted to increase the grid density in the grid area, so as to improve the fit between the grid edge contour of the grid area in the direction extending from the first area to the second area and the specified curve.
[0115] Specifically, the adjustment module 30 includes:
[0116] a confirmation unit 31 for prompting a user to confirm a connection between the first area and the second area that needs to be adjusted when there are at least two independent connections between the first area and the second area;
[0117] The selection unit 32 is used to provide the user with multiple preset curves for selection after the user completes the confirmation;
[0118] The adjusting unit 33 is configured to, after the user completes the selection, use the preset curve selected by the user as the designated curve, and adjust the grid of the connection confirmed by the user based on the designated curve.
[0119] Specifically, after obtaining the surface mesh form composed of the grid points of all independent connections between the first area and the second area, the confirmation unit 31 displays the surface mesh form of each connection to the user in the selection interface in the form of a picture, prompting the user to select from them to complete the confirmation.
[0120] Therefore, the method proposed in this embodiment can enable the user to confirm the connection that needs to be adjusted when there are multiple independent connections and provide the user with a preset curve selection. The user can select the object that needs to be adjusted through the curve from multiple independent connections, and can further use different preset curves to adjust each connection that needs to be adjusted, thereby further improving the accuracy and personalization of the method and ensuring that the display results of the digital clothing are closer to the real needs of the user.
[0121] Example 3
[0122] This embodiment proposes a computer-readable storage medium, which stores executable instructions for implementing the digital clothing modeling method proposed in Example 1 when executed by a processor.
[0123] In summary, the present invention provides a digital clothing modeling method, device and storage medium. The solution proposed in the present invention can adjust the digital clothing model by modifying the grid thickness and transition shape of specific areas, greatly improving the design flexibility, and displaying it at a faster process speed and extremely low cost, thereby improving the realism and visual effects of digital clothing, allowing clothing designers to personalize different parts of clothing according to specific design needs or functional requirements, thereby being closer to the appearance and structural characteristics of real clothing.
[0124] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A digital clothing modeling method, characterized in that: The method comprises: In response to the region division instruction, dividing the digital clothing model into a first region and a second region; The thickness of the first region is changed.
2. The digital clothing modeling method according to claim 1, characterized in that: After changing the thickness of the first region, the method further includes: The connection between the first region and the second region is adjusted.
3. The digital clothing modeling method according to claim 2, characterized in that: The “adjusting the connection between the first region and the second region” includes: In response to a first adjustment instruction, a connection between the first region and the second region is adjusted based on a specified curve.
4. The digital clothing modeling method according to claim 3, wherein the step of "adjusting the connection between the first region and the second region based on a specified curve" comprises: The grid points on the grid cross section at the connection between the first area and the second area are adjusted so that the grid at the connection between the first area and the second area fits the specified curve.
5. The digital clothing modeling method according to any one of claims 1 to 4, characterized in that: After changing the thickness of the first region, the method further includes: In response to a second adjustment instruction, a portion of the first region that is away from the second region is adjusted based on a designated curve.
6. The digital clothing modeling method according to claim 1, characterized in that: The “changing of the thickness of the first region” is achieved by changing the mesh thickness of the first region.
7. The digital clothing modeling method according to claim 6, characterized in that: The digital clothing model includes a first side and a second side that are opposite to each other, and “changing the thickness of the first area” is achieved by extending the mesh of the first area outward or inward on the first side and / or the second side of the digital clothing model.
8. The digital clothing modeling method according to claim 2 or 4, characterized in that: When there are at least two mutually independent connections between the first region and the second region, the “adjusting the connection between the first region and the second region” includes: Prompting the user to confirm the connection between the first area and the second area that needs to be adjusted; After the user completes the confirmation, providing the user with a plurality of preset curves for the user to select; After the user completes the selection, the preset curve selected by the user is used as the designated curve, and the grid of the connection confirmed by the user is adjusted based on the designated curve.
9. The digital clothing modeling method according to claim 8, characterized in that: The "prompting the user to confirm the connection where the grid needs to be adjusted" includes: Obtaining a surface mesh form composed of mesh points at all independent connections between the first region and the second region; The surface mesh forms of each connection are displayed to the user in a selection interface in the form of pictures, prompting the user to select from them to complete the confirmation.
10. The digital clothing modeling method according to claim 3, characterized in that: After adjusting the connection between the first region and the second region, the method further includes: The digital clothing model is rendered.
11. The digital clothing modeling method according to claim 10, characterized in that: The “rendering the digital clothing model” includes: The mesh of the digital clothing model where the adjustment is performed is refined so that the refined mesh has a smooth transition.
12. The digital clothing modeling method according to claim 11, characterized in that: The “refining the mesh at the location where the digital clothing model is adjusted so as to achieve a smooth transition of the refined mesh” includes: A plurality of grid points are added to the grid area where the digital clothing model is adjusted to increase the grid density in the grid area, so as to improve the fit between the grid edge contour of the grid area in the direction extending from the first area to the second area and the specified curve.
13. The digital clothing modeling method according to claim 6 or 7, characterized in that: The grid thickness of the first area after the change is greater than the grid thickness before the change.
14. The digital clothing modeling method according to claim 6 or 7, characterized in that: The grid thickness of the first area after the change is smaller than the grid thickness before the change.
15. The digital clothing modeling method according to claim 3 or 4, characterized in that: The specified curve is generated by a spline function.
16. The digital clothing modeling method according to claim 3 or 4, characterized in that: A mapping length of the designated curve in an extending direction from the first area to the second area is no greater than 1 cm.
17. A digital clothing modeling device, characterized in that: The device comprises: a region division module, configured to divide the digital clothing model into a first region and a second region in response to a region division instruction; The thickness changing module is used to change the thickness of the first area.
18. A computer-readable storage medium, characterized in that Executable instructions are stored, and when executed by a processor, they are used to implement the method according to any one of claims 1 to 16.