2020生肖表

Position: Home > Technical Articles >

technical article

3D virtual clothing production system operation method

Release time: 2016-02-15 14:10

[Technical Field]

[0001] The present invention belongs to the technical field of 3D model generation, and in particular, relates to a method and system for virtual automatic generation of 3D clothing.

【Background technique】

[0002] Using clothing models, fabrics can be made into clothing by cutting and sewing. In order to make fit and comfortable clothing, anthropometrics and body shape analysis are essential technical means. 3D to 2D technology can flatten 3D objects onto 2D planes. This technology can largely realize the transformation from 3D clothing to 2D clothing models. It mainly includes two research directions: surface parameterization and physical energy minimization.

[0003] One is surface parameterization, which is a one-to-one mapping of surfaces from one space to another. Mapping a 3D surface into a 2D plane can be called flattening. The key to parameterizing a 3D surface is to minimize the distortion caused by the flattening process. There are many indicators used in research to measure these distortions, such as angles, mean coordinates, and so on. But this method is not suitable for clothing model generation, because the results obtained by parameterizing to flattening the surface are often convex polygons or irregular shapes.

[0004] Another is the physical energy minimization. The method of flattening a 3D surface is based on the principle of physical energy minimization. In this method, the surface is usually expressed as a triangular mesh geometry. Each triangular mesh The vertices and edges of are the particles and springs. Therefore, the flattening process is the process of releasing the energy of the entire system until it reaches an equilibrium state. Some studies have applied the particle spring model to clothing pattern generation, but the accuracy of the template generation results depends on the initialization parameters and the boundary conditions of the physical system, and the flattened surface is usually a human body surface. Therefore, this method is only suitable for limited clothing Type, such as tight clothing.

[0005] From the current point of view, on the one hand, there are still some shortcomings in previous research: (I) the flattened 2D template has an irregular shape and cannot be easily integrated with traditional plate-making technology; (2) directly flatten the surface of the human body As a clothing model, the basic looseness of the clothing cannot be guaranteed to fit; (3) The dividing lines and provincial roads on the template do not conform to the traditional clothing structure habits. On the other hand, the current application of 3D clothing virtual technology in the clothing industry lags far behind in industries such as movies, animation, and construction: (I) technically simulates flexible fabrics, and it is not easy to solve the interaction between non-rigid human bodies and clothing. , 3D clothing virtual technology still needs to be improved; (2) clothing online sales still need considerable development, 3D clothing virtual technology can not fully reflect and replace the advantages of traditional clothing sales methods; (3) 3D clothing virtual technology development is difficult High cost and difficulty in promotion.

[Summary of the Invention]

[0006] Aiming at the defects in the prior art, the object of the present invention is to provide a method and system for virtual automatic generation of 3D clothing.

[0007] A method for virtual automatic generation of 3D clothing according to the present invention includes the following steps:

[0008] Step 1: Establish a 3D standard character model, wherein the 3D standard character model uses a triangular mesh surface human body model;

[0009] Step 2: Two-dimensional clothing piece paper pattern control, adjusting clothing piece parameters so that the clothing piece is adapted to the 3D standard character model;

[0010] Step 3: Sew the garment pieces into a 3D garment;

[0011] Step 4: Attach a texture and adjust the material for the 3D clothing.

[0012] Preferably, the step I includes the following steps:

[0013] Step 1.1: Establish a parametric human body model by segmenting a horizontal B-spline curve, wherein the horizontal section of the parametric human body model is mainly composed of parallel B-spline curves;

[0014] Step 1.2: Construct a frame according to the parameterized human body model and clothing body structure line, and use the frame as a vertex of the triangular mesh.

[0015] Preferably, the step 2 includes the following steps:

[0016] Step 2.1: arrange each piece of clothing in a two-dimensional plane in order according to the position on the mannequin, and place each piece of clothing longitudinally in the direction of the cloth pattern;

[0017] Step 2.2: Set the parameters of the clothing piece according to the surrounding degree of the clothing piece to the human body, wherein the parameters of the clothing piece include a bending percentage and a geometric shape;

[0018] Step 2.3: Select the fabric of the garment piece.

[0019] Preferably, the step 2 further includes the following steps:

[0020] According to the designed clothes, make a relative sample piece, and then diagonalize each triangle on the curved surface along the sample piece to flatten the entire surface of the sample piece to a flat surface. The flat curved surfaces are arranged to obtain the pieces of clothing that make up the garment.

[0021] Preferably, the step 3 includes the following steps:

[0022] Step 3.1: Detect the edge of the garment piece that needs to be stitched;

[0023] Step 3.2: Place each piece of clothing on the corresponding part of the 3D standard character model;

[0024] Step 3.3: Stitch adjacent edges that need to be stitched to obtain a 3D garment.

[0025] A 3D clothing virtual automatic generation system provided according to the present invention includes the following devices:

[0026] 3D standard character model device: used to create a 3D standard character model, wherein the 3D standard character model uses a triangular mesh surface human model;

[0027] Clothing piece control device: for two-dimensional clothing piece paper pattern control, adjusting clothing piece parameters so that the clothing piece is adapted to the 3D standard character model;

[0028] Clothing sewing device: used to sew clothing pieces into 3D clothing;

[0029] Texture and texture adjusting device: used to attach texture and adjust texture for 3D clothing.

[0030] Preferably, the 3D standard character model device includes the following devices:

[0031] Parametric human body model building device: used to establish a parametric human body model by segmented horizontal B-spline curve, wherein the horizontal section of the parametric human body model is mainly composed of parallel B-spline curves;

[0032] Frame construction device: used for constructing a frame according to the parameterized human body model and clothing body structure line, and using the frame as a vertex of a triangular mesh.

[0033] Preferably, the tablet control device includes the following devices:

[0034] Clothing piece discharge device: used to arrange each piece of clothing in a two-dimensional plane in order according to the position on the mannequin, and each piece of clothing should be placed longitudinally in the direction of the cloth pattern;

[0035] Clothing piece parameter setting device: used to set the parameters of the clothing piece according to the surrounding degree of the clothing piece to the human body, wherein the parameters of the clothing piece include bending percentage and geometric shape;

[0036] Clothing piece fabric selection device: used to select the clothing piece fabric.

[0037] Preferably, the clothing piece control device further includes the following device:

[0038] Clothing piece acquisition device: used to make relative sample pieces according to the designed clothes, and then flatten the entire surface of the sample piece along each triangle on the curved surface after diagonalizing the sample piece On a plane, arrange the flattened surfaces to obtain the pieces of clothing that make up the garment.

[0039] Preferably, the garment sewing device includes the following devices:

[0040] edge detection device: used to detect the edge of the garment piece to be stitched;

[0041] Clothing piece placement device: used to place each clothing piece at a corresponding part of a 3D standard character model;

[0042] Edge stitching device: used to stitch adjacent edges that need to be stitched to obtain a 3D garment.

[0043] Compared with the prior art, the present invention has the following beneficial effects:

[0044] In the present invention, the flattened 2D garment piece presents a regular triangular shape, which can be conveniently integrated with traditional plate-making technology, and the present invention sets the parameters of the garment piece according to the surrounding degree of the garment piece to the human body, which can ensure Basic looseness and fit of clothing.

[Patent attached]

[Brief Description of the Drawings]

[0045] Other features, objects, and advantages of the present invention will become more apparent by reading the detailed description of the non-limiting embodiments with reference to the following drawings:

[0046] FIG. 1 is a schematic flowchart of a method provided by the present invention.

[0047] FIG. 2 is a schematic diagram of a triangulated developable surface.

【detailed description】

[0048] The present invention is described in detail below with reference to specific embodiments. The following examples will help those skilled in the art to further understand the present invention, but do not limit the present invention in any form. It should be noted that, for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention. These all belong to the protection scope of the present invention.

[0049] The purpose of the present invention is to automatically generate three-dimensional clothing. The present invention is achieved by the following technical solutions:

[0050] The method provided by the present invention includes at least the following steps:

[0051] Step 1: Establish a standard three-dimensional model;

[0052] Step 2: Two-dimensional garment piece pattern control;

[0053] Step 3: Suture;

[0054] Step 4: Try on.

[0055] The above steps are described in detail below with reference to the drawings.

[0056] Step 1: Establish a three-dimensional model, specifically, use a three-dimensional modeling software to establish a 3D standard character model. (Standard figure model: refers to a triangular mesh surface human model) A human model of segmented B-spline curve is obtained by interpolation, and a frame is constructed by combining the PHBC human model and the human body structure line, and this frame is used as the vertex of the triangular mesh. (PHBC human body model refers to a parametric human body model established by segmented horizontal B-spline curve (PHBC). Its horizontal section is composed of a large number of parallel B-spline curves, which can accurately and quickly locate the key horizontal section of the human body. Perform relevant analysis; according to the characteristics of the B-spline curve, its operation on the horizontal section is very flexible, such as scaling, deformation, intersection, etc.) The clothing model must meet the characteristics of the human body, so it must meet certain requirements of human body structure lines and key points. With reference to the human body structure and clothing structure definition required body structure line, design and obtain the sample clothing piece.

[0057] Step 2: According to the designed clothes to make relative sample pieces, along the diagonalization of each triangle on the curved surface, you can quickly flatten the entire surface to a flat surface, after flattening The curved surfaces are arranged to form a prototype clothing prototype. Each piece of clothing is arranged neatly on a two-dimensional plane according to the position where it is worn on the mannequin, and each piece of clothing is to be placed longitudinally in the direction of the cloth pattern. Set the bending percentage, geometric shape and other parameters according to the surroundings of the clothing piece. (Use triangulation to develop the curved surface as shown in Figure 2. Triangulation: that is, most edges of a curved triangular mesh have "local convexity", then It can be approximated as a developable surface. Specific explanations: the edge points Al and A2, and their neighboring points are A1-1, A1 + 1, A2_1, and A2 + 1, respectively. If the diagonal A1A2 is the convex hull of the polygon formed by these 6 points Envelope, the edge A1A2 meets local convexity. Conversely, A1A2 is a non-convex envelope. The convex envelope can be used as a diagonal line forming a developable surface. Using this property, edge triangulation can be achieved. The core of the DBT algorithm Is to find a series of diagonal points formed by the edge points, and use these diagonal lines to form a triangular mesh surface, and because these diagonal lines meet local convexity, it can be considered that the entire mesh surface is a developable surface.)

[0058] Step 3: Traditional clothes are stitched together by clothing pieces. In the three-dimensional garment manufacturing process, sewing lines are also set on the clothing pieces, and the computer can automatically sew. We detect the edge of the garment that needs to be stitched, and the detected sutures are automatically stitched. For example, when the front and back pieces are stitched, there is a stitch on the front piece and a stitch on the back piece. This process is related to whether the garment is a whole model, otherwise the garment piece cannot eventually become a complete garment model. The computer places the garment around the corresponding part of the mannequin and automatically simulates stitching.

[0059] Step 4: Attach a texture to the clothing and adjust its material (color map, highlight map, normal map, etc.) to make the clothes look real and natural. The maps and materials can simulate the texture of the fabric and the flexibility and texture of the fabric when worn. And texture effect. The pattern, pattern and color of the fabric can be changed freely by the designer.

[0060] The specific embodiments of the present invention have been described above. It should be understood that the present invention is not limited to the specific embodiments described above, and those skilled in the art can make various changes or modifications within the scope of the claims, which does not affect the essence of the present invention.

【Rights request】

1. A 3D clothing virtual automatic generation method, comprising the following steps: Step 1: Establish a 3D standard character model, wherein the 3D standard character model uses a triangular mesh surface human model; Step 2: Two-dimensional The clothing piece pattern is controlled, and the clothing piece parameters are adjusted to adapt the clothing piece to the 3D standard character model. Step 3: Sew the clothing piece into 3D clothing. Step 4: Attach a texture to the 3D clothing and adjust the material.

The method for virtual automatic generation of 3D clothing according to claim 1, characterized in that said step 1 comprises the following steps: Step 1.1: establishing a parametric human body model by segmented horizontal B-spline curve, wherein said The horizontal section of the parametric human body model is mainly composed of parallel B-spline curves; Step 1.2: Construct a frame according to the parametric human body model and clothing body structure line, and use the frame as the vertex of the triangulated mesh.

3. The method for virtual automatic generation of 3D clothing according to claim 1, wherein the step 2 comprises the following steps: Step 2.1: placing each piece of clothing in two dimensions in order according to the position on the mannequin. Neatly arranged on the plane, and each piece should be placed longitudinally in the direction of the cloth pattern; Step 2.2: Set the parameters of the piece according to the surrounding degree of the piece to the human body, where the parameters of the piece include the bending percentage and geometric shape; Step 2.3 : Selected fabrics.

The method for virtual automatic generation of 3D clothing according to claim 1, characterized in that said step 2 further comprises the following steps: making relative sample pieces according to the designed clothes, and then moving diagonally along the sample pieces For each triangle on the curved surface, the entire surface of the sample piece is flattened onto a plane, and the flattened surface is arranged to obtain the pieces of clothing that make up the garment.

5. The method for virtual automatic generation of 3D clothing according to claim 1, characterized in that said step 3 comprises the following steps: Step 3.1: detecting the edges of the clothing pieces that need to be stitched; step 3.2: placing each clothing piece separately in 3D Corresponding parts of standard character models; Step 3.3: stitch adjacent edges that need to be stitched to obtain 3D clothing.

6. A 3D clothing virtual automatic generation system, comprising the following devices: a 3D standard character model device: used to establish a 3D standard character model, wherein the 3D standard character model uses a triangular mesh surface human model; Clothing piece control device: used for two-dimensional clothing piece pattern control, adjusting clothing piece parameters to adapt the clothing piece to the 3D standard character model; clothing sewing device: used to sew clothing pieces into 3D clothing; texture and material adjustment device : Used to attach textures and adjust materials for 3D clothing.

The virtual automatic generation system for 3D clothing according to claim 6, characterized in that the 3D standard character model device comprises the following devices: a parameterized human body model establishing device: used to establish a segmented horizontal B-spline curve Parametric human body model, wherein the horizontal section of the parametric human body model is mainly composed of parallel B-spline curves; frame construction device: used to construct a frame according to the parametric human body model and clothing body structure line, and The frame is the vertices of the triangulated mesh.

The 3D clothing virtual automatic generation system according to claim 6, wherein the clothing piece control device comprises the following devices: a clothing piece discharge device: used to place each piece of clothing piece on a mannequin according to where it is worn The positions are arranged in order on a two-dimensional plane, and each piece of clothing should be placed longitudinally in the direction of the cloth pattern. The parameter setting device of the clothing piece is used to set the parameters of the clothing piece according to the surrounding degree of the clothing piece to the human body. The parameters include bending percentage and geometric shape; clothing fabric selection device: fabric used to select clothing.

The 3D clothing virtual automatic generation system according to claim 6, characterized in that the clothing piece control device further comprises the following device: a clothing piece acquisition device: for making a relative sample piece according to the designed clothing , And then diagonalize each triangle on the curved surface of the sample piece, flatten the entire surface of the sample piece to a plane, and arrange the flattened surface to obtain the pieces of clothing that make up the garment. .

The 3D clothing virtual automatic generation system according to claim 6, characterized in that the clothing stitching device comprises the following devices: an edge detection device: used to detect edges that need to be stitched on clothing pieces; a clothing piece placement device: Place each piece of clothing on the corresponding part of the 3D standard character model; Edge stitching device: used to stitch adjacent edges that need to be stitched to obtain 3D clothing.


More about 3D virtual clothing production system: http://airulm17.com/product/249.html


幸运飞艇靠谱投注平台【上荣鼎复制rd1133.com网址】极速快3彩票北京赛车可靠平台网址【上荣鼎复制rd1133.com网址】天天体育新闻网九州彩票网【上荣鼎复制rd1133.com网址】秒速飞艇官网实时开奖十大澳门线上娱乐城【上荣鼎复制rd1133.com网址】秒速赛车-开奖结果-记录-官网ag真人视讯【上荣鼎复制rd1133.com网址】乐趣彩票导航网址【上荣鼎复制rd1133.com网址】