Modifying garment design using style line
Embodiments relate to simulating a garment according to an exemplary embodiment that receives an input of changing at least one style line of a plurality of style lines representing at least one of a style and a silhouette of a 3D garment through a user interface expressing the 3D garment, identifies at least one first smooth line linked throughout at least one 2D pattern in response to the style line among a plurality of lines included in the 2D patterns corresponding to the 3D garment, transforms the first smooth line based on the input, propagates the transformation of the first smooth line to at least one candidate line associated with the first smooth line to transform at least one 2D pattern, and outputs at least one of the transformed 2D pattern and a 3D garment in which the style line is changed in response to the transformed 2D pattern.
1 . A method of simulating a garment, the method comprising:
displaying at least one of unchanged two-dimensional (2D) patterns or an unchanged garment including the unchanged 2D patterns;
receiving selection of a style line representing a style or a silhouette of the unchanged garment displayed in a three-dimensional form;
receiving an input that changes the style line in response to receiving the selection of the style line;
in response to the change of the style line, identifying first lines in the unchanged 2D patterns or unchanged garment, the first lines including a selected line in the unchanged 2D patterns corresponding to the style line and at least one additional line that is symmetrical to the selected line or sewn with the selected line in the unchanged garment;
modifying at least one of the unchanged 2D patterns or the unchanged garment by changing the first lines to generate changed 2D patterns or a changed garment; and
displaying the changed 2D patterns or the changed garment.
2 . The method of claim 1 , further comprising identifying at least one second line in the unchanged 2D patterns, the at least one second line extending from a non-smooth point of the first lines, wherein the at least one of the unchanged 2D patterns or the unchanged garment is further modified by changing of the at least one second line propagated from changing of the first lines to generate the changed 2D patterns or the changed garment.
3 . The method of claim 2 , further comprising identifying at least one third line in the unchanged 2D patterns, the at least one third line sewn with the at least one second line in the unchanged 2D patterns, wherein the at least one of the unchanged 2D patterns or the unchanged garment is further modified by changing of the at least one third line propagated from changing of the first lines to generate the changed 2D patterns or the changed garment.
4 . The method of claim 1 , further comprising:
generating a candidate list including a list of candidate lines connected to the first lines; and
determining one or more smooth lines of the candidate lines from the candidate list, wherein each of the one or more smooth lines continue smoothly from the first lines, wherein the at least one of the unchanged 2D patterns or the unchanged garment is further modified by changing of the one or more smooth lines to generate the changed 2D patterns or the changed garment.
5 . The method of claim 4 , wherein the generating of the candidate list comprises:
setting one of the first lines as a current line,
setting a first direction from a start point where the input is received up to an end point opposite to the start point in the current line as a search direction,
searching, in the search direction, for the one or more smooth lines connected to the current line, and
adding the searched one or more smooth lines to the candidate list.
6 . The method of claim 5 , wherein the searching for the one or more smooth lines includes:
searching for a first one of the one or more smooth lines iteratively in the first direction, and
searching for a second one of the one or more smooth lines iteratively in a direction opposite to the first direction.
7 . The method of claim 4 , further comprising:
identifying a pilar line starting from a point of the first lines at which a tangential angle is equal to or more than a predetermined angle or a radius of curvature is less than a predetermined value, and
removing the pilar line from the candidate list.
8 . The method of claim 4 , wherein the candidate list includes at least one of:
a first candidate list including the first lines,
a second candidate list including at least one second line in the at least one unchanged 2D patterns, the at least one second line extending from a non-smooth point of the first lines, and
a third candidate list including at least one third line sewn with the at least one second line.
9 . The method of claim 4 , wherein the modifying of the at least one of the unchanged 2D patterns or the unchanged garment comprises:
changing a segment of the selected line responsive to receiving an input indicating a point of the selected line at which a tangential angle is equal to or more than a predetermined angle or a radius of curvature is less than a predetermined value, or
changing all of the selected line responsive to receiving another input indicating another point on the selected line other than the point at which the tangential angle is equal to or more than the predetermined angle or the radius of curvature is less than the predetermined value.
10 . The method of claim 9 , wherein the changing of the segment of the selected line includes changing a length of the segment to have an end at a changed location of the point.
11 . The method of claim 9 , wherein the modifying of the at least one of the unchanged 2D patterns or the unchanged garment comprises changing a connect line connected to the selected line at the point.
12 . The method of claim 11 , wherein the connect line is changed by:
determining a first movement value of the point in the changed 2D patterns relative to the unchanged 2D patterns,
determining second movement values of remaining points on the connect line other than the point by interpolating the first movement value according to distances of the remaining points to the point, and
moving the remaining points in the connect line according to the second movement values.
13 . The method of claim 1 , wherein the modifying of the at least one unchanged 2D patterns or the unchanged garment comprises resizing the selected line or making a translational movement of the selected line.
14 . The method of claim 1 , wherein the modifying of the at least one unchanged 2D patterns or the unchanged garment comprises changing a side of at least one of the unchanged 2D patterns indicated by the input and an opposite side of at least one of the unchanged 2D patterns responsive to receiving the input.
15 . The method of claim 1 , wherein the displaying of the changed 2D patterns or the changed garment is performed in real-time with receiving of the input.
16 . A non-transitory computer readable storage medium storing instructions thereon, the instructions when executed by a processor cause the processor to:
display at least one of unchanged two-dimensional (2D) patterns or an unchanged garment including the unchanged 2D patterns;
receive selection of a style line representing a style or a silhouette of the unchanged garment displayed in a three-dimensional form;
receive an input that changes the style line in response to receiving the selection of the style line;
in response to the change of the style line, identify first lines in the unchanged 2D patterns or unchanged garment, the first lines including a selected line in the unchanged 2D patterns corresponding to the style line and at least one additional line that is symmetrical to the selected line or sewn with the selected line in the unchanged garment;
modify at least one of the unchanged 2D patterns or the unchanged garment by changing the first lines to generate changed 2D patterns or a changed garment; and
display the changed 2D patterns or the changed garment.
17 . The non-transitory computer readable storage medium of claim 16 , further storing instructions that cause the processor to:
generate a candidate list including a list of candidate lines connected to the first lines; and
determine one or more smooth lines of the candidate lines from the candidate list, wherein each of the one or more smooth lines continue smoothly from the first lines, wherein the at least one of the unchanged 2D patterns or the unchanged garment is further modified by changing of the one or more smooth lines to generate the changed 2D patterns or the changed garment.
18 . The non-transitory computer readable storage medium of claim 16 , further storing instructions that cause the processor to display the changed 2D patterns or the changed garment in real-time with receiving of the input.
19 . A non-transitory computer readable storage medium storing a digital representation of a garment, the digital representation generated by:
displaying at least one of unchanged two-dimensional (2D) patterns or an unchanged version of the garment including the unchanged 2D patterns;
receiving selection of a style line representing a style or a silhouette of the unchanged version of the garment displayed in a three-dimensional form;
receiving an input that changes the style line in response to receiving the selection of the style line;
in response to the change of the style line, identifying lines in the unchanged 2D patterns or unchanged version of the garment, the lines including a selected line in the unchanged 2D patterns corresponding to the style line and at least one additional line that is symmetrical to the selected line or sewn with the selected line in the unchanged version of the garment; and
modifying at least one of the unchanged 2D patterns or the unchanged version of the garment by changing the lines to generate changed 2D patterns or a changed version of the garment.