Clothing simulation method, device and equipment and readable storage medium
By mapping selected areas on a 2D pattern to a 3D pattern in garment simulation software and independently setting the pattern's stress control parameters, the problem of uneven down filling distribution during garment filling is solved, achieving a uniform 3D effect for the entire garment, thus improving simulation accuracy and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- LINGDI (ZHEJIANG) TECHNOLOGY CO LTD
- Filing Date
- 2024-10-18
- Publication Date
- 2026-04-21
AI Technical Summary
In existing clothing simulation software, during the simulation of clothing filling, the filling material tends to gather in the lower half of the filling area, resulting in uneven filling distribution. The generated 3D model is thinner at the top and thicker at the bottom, affecting the accuracy of the simulation results and the user preview effect.
By selecting regions on a two-dimensional pattern in garment simulation software, the selected regions are mapped to a three-dimensional pattern, logically divided into independent control areas, and the stress control parameters of the pattern are set separately for each mapped area to precisely control its deformation behavior during the filling process.
It achieves a uniform 3D effect of down filling throughout the garment, improving the accuracy of the simulation results and enhancing the user's preview experience.
Smart Images

Figure CN121904239A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of three-dimensional simulation technology, and in particular to a method, apparatus, device and readable storage medium for simulating clothing. Background Technology
[0002] In the 3D simulation of garment filling effects, during the process of simulating filling the garment filling material into the filling area of the 3D pattern, the simulated garment filling material tends to gather and be compressed in the lower half of the filling area due to the simulated gravity. This results in uneven filling distribution, causing the 3D pattern of the final generated 3D model to show a filling simulation effect that is thinner at the top and thicker at the bottom. This fails to accurately reflect the filling shape of the filling material, affecting the accuracy of the simulation results and the user preview effect. Summary of the Invention
[0003] In view of this, in order to solve the above-mentioned technical problems, this application provides a clothing simulation method, apparatus, device and readable storage medium.
[0004] Specifically, this application is implemented through the following technical solution:
[0005] According to a first aspect of the embodiments of this application, a clothing simulation method is provided, applied to clothing simulation software, the method comprising:
[0006] Based on the region selection operation for the two-dimensional pattern of the garment to be simulated, obtain the selected region selected by the region selection operation;
[0007] The selected area is mapped onto the three-dimensional pattern of the garment to be simulated to obtain the mapped area on the target three-dimensional pattern; the target three-dimensional pattern has filling parameters and pattern stress control parameters; the filling parameters are used to define and control the distribution of garment filling in the target three-dimensional pattern; the pattern stress control parameters are used to control the deformation behavior of the mapped area during the filling process;
[0008] In response to the control parameter modification operation for the mapped region, the first parameter value of the plate force control parameter of the mapped region is updated to the second parameter value;
[0009] In response to the simulation command, the target three-dimensional pattern is simulated based on the down filling parameters and the stress control parameters of the target three-dimensional pattern to generate the target three-dimensional model of the garment to be simulated after down filling.
[0010] Optionally, the plate force control parameters include the pressure force on the mapping area; the pressure force is used to simulate the force exerted by the clothing filling on the mapping area;
[0011] The step of updating the first parameter value of the plate force control parameter of the mapped region to a second parameter value in response to the control parameter modification operation for the mapped region includes:
[0012] Upon detecting an attribute editing operation in the mapped region, the attribute editing interface of the mapped region is displayed; the attribute editing interface at least displays the first parameter value of the pressure force.
[0013] In response to a first modification operation on the first parameter value of the pressure force, the system receives a second parameter value corresponding to the first modification operation and updates the first parameter value of the pressure force on the attribute editing interface to the second parameter value.
[0014] Optionally, the two-dimensional pattern includes an outer fabric pattern and a lining fabric pattern for the same garment location but for different garment surfaces;
[0015] When the same selection area is set on both the outer fabric plate and the inner fabric plate, the mapping area on the target three-dimensional plate includes: a first area mapped by the selection area on the outer fabric plate, and a second area mapped by the selection area on the inner fabric plate.
[0016] The pressure in the first region and the second region are in opposite directions but of the same magnitude.
[0017] Optionally, the mapping region is composed of multiple three-dimensional cell meshes; during the simulation, the pressure force includes the force acting along the normal direction of the vertex of each three-dimensional cell mesh.
[0018] Optionally, the pressure force is an action force from the clothing filling toward the mapping area along the normal direction; the normal direction refers to the direction perpendicular to the surface where the mapping area is located.
[0019] Optionally, the plate stress control parameters may also include an additional simulated thickness of the mapped region;
[0020] The step of updating the first parameter value of the plate force control parameter of the mapped region to a second parameter value in response to the control parameter modification operation for the mapped region includes:
[0021] Upon detecting an attribute editing operation on the mapped region, the attribute editing interface of the mapped region is displayed; the attribute editing interface at least displays a first parameter value of the additional simulated thickness;
[0022] In response to a second modification operation on the first parameter value of the additional simulated thickness, the system receives the second parameter value corresponding to the second modification operation and updates the first parameter value of the additional simulated thickness on the attribute editing interface to the second parameter value.
[0023] Optionally, the plate stress control parameters further include the bonding parameters of the mapping area; the bonding parameters include at least the fabric type, and at least one of tensile strength, flexural strength, deformation rate, deformation strength, and basis weight;
[0024] The step of updating the first parameter value of the plate force control parameter of the mapped region to a second parameter value in response to the control parameter modification operation for the mapped region includes:
[0025] Upon detecting an attribute editing operation on the mapped region, the attribute editing interface of the mapped region is displayed; the attribute editing interface displays at least the first parameter value of each adhesive parameter;
[0026] In response to a third modification operation on the first parameter value of any adhesive parameter, the system receives the second parameter value corresponding to the third modification operation and updates the first parameter value of any adhesive parameter on the attribute editing interface to the second parameter value.
[0027] Optionally, updating the first parameter value of the plate force control parameter of the mapped area to the second parameter value includes:
[0028] In real-time simulation preview mode, in response to the control parameter modification operation for the mapped area, a 3D simulation effect preview is generated for the mapped area or target 3D plate according to the current modified parameter in the control parameter modification operation.
[0029] If the three-dimensional simulation effect meets expectations, the value of the plate force control parameter of the mapping area used for the three-dimensional simulation of the mapping area or target three-dimensional plate when it meets expectations is determined as the second parameter value;
[0030] Update the first parameter value of the plate force control parameter of the mapped area to the second parameter value.
[0031] Optionally, mapping the selected area to the three-dimensional pattern of the garment to be simulated, to obtain the mapped area on the target three-dimensional pattern, includes:
[0032] Obtain the two-dimensional coordinate information of the selected area on the two-dimensional plate;
[0033] According to a preset coordinate transformation method, the two-dimensional coordinate information is converted into three-dimensional coordinate information in the three-dimensional coordinate system where the three-dimensional plate is located;
[0034] The target 3D plate is determined based on the 3D coordinate information, and the mapping area on the target 3D plate corresponding to the selected area is determined.
[0035] Optionally, the two-dimensional pattern includes an outer fabric pattern and a lining fabric pattern for the same garment location but for different garment surfaces, and the target three-dimensional pattern includes an outer fabric layer and a lining fabric layer.
[0036] When a selection area is set for the outer fabric plate, the mapping area on the target three-dimensional plate includes a first area mapped to the outer fabric layer;
[0037] When a selection area is set for the lining plate, the mapping area on the target 3D plate includes a second area mapped to the lining layer.
[0038] Optionally, the method further includes:
[0039] In response to detecting that a user sets a selection area on the first plate of the two-dimensional plate, the selection area is linked to be set on the second plate;
[0040] The first pattern sheet includes either an outer fabric pattern sheet or an inner fabric pattern sheet; the second pattern sheet is any pattern sheet other than the first pattern sheet in the two-dimensional pattern sheet.
[0041] Optionally, the method further includes:
[0042] Before obtaining the selected area, a simulation is performed based on the first parameter value of the down filling parameters and the stress control parameters of the target three-dimensional pattern to generate an initial three-dimensional model of the garment to be simulated after down filling.
[0043] The simulation, performed in response to the simulation command, is based on the filling parameters and stress control parameters of the target three-dimensional plate, including:
[0044] Based on the second parameter value of the plate stress control parameter of the mapped area, the mapped area in the initial three-dimensional model is re-simulated to generate the target three-dimensional model.
[0045] According to a second aspect of the embodiments of this application, a clothing simulation device is provided, applied to clothing simulation software, the device comprising:
[0046] The selection area setting module is used to obtain the selection area selected by the area selection operation based on the area selection operation of the two-dimensional pattern of the garment to be simulated;
[0047] The region mapping module is used to map the selected region to the three-dimensional pattern of the garment to be simulated, thereby obtaining the mapped region on the target three-dimensional pattern; the target three-dimensional pattern has filling parameters and pattern stress control parameters; the filling parameters are used to define and control the distribution of garment filling material in the target three-dimensional pattern; the pattern stress control parameters are used to control the deformation behavior of the target three-dimensional pattern during the filling process;
[0048] The force control parameter update module is used to update the first parameter value of the plate force control parameter of the mapped area to the second parameter value in response to the control parameter modification operation for the mapped area.
[0049] The three-dimensional simulation module is used to respond to simulation commands and perform simulations based on the down filling parameters and stress control parameters of the target three-dimensional pattern to generate a target three-dimensional model of the garment to be simulated after down filling.
[0050] Optionally, the force control parameters of the pattern sheet include the pressure force on the mapped area; the pressure force is used to simulate the force exerted by the clothing filling on the mapped area; the force control parameter update module is specifically used for:
[0051] Upon detecting an attribute editing operation in the mapped region, the attribute editing interface of the mapped region is displayed; the attribute editing interface at least displays the first parameter value of the pressure force.
[0052] In response to a first modification operation on the first parameter value of the pressure force, the system receives a second parameter value corresponding to the first modification operation and updates the first parameter value of the pressure force on the attribute editing interface to the second parameter value.
[0053] Optionally, the two-dimensional pattern includes an outer fabric pattern and a lining fabric pattern for the same garment position but for different garment surfaces; when the same selection area is set on both the outer fabric pattern and the lining fabric pattern, the mapping area on the target three-dimensional pattern includes: a first area mapped by the selection area on the outer fabric pattern and a second area mapped by the selection area on the lining fabric pattern.
[0054] The pressure in the first region and the second region are in opposite directions but of the same magnitude.
[0055] Optionally, the mapping region is composed of multiple three-dimensional cell meshes; during the simulation, the pressure force includes the force acting along the normal direction of the vertex of each three-dimensional cell mesh.
[0056] Optionally, the pressure force is an action force from the clothing filling toward the mapping area along the normal direction; the normal direction refers to the direction perpendicular to the surface where the mapping area is located.
[0057] Optionally, the plate stress control parameters further include an additional simulated thickness of the mapped region; the stress control parameter update module is specifically used for:
[0058] Upon detecting an attribute editing operation on the mapped region, the attribute editing interface of the mapped region is displayed; the attribute editing interface at least displays a first parameter value of the additional simulated thickness;
[0059] In response to a second modification operation on the first parameter value of the additional simulated thickness, the system receives the second parameter value corresponding to the second modification operation and updates the first parameter value of the additional simulated thickness on the attribute editing interface to the second parameter value.
[0060] Optionally, the stress control parameters of the printing plate further include the bonding parameters of the mapped area; the bonding parameters include at least the fabric type, and at least one of tensile strength, flexural strength, deformation rate, deformation strength, and basis weight; the stress control parameter update module is specifically used for:
[0061] Upon detecting an attribute editing operation on the mapped region, the attribute editing interface of the mapped region is displayed; the attribute editing interface displays at least the first parameter value of each adhesive parameter;
[0062] In response to a third modification operation on the first parameter value of any adhesive parameter, the system receives the second parameter value corresponding to the third modification operation and updates the first parameter value of any adhesive parameter on the attribute editing interface to the second parameter value.
[0063] Optionally, the force control parameter update module is specifically used for:
[0064] In real-time simulation preview mode, in response to the control parameter modification operation for the mapped area, a 3D simulation effect preview is generated for the mapped area or target 3D plate according to the current modified parameter in the control parameter modification operation.
[0065] If the three-dimensional simulation effect meets expectations, the value of the plate force control parameter of the mapping area used for the three-dimensional simulation of the mapping area or target three-dimensional plate when it meets expectations is determined as the second parameter value;
[0066] Update the first parameter value of the plate force control parameter of the mapped area to the second parameter value.
[0067] Optionally, the region mapping module is specifically used for:
[0068] Obtain the two-dimensional coordinate information of the selected area on the two-dimensional plate;
[0069] According to a preset coordinate transformation method, the two-dimensional coordinate information is converted into three-dimensional coordinate information in the three-dimensional coordinate system where the three-dimensional plate is located;
[0070] The target 3D plate is determined based on the 3D coordinate information, and the mapping area on the target 3D plate corresponding to the selected area is determined.
[0071] Optionally, the two-dimensional pattern includes an outer fabric pattern and a lining fabric pattern for the same garment location but for different garment surfaces, and the target three-dimensional pattern includes an outer fabric layer and a lining fabric layer.
[0072] When a selection area is set for the outer fabric plate, the mapping area on the target three-dimensional plate includes a first area mapped to the outer fabric layer; when a selection area is set for the inner fabric plate, the mapping area on the target three-dimensional plate includes a second area mapped to the inner fabric layer.
[0073] Optionally, the device further includes:
[0074] In response to detecting that a user sets a selection area on the first plate of the two-dimensional plate, the selection area is linked to be set on the second plate;
[0075] The first pattern sheet includes either an outer fabric pattern sheet or an inner fabric pattern sheet; the second pattern sheet is any pattern sheet other than the first pattern sheet in the two-dimensional pattern sheet.
[0076] Optionally, the device further includes:
[0077] Before obtaining the selected area, a simulation is performed based on the first parameter value of the down filling parameters and the stress control parameters of the target three-dimensional pattern to generate an initial three-dimensional model of the garment to be simulated after down filling.
[0078] The three-dimensional simulation module is specifically used for:
[0079] Based on the second parameter value of the plate stress control parameter of the mapped area, the mapped area in the initial three-dimensional model is re-simulated to generate the target three-dimensional model.
[0080] According to a third aspect of the embodiments of this application, an electronic device is provided, the electronic device comprising: a memory and a processor; the memory being used to store a computer program; the processor being used to execute the above-described clothing simulation method by invoking the computer program.
[0081] According to a fourth aspect of the embodiments of this application, a computer-readable storage medium is provided, on which a computer program is stored, wherein the program, when executed by a processor, implements the above-described clothing simulation method.
[0082] The technical solutions provided in this application embodiment may include the following beneficial effects:
[0083] In the technical solution provided in this application, by performing a region selection operation on a two-dimensional pattern in the clothing simulation software, the mapped region corresponding to the selected region on the three-dimensional pattern is logically partitioned into independent control regions. A separate set of pattern force control parameters is then applied to each mapped region to precisely control its deformation behavior during the down filling simulation. This allows for accurate simulation of the down filling effect in the mapped region when generating a three-dimensional model of the clothing down filling based on the three-dimensional pattern. This results in a more accurate simulation of the overall down filling effect of the clothing and the local down filling effect of the three-dimensional pattern, effectively correcting the problem of thinner top and thicker bottom down filling in related simulation techniques. The goal is to achieve a uniform three-dimensional down filling effect for the simulated clothing, improving the accuracy of the simulation results and enhancing the user's preview experience.
[0084] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this application. Furthermore, no embodiment in this application needs to achieve all the effects described above. Attached Figure Description
[0085] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0086] Figure 1 This is an exemplary embodiment of the present application, illustrating a simulation diagram of the down filling effect of a three-dimensional pattern of a down jacket;
[0087] Figure 2A This is a schematic diagram of a clothing simulation method according to an exemplary embodiment of this application;
[0088] Figure 2B This is an exemplary embodiment of the present application, illustrating a selection area of a two-dimensional plate and a mapping area of a three-dimensional plate.
[0089] Figure 2C This is an exemplary embodiment of the present application, showing a comparison of the filling simulation results of a target three-dimensional plate containing a mapped area after the plate force control parameters have been modified;
[0090] Figure 3A This is an exemplary embodiment of the present application illustrating a pressure stress diagram of a mapped area on a three-dimensional plate;
[0091] Figure 3BThis is a schematic diagram of an exemplary embodiment of this application, illustrating an attribute editing interface for modifying the pressure force of a mapped area.
[0092] Figure 3C This is an exemplary embodiment of the present application illustrating a two-dimensional pattern sheet including an outer fabric pattern sheet and an inner fabric pattern sheet, and a schematic diagram mapped to a three-dimensional pattern sheet;
[0093] Figure 4 This is a schematic diagram of an attribute editing interface for modifying the additional simulated thickness of a mapped region, as exemplarily shown in an exemplary embodiment of this application;
[0094] Figure 5 This is a schematic diagram of an attribute editing interface for modifying the adhesive backing of a mapped area, as exemplarily shown in an exemplary embodiment of this application.
[0095] Figure 6 This is a schematic diagram of the structure of a clothing simulation device shown in an exemplary embodiment of this application;
[0096] Figure 7 This is a hardware schematic diagram of an electronic device illustrated in an exemplary embodiment of this application. Detailed Implementation
[0097] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims. It should be understood that when this application uses terms such as first, second, third, etc., to describe various information, these terms are only used to distinguish information of the same type from each other and do not themselves have a specific descriptive meaning.
[0098] In the 3D simulation of garment filling effects, garment simulation software typically sets uniform filling parameters, such as filling values, for the 3D pattern during the process of simulating filling the filling area of the garment with filling material. These filling values represent the total amount of filling material or the distribution density of the filling material in the 3D pattern. The filling value is then converted into pressure applied to the 3D pattern to simulate the force exerted by the filling material on the pattern. At the same time, the software also simulates the effect of gravity on the filling material. During the gravity simulation, the filling material tends to gather and be compressed in the lower half of the filling area under the simulated gravity, resulting in uneven filling distribution. This leads to a 3D pattern in the final generated 3D model exhibiting a filling simulation effect that is thinner at the top and thicker at the bottom, failing to accurately reflect the filling shape of the filling material and affecting the accuracy of the simulation results and the user preview effect.
[0099] For example, see Figure 1 The example shown is a schematic diagram of the down filling effect of a three-dimensional pattern of a down jacket. The uniform down filling parameters set for the entire pattern are converted into pressure on the pattern. Combined with the effect of simulated gravity, the generated three-dimensional model shows a down filling simulation effect that is thinner at the top and thicker at the bottom. The simulation is inaccurate and cannot accurately reflect the down filling shape of the pattern.
[0100] To address the aforementioned technical problems, this application proposes a clothing simulation method applicable to various 3D simulation scenarios of down filling, such as down jackets and cotton-padded coats. This method targets localized areas of a 3D pattern where the down filling simulation effect does not meet expectations. It logically divides these localized areas (i.e., the mapped area on the target 3D pattern obtained by mapping a selected area on a 2D pattern to the 3D pattern) into independent control regions without altering the original design and shape of the 2D pattern. By setting stress control parameters for these localized areas, the method precisely controls the deformation behavior of these areas during the down filling simulation. Furthermore, it allows users to individually set stress control parameter values for each localized area, enabling fine control over the down filling effect in these areas. This more accurately simulates the overall down filling effect of the garment and the localized areas of the 3D pattern, effectively correcting the problem of thinner top and thicker bottom down filling effects in related 3D simulations.
[0101] The clothing simulation method provided in this application can be applied to clothing simulation systems or software. This system supports displaying two-dimensional patterns of the clothing and a three-dimensional model generated through three-dimensional simulation on the system's interactive interface. The two-dimensional patterns and the three-dimensional model can be simultaneously displayed in two display areas on the interactive interface. For example, the display area can be divided into left and right (top and bottom) areas, with the two-dimensional patterns displayed in the left (top) area and the three-dimensional model displayed in the right (bottom) area. Alternatively, it can also support a function to hide the two display areas, allowing users to choose which information to display. Based on this, the method can be executed by a device or apparatus with display capabilities that supports running the clothing simulation system or software, including but not limited to mobile phones, computers, tablets, and servers. Users can choose a suitable device or apparatus to execute the clothing simulation method provided in this application according to their actual needs; this application does not limit this choice.
[0102] Based on the aforementioned clothing simulation system or software, see [link / reference]. Figure 2A The flowchart shown indicates that the clothing simulation method provided in this application may include at least the following steps:
[0103] S201, Based on the region selection operation for the two-dimensional pattern of the garment to be simulated, obtain the selected region selected by the region selection operation;
[0104] The two-dimensional pattern refers to a planar graphic with two coordinate axes (such as x and y axes), used to represent the planar shape and structure of the garment to be simulated. It includes a display diagram of each part of the garment. The garment simulation system can convert or map the two-dimensional pattern to three-dimensional space, thus creating a corresponding three-dimensional pattern. The three-dimensional simulation then simulates the splicing and stitching of the three-dimensional pattern based on the stitching relationships between the two-dimensional patterns, forming a spatial graphic with three coordinate axes (such as x, y, and z axes), i.e., a three-dimensional model of the garment to be simulated. This model can simulate clothing in the real world and its effect and form when worn, including its shape, size, position, and orientation, providing a three-dimensional feel and more intuitively displaying the spatial structure and appearance characteristics of the garment. Specifically, for the garment to be simulated, there is a correspondence between the two-dimensional patterns that make up the garment and the various three-dimensional pattern areas on its three-dimensional model; local areas on the two-dimensional pattern can be found in corresponding areas on the three-dimensional pattern.
[0105] The region selection operation represents the process by which a user selects a specific area on a 2D template. The selected specific area includes at least the areas requiring local adjustments in the 3D simulation of garment filling. The garment simulation software provides an interactive interface displaying the 2D template of the garment to be simulated. Users can add selection boxes to the displayed 2D template using input devices such as a mouse, stylus, or direct touch, triggering the region selection operation. Regarding the selected area, users can determine, based on their experience in 3D garment filling simulation, the corresponding local areas on the 2D template that require local adjustments in the 3D simulation, and use this as the selected area. Alternatively, if an initial 3D model of the garment to be simulated has already been generated after filling, the user can determine the location of any local areas in the initial 3D model that do not meet the expected simulation effect on the 2D template, based on the simulation results presented by the initial 3D model, and use this location as the selected area.
[0106] During implementation, users can perform region selection operations on at least one two-dimensional pattern of the garment to be simulated by drawing their own selection boxes or adding existing ones. For example, by selecting an existing selection box from the menu bar and adding it to the two-dimensional pattern, when the local area adjustment function for down filling simulation is triggered, preset initial selection boxes of different shapes can be displayed on the interactive interface of the garment simulation software. In response to detecting the selection box selection operation on the interactive interface, the initial selection box selected by the user is applied to the two-dimensional pattern selected by the user. Based on the position and size adjustment operation of the selected initial selection box, the final size and position of the selection box are determined, and the garment simulation software is triggered to obtain the selection area marked by the selection box.
[0107] In other words, relevant information about the selection box settings can be displayed in a certain display area of the interactive interface, such as a toolbar, sidebar, or drop-down menu. This includes, but is not limited to, various preset initial selection boxes and other toolbars. The shape of the initial selection box can be different types such as rectangle, square, and circle. By listening to the user's mouse clicks, touch operations, or keyboard input, the user's selection operation on the preset initial selection box can be detected. This selection operation can be a click operation on the selection box style icon or a drag operation on the selection box style icon. The user's selected initial selection box is then applied to any position within the area where the user previously selected the two-dimensional plate.
[0108] Alternatively, to make the added selection boxes more suitable for the shape of the 2D pattern and user needs, users can use drawing tools to draw selection boxes for area selection. That is, when the local area adjustment function of the down filling simulation is triggered, in response to detecting the user clicking the drawing tool, the system tracks the path the user inputs in real time. This can be achieved by capturing the user's mouse movement trajectory or the touch path on the touchscreen. A preview path can also be dynamically drawn on the 2D pattern based on user input, and this preview path updates in real time so that the user can intuitively view the drawing effect of the selection box. Upon receiving a completion drawing instruction, the completed selection box is displayed and designated as the first selection box. This can be done through preset confirmation methods provided by the interactive interface, such as clicking the "Complete" button, pressing a specific shortcut key, or releasing the mouse button. Based on the position and size adjustments made to this first selection box, the final size and addition position of the first selection box are determined, triggering the clothing simulation software to obtain the selection area marked by the first selection box.
[0109] When a user makes a region selection, the clothing simulation software can simultaneously acquire the region information of the selection box and calculate the specific position and range of the selected region (i.e., the selection area) on the 2D pattern. It can also store the coordinate information of the selected region on the 2D pattern. After calculating the selected region, it can be highlighted on the 2D pattern in the interactive interface to improve user-friendliness. If an initial 3D model of the garment to be simulated, after being filled with down, has already been generated, the software can also simultaneously highlight the corresponding mapping area of the selected region on the 3D pattern directly on that initial 3D model to help the user confirm whether the selection is correct.
[0110] To reduce redundant calculations in clothing simulation software, during the user's custom selection of an area on a 2D pattern, in response to a detected area selection confirmation action, the software triggers the acquisition of the selection area marked by the selection box added to the current 2D pattern. That is, the area selection action can originate from an interface confirmation action. For example, if the interface provides a confirmation control, after completing the area selection on the 2D pattern, the user can click the confirmation control via mouse, touch, or other means to trigger the area selection action, causing the clothing simulation software to begin acquiring the selection area. This method effectively reduces redundant calculations in acquiring the selection area during the user's dynamic adjustment of the selection box range and position, thus lowering the system load.
[0111] S202, the selected area is mapped onto the three-dimensional pattern of the garment to be simulated to obtain the mapped area on the target three-dimensional pattern; the target three-dimensional pattern has filling parameters and pattern stress control parameters; the filling parameters are used to define and control the distribution of garment filling in the target three-dimensional pattern; the pattern stress control parameters are used to control the deformation behavior of the mapped area during the filling process;
[0112] A 3D pattern refers to a structure defined in three-dimensional space, possessing thickness and planar shape, used to simulate a physical object with multiple layers of materials, such as lining and outer fabric. For example, a sleeve of clothing can be considered a separate 3D pattern. This 3D pattern can include multiple layers, such as lining, down filling, and outer fabric. Each layer can have different physical properties, including but not limited to the inherent properties of the material, such as tensile strength, flexural strength, deformation strength, weight per square meter (g / m²), and thickness. Tensile strength represents the material's ability to resist breakage under tensile force, and is categorized into warp (along the warp yarns), weft (along the weft yarns), and oblique (between warp and weft) tensile strength. Flexural strength represents the material's ability to resist bending deformation. Deformation strength represents the material's ability to maintain its original shape under external force. Weight per square meter (g / m²) refers to the weight of the material per unit area, typically expressed in grams per square meter (g / m²). 2 The thickness refers to the vertical dimension of the material, that is, the distance from one side to the other.
[0113] The filling parameters include various parameters used to define and control the distribution of garment filling in the three-dimensional pattern, which may include, but are not limited to, filling density, filling weight, filling type, etc. These parameters affect the density and distribution pattern of the filling.
[0114] The stress control parameters of the plate include various parameters used to control the deformation behavior of the mapped area during the filling process. These parameters may include at least one of the following: pressure stress on the plate, additional simulated thickness of the plate, and adhesive parameters of the plate. These parameters affect the degree and direction of deformation of the plate when subjected to external forces such as filler pressure and gravity, thereby ensuring the accuracy and authenticity of the simulation results.
[0115] The pressure stress on the pattern sheet is used to simulate the force exerted by the filling material on the 3D pattern sheet, affecting the degree and direction of deformation, and determining the overall shape and wearing effect during the simulation. The additional simulated thickness refers to a virtual thickness parameter set during clothing simulation to more realistically reflect the compression effect between the 3D pattern sheets. It simulates the extra thickness of the pattern sheet fabric due to down filling, stacking, or external forces. This parameter is not equivalent to the actual fabric thickness used in the 3D pattern sheet, but rather represents the compression between fabrics during the down filling process. Taking a down jacket as an example, when a down jacket is filled, the down filling material forms a "filling layer" in the 3D pattern sheet. This filling layer increases the thickness of the 3D pattern sheet and affects the fabric deformation. The additional simulated thickness is used to simulate the effect of this filling layer. By adjusting the additional simulated thickness parameter, the size of the compression space between the fabrics can be controlled; that is, the additional simulated thickness is positively correlated with the size of the compression space. The fusible interfacing parameter of this pattern refers to a fabric property added during the garment simulation process to increase the stiffness and stability of the pattern. Fusible interfacing is usually a thin and stiff material that is glued to the back or inside of the 3D pattern fabric to change the physical properties of the fabric. The fusible interfacing parameter can be controlled by enabling the add fusible interfacing function in the property bar and adding local fusible interfacing effects. Different fabric types have different fusible interfacing parameters.
[0116] Regarding the values of the stress control parameters for this pattern, they are initially set to the first parameter value. This first parameter value can be determined in the following ways: If no 3D simulation of garment filling is performed on the garment to be simulated, the first parameter value of the stress control parameters for this pattern can be automatically initialized to a set value. This set value can be a user-defined general parameter value applicable to various garment filling simulation scenarios, or it can be determined based on the pre-stored mapping relationship between different types of garments and the stress control parameter values of the pattern, using the parameter value stored in the mapping record that matches the garment to be simulated as the set value. Alternatively, the first parameter value of the stress control parameters for this pattern can be initialized to empty, indicating that the pressure and additional simulation thickness are 0, and the pattern is preset not to add lining.
[0117] Mapping a selected area on a 2D pattern to a 3D pattern of the garment to be simulated involves mapping multiple points in the 2D space containing the selected area to points or areas in the 3D space containing the pattern. The resulting 3D pattern containing the selected area is the target 3D pattern, and the area mapped onto the target 3D pattern is the mapped area. This mapping process can be implemented using coordinate transformation logic between the 2D and 3D spaces of the pattern. The logic for mapping the selected area of the 2D pattern to the mapped area of the target 3D pattern is the same as the logic for generating a 3D pattern from a 2D pattern.
[0118] For example, such as Figure 2B An exemplary diagram illustrates the mapping region between a two-dimensional plate and a three-dimensional plate. A selection area is defined on the outer plate of the two-dimensional plate using a selection box ABCD. The coordinates of this selection area are transformed to three-dimensional space, resulting in a rectangular region A'B'C'D' on the three-dimensional plate, which serves as the mapping region on the target three-dimensional plate.
[0119] After determining the mapping area on the target 3D pattern, the garment simulation software sets this mapping area as an independent control area. This means that the filling parameters and pattern stress control parameters can be independently edited, replaced, and simulated within the model. This indicates that the mapping area can have its parameters adjusted independently while keeping the filling and stress control parameters of other areas in the target 3D pattern unchanged. Since the mapping area is a local area of the target 3D pattern, it is logically separated from the target 3D pattern. The mapping area inherits the filling and stress control parameter values of the 3D pattern; that is, before modifying the stress control parameters of the mapping area, it has the same filling and stress control parameter values as the target 3D pattern. It is understood that setting a selection area for the 2D pattern and the logical separation of the mapping area on the target 3D pattern will not change the 2D pattern design of the garment to be simulated, i.e., it will not change the 2D pattern design of the garment to be simulated in production.
[0120] For this mapped area, it is set as an independent control area so that the stress control parameters applicable to this area can be set individually. During implementation, this can be achieved by creating a new, independent component or object to set an independent control area; alternatively, it can be controlled via programming scripts. The application programming interface (API) or scripting interface provided by the garment simulation software can be used to write corresponding scripts or programs to control the software and automatically set the mapped area as an independent control area.
[0121] S203, in response to the control parameter modification operation for the mapped area, the first parameter value of the plate force control parameter of the mapped area is updated to the second parameter value;
[0122] This control parameter modification operation characterizes the process of a user adjusting the plate force control parameters of the mapped area. It is triggered by the user modifying the first parameter value displayed on the interactive interface, such as by inputting a new parameter value via the keyboard or by using a slider, add / delete buttons, or other interactive methods. Based on this control parameter modification operation, without changing the plate force control parameters of other areas in the target 3D plate, the value of the parameter selected for modification in the mapped area's plate force control parameters can be updated from the initial first parameter value to the modified second parameter value.
[0123] Based on the interactive interface provided by the clothing simulation software, the update of the stress control parameters of the pattern piece can be achieved through the following interactive method: when an attribute editing operation is detected in the mapped area, the attribute editing interface of the mapped area is displayed; the attribute editing interface at least displays the stress control parameters of the pattern piece in the mapped area and their first parameter values; in response to a modification operation on any parameter of the stress control parameters of the pattern piece, the second parameter value corresponding to the modification operation is received, and the first parameter value of the parameter modified by the modification operation on the attribute editing interface is updated to the second parameter value.
[0124] The attribute editing operation includes user actions that trigger the modification of the force control parameters of the mapped area, thus initiating the attribute editing process for the mapped area. For example, the user can trigger this by clicking a button, performing a preset operation on a selected area of the 2D pattern, selecting a specific menu item, or using a shortcut key. The clothing simulation software responds to this attribute editing operation by displaying the corresponding attribute editing interface. Since the selected area on the 2D pattern of the object to be simulated corresponds to the mapped area on the target 3D pattern, interactive operations on either the selected or mapped area can trigger attribute editing of the mapped area. From the user's perspective, the user can interact with the selected area on the 2D pattern displayed in the clothing simulation software's interactive interface, or interact with the mapped area obtained by mapping the selected area after the initial 3D model of the garment to be simulated has been filled, triggering the attribute editing operation. The clothing simulation software then responds by displaying the attribute editing interface.
[0125] In this embodiment, by monitoring user mouse clicks, keyboard inputs, or touchscreen operations, the attribute editing interface is loaded and displayed when the user's interaction triggers an attribute editing operation. This interface clearly displays the first parameter values of the force control parameters for each piece of the mapped area and provides adjustment functionality. Users can modify the values of the force control parameters for the mapped area using controls such as sliders, color pickers, and drop-down menus on the attribute editing interface. The clothing simulation software captures user input in real time and updates the display on the attribute editing interface, allowing users to instantly view the modification effects. This provides immediate feedback, enabling users to intuitively see the new attribute values, thereby reducing operational uncertainty and enhancing operational accuracy and satisfaction.
[0126] To prevent data errors caused by misoperation or unexpected situations, in response to a confirmed attribute modification command, the system can retrieve the second parameter value of the plate force control parameter modified by the attribute editing operation and update the first parameter value of the plate force control parameter in the mapped area to the second parameter value. This confirmed attribute modification command indicates the completion of the force control parameter modification operation and can be generated based on user-defined interactive behavior, such as clicking the "Confirm" control in the attribute editing interface. Upon receiving this confirmed attribute modification command, the values of each plate force control parameter in the current attribute editing interface are recorded as the modified second parameter value of the plate force control parameter in the mapped area.
[0127] S204, in response to the simulation command, simulates the target three-dimensional pattern of the garment after it has undergone the down filling process based on the down filling parameters and the stress control parameters of the target three-dimensional pattern.
[0128] The down filling attributes and the plate stress control parameters are used to define and control the down filling simulation effect of the garment to ensure the accuracy and reliability of the simulation results. If the parameter values of the plate stress control parameters in the mapped area are modified, the three-dimensional simulation of the down filling process must be performed again based on the modified plate stress control parameters in the mapped area to ensure the simulation results reflect the parameter changes. In this embodiment, the simulation command is used to instruct the garment simulation software to start the three-dimensional simulation process of down filling. Upon receiving the simulation command, a three-dimensional simulation is performed based on the values of the down filling parameters of the target three-dimensional plate, the second parameter value of the plate stress control parameters in the mapped area, and the first parameter value of the plate stress control parameters in other areas of the target three-dimensional plate besides the mapped area, generating a target three-dimensional model of the garment after down filling.
[0129] For example, see Figure 2CAn exemplary schematic diagram of the down filling simulation result of a target 3D pattern A'B'C'D' containing the mapped area after modification of the pattern's stress control parameters is shown. The left side of the figure shows the original simulation result of down filling that is thinner at the top and thicker at the bottom, while the right side shows the down filling simulation result after processing by this application. Through image comparison, it can be seen that the clothing simulation method of this application makes the overall down filling of the 3D pattern more uniform, effectively improves the simulation effect of being thinner at the top and thicker at the bottom, and makes the simulation of the down filling effect of the target 3D pattern more accurate.
[0130] Based on the mapping region being set as an independent control region, when the force control parameters of the pattern in the mapping region are modified, even if the initial three-dimensional model of the garment to be simulated has already been generated, only the mapping region where the parameters have been modified or the entire target three-dimensional pattern can be re-simulated. The original simulation results are maintained for the three-dimensional pattern areas of the initial three-dimensional model of the garment to be simulated that have not had their force control parameters modified, and the target three-dimensional model is generated by replacing the original simulation results.
[0131] In this embodiment, by performing a region selection operation on a two-dimensional pattern in the garment simulation software, the mapped region on the three-dimensional pattern corresponding to the selected region is logically partitioned into independent control regions. A separate set of pattern force control parameters is then applied to each mapped region to precisely control its deformation behavior during the down filling simulation. This allows for accurate simulation of the down filling effect in the mapped region when generating a three-dimensional model of the garment based on the three-dimensional pattern, according to the pattern force control parameters. This enables more precise control over the down filling effect in localized areas of the three-dimensional pattern where the simulation result does not meet expectations. Consequently, the overall down filling effect of the garment and localized areas of the three-dimensional pattern can be more accurately simulated. This effectively corrects the top-thickness down filling effect present in related three-dimensional garment down filling simulations, achieving a uniform three-dimensional down filling effect for the garment being simulated. This improves the accuracy of the simulation results, enhances the user's preview experience, and increases the practicality and reliability of the simulation. It also helps reduce trial-and-error costs and time waste during production, thereby improving production efficiency.
[0132] In some embodiments, based on clothing simulation software, the filling value is converted into pressure on a three-dimensional plate to simulate the force of the filling material on the plate. In order to compensate for the influence of gravity on the filling material, the plate force control parameter mentioned in step S102 above may include the pressure force of the mapping area. The pressure force is used to simulate the force of the clothing filling material on the mapping area. By adjusting the value of the pressure force, the force of the filling material on the mapping area is changed, thereby optimizing the filling simulation effect of the mapping area.
[0133] In this embodiment, the pressure force can be a force acting from the clothing filling towards the mapping area along the normal direction; wherein, the normal direction refers to the direction perpendicular to the surface where the mapping area is located. For example, as Figure 3A An exemplary schematic diagram of the pressure force on the mapped area of the three-dimensional pattern is shown. The pressure force is along the direction of the clothing filling toward the surface where the mapped area is located, and the direction of the pressure force is perpendicular to the surface where the mapped area is located, that is, parallel to the normal direction of the mapped area.
[0134] Since the 3D pattern sheet is composed of 3D unit meshes, the mapping area will also consist of multiple 3D unit meshes (such as triangles) forming the surface structure of the pattern sheet and simulating the texture and three-dimensionality of the fabric. During the simulation, the pressure force across the entire mapping area can include the force acting along the normal direction of each vertex of the 3D unit mesh. That is, the pressure force value of the mapping area is used to control the deformation of the entire mapping area during the filling process. Therefore, the pressure force is evenly distributed across the mapping area, meaning it can be evenly distributed across each 3D unit mesh within the mapping area. Each mesh vertex will experience a force acting along its normal direction, ensuring a uniform pressure distribution within the mapping area and avoiding localized overpressure or underpressure, thus more realistically simulating the deformation of the mapping area during the filling process.
[0135] Regarding the aforementioned step S103, updating the first parameter value of the plate force control parameter of the mapped area to the second parameter value, the update based on the pressure force parameter value can be achieved in the following way:
[0136] Upon detecting an attribute editing operation in the mapped area, the attribute editing interface of the mapped area is displayed; the attribute editing interface at least displays a first parameter value of the pressure force; in response to a first modification operation on the first parameter value of the pressure force, a second parameter value corresponding to the first modification operation is received, and the first parameter value of the pressure force on the attribute editing interface is updated to the second parameter value.
[0137] For example, such as Figure 3B The illustration shows an example of an attribute editing interface for modifying the pressure force of a mapped area. In response to a user's interaction with the clothing simulation software, which is an attribute editing operation, the software is triggered to display the attribute editing interface for the mapped area. This interface displays the first parameter value of the pressure force of the mapped area, which is initialized to 0 as shown in the illustration. The user can modify the first parameter value of the pressure force by inputting a pressure value, dragging a slider, or clicking the increase or decrease controls. The modified pressure value is used as the second parameter value, as shown in the illustration, where the modified second parameter value of the pressure force is 10.
[0138] In this embodiment, the user can apply different pressure values to different areas of the 3D plate. By adjusting the pressure values of the mapped areas, the force exerted by the filler on the plate can be precisely controlled, achieving precise control of the filling effect. This optimizes the filling simulation effect and improves the accuracy and realism of the simulation. Simultaneously, the controllability of the pressure allows the user to adjust the filling effect according to actual needs, increasing design flexibility and personalization.
[0139] In some embodiments, the two-dimensional pattern includes an outer fabric pattern and a lining fabric pattern for different garment surfaces at the same garment location; when the same selection area is set on both the outer fabric pattern and the lining fabric pattern, the mapping area on the target three-dimensional pattern includes: a first area mapped by the selection area on the outer fabric pattern and a second area mapped by the selection area on the lining fabric pattern; the pressure force of the first area and the second area is opposite in direction and the same in magnitude.
[0140] In other words, the 2D pattern is the garment pattern drawing in the planar design stage, and can include outer fabric patterns and lining fabric patterns, corresponding to the exterior and interior of the garment to be simulated, respectively. The outer fabric pattern includes the pattern drawing of the fabric used to create the exterior of the garment; this outer fabric pattern is usually visible on the 3D model after being mapped to the 3D pattern, affecting the appearance of the garment. The lining fabric pattern includes the pattern drawing of the fabric used to create the interior of the garment, and is usually not visible on the 3D model. For example, see... Figure 3C The exemplary diagram shows a two-dimensional pattern including an outer fabric pattern and a lining fabric pattern. The outer fabric pattern corresponds to the visible surface ① of the three-dimensional pattern on the right side of the diagram, and the lining fabric pattern corresponds to the opposite surface ② of the visible surface ① on the three-dimensional pattern on the right side. The corresponding mapping areas of the lining fabric pattern and the outer fabric pattern are stitched together to form the filling space of the target three-dimensional pattern.
[0141] Since the selected areas on the outer and inner fabric plates are the same, the two mapped areas on the target 3D plate are positioned opposite each other. Referring to the pressure force diagram of the corresponding mapped areas of the inner and outer fabrics on the 3D plate as exemplarily shown in 3C, the pressure force of the first area mapped by the outer fabric plate is along the direction of the filler towards the first area, while the pressure force of the second area mapped by the inner fabric plate is along the direction of the filler towards the second area. Since the first and second areas are opposite and the pressure force direction is parallel to the normal direction of the mapped area, the pressure forces of the two are opposite and the same in magnitude.
[0142] In this embodiment of the disclosure, by setting the pressure on the pattern pieces opposite to each other and the same magnitude at the same position on the garment surface, the force exerted by the filling material on the pattern pieces during the filling process can be simulated more realistically, making the simulated filling effect more uniform and natural, and avoiding the problem of local overfilling or underfilling.
[0143] In some embodiments, the garment filling simulation is used to simulate the morphological changes of the three-dimensional pattern after adding filling material to the filling space inside the three-dimensional pattern. To realistically reflect the distribution of the filling material in the three-dimensional pattern and its influence on the pattern deformation, the pattern stress control parameters mentioned in step S102 may also include the additional simulated thickness of the mapping region. The additional simulated thickness of the mapping region is positively correlated with the size of the compression space in the three-dimensional pattern, which is the space formed by the garment filling material inside the mapping region. By adjusting the additional simulated thickness of the mapping region, the size of the compression space in the mapping region can be increased, thereby optimizing the filling effect of the mapping region.
[0144] For the aforementioned step S103, updating the first parameter value of the plate stress control parameter of the mapped area to the second parameter value, the parameter value update based on the additional simulated thickness can be achieved in the following way:
[0145] Upon detecting an attribute editing operation of the mapped region, the attribute editing interface of the mapped region is displayed; the attribute editing interface at least displays a first parameter value of the additional simulated thickness; in response to a second modification operation of the first parameter value of the additional simulated thickness, the second parameter value corresponding to the second modification operation is received, and the first parameter value of the additional simulated thickness on the attribute editing interface is updated to the second parameter value.
[0146] For example, such as Figure 4 An exemplary diagram illustrates an attribute editing interface for modifying the additional simulated thickness of a mapped area. In response to a user's interaction with the clothing simulation software, specifically an attribute editing operation, the software is triggered to display the attribute editing interface for the mapped area. This interface displays a first parameter value for the additional simulated thickness of the mapped area. As shown in the diagram, the initial value of the additional simulated thickness (reverse side) is 0. The user can modify the first parameter value of the additional simulated thickness by inputting a thickness value, dragging a slider, or clicking the increase / decrease controls. The modified additional simulated thickness is used as a second parameter value. As shown in the diagram, the second parameter value of the modified additional simulated thickness (reverse side) is 10.
[0147] In some embodiments, the down filling space based on the mapped area is composed of a first area mapped from the outer fabric plate and a second area mapped from the inner fabric plate. When additional simulated thickness modifications are made to either the first or second area, the attribute editing interface can simultaneously display the simulated thickness of both the first and second areas. Users can independently set the simulated thickness of the first and second areas through this attribute editing interface, achieving different simulated thicknesses on the front and back sides of local plates, thereby increasing the compression space between plates to improve the problem of uneven down filling. For example, see... Figure 4The parameters shown include additional simulated thickness (front) and additional simulated thickness (back), which are used to control the additional simulated thickness of different layers at the same garment location.
[0148] In this embodiment of the disclosure, the user can set additional simulated thicknesses for different areas on the three-dimensional plate. By adjusting the simulated thickness value of the mapped area, the size of the filling space (i.e., the compression space) within the mapped area is increased, which to some extent compensates for the influence of gravity. This makes the simulation of the filling effect more delicate and in line with the requirements, improves the uneven filling in the upper part of the thin-on-thick effect, and enhances the realism of the simulation results.
[0149] In some embodiments, fusible interfacing, as an auxiliary material in garment manufacturing, is typically adhered to the back of the fabric. It increases the fabric's stiffness and stability, improves the garment's three-dimensionality and contour lines, and makes the garment more structured and shapely. Therefore, in garment filling simulation, the effect of a thinner top and thicker bottom can also be simulated by adding fusible interfacing to specific areas of the pattern sheet to mimic the stiffening effect of the filling material on the pattern sheet during garment filling. That is, the pattern sheet stress control parameters described in step S102 may also include the fusible interfacing parameters of the mapped area. These parameters describe the physical properties of the fusible interfacing material and its behavior after bonding with the fabric, and include at least the fabric type, and at least one of tensile strength, flexural strength, deformation rate, deformation strength, and weight. For example, the fabric type may include, but is not limited to, non-woven fabric, knitted fabric, and woven fabric.
[0150] Based on this, for the aforementioned step S103 of updating the first parameter value of the plate force control parameter of the mapped area to the second parameter value, the parameter value update for the adhesive parameters of the mapped area can be triggered by the following steps: when an attribute editing operation of the mapped area is detected, the attribute editing interface of the mapped area is displayed; the attribute editing interface displays at least the first parameter value of each adhesive parameter; in response to a third modification operation on the first parameter value of any adhesive parameter, the second parameter value corresponding to the third modification operation is received, and the first parameter value of any adhesive parameter on the attribute editing interface is updated to the second parameter value.
[0151] For example, such as Figure 5The illustration shows an example of an attribute editing interface for modifying the interfacing in a mapped area. In response to a user's interaction with the clothing simulation software, which is an attribute editing operation, the software is triggered to display the attribute editing interface for the mapped area. This interface displays whether interfacing has been added to the mapped area, as well as the interfacing parameters. The user can modify the first parameter value of the interfacing parameters by inputting a thickness value, clicking the add / delete controls, or dragging the slider shown in the illustration, according to the fabric type and characteristics of the selected interfacing. The modified interfacing parameter value is used as the second parameter value (as shown in the illustration).
[0152] Based on the fusible interfacing parameters, including fabric type, users can select the fabric type by clicking the fabric icon. To meet users' needs for personalization and intuitive operation, they can also drag and drop fabric icons to the mapping area to add fusible interfacing and modify its parameters. The fabric icon is a visual element representing physical properties, graphically showcasing the effects of different fabrics, allowing users to intuitively select the desired properties. Each fabric icon has different fusible interfacing parameters. After the user selects a fabric type, the fusible interfacing parameters for that selected fabric type, such as tensile strength, are simultaneously displayed in the attribute editing interface. Users can modify these parameters, and the software receives user input and updates the attribute editing interface display in real time.
[0153] In this embodiment of the disclosure, by precisely setting the bonding parameters, such as fabric type, tensile strength, flexural strength, deformation rate, deformation strength and weight, the effect of the filling material on the pattern after the garment is filled can be simulated more accurately, thereby improving the accuracy of the filling simulation.
[0154] In some embodiments, the mapping of the selected area to the three-dimensional pattern of the garment to be simulated, as described in step S102 above, to obtain the mapped area on the target three-dimensional pattern, can be achieved through the coordinate transformation relationship between the two-dimensional space where the two-dimensional pattern is located and the three-dimensional space where the three-dimensional pattern is located:
[0155] Obtain the two-dimensional coordinate information of the selected area on the two-dimensional plate; convert the two-dimensional coordinate information into three-dimensional coordinate information in the three-dimensional coordinate system where the three-dimensional plate is located according to a preset coordinate transformation method; determine the target three-dimensional plate according to the three-dimensional coordinate information, and determine the mapping area on the target three-dimensional plate corresponding to the selected area.
[0156] That is, firstly, the set of two-dimensional coordinate points of the selected area on the two-dimensional pattern is identified and extracted. This set of two-dimensional coordinate points collectively defines the shape and position of the selected area in two-dimensional space. Next, the coordinate transformation tools or functions built into the clothing simulation software can be used to convert the set of two-dimensional coordinate points into a set of three-dimensional coordinate points in the three-dimensional coordinate system of the three-dimensional pattern in the three-dimensional simulation environment. Finally, based on the converted three-dimensional coordinate point set, the target three-dimensional pattern corresponding to the two-dimensional pattern is found, and the pattern area corresponding to the selected area on the two-dimensional pattern is found as the mapping area to achieve accurate mapping of the selected area from two-dimensional to three-dimensional.
[0157] In this embodiment of the disclosure, by accurately obtaining the two-dimensional coordinate information of the selected area on the two-dimensional plate and converting it into three-dimensional coordinate information in the three-dimensional coordinate system according to the preset coordinate transformation method, the accurate mapping of the selected area in the two-dimensional to three-dimensional space can be ensured, so as to facilitate precise local control of the local area of the three-dimensional plate.
[0158] In some embodiments, the two-dimensional pattern may include an outer fabric pattern and a lining fabric pattern for the same garment location but for different garment surfaces, corresponding to the target three-dimensional pattern including an outer fabric layer and a lining fabric layer; when a selection area is set for the outer fabric pattern, the mapping area on the target three-dimensional pattern includes a first area mapped to the outer fabric layer; when a selection area is set for the lining fabric pattern, the mapping area on the target three-dimensional pattern includes a second area mapped to the lining fabric layer.
[0159] In other words, users can set a selection area only on the outer fabric plate, and the corresponding mapped first area will be a local area on the outer fabric layer of the target 3D plate; or, users can set a selection area only on the inner fabric plate, and the corresponding mapped first area will be a local area on the inner fabric layer of the target 3D plate. Users can flexibly choose to set selection areas only on the outer fabric plate or the inner fabric plate according to their needs, and the local area control on the 3D plate will achieve precise control at different positions based on the different selection areas.
[0160] Based on the need for unified and synchronized processing of different garment layers in a two-dimensional pattern, this application also provides a method for linking and setting selection areas, that is, in response to detecting that a user sets a selection area on a first pattern in the two-dimensional pattern, the selection area is linked and set on a second pattern; wherein, the first pattern includes either an outer fabric pattern or a lining fabric pattern; and the second pattern is any pattern in the two-dimensional pattern other than the first pattern.
[0161] In other words, when a selection area is set on the outer fabric plate, a selection area of the same position and size can be automatically set on the inner fabric plate through this linkage setting method; conversely, when a selection area is set on the inner fabric plate, a selection area of the same position and size can be automatically set on the outer fabric plate through this linkage setting method.
[0162] In the linked setting selection area mode, modifying the parameter values of the plate force control parameters in the mapped area will apply the modified second parameter value to both the first area mapped from the outer fabric area and the second area mapped from the inner fabric area. For more flexible adjustment of the plate force control parameters, a parameter linkage setting on / off mode can be provided. When the parameter linkage setting is off, users can modify the control parameters of either the first or second area separately. In this case, modifications to the plate force control parameters of the first area will not be synchronously applied to the second area.
[0163] This method allows for more convenient implementation of consistent or differentiated local control on both inner and outer fabric plates. For example, when planning to increase hardness and stability in a certain area of the outer fabric plate, a selection area can be set only on the outer fabric plate, and the first area on the outer fabric layer of the target 3D plate can be mapped for corresponding processing. Simultaneously, if the plan is to apply this processing to the inner fabric plate as well, the linkage setting function can be used to automatically set the corresponding selection area on the inner fabric plate and map it to a second area on the inner fabric layer of the target 3D plate.
[0164] In this embodiment of the disclosure, the linkage setting selection area enables linkage and synchronous updating between pattern pieces. Modifications made to one fabric will be reflected in its paired fabric in real time, ensuring consistency and coordination in the processing of inner and outer fabric pattern pieces and improving the efficiency of setting the selection area.
[0165] In some embodiments, users can, without simulating the down filling effect of the garment to be simulated, determine, based on experience, specific areas on a two-dimensional pattern where the down filling effect in the three-dimensional simulation of the garment does not meet expectations and requires local control. After determining the specific areas in this way, in response to simulation commands, a three-dimensional simulation can be performed based on the values of the down filling parameters of the target three-dimensional pattern, the second parameter value of the pattern force control parameters of the mapped area, and the first parameter value of the pattern force control parameters of other areas in the target three-dimensional pattern besides the mapped area, to generate a target three-dimensional model of the garment to be simulated after down filling.
[0166] Regarding the generation of the target 3D model, in some embodiments, before obtaining the selected area, the user can first simulate the initial 3D model of the garment to be simulated after the down filling process based on the down filling parameters set for each 3D pattern. Then, based on the down filling effect presented by the initial 3D model, the selected area on the 2D pattern is determined according to the area that does not meet the expectations. In this way, the local area of the 3D pattern to be processed can be marked on the 3D pattern with a selection box as the mapping area on the target 3D pattern. Alternatively, the local area of the 3D pattern can be mapped to the 2D pattern using a preset coordinate transformation method to obtain the mapping area on the 2D pattern. By modifying the mapping area on the 2D pattern, the final mapping area on the target 3D pattern can be obtained.
[0167] Based on the initial three-dimensional model, in response to the simulation command described in step S204 above, simulation is performed according to the filling parameters and stress control parameters of the target three-dimensional plate. The mapping area in the initial three-dimensional model can be re-simulated according to the second parameter value of the stress control parameters of the mapping area, and the target three-dimensional model is generated by replacing the re-simulation results.
[0168] In other words, while resimulating the mapped region, the simulation results of the parts of the initial 3D model that have not undergone parameter modification can be retained. Through coordinate transformation, spatial matching, and other methods, the resimulated mapped region can be combined with the unmodified parts of the initial 3D model, allowing the newly generated mapping to seamlessly integrate into the initial 3D model, generating a target 3D model that includes the modified mapped region. Alternatively, the simulation results can be resimulated in the mapped region where parameters have been modified, directly replacing the original simulation effect in the initial 3D model that represents the same 3D plate region as the mapped region.
[0169] Regarding the initial three-dimensional model, it can also be simulated based on the first parameter value of the down filling parameters and the stress control parameters of the target three-dimensional pattern to generate the initial three-dimensional model of the garment to be simulated after down filling.
[0170] In this embodiment of the disclosure, by resimulating only the mapping units whose parameters have been modified, and then replacing the simulation results, the target three-dimensional model of the garment to be simulated is generated. This avoids the need to resimulate the entire three-dimensional model, saves computing resources and time, and improves the system's response speed and efficiency.
[0171] In the aforementioned embodiments, if the filled effect in the mapped area of the generated target 3D model still does not meet expectations, the simulation can be repeated by modifying the stress control parameters of the mapped area. To improve processing efficiency, this embodiment proposes a simulation method based on a real-time simulation preview mode. In the real-time simulation preview mode, in response to the modification operation of the control parameters of the mapped area, the first parameter value of the stress control parameters of the mapped area is updated to the second parameter value. Simultaneously, the garment simulation software is triggered to generate a 3D simulation effect preview of the mapped area or the target 3D pattern based on the second parameter value of the stress control parameters of the mapped area, and the interactive page of the garment simulation software is displayed. If the user confirms that the 3D simulation effect meets expectations, the stress control parameters of the mapped area when it meets expectations are determined as the second parameter value, and the first parameter value is updated. In response to the simulation command, the simulation is performed based on the filled parameters and stress control parameters of the target 3D pattern to generate the target 3D model of the garment to be simulated after the filled effect.
[0172] In this embodiment, the 3D simulation preview allows users to instantly see the degree of filling effect correction when the stress control parameters of the mapped area are modified. This facilitates rapid adjustment of the stress control parameters, reduces unnecessary global simulation calculations, effectively saves computing resources, and lowers operating costs. Furthermore, since the 3D filling simulation is performed only on the mapped area or target 3D plate where parameter modifications occur, the overall computational load of the software is significantly reduced through local simulation, maintaining a smooth real-time preview experience.
[0173] In some embodiments, if the target 3D model meets the expected down filling effect, the down filling parameters of the mapped area can be adjusted according to the plate stress control parameters of the mapped area. For example, a new down filling density or down filling amount can be calculated based on the pressure stress and plate area of the mapped area. This method allows for local adjustment of the down filling amount, enabling more rational allocation of down filling material and optimizing overfilling or underfilling issues.
[0174] Corresponding to the aforementioned embodiments of the clothing simulation method, see [link to relevant documentation]. Figure 6 As shown, this application also provides an embodiment of a clothing simulation device applied to clothing simulation software, the device comprising:
[0175] The selection area setting module 601 is used to obtain the selection area selected by the area selection operation based on the area selection operation for the two-dimensional pattern of the garment to be simulated.
[0176] The region mapping module 602 is used to map the selected region to the three-dimensional pattern of the garment to be simulated, thereby obtaining a mapped region on the target three-dimensional pattern; the target three-dimensional pattern has filling parameters and pattern stress control parameters; the filling parameters are used to define and control the distribution of garment filling material in the target three-dimensional pattern; the pattern stress control parameters are used to control the deformation behavior of the target three-dimensional pattern during the filling process;
[0177] The force control parameter update module 603 is used to update the first parameter value of the plate force control parameter of the mapped area to the second parameter value in response to the control parameter modification operation for the mapped area.
[0178] The three-dimensional simulation module 604 is used to respond to simulation commands and perform simulation based on the down filling parameters and stress control parameters of the target three-dimensional pattern to generate a target three-dimensional model of the garment to be simulated after down filling.
[0179] In some embodiments, the plate stress control parameters include the pressure force on the mapped area; the pressure force is used to simulate the force exerted by the clothing filling on the mapped area; the stress control parameter update module is specifically used for:
[0180] Upon detecting an attribute editing operation in the mapped region, the attribute editing interface of the mapped region is displayed; the attribute editing interface at least displays the first parameter value of the pressure force.
[0181] In response to a first modification operation on the first parameter value of the pressure force, the system receives a second parameter value corresponding to the first modification operation and updates the first parameter value of the pressure force on the attribute editing interface to the second parameter value.
[0182] In some embodiments, the two-dimensional pattern includes an outer fabric pattern and a lining fabric pattern for the same garment location but for different garment surfaces; when the same selection area is set on both the outer fabric pattern and the lining fabric pattern, the mapping area on the target three-dimensional pattern includes: a first area mapped to the selection area on the outer fabric pattern and a second area mapped to the selection area on the lining fabric pattern.
[0183] The pressure in the first region and the second region are in opposite directions but of the same magnitude.
[0184] In some embodiments, the mapping region is composed of multiple three-dimensional cell meshes; during the simulation, the pressure force includes a force acting along the normal direction of the vertex of each three-dimensional cell mesh.
[0185] In some embodiments, the pressure force is an action from the clothing filling toward the mapping area along the normal direction; the normal direction refers to the direction perpendicular to the surface where the mapping area is located.
[0186] In some embodiments, the plate stress control parameters further include an additional simulated thickness of the mapped region; the stress control parameter update module is specifically used for:
[0187] Upon detecting an attribute editing operation on the mapped region, the attribute editing interface of the mapped region is displayed; the attribute editing interface at least displays a first parameter value of the additional simulated thickness;
[0188] In response to a second modification operation on the first parameter value of the additional simulated thickness, the system receives the second parameter value corresponding to the second modification operation and updates the first parameter value of the additional simulated thickness on the attribute editing interface to the second parameter value.
[0189] In some embodiments, the plate stress control parameters further include the bonding parameters of the mapped area; the bonding parameters include at least the fabric type, and at least one of tensile strength, flexural strength, deformation rate, deformation strength, and basis weight; the stress control parameter update module is specifically used for:
[0190] Upon detecting an attribute editing operation on the mapped region, the attribute editing interface of the mapped region is displayed; the attribute editing interface displays at least the first parameter value of each adhesive parameter;
[0191] In response to a third modification operation on the first parameter value of any adhesive parameter, the system receives the second parameter value corresponding to the third modification operation and updates the first parameter value of any adhesive parameter on the attribute editing interface to the second parameter value.
[0192] In some embodiments, the force control parameter update module is specifically used for:
[0193] In real-time simulation preview mode, in response to the control parameter modification operation for the mapped area, a 3D simulation effect preview is generated for the mapped area or target 3D plate according to the current modified parameter in the control parameter modification operation.
[0194] If the three-dimensional simulation effect meets expectations, the value of the plate force control parameter of the mapping area used for the three-dimensional simulation of the mapping area or target three-dimensional plate when it meets expectations is determined as the second parameter value;
[0195] Update the first parameter value of the plate force control parameter of the mapped area to the second parameter value.
[0196] In some embodiments, the region mapping module is specifically used for:
[0197] Obtain the two-dimensional coordinate information of the selected area on the two-dimensional plate;
[0198] According to a preset coordinate transformation method, the two-dimensional coordinate information is converted into three-dimensional coordinate information in the three-dimensional coordinate system where the three-dimensional plate is located;
[0199] The target 3D plate is determined based on the 3D coordinate information, and the mapping area on the target 3D plate corresponding to the selected area is determined.
[0200] In some embodiments, the two-dimensional pattern includes an outer fabric pattern and a lining fabric pattern for the same garment location but for different garment surfaces, and the target three-dimensional pattern includes an outer fabric layer and a lining fabric layer.
[0201] When a selection area is set for the outer fabric plate, the mapping area on the target three-dimensional plate includes a first area mapped to the outer fabric layer; when a selection area is set for the inner fabric plate, the mapping area on the target three-dimensional plate includes a second area mapped to the inner fabric layer.
[0202] In some embodiments, the apparatus further includes:
[0203] In response to detecting that a user sets a selection area on the first plate of the two-dimensional plate, the selection area is linked to be set on the second plate;
[0204] The first pattern sheet includes either an outer fabric pattern sheet or an inner fabric pattern sheet; the second pattern sheet is any pattern sheet other than the first pattern sheet in the two-dimensional pattern sheet.
[0205] In some embodiments, the apparatus further includes:
[0206] Before obtaining the selected area, a simulation is performed based on the first parameter value of the down filling parameters and the stress control parameters of the target three-dimensional pattern to generate an initial three-dimensional model of the garment to be simulated after down filling.
[0207] The simulation, performed in response to the simulation command, is based on the filling parameters and stress control parameters of the target three-dimensional plate, including:
[0208] Based on the second parameter value of the plate stress control parameter of the mapped area, the mapped area in the initial three-dimensional model is re-simulated to generate the target three-dimensional model.
[0209] The specific implementation process of the functions and roles of each unit in the above device can be found in the implementation process of the corresponding steps in the above method, and will not be repeated here.
[0210] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this application according to actual needs. Those skilled in the art can understand and implement this without any inventive effort.
[0211] This application also provides an electronic device, the structural schematic diagram of which is shown below. Figure 7 As shown, the electronic device 700 includes at least one processor 701, a memory 702, and a bus 703. At least one processor 701 is electrically connected to the memory 702. The memory 702 is configured to store at least one computer-executable instruction, and the processor 701 is configured to execute the at least one computer-executable instruction to perform the steps of any clothing simulation method provided in any embodiment or optional implementation of this application.
[0212] Furthermore, the processor 701 can be an FPGA (Field-Programmable Gate Array) or other devices with logic processing capabilities, such as an MCU (Microcontroller Unit) or a CPU (Central Processing Unit).
[0213] This application also provides another readable storage medium storing a computer program that, when executed by a processor, implements the steps of any clothing simulation method provided in any embodiment or optional implementation of this application.
[0214] The readable storage media provided in this application include, but are not limited to, any type of disk (including floppy disk, hard disk, optical disk, CD-ROM, and magneto-optical disk), ROM (Read-Only Memory), RAM (Random Access Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic cards, or optical cards. In other words, the readable storage media includes any medium by which a device (e.g., a computer) stores or transmits information in a readable form.
[0215] Thus, specific embodiments of the subject matter have been described. Other embodiments are within the scope of the appended claims. In some cases, the actions recited in the claims may be performed in a different order and still achieve the desired result. Furthermore, the processes depicted in the drawings are not necessarily shown in a specific order or sequence to achieve the desired result. In some implementations, multitasking and parallel processing may be advantageous.
[0216] While this specification contains numerous specific implementation details, these should not be construed as limiting the scope of any invention or the scope of the claims, but rather are primarily intended to describe features of specific embodiments of a particular invention. Certain features described in the various embodiments herein may also be implemented in combination in a single embodiment. Conversely, various features described in a single embodiment may also be implemented separately in various embodiments or in any suitable sub-combination. Furthermore, while features may function in certain combinations as described above and even initially claimed in this way, one or more features from a claimed combination may be removed from that combination in some cases, and a claimed combination may refer to a sub-combination or a variation thereof.
[0217] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.
Claims
1. A method for simulating clothing, characterized in that, The method, applied to clothing simulation software, includes: Based on the region selection operation for the two-dimensional pattern of the garment to be simulated, obtain the selected region selected by the region selection operation; The selected area is mapped onto the three-dimensional pattern of the garment to be simulated to obtain the mapped area on the target three-dimensional pattern; the target three-dimensional pattern has filling parameters and pattern stress control parameters; the filling parameters are used to define and control the distribution of garment filling in the target three-dimensional pattern; the pattern stress control parameters are used to control the deformation behavior of the mapped area during the filling process; In response to the control parameter modification operation for the mapped region, the first parameter value of the plate force control parameter of the mapped region is updated to the second parameter value; In response to the simulation command, the target three-dimensional pattern is simulated based on the down filling parameters and the stress control parameters of the target three-dimensional pattern to generate the target three-dimensional model of the garment to be simulated after down filling.
2. The method according to claim 1, characterized in that, The stress control parameters of the pattern include the pressure force on the mapped area; the pressure force is used to simulate the force exerted by the clothing filling on the mapped area. The step of updating the first parameter value of the plate force control parameter of the mapped region to a second parameter value in response to the control parameter modification operation for the mapped region includes: Upon detecting an attribute editing operation in the mapped region, the attribute editing interface of the mapped region is displayed; the attribute editing interface at least displays the first parameter value of the pressure force. In response to a first modification operation on the first parameter value of the pressure force, the system receives a second parameter value corresponding to the first modification operation and updates the first parameter value of the pressure force on the attribute editing interface to the second parameter value.
3. The method according to claim 2, characterized in that, The two-dimensional pattern includes an outer fabric pattern and a lining fabric pattern for the same garment location but for different garment surfaces. When the same selection area is set on both the outer fabric plate and the inner fabric plate, the mapping area on the target three-dimensional plate includes: a first area mapped by the selection area on the outer fabric plate, and a second area mapped by the selection area on the inner fabric plate. The pressure in the first region and the second region are in opposite directions but of the same magnitude.
4. The method according to claim 2, characterized in that, The mapping region is composed of multiple three-dimensional cell meshes; during the simulation, the pressure force includes the force acting along the normal direction of the vertex of each three-dimensional cell mesh.
5. The method according to any one of claims 2-4, characterized in that, The pressure force is an action from the clothing filling toward the mapping area along the normal direction; the normal direction refers to the direction perpendicular to the surface where the mapping area is located.
6. The method according to claim 1, characterized in that, The plate stress control parameters also include the additional simulated thickness of the mapping area; The step of updating the first parameter value of the plate force control parameter of the mapped region to a second parameter value in response to the control parameter modification operation for the mapped region includes: Upon detecting an attribute editing operation on the mapped region, the attribute editing interface of the mapped region is displayed; the attribute editing interface at least displays a first parameter value of the additional simulated thickness; In response to a second modification operation on the first parameter value of the additional simulated thickness, the system receives the second parameter value corresponding to the second modification operation and updates the first parameter value of the additional simulated thickness on the attribute editing interface to the second parameter value.
7. The method according to claim 1, characterized in that, The plate stress control parameters also include the bonding parameters of the mapping area; the bonding parameters include at least the fabric type, and at least one of tensile strength, flexural strength, deformation rate, deformation strength, and basis weight; The step of updating the first parameter value of the plate force control parameter of the mapped region to a second parameter value in response to the control parameter modification operation for the mapped region includes: Upon detecting an attribute editing operation on the mapped region, the attribute editing interface of the mapped region is displayed; the attribute editing interface displays at least the first parameter value of each adhesive parameter; In response to a third modification operation on the first parameter value of any adhesive parameter, the system receives the second parameter value corresponding to the third modification operation and updates the first parameter value of any adhesive parameter on the attribute editing interface to the second parameter value.
8. The method according to claim 1, characterized in that, The step of updating the first parameter value of the plate stress control parameter of the mapped area to the second parameter value includes: In real-time simulation preview mode, in response to the control parameter modification operation for the mapped area, a 3D simulation effect preview is generated for the mapped area or target 3D plate according to the current modified parameter in the control parameter modification operation. If the three-dimensional simulation effect preview meets expectations, the value of the plate force control parameter of the mapping area used for the three-dimensional simulation of the mapping area or target three-dimensional plate when it meets expectations is determined as the second parameter value; Update the first parameter value of the plate force control parameter of the mapped area to the second parameter value.
9. The method according to claim 1, characterized in that, The step of mapping the selected area onto the 3D pattern of the garment to be simulated to obtain the mapped area on the target 3D pattern includes: Obtain the two-dimensional coordinate information of the selected area on the two-dimensional plate; According to a preset coordinate transformation method, the two-dimensional coordinate information is converted into three-dimensional coordinate information in the three-dimensional coordinate system where the three-dimensional plate is located; The target 3D plate is determined based on the 3D coordinate information, and the mapping area on the target 3D plate corresponding to the selected area is determined.
10. The method according to claim 1, characterized in that, The two-dimensional pattern includes an outer fabric pattern and a lining fabric pattern for the same garment location but for different garment surfaces, and the target three-dimensional pattern includes an outer fabric layer and a lining fabric layer. When a selection area is set for the outer fabric plate, the mapping area on the target three-dimensional plate includes a first area mapped to the outer fabric layer; When a selection area is set for the lining plate, the mapping area on the target 3D plate includes a second area mapped to the lining layer.
11. The method according to claim 10, characterized in that, The method further includes: In response to detecting that a user sets a selection area on the first plate of the two-dimensional plate, the selection area is linked to be set on the second plate; The first pattern sheet includes either an outer fabric pattern sheet or an inner fabric pattern sheet; the second pattern sheet is any pattern sheet other than the first pattern sheet in the two-dimensional pattern sheet.
12. The method according to claim 1, characterized in that, The method further includes: Before obtaining the selected area, a simulation is performed based on the first parameter value of the down filling parameters and the stress control parameters of the target three-dimensional pattern to generate an initial three-dimensional model of the garment to be simulated after down filling. The simulation, performed in response to the simulation command, is based on the filling parameters and stress control parameters of the target three-dimensional plate, including: Based on the second parameter value of the plate stress control parameter of the mapped area, the mapped area in the initial three-dimensional model is re-simulated to generate the target three-dimensional model.
13. A clothing simulation device, characterized in that, The device, used in clothing simulation software, includes: The selection area setting module is used to obtain the selection area selected by the area selection operation based on the area selection operation of the two-dimensional pattern of the garment to be simulated; The region mapping module is used to map the selected region to the three-dimensional pattern of the garment to be simulated, thereby obtaining the mapped region on the target three-dimensional pattern; the target three-dimensional pattern has filling parameters and pattern stress control parameters; the filling parameters are used to define and control the distribution of garment filling material in the target three-dimensional pattern; the pattern stress control parameters are used to control the deformation behavior of the target three-dimensional pattern during the filling process; The force control parameter update module is used to update the first parameter value of the plate force control parameter of the mapping area to the second parameter value in response to the control parameter modification operation for the mapping area. The three-dimensional simulation module is used to respond to simulation commands and perform simulations based on the down filling parameters and stress control parameters of the target three-dimensional pattern to generate a target three-dimensional model of the garment to be simulated after down filling.
14. An electronic device, characterized in that, include: Memory, processor; The memory is used to store computer programs; The processor is configured to invoke the computer program to implement the method as described in any one of claims 1-12.
15. A readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1-12.