CN107292964B - Three-dimensional virtual garment self-penetration compensation method - Google Patents
Three-dimensional virtual garment self-penetration compensation method Download PDFInfo
- Publication number
- CN107292964B CN107292964B CN201710398383.6A CN201710398383A CN107292964B CN 107292964 B CN107292964 B CN 107292964B CN 201710398383 A CN201710398383 A CN 201710398383A CN 107292964 B CN107292964 B CN 107292964B
- Authority
- CN
- China
- Prior art keywords
- dimensional virtual
- intersection
- vertex
- psi
- cutting
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
- G06T17/20—Finite element generation, e.g. wire-frame surface description, tesselation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T15/00—3D [Three Dimensional] image rendering
- G06T15/10—Geometric effects
- G06T15/20—Perspective computation
- G06T15/205—Image-based rendering
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Graphics (AREA)
- Geometry (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Computing Systems (AREA)
- Details Of Garments (AREA)
- Outer Garments And Coats (AREA)
- Professional, Industrial, Or Sporting Protective Garments (AREA)
Abstract
The invention provides a self-penetration compensation method of a three-dimensional virtual garment, which is characterized by comprising the following steps of: segmenting the source three-dimensional virtual garment mesh into different portions; performing circular cutting on the worn three-dimensional virtual garment from top to bottom by using a horizontal plane to obtain cut rings of all parts of the worn three-dimensional virtual garment; finding out intersected cutting rings at different parts, and recording the intersection starting point and the intersection ending point of the intersected cutting rings; finding a three-dimensional clothing grid surface passing between the intersection starting point and the intersection ending point of the intersection ring, and recording the three-dimensional clothing grid surface as a penetrating grid surface and a penetrated grid surface; and performing penetration compensation on the penetration grid surface. The invention solves the penetration problem in the wearing of the three-dimensional virtual garment, and the garment grids which are penetrated move to the correct position.
Description
Technical Field
The invention relates to a method for solving the self-penetration problem of clothes in wearing of three-dimensional virtual clothes.
Background
when a human body wears the three-dimensional virtual garment, the distances among parts of the garment are too close, so that the meshes of the garment penetrate through the three-dimensional virtual garment. After the source three-dimensional virtual upper garment shown in fig. 1a is worn, the sleeves penetrate through the body, as shown in fig. 1b and 1c, wherein fig. 1b is a schematic diagram of the sleeves penetrating through the body after the source three-dimensional virtual upper garment is worn, and fig. 1c is a schematic diagram of the three-dimensional virtual sleeves penetrating through the interior of the body.
Disclosure of Invention
the invention aims to provide a method for solving the self-penetration problem of clothes in wearing of three-dimensional virtual clothes.
In order to achieve the above object, the technical solution of the present invention is to provide a self-penetration compensation method for a three-dimensional virtual garment, which is characterized by comprising the following steps:
step 1, dividing a source three-dimensional virtual clothing grid into different parts;
step 2, performing circular cutting on the worn three-dimensional virtual garment from top to bottom by using a horizontal plane to obtain cut rings of all parts of the worn three-dimensional virtual garment;
step 3, finding intersecting rings of different parts of the three-dimensional virtual garment, and recording an intersecting starting point and an intersecting finishing point of the intersecting rings;
And 4, finding the three-dimensional clothing grid surface passing between the intersection starting point and the intersection ending point of the intersection cutting ring, wherein the grid surfaces generating the intersection are divided into two parts, one part is a penetrating grid surface and recorded as psi, and the other part is a penetrated grid surface and recorded as psi'.
and 5, carrying out penetration compensation on psi, wherein the method comprises the following steps:
Step 5.1, obtaining cutting rings of the same horizontal tangent plane psi and psi' by a layer cutting method, and using the vertex v of a triangle through which the psi cutting rings passithe normal vector N 'is inverted, and a ray is taken to psi' to find the intersection point vi′;
Step 5.2, with vertex vias a center, decompose the vertex viThe triangle is located, and the vertex v is movediTo the point of intersection vi′;
Step 5.3, maintaining the geometric characteristics of the three-dimensional virtual clothing cutting pieces in the compensation process through Laplace mean value transformation, namely vertex viThe transformation formula of the neighbor vertex is:
in the formula, N (v)i) Is a vertex viSet of neighbor vertices of vjIs N (v)i) J is the vertex index, wijis the weight of the top point of the neighbor,
and 5.4, repeating the steps 5.1 to 5.3 until the tangent rings of psi and psi' do not intersect.
preferably, after the step 2 and before the step 3, the method further comprises:
and sequencing the cutting rings obtained in the step 2.
Preferably, in the step 1, the source three-dimensional virtual clothing grid is a source three-dimensional virtual jacket grid, and the source three-dimensional virtual jacket grid is divided into a clothing body, a left sleeve and a right sleeve, so that the ordering of the cut loops follows the following principle:
in principle one, for the penetration compensation of the left sleeve and the clothes body, the starting position of a left sleeve cutting ring is the position with the maximum positive X direction, and the starting position of a clothes body cutting ring is the position with the minimum negative X direction;
And secondly, for the penetration compensation of the right sleeves and the clothes body, the starting position of the right sleeve cutting ring is the position with the minimum X negative direction, and the starting position of the clothes body cutting ring is the position with the maximum X positive direction.
The invention solves the penetration problem in the wearing of the three-dimensional virtual garment, and the garment grids which are penetrated move to the correct position.
Drawings
FIG. 1a is a source three-dimensional virtual top garment;
FIG. 1b is a schematic view of the penetration between the sleeves and the body of the source three-dimensional virtual coat;
FIG. 1c is a schematic view of the inside of a three-dimensional virtual sleeve penetrating the body of a garment;
FIG. 1d is an internal schematic view of a three-dimensional virtual sleeve and body compensated for self-penetration using the present invention;
FIG. 2 is a schematic diagram of a source three-dimensional virtual coat divided into three parts;
FIGS. 3a and 3b are three-dimensional virtual cut-outs of the jacket after wearing, wherein FIG. 3a is a dense cut-out and FIG. 3b is a sparse intersecting cut-out;
FIGS. 4a and 4b are the cut ring sequence of each part of the three-dimensional virtual upper outer garment, wherein FIG. 4a is the sequence of the cut ring of the body and the cut ring of the left sleeve, and FIG. 4b is the sequence of the cut ring of the body and the cut ring of the right sleeve;
FIG. 5 is a view showing the intersection points of sparse tangent rings at different positions of the dimensional virtual upper garment;
FIG. 6 shows the three-dimensional virtual jacket penetration grid at different locations;
fig. 7 is a three-dimensional virtual upper garment incision ring without intersection after penetration compensation.
Detailed Description
The invention will be further illustrated with reference to the following specific examples. It should be understood that these examples are for illustrative purposes only and are not intended to limit the scope of the present invention. Further, it should be understood that various changes or modifications of the present invention may be made by those skilled in the art after reading the teaching of the present invention, and such equivalents may fall within the scope of the present invention as defined in the appended claims.
for the penetration situation shown in fig. 1b and 1c, the result obtained after the self-penetration compensation is performed on the three-dimensional virtual sleeves and the clothes body by using the method of the invention is shown in fig. 1d, and the method specifically comprises the following steps:
step 1, dividing the source three-dimensional virtual coat into three parts, namely a left sleeve, a right sleeve and a coat body, as shown in figure 2.
and 2, performing circular cutting on the worn three-dimensional virtual coat from top to bottom by using a horizontal plane to obtain cut rings of the left sleeve, the right sleeve and the body of the worn three-dimensional virtual coat. If the three-dimensional virtual coat is penetrated in different parts as shown in fig. 3a, the cutting loops of the different parts will intersect as shown in fig. 3 b.
and 3, sequencing the tangent rings, wherein the sequencing follows the following principle:
in principle one, for the penetration compensation of the left sleeve and the body, the start position of the left sleeve cutting ring is the maximum positive X direction, and the start position of the body cutting ring is the minimum negative X direction, as shown in FIG. 4 a.
In principle two, for the penetration compensation of the right sleeve and the body, the start position of the right sleeve cutting ring is the minimum position in the negative direction of X, and the start position of the body cutting ring is the maximum position in the positive direction of X, as shown in FIG. 4 b.
And step 4, finding intersecting loops of different parts of the three-dimensional virtual garment, and recording an intersecting starting point and an intersecting ending point of the intersecting loops, as shown in fig. 5.
And 5, finding the three-dimensional clothing grid surface passing between the intersection starting point and the intersection ending point of the intersection cutting ring, wherein the grid surfaces generating the intersection are divided into two parts, one part is a penetrating grid surface and recorded as psi, and the other part is a penetrated grid surface and recorded as psi'. As shown in fig. 6.
And 6, carrying out penetration compensation on psi, and comprising the following steps:
step 6.1, obtaining cutting rings of the psi and psi' in the same horizontal tangent plane by a layer cutting method, and using the vertex v of a triangle through which the psi cutting rings passiThe normal vector N 'is inverted, and a ray is taken to psi' to find the intersection point vi′;
Step 6.2, with vertex vias a center, decompose the vertex viThe triangle is located, and the vertex v is movediTo the point of intersection vi′;
step 6.3, maintaining the geometric characteristics of the three-dimensional virtual clothing cutting pieces in the compensation process through Laplace mean value transformation, namely vertex viThe transformation formula of the neighbor vertex is:
In the formula, N (v)i) Is a vertex viSet of neighbor vertices of vjIs N (v)i) J is the vertex index, wijIs the weight of the top point of the neighbor,
And 6.4, repeating the steps 6.1 to 6.3 until the tangent rings of psi and psi' do not intersect. As shown in fig. 7.
Claims (2)
1. a three-dimensional virtual garment self-penetration compensation method is characterized by comprising the following steps:
step 1, dividing a source three-dimensional virtual clothing grid into different parts;
Step 2, performing circular cutting on the worn three-dimensional virtual garment from top to bottom by using a horizontal plane to obtain cut rings of all parts of the worn three-dimensional virtual garment;
Step 3, finding intersecting rings of different parts of the three-dimensional virtual garment, and recording an intersecting starting point and an intersecting finishing point of the intersecting rings;
Step 4, finding three-dimensional clothing grid surfaces passing through between the intersection starting points and the intersection ending points of the intersection rings, wherein the grid surfaces generating the intersection are divided into two parts, one part is a penetrating grid surface and recorded as psi, and the other part is a penetrated grid surface and recorded as psi';
and step 5, carrying out penetration compensation on psi, wherein the method comprises the following steps:
Step 5.1, obtaining cutting rings of the same horizontal section psi and psi' by a layer cutting method, and using the vertex v of the triangle through which the psi cutting ring passesiIs directed to psi' to find the intersection point vi′;
step 5.2, with vertex viAs a center, decompose the vertex vithe triangle is located, and the vertex v is movediTo the point of intersection vi′;
Step 5.3, maintaining the geometric characteristics of the three-dimensional virtual clothing cutting pieces in the compensation process through Laplace mean value transformation, namely vertex viThe transformation formula of the neighbor vertex is:
In the formula, N (v)i) Is a vertex viSet of neighbor vertices of vjis N (v)i) J is the vertex index, wijIs the weight of the top point of the neighbor,
Step 5.4, repeating steps 5.1 to 5.3 until the cut loops of ψ and ψ' do not intersect, further comprising after said step 2 and before said step 3:
And sequencing the cutting rings obtained in the step 2.
2. the method for self-penetration compensation of three-dimensional virtual clothes according to claim 1, wherein in the step 1, the source three-dimensional virtual clothes grid is a source three-dimensional virtual jacket grid, and the source three-dimensional virtual jacket grid is divided into a clothes body, a left sleeve and a right sleeve, and then the ordering of the cut loops follows the following principle:
In principle one, for the penetration compensation of the left sleeve and the clothes body, the starting position of a left sleeve cutting ring is the position with the maximum positive X direction, and the starting position of a clothes body cutting ring is the position with the minimum negative X direction;
And secondly, for the penetration compensation of the right sleeves and the clothes body, the starting position of the right sleeve cutting ring is the position with the minimum X negative direction, and the starting position of the clothes body cutting ring is the position with the maximum X positive direction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710398383.6A CN107292964B (en) | 2017-05-31 | 2017-05-31 | Three-dimensional virtual garment self-penetration compensation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710398383.6A CN107292964B (en) | 2017-05-31 | 2017-05-31 | Three-dimensional virtual garment self-penetration compensation method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107292964A CN107292964A (en) | 2017-10-24 |
CN107292964B true CN107292964B (en) | 2019-12-10 |
Family
ID=60095054
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710398383.6A Expired - Fee Related CN107292964B (en) | 2017-05-31 | 2017-05-31 | Three-dimensional virtual garment self-penetration compensation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107292964B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101650839A (en) * | 2009-08-11 | 2010-02-17 | 东华大学 | Fitting performance evaluation method of three dimensional garment in network environment |
CN103325146A (en) * | 2013-06-28 | 2013-09-25 | 北京航空航天大学 | Clothes surface piece three-dimensional mapping method based on human body section ring data |
CN103366401A (en) * | 2013-08-05 | 2013-10-23 | 上海趣搭网络科技有限公司 | Quick display method for multi-level virtual clothes fitting |
CN106372344A (en) * | 2016-09-05 | 2017-02-01 | 中山大学 | Three-dimensional clothes transformation method based on feature size constrain and system thereof |
-
2017
- 2017-05-31 CN CN201710398383.6A patent/CN107292964B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101650839A (en) * | 2009-08-11 | 2010-02-17 | 东华大学 | Fitting performance evaluation method of three dimensional garment in network environment |
CN103325146A (en) * | 2013-06-28 | 2013-09-25 | 北京航空航天大学 | Clothes surface piece three-dimensional mapping method based on human body section ring data |
CN103366401A (en) * | 2013-08-05 | 2013-10-23 | 上海趣搭网络科技有限公司 | Quick display method for multi-level virtual clothes fitting |
CN106372344A (en) * | 2016-09-05 | 2017-02-01 | 中山大学 | Three-dimensional clothes transformation method based on feature size constrain and system thereof |
Non-Patent Citations (3)
Title |
---|
On Linear Variational Surface Deformation Methods;Mario Botsch 等;《IEEE Transactions on Visualization and Computer Graphics》;20071119;第14卷(第1期);第213-230页 * |
Sketching garments for virtual characters;Emmanuel Truquin 等;《EUROGRAPHICS Workshop on Sketch-Based Interfaces and Modeling》;20041231;第1-8页 * |
Virtual Garments:A Fully Geometric Approach for Clothing Design;Philippe Decaudin 等;《EUROGRAPHICS 2006》;20061231;第25卷(第3期);第625-634页 * |
Also Published As
Publication number | Publication date |
---|---|
CN107292964A (en) | 2017-10-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9681694B2 (en) | Fully fashion knitwear and a method and system for making three-dimensional patterns for the same | |
CN102332180B (en) | Three-dimensional garment modeling and pattern designing method based on draping | |
US9679409B2 (en) | System and method for simulating realistic clothing | |
JP2019125402A5 (en) | ||
CN100478963C (en) | Virtual paper pattern forming method and virtual paper pattern forming device | |
US10582733B2 (en) | Methods for producing garments and garment designs | |
CN103325146B (en) | The three-dimensional mapping method of a kind of clothing dough sheet based on human body section rings data | |
CN104899918B (en) | The three-dimensional environment modeling method and system of a kind of unmanned plane | |
CN101783016B (en) | Crown appearance extract method based on shape analysis | |
Zhang et al. | Design 3D garments for scanned human bodies | |
CN105335997A (en) | Complex structure point cloud processing algorithm bases on Poisson reconstruction | |
KR20170103364A (en) | 3D volume mask model information generating apparatus and method therefor | |
CN104134236A (en) | Boolean operation method of three-dimensional planar solids | |
CN111415415A (en) | Automatic construction method of three-dimensional map cutting geological profile | |
CN103366402A (en) | Fast attitude synchronization method of three-dimensional virtual clothing | |
CN107292964B (en) | Three-dimensional virtual garment self-penetration compensation method | |
Pan et al. | Automatic rigging for animation characters with 3D silhouette | |
US9695529B2 (en) | Knitted outer covering and a method and system for making three-dimensional patterns for the same | |
KR20120052017A (en) | Apparatus and method for coordinating a simulated clothes with the three dimensional effect at plane using the two dimensions image data | |
Sayem et al. | 3D grading and pattern unwrapping technique for loose-fitting shirt part 1: resizable design template | |
CN107194990B (en) | A kind of adaptive dressing method of three-dimensional garment | |
CN104317999A (en) | Method for converting two-dimensional clothing effect into three-dimensional clothing effect | |
CN105072432B (en) | The Visual Matching Method searched for based on optical flow field and Dynamic Programming | |
Narita et al. | Garment Transfer for Quadruped Characters. | |
CN113868730B (en) | Garment complex lapel grid geometric folding deformation method based on lapel curve |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20191210 |