Down jacket simulation method, electronic device, storage medium, and computer program product
By setting up an inner liner for the down jacket model's down filling cavity and configuring the support force, and performing physical simulations on the inner liner built with plates and the double-layer fabric filling the down jacket cavity, this solves the problem of being unable to obtain realistic simulation effects in the existing technology, and achieves It provides a more realistic down jacket simulation effect and natural wrinkle simulation.
Patent Information
- Application Number
- CN202410842859.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-06-27
AI Technical Summary
The existing technology cannot achieve a realistic down jacket simulation effect. Solutions based on surface pressure, flexible body or particle filling, and middle layer virtual fabric all have shortcomings and cannot effectively simulate the fabric support and wrinkle effect after down filling.
By setting an inner bladder for each down filling cavity of the down jacket model and configuring the support force for the inner bladder, the surface pressure, support spring and collision thickness are used to simulate the support effect of the down filling cavity, and the inner bladder and down filling cavity constructed by combining the plates are Perform physical simulation on the double-layer fabric, limit the sliding range of the liner and configure quality data for collision detection and filtering.
It achieves a more realistic down jacket simulation effect, avoids rotation and distortion phenomena that do not conform to physical characteristics, reduces the difficulty of simulation, and can naturally simulate the wrinkle effect caused by the irregular distribution of down fillers.
Smart Images

Figure CN118428107B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of simulation technology, and in particular to a down jacket simulation method and electronic equipment, a computer-readable storage medium, and a computer program product. Background Art
[0002] In the simulation process of down jackets, it is necessary to simulate the effect of filling down into double-layer fabric and supporting the fabric. Since down and fabric are two different physical materials, the simulation method of fabric cannot be used to simulate down. In related schemes, the effect of down filling can be simulated by a scheme based on surface pressure, a scheme based on flexible body or particle filler, or a scheme based on middle layer virtual fabric.
[0003] However, no matter which relevant scheme is used, it is impossible to obtain a more realistic simulation effect, and a more reasonable simulation scheme is urgently needed. Summary of the invention
[0004] The purpose of the embodiments of the present disclosure is to provide a down jacket simulation method and electronic equipment, storage medium, and computer program product, so as to achieve a more realistic down jacket simulation effect.
[0005] In one aspect, the present disclosure provides a down jacket simulation method, comprising:
[0006] For each filling cavity of the down jacket model, in response to a plate editing instruction for the filling cavity, a first plate and a second plate are generated, and edge vertices of the first plate and the second plate are associated to obtain an inner liner of the filling cavity;
[0007] In response to the support configuration instruction for each liner, each liner is configured so that each liner provides support force for the filling cavity in which it is located;
[0008] The down jacket model with an inner liner arranged in the down filling cavity is simulated.
[0009] In one embodiment, in response to the support configuration instruction for each liner, configuring each liner includes:
[0010] In response to the support configuration instruction for each inner liner, a surface pressure is configured on the outer surface of the inner liner; wherein the direction of the surface pressure is the normal direction of the outer surface of the inner liner at the surface pressure position, and the magnitude of the surface pressure is a preset value.
[0011] In one embodiment, in response to the support configuration instruction for each liner, configuring each liner includes:
[0012] In response to the support configuration instructions for each inner liner, a plurality of support springs are arranged between the inner surfaces of the first plate and the second plate of the inner liner; wherein the direction of each support spring is the normal direction of the center position of the inner surface of the first plate and the second plate.
[0013] In one embodiment, in response to the support configuration instruction for each liner, configuring each liner includes:
[0014] In response to the support configuration instructions for each liner, a collision thickness is set between inner surfaces of the first plate and the second plate of the liner.
[0015] In one embodiment, the method further comprises:
[0016] In response to the restraint instruction for each inner liner, a restraint spring is arranged in the inner liner and the filling cavity where the inner liner is located, so as to limit the sliding range of the inner liner in the filling cavity.
[0017] In one embodiment, the simulating of the down jacket model with the inner liner arranged in the filling cavity includes:
[0018] During the simulation of the down jacket model, collision detection is performed to obtain detection results;
[0019] Filter out the specified point-face pairs and the specified edge-edge pairs from the detection results; wherein the midpoint and the face of the specified point-face pairs are from the same plate of the same liner, and the edges of the specified edge-edge pairs are from the same plate of the same liner;
[0020] The simulation results are updated based on the filtered detection results.
[0021] In one embodiment, the method further comprises:
[0022] In response to the quality configuration instruction for each liner, corresponding quality data is configured for each liner.
[0023] In another aspect, the present disclosure provides an electronic device, the electronic device comprising:
[0024] processor;
[0025] a memory for storing processor-executable instructions;
[0026] Wherein, the processor is configured to execute the above-mentioned down jacket simulation method.
[0027] In addition, the present disclosure provides a computer-readable storage medium, which stores a computer program. The computer program can be executed by a processor to complete the above-mentioned down jacket simulation method.
[0028] In addition, the present disclosure provides a computer program product, including a computer program / instruction, which implements the above-mentioned down jacket simulation method when executed by a processor.
[0029] In the present disclosure, when simulating a down jacket, an inner liner can be provided for each filling cavity of the down jacket model, and a supporting force can be configured for the inner liner, so that each inner liner can provide a supporting force to the filling cavity where it is located, thereby achieving the effect of the fabric being propped up during the simulation of the down jacket model. Since the supporting force is provided to the filling cavity by the inner liner, rather than directly setting the surface pressure on the outer surface of the filling cavity, the distribution of the supporting force is closer to the supporting effect produced by the actual filling, avoiding the balloon that is bulging after the support, thereby obtaining a better simulation effect. Since the inner liner is tightly sewn, the surface pressure applied to the inner liner can ensure the conservation of momentum, and no rotation and distortion phenomena that do not conform to physical properties will occur during the simulation process. In addition, since the inner liner is constructed by plates, the double-layer fabric of the inner liner and the filling cavity can be physically simulated in the same fabric simulation system, which greatly reduces the simulation difficulty compared to the flexible body or particle filler solution. In addition, since there is a gap between the inner liner and the double-layer fabric of the filling cavity, the fabric at the seam of the filling cavity can be more naturally deformed. Since the shape of the liner can be freely customized, it can better simulate the random wrinkle effect caused by the irregular distribution of down filling. Therefore, this solution can obtain a more realistic down jacket simulation effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solution of the embodiments of the present disclosure, the drawings required to be used in the embodiments of the present disclosure are briefly introduced below.
[0031] Figure 1 A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure;
[0032] Figure 2 A schematic diagram of a process of a down jacket simulation method provided by an embodiment of the present disclosure;
[0033] Figure 3 A schematic diagram of a plate of an inner container provided in an embodiment of the present disclosure;
[0034] Figure 4 A schematic diagram of an inner tank configuration provided by an embodiment of the present disclosure;
[0035] Figure 5 A schematic diagram of an inner container configuration provided by another embodiment of the present disclosure;
[0036] Figure 6 A schematic diagram of an inner tank configuration provided by yet another embodiment of the present disclosure;
[0037] Figure 7A schematic diagram of setting constraints for an inner liner provided in an embodiment of the present disclosure;
[0038] Figure 8 A block diagram of a down jacket simulation device provided in one embodiment of the present disclosure. DETAILED DESCRIPTION
[0039] The technical solutions in the embodiments of the present disclosure will be described below in conjunction with the accompanying drawings in the embodiments of the present disclosure.
[0040] Similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of the present disclosure, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0041] Among the related schemes, the scheme based on surface pressure is based on the principle that due to the limitation of the filling cavity space of the down jacket, the down filled in the double-layer fabric will be compressed by the fabric, thus exerting opposite pressure on the fabric. The fabric will be subjected to outward pressure from the down. In the process of fabric simulation based on physical properties, equal and opposite pressures can be applied to the double-layer fabric. Under the action of outward pressure, the double-layer fabric will separate from each other, but they cannot be completely separated due to the restraint of the boundary stitching force, and finally form an effect similar to the bulging of fabric on a real down jacket. The scheme based on flexible bodies or particle fillers can model the down filling through flexible bodies or a large number of particles with volume, so as to achieve the effect of the down filling supporting the fabric. The scheme based on the middle layer virtual fabric can add a virtual fabric to the double-layer fabric. The virtual fabric has a large thickness and can play a role in supporting the double-layer fabric.
[0042] However, each of the aforementioned solutions has its own flaws. In the solution based on surface pressure, since each vertex on the surface of the double-layer fabric is subjected to a consistent outward pressure, the resulting bulging effect is more like an inflated balloon than a down jacket filled with down. At the seams of the double-layer fabric in the filling cavity, since there is no pressure from the down filler, the wrinkle effect at the seams is far from the wrinkle of a real down jacket. In addition, the solution based on surface pressure makes the fabric surface of the down jacket too smooth, and it is impossible to show the wrinkle effect caused by the uneven distribution of the down filler. In addition, this solution forces the mass of the down filler to be distributed to the double-layer fabric of the down jacket, changing the physical properties of the fabric itself, thereby affecting the physical simulation effect of the fabric.
[0043] Solutions based on flexible bodies or particle fillers require physical simulation of cloth and flexible bodies or particles through the same simulation system (the simulation system refers to the physical simulation method of physical properties, not simulation software), which is extremely difficult. In addition, the geometric collision processing between different types of physical materials will be very unstable, and it is easy for flexible bodies or particles to penetrate double layers of cloth, resulting in abnormal simulation effects.
[0044] Based on the solution of the middle layer of virtual cloth, a unified cloth simulator can be used to simulate the down jacket, and the penetration problem can be avoided by sewing the virtual cloth and the double layer of cloth. In addition, compared with the solution based on surface pressure, the mass of the down filling can be allocated to the virtual cloth. However, in order to make the virtual cloth have a strong supporting effect, the virtual cloth needs to be given a very large thickness. In this case, the seams of the double layer of cloth will receive a strong repulsive force, resulting in very unsatisfactory wrinkling effect at the seams. In addition, the large cloth thickness will bring very large side effects and burdens to the collision processing during the simulation process.
[0045] It can be seen that the relevant solutions all have defects in different aspects and cannot obtain a true down jacket simulation effect.
[0046] like Figure 1 As shown, this embodiment provides an electronic device 1, including: at least one processor 11 and a memory 12, Figure 1 A processor 11 is taken as an example. The processor 11 and the memory 12 are connected via a bus 10. The memory 12 stores instructions that can be executed by the processor 11. The instructions are executed by the processor 11 so that the electronic device 1 can execute all or part of the process of the method in the following embodiment. In one embodiment, the electronic device 1 can be a host, a server, a server cluster or a cloud computing center, which is used to execute the down jacket simulation method.
[0047] The memory 12 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable red-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.
[0048] The present disclosure also provides a computer-readable storage medium, which stores a computer program. The computer program can be executed by the processor 11 to complete the down jacket simulation method provided by the present disclosure.
[0049] See also Figure 2 , is a flow chart of a down jacket simulation method provided by an embodiment of the present disclosure, such as Figure 2 As shown, the method may include the following steps 210 to 230.
[0050] Step 210: For each filling cavity of the down jacket model, in response to a plate editing instruction for the filling cavity, a first plate and a second plate are generated, and edge vertices of the first plate and the second plate are associated to obtain an inner liner of the filling cavity.
[0051] The down jacket model is provided with a plurality of filling cavities, and the number and distribution of the filling cavities are determined according to the design of the down jacket model.
[0052] The Pattern Editing command is used to edit the shape, size, and stitching method of the Patterns used to construct the liner of the filling cavity.
[0053] In response to a plate editing instruction for any filling cavity, a first plate and a second plate can be generated, wherein the two surfaces of the first plate are the inner surface and the outer surface of the liner respectively, and the two surfaces of the second plate are the inner surface and the outer surface of the liner respectively, wherein the inner surface is the surface located inside the liner, and the outer surface is the surface located outside the liner.
[0054] See also Figure 3 , is a schematic diagram of a plate of an inner liner provided in an embodiment of the present disclosure, such as Figure 3 As shown, the left side is the first plate, and the right side is the second plate. Both the first plate and the second plate are composed of a plurality of grids. Figure 3 The mesh polygons that make up the plate are triangular meshes. In practical applications, the mesh polygons that make up the plate can also be other polygons, such as quadrilaterals, pentagons, etc.
[0055] After obtaining the first plate and the second plate, the edge vertices of the first plate can be associated with the edge vertices of the second plate, so as to achieve the sewing process of the first plate and the second plate to obtain the liner. Here, the edge vertices are the vertices of the polygons on the plate outline boundary, and any edge vertex of the first plate is associated with any edge vertex of the second plate, indicating that the two edge vertices are sewn together. When multiple edge vertices of the first plate distributed on the entire outline boundary are associated with multiple edge vertices of the second plate distributed on the entire outline boundary, the first plate and the second plate are sewn into a closed liner.
[0056] Step 220: In response to the support configuration instruction for each inner liner, each inner liner is configured so that each inner liner provides support force for the filling cavity in which it is located.
[0057] Among them, the support configuration instruction is used to configure the inner liner accordingly so that the inner liner can provide supporting force.
[0058] Since the size and position of the filling cavity of each liner are different, the support configuration instructions corresponding to each liner can be different, so that different support forces are configured for different liners to accurately simulate the actual filling effect of the down jacket.
[0059] In one embodiment, the support configuration instructions instruct to configure a surface pressure on an outer surface of the liner.
[0060] When executing step 220, the surface pressure can be configured on the outer surface of each liner in response to the support configuration instruction for each liner. The direction of the surface pressure is the normal direction of the outer surface of the liner at the surface pressure position. In other words, each part of the outer surface has a surface pressure in the normal direction of the part. The magnitude of the surface pressure is a preset value. In one embodiment, the magnitude of the surface pressure can be an empirical value, or the magnitude of the surface pressure can be converted according to the volume of the liner and the filling amount to be simulated.
[0061] See also Figure 4 , is a schematic diagram of the inner tank configuration provided by an embodiment of the present disclosure, such as Figure 4 As shown, the outer ellipse represents the filling cavity, the inner ellipse represents the inner liner, and surface pressure is provided at various positions on the outer surface of the inner liner. The surface pressure acts on the inner surface of the filling cavity, thereby achieving a supporting effect on the filling cavity.
[0062] The surface pressure at each location can be expressed as f=p*N, where p is the pressure and N is the unit normal of the polygon vertex where the surface pressure is located.
[0063] In one embodiment, the support configuration instructions indicate that a plurality of support springs are disposed inside the inner container.
[0064] When executing step 220, a plurality of support springs may be arranged between the inner surfaces of the first plate and the second plate of each liner in response to the support configuration instruction for the liner, wherein the direction of each support spring is the normal direction of the center position of the inner surface of the first plate and the second plate.
[0065] See also Figure 5 , is a schematic diagram of an inner tank configuration provided by another embodiment of the present disclosure, such as Figure 5As shown, the outer ellipse represents the filling cavity, and the inner ellipse represents the inner liner. A plurality of support springs are arranged between the inner surfaces of the first plate and the second plate of the inner liner. The positions of the support springs can be obtained by uniformly sampling on the plates, so that the support springs arranged on the plates are distributed more evenly, so that each position of the entire inner liner can uniformly provide support force outward. The position of any support spring can be determined by the grid on the first plate and the grid on the second plate, and these two grids are the positions where the two ends of the support spring are placed.
[0066] After the support spring is provided, the support force generated by the deformation of the inner container can be limited by using Hooke's law corresponding to the support spring.
[0067] In one embodiment, the configuration instruction is supported to instruct setting the collision thickness inside the inner liner, and the collision thickness can be a configuration item inside the simulation software.
[0068] When executing step 220, a collision thickness may be set between inner surfaces of the first plate and the second plate of each inner liner in response to the support configuration instruction for the inner liner.
[0069] See also Figure 6 , is a schematic diagram of an inner tank configuration provided by another embodiment of the present disclosure, such as Figure 6 As shown, the outer ellipse represents the filling cavity, and the inner ellipse represents the inner liner. After the collision thickness is set between the first plate and the second plate of the inner liner, the first plate and the second plate will be naturally stretched apart. The distance between the first plate and the second plate is twice the collision thickness.
[0070] In one embodiment, the collision thickness at each position between the first plate and the second plate may be consistent. In one embodiment, the collision thickness at each position between the first plate and the second plate may be different. For example, the collision thickness at the center position is the largest, and the collision thickness is smaller as it approaches the edge position.
[0071] By setting a collision thickness between the two plates of the inner liner, the inner liner can be expanded to provide support for the outer filling cavity.
[0072] Step 230: Simulate the down jacket model with the liner arranged in the filling cavity.
[0073] After linings are respectively provided in each filling cavity of the down jacket model, the down jacket model provided with multiple linings can be simulated, for example, simulating the movement of the down jacket when the model walks.
[0074] Through the above measures, when simulating a down jacket, an inner liner can be set for each filling cavity of the down jacket model, and a supporting force can be configured for the inner liner, so that each inner liner can provide supporting force to the filling cavity where it is located, thereby achieving the effect of the fabric being propped up during the simulation of the down jacket model. Since the supporting force is provided to the filling cavity by the inner liner instead of directly setting the surface pressure on the outer surface of the filling cavity, the distribution of the supporting force is closer to the supporting effect produced by the actual filling, avoiding the balloon-like inflated shape after support, thereby obtaining a better simulation effect. Since the inner liner is tightly sewn, the surface pressure applied to the inner liner can ensure the conservation of momentum, and no rotation and distortion phenomena that do not conform to physical properties will occur during the simulation process. In addition, since the inner liner is constructed of plates, the double-layer fabric of the inner liner and the filling cavity can be physically simulated in the same fabric simulation system, which greatly reduces the simulation difficulty compared to the flexible body or particle filler solution. In addition, since there is a gap between the inner liner and the double-layer fabric of the filling cavity, and the shape of the inner liner can be freely customized, the surface of the double-layer fabric is prevented from being too smooth, and the random wrinkle effect caused by the irregular distribution of the down filling can be better simulated, and the fabric at the seam of the filling cavity can be deformed more naturally. Therefore, this solution can obtain a more realistic down jacket simulation effect.
[0075] In one embodiment, after the inner liner is set for each filling cavity, a constraint spring can be set in the inner liner and the filling cavity in response to a constraint instruction for each inner liner to limit the sliding range of the inner liner in the filling cavity. The constraint instruction is used to indicate the establishment of constraint conditions for the inner liner.
[0076] See also Figure 7 , which is a schematic diagram of setting constraints for an inner liner according to an embodiment of the present disclosure, such as Figure 7 As shown, the outer ellipse represents the filling cavity, and the inner ellipse represents the inner liner. The left and right ends of the inner liner respectively establish constraint springs with the left and right sides of the filling cavity. According to application requirements, more constraint springs can be set, and the position of the constraint spring on the inner liner can be flexibly selected. Exemplarily, multiple constraint springs can be set at the stitching position of the first plate and the second plate of the inner liner and the stitching position of the double-layer fabric of the filling cavity.
[0077] For any restraint spring, its original length is L0, its rigidity is k, and its effective length is L1. If the current length is l, the force exerted by the restraint spring on the inner liner is calculated as follows:
[0078] If l≤L0, the constraint spring generates a repulsive force on the inner liner, and the magnitude of the repulsive force is f=k(L0-l);
[0079] If L0<l≤L1, the restraining spring has no force on the inner liner;
[0080] If L1≤l, the restraining spring generates a pulling force on the inner liner, and the magnitude of the pulling force is f=k(L1-l).
[0081] In this case, the liner can slide freely within the length range of L0 to L1 of any constraint spring, and will be subjected to force if it exceeds this range. The constraint springs at different positions on the liner can be set with different rigidity strengths, original lengths, and effective tension lengths to flexibly provide force to the liner. By constraining the liner with multiple constraint springs, the sliding range of the liner in the filling cavity can be limited, so that the liner will not produce abnormal filling simulation effects due to excessive sliding in the process of providing support for the filler, which ensures that the bulging effect of the filling cavity during the simulation is similar to the bulging effect of the actual down jacket after filling.
[0082] In one embodiment, after lining is set for each filling cavity of the down jacket model, corresponding quality data can be configured for each lining in response to a quality configuration instruction for each lining, wherein the quality configuration instruction indicates to configure quality data for the lining and carries the quality data.
[0083] For any down filling cavity, the mass data configured for the inner liner of the down filling cavity may be the mass data of the down actually filled in the down filling cavity.
[0084] Through this measure, corresponding mass data can be configured for each liner of the down jacket model, so that the stress condition of each filling cavity of the down jacket after being filled with down can be simulated more accurately, thereby achieving a more realistic simulation effect.
[0085] In one embodiment, during the simulation of the down jacket model in step 230, collision detection may be performed to obtain detection results. The detection results include point-face pairs, edge-edge pairs, etc. where collisions exist. Here, points are vertices of mesh polygons, faces are mesh polygons, and edges are edges of mesh polygons.
[0086] Since the main function of the liner is to support the double-layer fabric of the down jacket and the liner itself has the ability to support itself, the self-collision of the liner becomes unimportant and can be eliminated. However, the collision between the liner and the double-layer fabric of the down filling cavity still needs to be retained.
[0087] In this case, after obtaining the detection results, the specified point-face pairs and the specified edge-edge pairs can be screened out, the points and faces of the specified point-face pairs are from the same plate of the same liner, and the edges of the specified edge-edge pairs are from the same plate of the same liner.
[0088] For any point-to-face pair in the detection results, it can be determined whether the point and the face in the point-to-face pair come from the same plate of the same liner. On the one hand, if so, it can be determined that the point-to-face pair is a specified point-to-face pair. On the other hand, if not, the point-to-face pair is not a specified point-to-face pair. It should be noted that if the point and the face in the point-to-face pair come from different plates of the same liner, for example, the point is a vertex on the first plate of an liner, and the face comes from the second plate of the liner, then the point-to-face pair is not a specified point-to-face pair.
[0089] For any edge-edge pair in the detection results, it can be determined whether the two edges in the edge-edge pair are from the same plate of the inner liner. On the one hand, if so, it can be determined that the edge-edge pair is a designated edge-edge pair. On the other hand, if not, the edge-edge pair is not a designated edge-edge pair. It should be noted that the two edges in the designated edge-edge pair can be edges of a grid on the same plate of the same inner liner, or edges of a grid on different plates of the same inner liner.
[0090] After the specified point-face pairs and the specified edge-edge pairs are screened out, all the specified point-face pairs and all the specified edge-edge pairs may be filtered out from the detection results, and the simulation results may be updated based on the filtered detection results.
[0091] Through the above measures, the self-collision of the liner can be processed and eliminated, so that the filtered detection results can be used for a more accurate down jacket simulation process. Compared with the solution based on flexible body or particle filler or the solution based on the middle layer of virtual cloth, the difficulty of collision processing is greatly simplified, and the problem of grid penetration can be avoided, so as to obtain a more realistic simulation effect.
[0092] In summary, through the disclosed solution, the down jacket simulation can more realistically simulate the bulging effect produced by adding down filling between the double layers of fabric of the down jacket, and can simulate the wrinkle effect on the surface of the down jacket.
[0093] Figure 8 is a block diagram of a down jacket simulation device according to an embodiment of the present invention. Figure 8 As shown, the device may include:
[0094] A generating module 810 is used for generating a first plate and a second plate for each filling cavity of the down jacket model in response to a plate editing instruction for the filling cavity, and associating edge vertices of the first plate and the second plate to obtain an inner liner of the filling cavity;
[0095] Configuration module 820, configured to respond to the support configuration instruction for each liner and configure each liner so that each liner provides support force for the filling cavity where it is located;
[0096] The simulation module 830 is used to simulate the down jacket model with an inner liner arranged in the filling cavity.
[0097] The implementation process of the functions and effects of each module in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned down jacket simulation method, and will not be repeated here.
[0098] In several embodiments provided in the present disclosure, the disclosed devices and methods may also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram may represent a module, a program segment or a part of a code, and a module, a program segment or a part of a code contains one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the box may also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they may sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of boxes in the block diagram and / or the flowchart, can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0099] In addition, the functional modules in the various embodiments of the present disclosure may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0100] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the various embodiments of the present disclosure. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
Claims
1. A down jacket simulation method, characterized in that: include: For each filling cavity of the down jacket model, in response to a plate editing instruction for the filling cavity, a first plate and a second plate are generated, and edge vertices of the first plate and the second plate are associated to obtain an inner liner of the filling cavity; In response to the support configuration instruction for each liner, each liner is configured so that each liner provides support force for the filling cavity in which it is located; The down jacket model with an inner liner arranged in the down filling cavity is simulated.
2. The method according to claim 1, characterized in that: The step of configuring each liner in response to the support configuration instruction for each liner includes: In response to the support configuration instruction for each inner liner, a surface pressure is configured on the outer surface of the inner liner; wherein the direction of the surface pressure is the normal direction of the outer surface of the inner liner at the surface pressure position, and the magnitude of the surface pressure is a preset value.
3. The method according to claim 1, characterized in that The step of configuring each liner in response to the support configuration instruction for each liner includes: In response to the support configuration instructions for each inner liner, a plurality of support springs are arranged between the inner surfaces of the first plate and the second plate of the inner liner; wherein the direction of each support spring is the normal direction of the center position of the inner surface of the first plate and the second plate.
4. The method according to claim 1, characterized in that: The step of configuring each liner in response to the support configuration instruction for each liner includes: In response to the support configuration instructions for each liner, a collision thickness is set between inner surfaces of the first plate and the second plate of the liner.
5. The method according to claim 1, characterized in that The method further comprises: In response to the restraint instruction for each inner liner, a restraint spring is arranged in the inner liner and the filling cavity where the inner liner is located, so as to limit the sliding range of the inner liner in the filling cavity.
6. The method according to claim 1, characterized in that The simulating of the down jacket model with the inner liner arranged in the down filling cavity comprises: During the simulation of the down jacket model, collision detection is performed to obtain detection results; Filter out the specified point-face pairs and the specified edge-edge pairs from the detection results; wherein the midpoint and the face of the specified point-face pairs are from the same plate of the same liner, and the edges of the specified edge-edge pairs are from the same plate of the same liner; The simulation results are updated based on the filtered detection results.
7. The method according to claim 1, characterized in that The method further comprises: In response to the quality configuration instruction for each liner, corresponding quality data is configured for each liner.
8. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to execute the down jacket simulation method described in any one of claims 1-7.
9. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program can be executed by a processor to complete the down jacket simulation method described in any one of claims 1-7.
10. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instruction is executed by a processor, the down jacket simulation method described in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Sheet generation method of clothing model, electronic equipment, storage medium and computer program product
CN118246257A
Down coat with down-proof simulated seam
CN211932644U
