Method and device for optimizing garment sewing effect

By superimposing a newly created rendering grid at the stitching end of the clothing version, the light and shadow effect at the stitching at the clothing is optimized, and the problem of lack of three-dimensionality and unrealistic light and shadow effect in the existing technology is solved, and a more realistic and natural clothing display effect is achieved.

CN119722977APending Publication Date: 2025-03-28LINGDI (ZHEJIANG) TECHNOLOGY CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202311270778.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-28
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

In the existing three-dimensional clothing modeling and design technology, it is difficult to truly simulate and present the clothing stitching process and effects in a virtual environment, resulting in the lack of three-dimensional sense of suture and unreal light and shadow effects of the sutures.

Method used

By preset height and width, a newly created rendering grid with raised shapes is superimposed on the stitching end of the clothing sheet to optimize the light and shadow effect at the stitching.

Benefits of technology

It improves the light and shadow effect at the stitching of the clothing, enhances the fidelity, three-dimensionality and texture of the clothing, and saves computing resources and time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119722977A_ABST
    Figure CN119722977A_ABST
Patent Text Reader

Abstract

The invention provides a method and device for optimizing the garment sewing effect, and the method comprises the steps: confirming the sewing surfaces, the preset height and the width of two garment plates needing to be sewn, and superposing a new rendering grid in a protruding part form at the sewing end of at least one garment plate based on the preset height and the preset width, and sewing the two clothing sections so as to optimize the light and shadow effect at the sewing position of the clothing sections by newly creating the rendering grid when the clothing sections are displayed. According to the scheme, control and optimization of the topological structure of the sewing position are achieved through the preset numerical value, a user can flexibly adjust the sewing effect by changing the preset numerical value so that the sewing effect can meet the design requirement, and the sewing position of the garment sheet can present a more real and natural light and shadow effect during display; and the fidelity, the stereoscopic impression and the texture of the clothes are enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of clothing effect display, and in particular relates to a method and a device for optimizing clothing sewing effect. Background Art

[0002] In the current 3D clothing modeling and design technology, the technology of simulating and presenting the sewing process and effect of clothing in a virtual environment can increase the sense of reality and details in the 3D clothing design and display process, making the clothing model more realistic. Commonly used sewing technologies include light and dark map sewing, physical simulation sewing and carving tool sewing. However, these methods all have some shortcomings.

[0003] Light and dark map stitching achieves the stitching effect by applying light and dark maps around the stitching line. It can add shadow and highlight effects to make the stitching line look three-dimensional. The preset shadow can increase the rendering effect of the stitching. However, in fact, the three-dimensional mesh of the garment is still a plane and cannot truly reflect the light and shadow effects, which will lead to unrealistic production effects. The stitching line lacks three-dimensionality and cannot accurately express the real appearance and texture of the garment.

[0004] Physical simulation stitching uses physical simulation technology to simulate the stitching process of clothing, taking into account the stiffness, bending and stretching characteristics of the fabric, as well as the movement trajectory of the stitches and threads, and generates stitching effects by simulating the physical mechanical process. However, this method usually requires high computing resources and time, and may produce inaccurate results for complex clothing structures.

[0005] Sculpting tool stitching uses sculpting tools in 3D modeling software such as Zbrush to manually add wrinkles and bump effects to simulate the deformation of the cloth around the seams. This method requires the modeler to manually add additional wrinkles and bump effects using the sculpting brush tool to represent the sewing lines, which requires a high level of technical ability from the modeler and also takes a lot of time. Summary of the invention

[0006] In order to overcome the defects of the prior art, the present invention proposes a method for optimizing the sewing effect of clothing, the method comprising:

[0007] Confirm the seaming surfaces of the two garment pattern pieces that need to be sewn;

[0008] A new rendering grid in the form of a raised portion is superimposed on the seamed end of at least one of the garment panels based on a preset height and a preset width; the vertical height difference between the highest point of the raised portion and the seamed end of the garment panel where the raised portion is located after the superposition is the same as the preset height, and the horizontal distance between the highest point of the raised portion and the seamed end of the garment panel where the raised portion is located is the same as the preset width;

[0009] The two pieces of the garment patterns are sewn together so that when the garment patterns are displayed, the light and shadow effects at the sewing points of the garment patterns are optimized through the newly created rendering grid.

[0010] Specifically, when a newly created rendering grid in the form of a raised portion is superimposed only on the sewn end of one piece of the garment pattern, the “newly created rendering grid in the form of a raised portion is superimposed on the sewn end of at least one piece of the garment pattern based on the preset height and the preset width” includes:

[0011] Detecting the folding condition of the sewn end of the garment pattern piece on which the newly created rendering grid needs to be superimposed;

[0012] If both sides of the sewing end of the garment pattern are folded, newly-created rendering grids in the form of the raised portion are respectively superimposed on both sides of the sewing end of the garment pattern based on the preset height and the preset width;

[0013] If one side of the sewing end of the garment pattern is folded, a newly created rendering grid in the form of the raised portion is superimposed on the folded side of the sewing end of the garment pattern based on the preset height and the preset width.

[0014] Furthermore, the method further comprises:

[0015] When the newly created rendering grids in the form of raised portions are superimposed on the sewing ends of the two garment patterns, the newly created rendering grids on the two garment patterns are set on the same surface of the sewing ends, and the two newly created rendering grids do not contact each other after the garment patterns are sewn.

[0016] Preferably, the method further comprises:

[0017] If the preset width value is not greater than the preset width threshold, the newly created rendering grid in the form of the raised portion superimposed on the stitched end of the garment pattern piece has only one raised corner; the vertex of the raised corner is the highest point of the raised portion:

[0018] If the preset width value is greater than the preset width threshold, the newly created rendering grid in the form of the raised portion superimposed on the sewing end of the clothing pattern has multiple raised angles, and the angle of each raised angle is within the preset angle threshold; the height of the raised angle farther away from the sewing end is higher, and the vertex of the raised angle with the farthest horizontal distance from the sewing end is the highest point of the raised portion.

[0019] Specifically, the “newly-created rendering grid with a raised portion superimposed on the seamed end of at least one of the garment patterns based on a preset height and a preset width” also includes:

[0020] Meshing the clothing pattern to obtain an original mesh;

[0021] An original grid is selected at the seaming end of the garment pattern based on the preset width, and the selected original grid is superimposed based on the preset height, thereby generating the newly created rendering grid in the shape of a raised portion, and rendering the garment pattern based on the newly created rendering grid.

[0022] Furthermore, the method further comprises:

[0023] When simulating the garment pattern piece, the garment pattern piece is simulated based on the original grid.

[0024] Preferably, the preset height is determined based on the thickness of the garment pattern.

[0025] The present invention also proposes a method for optimizing the sewing effect of clothing, which is used to implement the method described above, and the device comprises:

[0026] A confirmation module is used to confirm the sewing surfaces of two garment patterns that need to be sewn;

[0027] A superposition module is used to superimpose a newly created rendering grid in the form of a raised portion on the stitched end of at least one of the garment panels based on a preset height and a preset width; after the superposition, the vertical height difference between the highest point of the raised portion and the stitched end of the garment panel where the raised portion is located is the same as the preset height, and the horizontal distance between the highest point of the raised portion and the stitched end on the garment panel where the raised portion is located is the same as the preset width;

[0028] The stitching module is used to stitch the two garment patterns together so as to optimize the light and shadow effects at the stitching points of the garment patterns through the newly created rendering grid when displaying the garment patterns.

[0029] Specifically, the stitching module includes:

[0030] A detection unit, used for detecting the folding condition of the sewn end of the garment pattern piece on which the newly created rendering grid needs to be superimposed;

[0031] A first superimposing unit is used for superimposing the newly created rendering grid in the form of the convex portion on the two sides of the sewing end of the garment pattern piece based on the preset height and the preset width respectively when the two sides of the sewing end of the garment pattern piece are folded;

[0032] The second superimposing unit is used for superimposing a newly created rendering grid in the form of the raised portion on the folded side of the sewing end of the garment plate based on the preset height and the preset width when one side of the sewing end of the garment plate is folded.

[0033] Specifically, the superposition module includes:

[0034] A gridding unit, used for gridding the garment pattern to obtain an original grid;

[0035] A generating unit, configured to select an original mesh at a sewing end of the garment pattern piece based on the preset width, and to superimpose the selected original mesh based on the preset height, thereby generating the newly rendered mesh in the form of a raised portion;

[0036] The device also includes:

[0037] A rendering module, used for rendering the garment pattern based on the newly created rendering grid;

[0038] A simulation module is used to simulate the garment pattern based on the original grid.

[0039] The present invention has at least the following beneficial effects:

[0040] This solution adjusts the clothing pattern through preset parameters and optimizes it. The method is simple and easy, can save computing resources and time, and has the advantages of strong controllability and wide application range. It improves the light and shadow effects of the seams of clothing, enhances the realism, three-dimensional sense and texture of clothing, and can also improve the display effect of clothing, bringing more advantages to design and sales;

[0041] Furthermore, the present scheme can detect the preset parameters and folding conditions of the seamed ends of the clothing pattern, and superimpose raised parts according to different situations, further enhancing the flexibility and applicability of the method. By gridding the clothing pattern and adjusting and moving the grid pattern at the position where the raised parts exist, the light and shadow effects of the raised parts are taken into consideration during the rendering process, which can ensure that the raised parts obtain better rendering effects, improve the overall visual quality, and make rendering and simulation independent of each other, so that the processing of the clothing pattern due to rendering performed by this scheme will not affect the actual application process of the clothing pattern.

[0042] Therefore, the present invention proposes a method and device for optimizing the stitching effect of clothing. This scheme realizes the control and optimization of the topological structure of the stitching through preset values. The user can flexibly adjust the stitching effect to meet the design requirements by changing the preset values, and make the stitching of the clothing pattern present a more realistic and natural light and shadow effect when displayed, thereby enhancing the realism, three-dimensional sense and texture of the clothing. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0044] Figure 1 A schematic diagram of the overall process of the method for optimizing the sewing effect of clothing provided in Example 1;

[0045] Figure 2 An example image of a newly created rendering grid overlaid with a preset width value;

[0046] FIG3(a) is an example diagram of two stitched garment patterns, both of which are superimposed with a newly created rendering mesh having a raised corner, and FIG3(b) is an example diagram of two stitched garment patterns, both of which are superimposed with a newly created rendering mesh having two raised corners;

[0047] Figure 4 This is an example of the effect of stitching two garment patterns, both of which have newly created render meshes superimposed on them.

[0048] Figure 5 A schematic diagram of a method for superimposing a newly created rendering mesh based on the folding of the sewn ends of a garment pattern;

[0049] FIG6(a) is an example diagram showing that newly created rendering grids are superimposed on both sides of the sewn end of a garment pattern, and FIG6(b) is an example diagram showing that newly created rendering grids are superimposed on the folded side of the sewn end of a garment pattern;

[0050] Figure 7 This is an example of the effect of stitching a garment pattern with a newly created rendering mesh and a garment pattern without a newly created rendering mesh.

[0051] Figure 8 Schematic diagram of the process of generating a new rendering mesh for the convex part morphology;

[0052] Fig. 9 This is a schematic diagram of the module structure of the device for optimizing the garment sewing effect provided in Example 2.

[0053] Reference numerals

[0054] 10- confirmation module; 20- superposition module; 21- detection unit; 22- first superposition unit; 23- second superposition unit; 24- gridding unit; 25- generation unit; 30- stitching module; 31- rendering module; 32- simulation module. DETAILED DESCRIPTION

[0055] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0056] Hereinafter, various embodiments of the present invention will be described more fully. The present invention may have various embodiments, and adjustments and changes may be made therein. However, it should be understood that there is no intention to limit the various embodiments of the present invention to the specific embodiments disclosed herein, but the present invention should be understood to cover all adjustments, equivalents and / or alternatives falling within the spirit and scope of the various embodiments of the present invention.

[0057] Hereinafter, the term "include" or "may include" used in various embodiments of the present invention indicates the presence of disclosed functions, operations or elements, and does not limit the addition of one or more functions, operations or elements. In addition, as used in various embodiments of the present invention, the terms "include", "have" and their cognates are intended only to indicate specific features, numbers, steps, operations, elements, components or combinations of the foregoing items, and should not be understood as first excluding the presence of one or more other features, numbers, steps, operations, elements, components or combinations of the foregoing items or the possibility of adding one or more features, numbers, steps, operations, elements, components or combinations of the foregoing items.

[0058] In various embodiments of the present invention, the expression "or" or "at least one of A or / and B" includes any combination or all combinations of the words listed at the same time. For example, the expression "A or B" or "at least one of A or / and B" may include A, may include B, or may include both A and B.

[0059] The expressions (such as "first", "second", etc.) used in various embodiments of the present invention may modify the various constituent elements in various embodiments, but may not limit the corresponding constituent elements. For example, the above expressions do not limit the order and / or importance of the elements. The above expressions are only used for the purpose of distinguishing an element from other elements. For example, the first user device and the second user device indicate different user devices, although both are user devices. For example, without departing from the scope of various embodiments of the present invention, the first element may be referred to as the second element, and similarly, the second element may also be referred to as the first element.

[0060] It should be noted that in the present invention, unless otherwise clearly specified and defined, the terms such as "installation", "connection", "fixation" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium; it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0061] In the present invention, those skilled in the art need to understand that the terms indicating orientation or positional relationship herein are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.

[0062] The terms used in various embodiments of the present invention are only used for the purpose of describing specific embodiments and are not intended to limit various embodiments of the present invention. As used herein, the singular form is intended to also include the plural form, unless the context clearly indicates otherwise. Unless otherwise limited, all terms used here (including technical terms and scientific terms) have the same meaning as the meaning generally understood by those of ordinary skill in the art to which the various embodiments of the present invention belong. The terms (such as the terms defined in the dictionary generally used) will be interpreted as having the same meaning as the contextual meaning in the relevant technical field and will not be interpreted as having an idealized meaning or an overly formal meaning, unless clearly defined in various embodiments of the present invention.

[0063] Example 1

[0064] This embodiment proposes a method for optimizing the sewing effect of clothing. Figure 1 , the method comprising:

[0065] S100: Confirm the sewing surfaces of two garment pattern pieces that need to be sewn.

[0066] It should be noted that the function of step S100 is to confirm the surface of the garment pattern piece that needs to be sewn, so as to make the sewing surfaces of the two garment pattern pieces that need to be sewn flush;

[0067] Suturing includes two sewing methods: single-sided sewing and double-sided sewing. Single-sided sewing only requires the sewing surfaces of the two clothing pieces to be displayed to be flush, while double-sided sewing requires both sides of the two clothing pieces to be flush. Therefore, when using the double-sided sewing method, step S100 also requires adjusting the two clothing pieces to the same thickness so that the sewing surfaces of the two clothing pieces can achieve a flush effect.

[0068] S200: Preset a height and a width, and based on the preset height and the preset width, superimpose a newly created rendering grid in the form of a raised portion on a sewing end of at least one garment pattern piece.

[0069] Preferably, the preset height is determined based on the thickness of the garment pattern; illustratively, the preset height may be made the same as the thickness of the garment pattern, or may be made twice the thickness of the garment pattern.

[0070] It should be noted that the vertical height difference between the highest point of the raised portion after superposition and the stitching end of the clothing piece where the raised portion is located is the same as the preset height, and the horizontal distance between the highest point of the raised portion and the stitching end on the clothing piece where the raised portion is located is the same as the preset width.

[0071] S300: Stitch two garment patterns together to optimize the lighting and shadow effects at the seam of the garment patterns by creating a new render grid when displaying the garment patterns.

[0072] Specifically, see Figure 2-4 When newly created rendering meshes in the form of raised parts are superimposed on the seamed ends of two clothing patterns, the newly created rendering meshes on the two clothing patterns are set on the same side of the seamed ends, and the two newly created rendering meshes do not contact each other after the clothing patterns are sewn together, so that when the clothing patterns are displayed, the seam of the two clothing patterns shows an inward concave effect.

[0073] Preferably, if the preset width value is not greater than the preset width threshold, the newly created rendering grid in the form of the raised portion superimposed on the stitched end of the garment pattern piece has only one raised corner; the vertex of the raised corner is the highest point of the raised portion:

[0074] If the preset width value is greater than the preset width threshold, the newly created rendering grid in the form of the raised portion superimposed on the stitched end of the garment pattern has multiple raised angles, and the angle of each raised angle is within the preset angle threshold; the height of the raised angle farther away from the stitched end is higher, and the vertex of the raised angle with the farthest horizontal distance from the stitched end is the highest point of the raised portion.

[0075] Exemplarily, when the value of the preset width w is not greater than the preset width threshold, when the raised portion has only one raised angle, the angle of the raised angle is small, and the raised portion forms a triangular edge on the surface of the garment pattern. At this time, the angle between the raised portion and the sewing end of the garment pattern is large, so there will be a more obvious height difference effect when displaying the garment pattern.

[0076] When the value of the preset width w′ is greater than the preset width threshold, if the raised portion has only one raised angle, the angle of the raised angle is larger. At this time, the angle between the raised portion and the sewing end of the clothing pattern is smaller, which will weaken the height difference effect when displaying the clothing pattern. In this embodiment, the angle between the raised portion and the sewing end of the clothing pattern is increased by adding a raised angle to ensure that a better height difference effect can be achieved when displaying the clothing pattern.

[0077] In addition, the stitching between the folded garment panel and the unfolded garment panel can be realized by applying the situation in which the convex portion is superimposed on the stitching end of a garment panel in the present solution, see Figure 5-7 The “creating a new rendering grid with a raised portion superimposed on the stitching end of at least one garment pattern piece based on a preset height and a preset width” in step S200 includes:

[0078] S210: Detecting the folding condition of the sewing end of the garment pattern piece that needs to be superimposed with the newly created rendering mesh.

[0079] If both sides of the sewing end of the garment pattern piece are folded, step S220 is executed; if one side of the sewing end of the garment pattern piece is folded, step S230 is executed.

[0080] S220: Newly rendered meshes in the form of raised portions are superimposed on both sides of the sewn end of the garment pattern piece based on the preset height and the preset width.

[0081] It should be noted that when the two sides of the seamed end of a clothing pattern are folded, the raised ends of the newly created rendering grids superimposed on both sides of the seamed end of the clothing pattern can be set at the center of the seamed end of the clothing pattern, and the two newly created rendering grids do not contact each other after the clothing pattern is sewn, thereby simulating a real folding effect.

[0082] S230: creating a new rendering grid with a raised portion superimposed on a folded side of the sewn end of the garment pattern piece based on a preset height and a preset width.

[0083] It should be noted that the folding of the garment pattern refers to folding the fabric at the edge of the garment pattern inward so that the inner fabric overlaps with the outer fabric to form a seam edge for sewing, thereby achieving the effect of hiding the edge, enhancing the firmness of the sewing, and providing a neater and more beautiful appearance;

[0084] Specifically, when both sides of the sewing end of the garment pattern are folded, the fabric at the sewing end is folded inward twice, so that both sides of the fabric are folded inward; when one side of the sewing end of the garment pattern is folded, the fabric at the sewing end is folded inward once, so that one side of the fabric is folded inward;

[0085] By folding the seam ends, better seam effects and quality can be achieved, ensuring the appearance and comfort of the garment.

[0086] Specifically, see Figure 8 , step S200 further includes:

[0087] S240: Meshing the clothing pattern to obtain an original mesh.

[0088] S250: selecting an original mesh at a stitching end of the garment pattern based on a preset width, and superimposing the selected original mesh based on a preset height, thereby generating a new rendering mesh of a raised portion, and rendering the garment pattern based on the new rendering mesh.

[0089] Furthermore, the method for optimizing the sewing effect of clothing proposed in this embodiment simulates the clothing pattern based on the original grid when simulating the clothing pattern. Therefore, this scheme can make rendering and simulation independent of each other, and the processing of the clothing pattern due to rendering in the scheme will not affect the actual application process of the clothing pattern.

[0090] Example 2

[0091] This embodiment proposes a device for optimizing the sewing effect of clothing, which is used to implement the method proposed in embodiment 1. Fig. 9 , the device comprises:

[0092] A confirmation module 10 is used to confirm the sewing surfaces of two garment patterns that need to be sewn;

[0093] An overlay module 20, configured to overlay a newly created rendering grid in the form of a raised portion on a stitched end of at least one garment pattern piece based on a preset height and a preset width;

[0094] The stitching module 30 is used to stitch two garment patterns together so as to optimize the light and shadow effects at the stitching points of the garment patterns by creating a new rendering grid when displaying the garment patterns.

[0095] It should be noted that the vertical height difference between the highest point of the raised portion and the stitching end of the clothing piece where the raised portion is located after superposition by the superposition module 20 is the same as the preset height, and the horizontal distance between the highest point of the raised portion and the stitching end on the clothing piece where the raised portion is located is the same as the preset width.

[0096] Specifically, the stitching module 20 includes:

[0097] A detection unit 21, used to detect the folding condition of the sewn end of the garment pattern piece to be superimposed with the newly created rendering grid;

[0098] A first superimposing unit 22, configured to superimpose newly created rendering grids in the form of raised portions on both sides of the sewing end of the garment pattern piece based on a preset height and a preset width when both sides of the sewing end of the garment pattern piece are folded;

[0099] The second superimposing unit 23 is used for superimposing a newly created rendering grid in the form of a raised portion on the folded side of the sewing end of the garment pattern piece based on a preset height and a preset width when one side of the sewing end of the garment pattern piece is folded.

[0100] Specifically, the stitching module 20 also includes:

[0101] A meshing unit 24 is used to mesh the garment pattern to obtain an original mesh;

[0102] The generating unit 25 is used to select the original mesh at the sewing end of the garment pattern based on the preset width, and to superimpose the selected original mesh based on the preset height, so as to generate a new rendering mesh of the raised part shape.

[0103] Furthermore, the device proposed in this embodiment also includes:

[0104] A rendering module 31, used for rendering the garment pattern based on the newly created rendering grid;

[0105] The simulation module 32 is used to simulate the garment pattern based on the original grid.

[0106] In summary, the present invention proposes a method and device for optimizing the stitching effect of clothing. This scheme realizes the control and optimization of the topological structure of the seams through preset numerical values. The user can flexibly adjust the stitching effect to meet the design requirements by changing the preset numerical values, and make the seams of the clothing pieces present more realistic and natural light and shadow effects when displayed, thereby enhancing the realism, three-dimensional sense and texture of the clothing.

[0107] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for optimizing the sewing effect of clothing, characterized in that: The method comprises: Confirm the seaming surfaces of the two garment pattern pieces that need to be sewn; A new rendering grid in the form of a raised portion is superimposed on the seamed end of at least one of the garment panels based on a preset height and a preset width; the vertical height difference between the highest point of the raised portion and the seamed end of the garment panel where the raised portion is located after the superposition is the same as the preset height, and the horizontal distance between the highest point of the raised portion and the seamed end of the garment panel where the raised portion is located is the same as the preset width; The two pieces of the garment patterns are sewn together so that when the garment patterns are displayed, the light and shadow effects at the sewing points of the garment patterns are optimized through the newly created rendering grid.

2. The method for optimizing the sewing effect of garments according to claim 1, characterized in that: When a newly created rendering grid in the form of a raised portion is superimposed only on the sewn end of one piece of the garment pattern, the “newly created rendering grid in the form of a raised portion is superimposed on the sewn end of at least one piece of the garment pattern based on the preset height and the preset width” includes: Detecting the folding condition of the sewn end of the garment pattern piece on which the newly created rendering grid needs to be superimposed; If both sides of the sewing end of the garment pattern are folded, newly-created rendering grids in the form of the raised portion are respectively superimposed on both sides of the sewing end of the garment pattern based on the preset height and the preset width; If one side of the sewing end of the garment pattern is folded, a newly created rendering grid in the form of the raised portion is superimposed on the folded side of the sewing end of the garment pattern based on the preset height and the preset width.

3. The method for optimizing the sewing effect of garments according to claim 1, characterized in that: The method further comprises: When the newly created rendering grids in the form of raised portions are superimposed on the sewing ends of the two garment patterns, the newly created rendering grids on the two garment patterns are set on the same surface of the sewing ends, and the two newly created rendering grids do not contact each other after the garment patterns are sewn.

4. The method for optimizing the sewing effect of garments according to any one of claims 1 to 3, characterized in that: The method further comprises: If the preset width value is not greater than the preset width threshold, the newly created rendering grid in the form of the raised portion superimposed on the stitched end of the garment pattern piece has only one raised corner; the vertex of the raised corner is the highest point of the raised portion: If the preset width value is greater than the preset width threshold, the newly created rendering grid in the form of the raised portion superimposed on the sewing end of the clothing pattern has multiple raised angles, and the angle of each raised angle is within the preset angle threshold; the height of the raised angle farther away from the sewing end is higher, and the vertex of the raised angle with the farthest horizontal distance from the sewing end is the highest point of the raised portion.

5. The method for optimizing garment sewing effect according to claim 1, characterized in that: The “newly created rendering grid with a raised portion superimposed on the seamed end of at least one of the garment patterns based on a preset height and a preset width” also includes: Meshing the clothing pattern to obtain an original mesh; An original grid is selected at the seaming end of the garment pattern based on the preset width, and the selected original grid is superimposed based on the preset height, thereby generating the newly created rendering grid in the shape of a raised portion, and rendering the garment pattern based on the newly created rendering grid.

6. The method for optimizing the sewing effect of garments according to claim 5, characterized in that: The method further comprises: When simulating the garment pattern piece, the garment pattern piece is simulated based on the original grid.

7. The method for optimizing garment sewing effect according to claim 1, characterized in that: The preset height is determined based on the thickness of the garment pattern.

8. A device for optimizing the sewing effect of clothing, characterized in that: For implementing the method according to any one of claims 1 to 7, the device comprises: A confirmation module is used to confirm the sewing surfaces of two garment patterns that need to be sewn; A superposition module is used to superimpose a newly created rendering grid in the form of a raised portion on the stitched end of at least one of the garment panels based on a preset height and a preset width; after the superposition, the vertical height difference between the highest point of the raised portion and the stitched end of the garment panel where the raised portion is located is the same as the preset height, and the horizontal distance between the highest point of the raised portion and the stitched end on the garment panel where the raised portion is located is the same as the preset width; The stitching module is used to stitch the two garment patterns together so as to optimize the light and shadow effects at the stitching points of the garment patterns through the newly created rendering grid when displaying the garment patterns.

9. The device for optimizing the sewing effect of garments according to claim 8, characterized in that: The stitching module comprises: A detection unit, used for detecting the folding condition of the sewn end of the garment pattern piece on which the newly created rendering grid needs to be superimposed; A first superimposing unit is used for superimposing the newly created rendering grid in the form of the convex portion on the two sides of the sewing end of the garment pattern piece based on the preset height and the preset width respectively when the two sides of the sewing end of the garment pattern piece are folded; The second superimposing unit is used for superimposing a newly created rendering grid in the form of the raised portion on the folded side of the sewing end of the garment plate based on the preset height and the preset width when one side of the sewing end of the garment plate is folded.

10. The device for optimizing the sewing effect of garments according to claim 8, characterized in that: The superposition module comprises: A gridding unit, used for gridding the garment pattern to obtain an original grid; A generating unit, configured to select an original mesh at a sewing end of the garment pattern piece based on the preset width, and to superimpose the selected original mesh based on the preset height, thereby generating the newly rendered mesh in the form of a raised portion; The device also includes: A rendering module is used to render the clothing pattern based on the newly created rendering grid; and a simulation module is used to simulate the clothing pattern based on the original grid.

Citation Information

Cited By

  • Method and system for displaying 3D rendering effect driven by large garment model

    CN120655803A

  • Clothing large model driven 3D rendering effect display method and system

    CN120655803B