CN104809287B - Wearing article layered approach and its system, layering wearing article analogy method and its system - Google Patents
Wearing article layered approach and its system, layering wearing article analogy method and its system Download PDFInfo
- Publication number
- CN104809287B CN104809287B CN201510198314.1A CN201510198314A CN104809287B CN 104809287 B CN104809287 B CN 104809287B CN 201510198314 A CN201510198314 A CN 201510198314A CN 104809287 B CN104809287 B CN 104809287B
- Authority
- CN
- China
- Prior art keywords
- model
- garment piece
- point
- collision
- wearing
- 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.)
- Active
Links
Landscapes
- Professional, Industrial, Or Sporting Protective Garments (AREA)
Abstract
The present invention discloses a kind of wearing article layered approach, a, fragment: if establishing dry plate grid garment piece model;B, it is layered: if the nearly body relationship of model is worn by the wearing article and grid of the sewing of dry plate garment piece model, if dry plate garment piece model is layered from the inside to the outside;C, sew: if dry plate garment piece model is sewn into wearing article model, wearing article model is worn on model by being through with the nearly body relationship for wearing model under the action of suturing pulling force and colliding.Invention additionally discloses a kind of wearing article hierarchical systems, layering wearing article analogy method and its system using the above method.The present invention simulates clothes and reaches balance under the action of each power, after obtaining T after a period of time, the pre- movement position of current point.And simulated crash, the position of desired movement position and a upper time point was first passed through, expected speed is obtained.When hit-treatment, the effect of wearing the clothes of garment piece is layered by the position and expected speed, quick, real-time simulation that were directly changed a upper time point.
Description
Technical field
The present invention relates to a kind of layered approach of wearing article and its system, in particular to a kind of simulation side for being layered wearing article
Method and its system.
Background technique
" the folded simulator worn and analogy method " patent of invention of Publication No. CN101785033A is mainly used for two pieces
When clothes is worn, two pieces clothes is divided into two layers, when two layers of clothes is overlapped, the clothes of outer layer is popped up outward.To pop-up
Clothes is smoothed, and is simulated later.
But the ready-made clothes for designing and producing completion (clothes to complete) can only be simulated set by this method is through human mould
In type, size, the style of clothes be it is set, manikin is also standard, cannot achieve different sizes, style, complicated clothing
The real simulation effect that is through on the manikin of different building shape is taken, and it is low to wear simulation precision, when human movement model
Can not anthropomorphic phantom type in real time wears effect.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of wearing article layered approach that can improve simulation precision and its being
System.
The purpose of the present invention is to provide a kind of layering wearing article analogy methods and its system that can improve simulation precision.
In order to achieve the above objectives, solution of the invention is:
A kind of wearing article layered approach, is realized by following steps:
A, fragment: if establishing dry plate grid garment piece model;
B, it is layered:, will be several if wearing the nearly body relationship of model by the wearing article and grid of the sewing of dry plate garment piece model
Piece garment piece model is divided into several levels from the inside to the outside;
C, it sews: if dry plate garment piece model is sewn into wearing article model, being worn under the action of suturing pulling force and impact force
Object model wear on model by being through with the nearly body relationship for wearing model.
A kind of wearing article hierarchical system is realized using method as previously described, comprising:
A, fragment module: if establishing dry plate grid garment piece model;
B, hierarchical block:, will if wearing the nearly body relationship of model by the wearing article and grid of the sewing of dry plate garment piece model
If dry plate garment piece model is divided into several levels from the inside to the outside;
C, module is sewed: if dry plate garment piece model is sewn into wearing article model, in the effect of suture pulling force and impact force
Lower wearing article model is worn on model by being through with the nearly body relationship for wearing model.
A kind of layering wearing article analogy method, is realized by following steps:
If dry plate garment piece model bounding box is through with the nearly body relationship for wearing model according to it and wears on model;Setting time
Step-length T responds the collision of the 1st time step T:
Current location Current P garment piece model bounding box and the collision for wearing model are responded, front cut pieces will be worked as
The point of impingement in model meshes moves on to outside model along the normal for the collision triangle for wearing model, and sets the point of impingement as not
Dynamic point;
The garment piece model bounding box triangle at next time point is responded with the collision for wearing model triangle, it will
Collision triangle on the garment piece model adds impact force;
Collision between the garment piece model at next time point is responded, is set on the garment piece model bounding box of internal layer
The point of impingement it is motionless, successively calculate three points and internal layer of the collision triangle on exterior covering panels model bounding box from inside to outside
The relative position of triangle index is collided, changes the speed V of the point of impingement on exterior covering panels bounding box, so that the point of impingement is next
A time point, which moves to, to be worn outside model;Speed V moves to next time point from current location according in time step T
It acquires position;
The collision of each time step T is and so on calculated, to obtain several garment piece model bounding boxs in final fitting sle
Wear the position Candida P of model.
A kind of layering wearing article analogy method, is realized by following steps:
A, fragment: if grid wears the dry plate grid garment piece that the grid wearing article model worn on model includes corresponding suture
Model;
B, be layered: if according to dry plate garment piece model and the nearly body relationship for wearing model, if by dry plate garment piece model by it is inner extremely
It is divided into several levels outside;
C, movement simulation:
If the correspondence stitch points for setting dry plate garment piece model keep the spring force of overlapping;
According to the equation of equilibrium of the power of each garment piece model, each garment piece model is acquired in time step by conjugate gradient algorithms
T moves to the position at next time point from current location, and then acquires the movement velocity V of the mesh point of garment piece model;And root
The garment piece model bounding box at next time point is established according to the next time location of garment piece model;
When front cut pieces model bounding box and model collision is worn, obtains current location Current P garment piece model packet respectively
It encloses the mesh point of box and wears the collision of model, record point of impingement index P1 and collision triangle index T1;When obtaining next
Between position Candidate P garment piece model bounding box triangle and wear the collision of model triangle, record collision triangle rope
Draw T2, T3;If obtaining the point of impingement between next time location CandidateP dry plate garment piece model bounding box, record collision
Triangle indexes T4, T5;
Current location Current P garment piece model bounding box and the collision for wearing model are responded, front cut pieces will be worked as
The point of impingement in model meshes moves on to outside model along the normal for the collision triangle for wearing model, and sets the point of impingement as not
Dynamic point;
The garment piece model bounding box triangle at next time point is responded with the collision for wearing model triangle, it will
Collision triangle on the garment piece model of next time point position adds impact force;
Collision between the garment piece model at next time point is responded, is set on the garment piece model bounding box of internal layer
The point of impingement it is motionless, successively calculate three points and internal layer of the collision triangle on exterior covering panels model bounding box from inside to outside
The relative position of triangle index is collided, changes the speed V of the point of impingement on exterior covering panels bounding box, so that the point of impingement is next
A time point, which moves to, to be worn outside model;
It and so on calculates to obtain the position Candida that several garment piece model bounding boxs wear model in final fitting
P。
If grid wearing article model is divided into dry plate grid garment piece model according to sewing trace.
The equation of equilibrium of the power is calculated according to spring force, frictional force, gravity and impact force.
Frictional force will be added when the point of impingement in front cut pieces model meshes, frictional force is according to formula F=μ × FNIt solves, and
Point that garment piece model collides is set as fixed point.
Movement velocity V=(next time point position Candida P- current location Current P)/time step
T。
To described when front cut pieces model bounding box is responded with the collision for wearing model bounding box;Or the reciprocal meter
Before calculation, garment piece model is rendered, the correspondence stitch points set on each garment piece model are stitched together, and the final position of stitch points
It is set as the midpoint of two o'clock line.
A kind of layering wearing article simulation system is realized using method as previously described, comprising:
A, fragment model: if grid wears the dry plate grid that the grid wearing article model worn on model includes corresponding suture
Garment piece model;
B, hierarchical mode: if according to dry plate garment piece model and the nearly body relationship for wearing model, if by dry plate garment piece model by
In to being divided into several levels outside;
C, simulation model is moved:
If the correspondence stitch points for setting dry plate garment piece model keep the spring force of overlapping;
According to the equation of equilibrium of the power of each garment piece model, each garment piece model is acquired in time step by conjugate gradient algorithms
T moves to the position at next time point from current location, and then acquires the movement velocity V of the mesh point of garment piece model;And root
The garment piece model bounding box at next time point is established according to the next time location of garment piece model;
When front cut pieces model bounding box and model collision is worn, obtains current location Current P garment piece model packet respectively
It encloses the mesh point of box and wears the collision of model, record point of impingement index P1 and collision triangle index T1;When obtaining next
Between position Candidate P garment piece model bounding box triangle and wear the collision of model triangle, record collision triangle rope
Draw T2, T3;If obtaining the point of impingement between next time location CandidateP dry plate garment piece model bounding box, record collision
Triangle indexes T4, T5;
Current location Current P garment piece model bounding box and the collision for wearing model are responded, front cut pieces will be worked as
The point of impingement in model meshes moves on to outside model along the normal for the collision triangle for wearing model, and sets the point of impingement as not
Dynamic point;
The garment piece model bounding box triangle at next time point is responded with the collision for wearing model triangle, it will
Collision triangle on the garment piece model of next time point position adds impact force;
Collision between the garment piece model at next time point is responded, is set on the garment piece model bounding box of internal layer
The point of impingement it is motionless, successively calculate three points and internal layer of the collision triangle on exterior covering panels model bounding box from inside to outside
The relative position of triangle index is collided, changes the speed V of the point of impingement on exterior covering panels bounding box, so that the point of impingement is next
A time point, which moves to, to be worn outside model;
It and so on calculates to obtain the position Candida that several garment piece model bounding boxs wear model in final fitting
P。
After adopting the above scheme, wearing article layered approach of the invention and its system, which have the advantages that, to improve
Simulation precision is especially also able to achieve higher simulation precision to complicated wearing article.
After adopting the above scheme, layering wearing article analogy method of the invention and its system have the advantages that mould
It is divided into two parts in quasi-, first part: wearing article or clothes calculate under the action of each power and reach balance, use spring-
The mode of particle constructs clothes, i.e. wearing article or clothes is made of a point set, between each point between point set mutually by
To the effect of spring force, and the power that is collided, gravity, frictional force and the effect for suturing power, it can be obtained by the calculating of power
After a period of time step-length T, the pre- movement position of current point.
Second part simulates the collision of generation.In this processing, two positions are had recorded.Record upper one
The movement position at a time point and current desired movement position.Wearing article or dress are just worn, due to various
The position of each point is adjusted in the effect of power, and final each point reaches stable.The movement at a upper time point, current point
Desired movement position.The position of desired movement position and a upper time point was first passed through, can get expected speed.At collision
When reason, by be directly changed a upper time point position and expected speed.Again by the position at a upper time point+
Goal pace × time obtains the current location of wearing article or clothes later, then calculates from current location and obtain the time
Wearing article or clothes position.
Meanwhile the garment piece and garment piece of hit-treatment principal security ectonexine, do not intert between garment piece and human body, realizes
Quickly, the effect of wearing the clothes of the garment piece of simulation layering in real time.
Detailed description of the invention
Fig. 1 is using wearing article slice structure schematic diagram of the invention;
Fig. 2 is that wearing article sutures schematic diagram;
Fig. 3 is that wearing article surrounds model schematic;
Fig. 4 is that model puts on wearing article schematic diagram;
Fig. 5 is the force analysis figure of the point on wearing article;
Fig. 6 is flow chart of the present invention;
Fig. 7 is that single garment piece of the invention simulates schematic diagram.
In figure:
Garment form 1
Garment piece model 11
Manikin 2
Triangle gridding 3
Specific embodiment
In order to further explain the technical solution of the present invention, being explained in detail below by specific embodiment the present invention
It states.
As shown in figs. 1-7, the present invention realizes that by taking people wears jacket, skirt as an example, wearing article model is by following steps
Garment form 1, clothes are divided into jacket, skirt, and wearing model is manikin 2.
1, wearing article re-packs module
As shown in Figure 1, being re-packed using the ET tool that re-packs to wearing article, if establishing dry plate grid garment piece model 11, garment piece
Model 11 can finally be stitched into wearing article model, and wearing article model example here is garment form 1.It is upper that garment form 1, which is divided,
Clothing, skirt, fragment include: a piece of front cut pieces, a pair of of rear garment piece, a pair of of sleeve piece, a pair of of cuff item, an eckband, Yi Duiling,
The clothing bottom, a piece of front skirt piece, a piece of front skirt waist, a pair of of rear skirt piece, a pair of of rear skirt waist after a piece of preceding clothing bottom, a pair.These points
Piece is referred to as garment piece 11, and triangular mesh model can be used in grid model.
2, hierarchical block
If the nearly body relationship of the garment form 1 and manikin 2 that are sewed by dry plate garment piece, if by dry plate garment piece by it is inner extremely
Outer layering.As shown in figure 3, if the level of dry plate garment piece model is divided into: 1 level includes: a pair of of cuff item, eckband, one
Piece front skirt waist, a pair of of rear skirt waist.
Since the bottom of jacket is between skirt and front and back garment piece, 2 levels include: a piece of front skirt piece, a pair
Rear skirt piece, a pair of of sleeve piece.The clothing bottom after including: a piece of preceding clothing bottom, a pair of 3 levels.4 levels include: a piece of front cut pieces,
A pair of of rear garment piece.5 levels include: a pair of of neck.And if so on can not have been had according to dry plate garment piece model relationship layer by layer, layering
It is divided into jacket and skirt.If wearing western clothes except jacket again, after western clothes fragment, by every of western clothes and jacket garment piece
Level on calculate outward, set the level of every of western clothes.
3, module is sewed
It is sutured as shown in Fig. 2, being added according to sewing process such as practical suture, stitch to wearing article using suture instrument
Point.
As shown in figure 3, drawing above-mentioned each garment piece, each garment piece is made to be enclosed in manikin surrounding.Manikin is using normal
Rule method builds up grid, and manikin bounding box is established outside manikin using conventional method.Each garment piece is in suture power
Further manikin at leisure under effect, is enclosed in the surrounding of manikin bounding box, each garment piece by the pulling force sutured, and
The influence of the collision of each garment piece and manikin bounding box.
If garment piece mesh point and manikin bounding box collide, garment piece mesh point is along touching on manikin bounding box
The normal for hitting triangle is displaced outwardly a unit, that is, moves to outside manikin bounding box.Each mesh point on garment piece is colliding
Manikin surrounding is enclosed under the action of power.As shown in figure 4, each garment piece is stitched into wearing article, i.e. jacket and skirt, and jacket
It is enclosed in manikin surrounding with skirt, such manikin has put on jacket and skirt.
Gravity is not in fact considered when sewing an upper garment with skirt, it can be found that jacket and skirt are at the beginning and manikin
It is not fitting, if there is gravity, clothes can fall, and be in fact only collided this when, suture spring force between power, point
Influence, achieve the effect that jacket and skirt are fitted in manikin surrounding, i.e., fitting simulation as hereinafter described.Specific collision
The impact simulation being detailed in following wearing article simulation.
4, realize that clothes is bonded analog module
When model 1 of pledging clothes is through with manikin 2, movement, deformation, pattern of body form change etc. can occur for manikin 2, this
It needs to carry out dynamic analog to wearing article when a, it is ensured that the state that wearing article shows is similar with the wears effect in reality, wears
Object simulation be divided into movement simulation and impact simulation.
(1) data preparation, setting and storage following data:
(1) spring force data: calculating the spring force between clothes mesh point, and spring force includes structural capacity and bending force, knot
Structure power is made of the two o'clock of arbitrary neighborhood, and bending force is two shared triangles with one side not set of vertices on shared side
At.
As shown in figure 5, two straight flange AB, the straight flange BD of triangle ABD have structural capacity, bevel edge AD also has structural capacity.Appoint
Two o'clock in a line all has structural capacity, and it not is regular rectangular shape that actual grid, which sees that Fig. 1 can have found, each
The distance between point difference is little, and the method that a dough sheet is divided into grid uses common FEA Meshing Method, can
To guarantee the distance of each point.Vertex B, vertex C, that is, BC of the triangle ABD and triangle ADC not on shared side have bending
Power.Save the plan range L between the index and B, C two o'clock of B, C two o'clock.
(2) grid data: grid data includes wearing article grid point locations, point texture, triangle index, textures, point phase
Adjacent all triangles index puts calculating of the adjacent all triangles index for point normal.Point normal be equal to its adjacent three
Angular normal is averaged, and can generate a kind of effect of smooth transition when rendering in this way at planed joint.
(3) wearing article can for example hierarchical information: be divided into 10 layers, 5 layers of skirt, five layers of jacket.Layering is according to the actual situation
Depending on, the garment piece rank closer to manikin is higher, and the garment piece level near human body is 1, pushes away from inside to outside, level difference
It is 2,3,4,5.
As shown in figure 3, jacket is placed on outside skirt, front skirt piece level is 1, and rear skirt piece level is 1, clothing before left front garment piece, the right side
Piece level is 2, and a pair of of cuff level is 1, and left and right sleeve piece level is 2, and an eckband level is 1, and a pair of neck level is 3.It can
See, layering not only considers the nearly body relationship of jacket and manikin, the nearly body relationship of skirt and manikin, it is also contemplated that jacket
Inside and outside layer between skirt wears relationship.In addition, the garment piece model in Fig. 3 also serves as one and half gowns, it is somebody's turn to do in half length
The garment piece level of clothing is as previously mentioned, roughly the same.
(4) garment piece stitch information: being stitched together if it is two panels garment piece correspondence, then garment piece stitch information is two seam
The index of chalaza;It is stitched together if it is 3 garment pieces correspondences, is then the index of 3 stitch points, and so on, 4 clothing
Piece suture, the index ... of 4 stitch points.The garment piece stitch information is mainly used for suturing the calculating of power, simulates manikin 2
After wearing jacket, skirt, corresponding two stitch points holding overlaps.
(2) movement and impact simulation step
(1) spring force of current point: each mesh point current location Current P, that is, current point on record wearing article calculates
Current distance L1 between spring two o'clock, according to Hooke's law, i.e. (current distance L1- plan range L) × spring parameter is found out
Spring force between two o'clock.Spring parameter is set according to fabric etc., and different fabric elastic effects is different, some clothes are not easy
It stretching, setting spring parameter is bigger, it is assumed that the size set this when is K, it is assumed that this when pulls a distance, by
It should be K to power.If clothes is easier to stretch, spring parameter size is set as K/2, this when pulls a distance,
It is K/2 by power, the effect of this pulling force is so that restoring plan range L between two o'clock.Suture power is also set to spring force,
Under the action of suturing power, two stitch points of corresponding suture eventually coincide together, and the plan range of two stitch points is 0,
Two stitch points will receive the effect that side is put and separate, and setting this when between two stitch points has a spring force, so that
Two stitch points can make two stitch points keep overlapping always to the state motion of coincidence.Two stitch points on wearing article
Suture power be two o'clock current distance × spring parameter.
(2) next time point position: setting time step is T, it is known that when wearing article is stablized, wearing article is being touched
Hit power, spring force, gravity, frictional force, suture power under the action of reach stable, wherein suture power also in compliance with Hooke's law.Set
Plan range between fixed two stitch points is defaulted as 0, is moved, is calculated as follows by spring force between two stitch points: is (current
Distance L1- plan range L) × spring parameter.Equation b=AX is established, equation is solved using conjugate gradient algorithms, acquires clothes mould
Type is in next time point position Candidate P, that is, next point.
(3) movement velocity of the time step wearing article is calculated:
V=(Candidate P-Current P)/T.
(4) collide: collision principal security garment piece and garment piece do not intert between garment piece and human body.According to wearing article
Next time point position Candidate P establishes the clothing of next time point position Candidate P using K-DOP method
Piece model bounding box, the garment piece model bounding box and manikin bounding box are collided.
Be likely to be when collision a little and face collide, it is also possible to be while and while collide, by clothes and human body packet
It encloses box collision and is divided into two parts.
The collision of garment piece and human body: the network of triangle lattice point on current location Current P garment piece model bounding box is obtained
With the collision on manikin or manikin bounding box, manikin bounding box is trapped among outside manikin, when colliding
It records the point of impingement index P1 on garment piece model bounding box and the collision triangle on manikin bounding box indexes T1.Under acquisition
The triangle of the triangle and manikin bounding box of one time point position Candidate P garment piece model bounding box touches
It hits, records the collision triangle index T2 and manikin of next time point position Candidate P garment piece model bounding box
The collision triangle of bounding box indexes T3.
Collision between garment piece and garment piece: the garment piece model of next time point position Candidate P ectonexine is obtained
The point of impingement between bounding box records respective collision triangle index T4 and T5 on the garment piece model bounding box of the ectonexine.
As hereinbefore, be likely to be when collision a little and face collide, but it is also possible that while and while collide, side and Bian Fa
Triangle T 4 is recorded when raw collision.
(5) collision response:
Collision response makes different and response for different collisions: some are the positions for being directly changed Current P, are had
It is to change speed, some are addition impact forces.The reason is that worrying to introduce new collision when processing response, but do not have
Be detected: clothes and body detection collision are defaulted less than 1 unit of distance of the point apart from human body face, are exactly occurred
Collision.Inside the equation of equilibrium of power, speed is added into calculating, that is, last speed may will affect it is current
Position.Because clothes and people can not be bonded completely, and consider clothing thickness.In addition, the grid of human body is not in one
The case where a face is overturn, clothes or garment piece one are scheduled on its normal.But garment piece may be overturn, and clothes or garment piece is caused to exist
Behind its normal, so perhaps the collision clothes between garment piece and human body or the use of the collision between garment piece are different for clothes
Response mechanism.
(1) Current P garment piece point and human body collision are responded, if garment piece point and human body collide, is changed
The position of Current P moves to Current P outside human epidermal according to 1 normal direction of triangle T.To what is collided
Point is according to friction formula F=μ × FNFrictional force is solved, and adds frictional force, sets the point that collides later to be motionless
Point.μ is coefficient of friction, FNFor the normal pressure to human body of garment piece under the effect of gravity.
About the collision of Current P, it is directly changed the position of Current P, the point of Current P is moved to human body
At the unit of one, surface.Because defaulting the point within a surface all to collide, moved outside meeting when processing, so this
Current P is moved directly into a unit outside human body surface when a, and is set as fixed point, will not be introduced so new
Collision.In fact this when of Current P has speed, if not being set as fixed point, it is possible to final calculating
It collides when Candida P.It is also bad to change speed, because a point movement has inertia, a garment piece point
Bump against human body, it should rest on human body surface, it is impossible to keep the movement tendency as outside.
(2) Candidate P cloth triangle and human body triangle are collided, in case of colliding, adds impact force.
The collision in human body face and garment piece or clothes face, in fact this collides a possibility that occurring very little, such case
Generation, only the face size of human body and garment piece or clothes differ it is too big, be possible to occur.If human body face and clothes
Face is not much different, and when colliding, the point for garment piece or clothes centainly occur is banged into inside human body bounding box.In order to avoid this
Possible generation adds impact force when this collision occurs and avoids interting when calculating at next time point.This
The point of side Current P does not collide, so position cannot be directly changed.If modification speed, can not also avoid and its
The collision of its garment piece.
(3) to the collision between garment piece, in case of colliding, according to layering, the setting internal layer garment piece point of impingement is motionless, because
This when, this point should be clipped in the middle by human body and exterior covering panels, three point p01 of exterior covering panels, p02, p03, respectively
P01 is calculated, the relative position of p02, p03 and collision triangle T 4 change the speed of the exterior covering panels point of impingement in case of colliding
V, so that the exterior covering panels point of impingement moves to outside human body at next time point.
Collision between garment piece and garment piece, this is detected from the inside to surface when detection, because of dough sheet in code
Sequence be exactly in this way, the dough sheet record of the inside up front, it is possible to detected at the beginning of most.First layer is complete
Other outer layers that portion has been detected and it collides are ejected.Then 2 layers of collision with outside and its point quilt to collide
Pop-up.Successively detect in layers.So being here to modify the speed of outer layer, and the point of internal layer is set as fixed point.It touches
Strike the abbreviation that the garment piece said at once, human body refer to garment piece model bounding box, manikin bounding box.
All points on garment piece model bounding box can might not all collide, but speed V will be calculated, behind
For processing be also that the point of collision is changed the processing of position, speed;The spot speed not collided is constant, such ability
Realize the movement of one integral piece clothes, skirt.
(6) the garment piece simulation of the 2nd time step T is calculated, according to next time location Canidate P=
If current location Current P+ speed V × T calculates the final position of the mesh point of dry plate garment piece model bounding box, wherein before
The point that face is demarcated as fixed point is not involved in calculating.
(7) wearing article is rendered, the correspondence stitch points defaulted on each garment piece are stitched together, the final position setting of stitch points
For the midpoint of two o'clock line.Calculate the normal of the wearing article Candidate P point of next time point position, display wearing article effect
Fruit returns to the first step, simulates the wearing article at next time point.
The current location of beginning is Current P, and distance is next time point position after then garment piece has moved
Candidate P obtains speed V according to Candidate P and Current P, according to next time point position Candidate
Whether P calculating collides, and just changes current location Current P or speed V in case of collision, finally again by next
The current location a time point position Candidate P=Current P+ speed V × time step T is come next time for obtaining
Next time point position Candidate P of step-length T.
As shown in fig. 6, shown in arrow in clothes motion calculation, cycle calculations, obtain garment piece a time step, under
One time step, next one time step ... position, to reach simulation jacket, skirt fitting manikin
It wears the clothes effect.
Embodiment one
As shown in Figure 1, the movement of single garment piece, collision are described below, the movements of other garment pieces, collision with it is such
Seemingly, there is the garment piece of ectonexine relationship, if if exterior covering panels are collided with internal layer garment piece changes exterior covering panels speed, it is no longer superfluous herein
It states.
Garment piece falls under the effect of gravity, detects collision below garment piece with manikin (being illustrated as grid ball), if
Step-length of fixing time T is 1S, and the state at 7 time points of garment piece can be obtained in 7S.
When setting time 0, the speed of garment piece is 0, and position is initial position Current P.By establishing the calculating of power, obtain
Obtain the position Candida P, calculating speed V=(Candida P-Current P)/T of 1S.
Then collision detection and response are carried out, initial position Current P and speed V is changed.It is final that 1S is acquired later
Candida P.Candida P is assigned to the Current P of 1S later, by the balance of power, acquires the Candida P of 2S.
The collision of circulation above, obtains the Candida P of 2S, obtains the Candida P ... ... of 3S.
Reciprocal calculating is in fact in the movement position for calculating each time point garment piece.At the beginning, each suffered by a point
The power in a direction and be not 0, needs to be calculated after a period of time, the power of the final suffered all directions of garment piece and be 0, and garment piece is opened
Begin to stablize, the point on garment piece no longer moves.
Above-described embodiment and attached drawing and non-limiting product form and style of the invention, any technical field it is common
The appropriate changes or modifications that technical staff does it all should be regarded as not departing from patent category of the invention.
Claims (9)
1. a kind of wearing article layered approach, which is characterized in that realized by following steps:
A, fragment: if establishing dry plate grid garment piece model;
B, it is layered: if the nearly body relationship of model is worn by the wearing article and grid of the sewing of dry plate garment piece model, if by dry plate clothing
Piece model is divided into several levels from the inside to the outside;
C, it sews: if dry plate garment piece model is sewn into wearing article model, wearing article under the action of suturing pulling force and impact force
Model is worn on model by being through with the nearly body relationship for wearing model.
2. a kind of wearing article hierarchical system, which is characterized in that realized using method as described in claim 1, comprising:
A, fragment module: if establishing dry plate grid garment piece model;
B, hierarchical block:, will be several if wearing the nearly body relationship of model by the wearing article and grid of the sewing of dry plate garment piece model
Piece garment piece model is divided into several levels from the inside to the outside;
C, it sews module: if dry plate garment piece model is sewn into wearing article model, being worn under the action of suturing pulling force and impact force
Object model wear on model by being through with the nearly body relationship for wearing model.
3. a kind of layering wearing article analogy method, which is characterized in that realized by following steps:
A, fragment: if grid wears the dry plate grid garment piece mould that the grid wearing article model worn on model includes corresponding suture
Type;
B, it is layered: if according to dry plate garment piece model and the nearly body relationship for wearing model, if dry plate garment piece model is divided from the inside to the outside
At several levels;
C, movement simulation:
If the correspondence stitch points for setting dry plate garment piece model keep the spring force of overlapping;
According to the equation of equilibrium of the power of each garment piece model, by conjugate gradient algorithms acquire each garment piece model time step T from
Current location moves to the position at next time point, and then acquires the movement velocity V of the mesh point of garment piece model;And according to clothing
The next time location of piece model establishes the garment piece model bounding box at next time point;
When front cut pieces model bounding box and model collision is worn, obtains current location Current P garment piece model bounding box respectively
Mesh point and wear the collision of model, record point of impingement index P1 and collision triangle index T1;Meta position when obtaining next
It sets Candidate P garment piece model bounding box triangle and wears the collision of model triangle, record collision triangle indexes T2,
T3;If obtaining the point of impingement between next time location CandidateP dry plate garment piece model bounding box, record collision triangle
Shape indexes T4, T5;
Current location Current P garment piece model bounding box and the collision for wearing model are responded, front cut pieces model will be worked as
The point of impingement on grid moves on to outside model along the normal for the collision triangle for wearing model, and sets the point of impingement to be motionless
Point;
The garment piece model bounding box triangle at next time point is responded with the collision for wearing model triangle, it will be next
Collision triangle on the garment piece model of a time point position adds impact force;
Collision between the garment piece model at next time point is responded, touching on the garment piece model bounding box of internal layer is set
Hit a little motionless, the successively collision of three points and internal layer of the collision triangle on calculating exterior covering panels model bounding box from inside to outside
The relative position of triangle index, changes the speed V of the point of impingement on exterior covering panels bounding box, so that the point of impingement is when next
Between point move to and wear outside model;
It and so on calculates to obtain the position Candida P that several garment piece model bounding boxs wear model in final fitting.
4. a kind of layering wearing article analogy method as claimed in claim 3, which is characterized in that worn grid according to sewing trace
If object model be divided into dry plate grid garment piece model.
5. a kind of layering wearing article analogy method as claimed in claim 3, which is characterized in that the equation of equilibrium of the power according to
Spring force, frictional force, gravity and impact force calculate.
6. a kind of layering wearing article analogy method as claimed in claim 3, which is characterized in that will be when in front cut pieces model meshes
The point of impingement add frictional force, frictional force is according to formula F=μ × FNIt solves, and sets point that garment piece model collides as not
Dynamic point;Wherein, F is frictional force, and μ is coefficient of friction, FNFor the normal pressure to human body of garment piece under the effect of gravity.
7. a kind of layering wearing article analogy method as claimed in claim 3, which is characterized in that the movement velocity V=is (next
A time point position Candida P- current location Current P)/time step T.
8. a kind of layering wearing article analogy method as claimed in claim 3, which is characterized in that work as front cut pieces model packet to described
It encloses box and is responded with the collision for wearing model bounding box;Or before the reciprocal calculating, garment piece model is rendered, each clothing is set
Correspondence stitch points on piece model are stitched together, and the final position of stitch points is set as the midpoint of two o'clock line.
9. a kind of layering wearing article simulation system, which is characterized in that realized using method as claimed in claim 3, comprising:
A, fragment model: if grid wears the dry plate grid garment piece that the grid wearing article model worn on model includes corresponding suture
Model;
B, hierarchical mode: if according to dry plate garment piece model and the nearly body relationship for wearing model, if by dry plate garment piece model by it is inner extremely
It is divided into several levels outside;
C, simulation model is moved:
If the correspondence stitch points for setting dry plate garment piece model keep the spring force of overlapping;
According to the equation of equilibrium of the power of each garment piece model, by conjugate gradient algorithms acquire each garment piece model time step T from
Current location moves to the position at next time point, and then acquires the movement velocity V of the mesh point of garment piece model;And according to clothing
The next time location of piece model establishes the garment piece model bounding box at next time point;
When front cut pieces model bounding box and model collision is worn, obtains current location Current P garment piece model bounding box respectively
Mesh point and wear the collision of model, record point of impingement index P1 and collision triangle index T1;Meta position when obtaining next
It sets Candidate P garment piece model bounding box triangle and wears the collision of model triangle, record collision triangle indexes T2,
T3;If obtaining the point of impingement between next time location CandidateP dry plate garment piece model bounding box, record collision triangle
Shape indexes T4, T5;
Current location Current P garment piece model bounding box and the collision for wearing model are responded, front cut pieces model will be worked as
The point of impingement on grid moves on to outside model along the normal for the collision triangle for wearing model, and sets the point of impingement to be motionless
Point;
The garment piece model bounding box triangle at next time point is responded with the collision for wearing model triangle, it will be next
Collision triangle on the garment piece model of a time point position adds impact force;
Collision between the garment piece model at next time point is responded, touching on the garment piece model bounding box of internal layer is set
Hit a little motionless, the successively collision of three points and internal layer of the collision triangle on calculating exterior covering panels model bounding box from inside to outside
The relative position of triangle index, changes the speed V of the point of impingement on exterior covering panels bounding box, so that the point of impingement is when next
Between point move to and wear outside model;
It and so on calculates to obtain the position Candida P that several garment piece model bounding boxs wear model in final fitting.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510198314.1A CN104809287B (en) | 2015-04-24 | 2015-04-24 | Wearing article layered approach and its system, layering wearing article analogy method and its system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510198314.1A CN104809287B (en) | 2015-04-24 | 2015-04-24 | Wearing article layered approach and its system, layering wearing article analogy method and its system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104809287A CN104809287A (en) | 2015-07-29 |
CN104809287B true CN104809287B (en) | 2019-01-04 |
Family
ID=53694104
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510198314.1A Active CN104809287B (en) | 2015-04-24 | 2015-04-24 | Wearing article layered approach and its system, layering wearing article analogy method and its system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104809287B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106803278B (en) * | 2016-12-07 | 2020-09-04 | 珠海金山网络游戏科技有限公司 | Virtual character semi-transparent layered sorting method and system |
CN113101668B (en) * | 2018-04-27 | 2024-05-28 | 网易(杭州)网络有限公司 | Virtual scene generation method and device, storage medium and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101393580A (en) * | 2008-10-15 | 2009-03-25 | 中山大学 | Three-dimensional 'human body-clothes' contact mechanics emulation and analysis system |
EP2184714A1 (en) * | 2007-08-24 | 2010-05-12 | Shima Seiki Manufacturing., Ltd. | Layering simulation apparatus, simulation method, simulation program |
CN104036532A (en) * | 2014-05-29 | 2014-09-10 | 浙江工业大学 | Clothes making method based on three-dimensional to two-dimensional clothes pattern seamless mapping |
-
2015
- 2015-04-24 CN CN201510198314.1A patent/CN104809287B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2184714A1 (en) * | 2007-08-24 | 2010-05-12 | Shima Seiki Manufacturing., Ltd. | Layering simulation apparatus, simulation method, simulation program |
CN101393580A (en) * | 2008-10-15 | 2009-03-25 | 中山大学 | Three-dimensional 'human body-clothes' contact mechanics emulation and analysis system |
CN104036532A (en) * | 2014-05-29 | 2014-09-10 | 浙江工业大学 | Clothes making method based on three-dimensional to two-dimensional clothes pattern seamless mapping |
Also Published As
Publication number | Publication date |
---|---|
CN104809287A (en) | 2015-07-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2863097C (en) | System and method for simulating realistic clothing | |
US10228682B2 (en) | Method and system for manufacturing apparel | |
CN111291431B (en) | Method for producing three-dimensional fully-formed knitted paper pattern | |
US11145098B2 (en) | Method and apparatus of simulating apparel reflecting binding | |
Wijnhoven et al. | Digital replication and reconstruction of mail armour | |
Magnenat-Thalmann | Modeling and simulating bodies and garments | |
CN104933216A (en) | Simulation method of ball B-spline-based weft knitted fabric model | |
CN105513135A (en) | Spatial position automatic setting method of three-dimensional clothing pattern | |
US11094115B2 (en) | Generating clothing patterns of garment using bounding volumes of body parts | |
CN105427386A (en) | Garment deformation method based on input human body posture real-time generation | |
EP2184714B1 (en) | Layering simulation apparatus, simulation method, simulation program | |
US20210056755A1 (en) | Grading garment that includes supplemental material | |
CN104809287B (en) | Wearing article layered approach and its system, layering wearing article analogy method and its system | |
Stjepanovič et al. | 3D virtual prototyping of clothing products | |
CN107463723B (en) | Apparatus for designing a form for a wearable article | |
CN104751514A (en) | Wearing fitness simulating method and wearing fitness simulating system | |
CN101501690B (en) | Device and its method for dressing simulation | |
CN106204723A (en) | A kind of pattern stitch information automatic setting method towards three-dimensional garment simulation | |
Viziteu et al. | Development of climbing clothes using computerized 3D clothing simulation | |
Shi et al. | Digital Inheritance of Traditional Mongolian Robes of the Nayman Tribe | |
Liu et al. | A study on the functional characteristics of apparel 3D CAD system | |
JP7503189B2 (en) | DATA PROCESSING APPARATUS, PROGRAM, AND DATA PROCESSING METHOD | |
Kutt | Art-directed costumes at Pixar: Design, tailoring, and simulation in production | |
Kim et al. | A comparative analysis between real and virtual stretchable tight-fitting clothing | |
JP2015209598A (en) | Paper pattern preparation method, paper pattern preparation program and paper pattern preparation device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |