CN110298911A - It is a kind of to realize away elegant method and device - Google Patents
It is a kind of to realize away elegant method and device Download PDFInfo
- Publication number
- CN110298911A CN110298911A CN201810251268.0A CN201810251268A CN110298911A CN 110298911 A CN110298911 A CN 110298911A CN 201810251268 A CN201810251268 A CN 201810251268A CN 110298911 A CN110298911 A CN 110298911A
- Authority
- CN
- China
- Prior art keywords
- bone
- model
- designated model
- node
- designated
- 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.)
- Pending
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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating 3D models or images for computer graphics
- G06T19/20—Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Graphics (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Architecture (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Geometry (AREA)
- Processing Or Creating Images (AREA)
Abstract
The present invention is suitable for computer graphics and field of computer aided design, provides a kind of method and device for realizing away show, which comprises parse to obtain action movement information according to motion file;Action movement information matches are applied into designated model, driving designated model is moved;The moving displacement of every frame image is obtained according to the motion information of designated model, emulation collision is carried out to the relationship between clothes and model later and obtains in every frame image clothes with the transition information of designated model;Elegant video is walked by what the continuous broadcasting of multiple image progress was emulated.For the present invention in this way after user virtually selects the clothes oneself admired, emulation shows the vivid effect of clothes, can thus help user's Speedy choosing-clothing.
Description
Technical field
The present invention relates to computer graphics and field of computer aided design more particularly to a kind of sides for realizing away show
Method and device.
Background technique
Method using computer graphics and virtual reality technology simulation of natural real human body motion process is known as human body
Motion simulation, specifically includes the computation model for establishing human body and its accessory, and simulation virtual people is natural under specifying constraint
True physical motion process, and in the virtual environment that computer generates in a manner of 3-D graphic presentation true to nature this be moved through
Journey.Since natural reality human body surface has 80% area to be covered by cloth, the emulation true to nature of cloth is transported in life like body
Key effect is played in dynamic emulation.Cloth is a kind of natural or the netted braided fabric of artificial fiber, therefore cloth is constituted
The shape of clothes immobilizes unlike rigid body, and on mechanical characteristic, cloth has anisotropy, incompressible, tension
Some apparent features such as not bending resistance, these characteristics all bring the difficulty in simulation to emulation.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of method and device for realizing away show, it is intended to carry out human body three-dimensional
During Garment Simulation, exports a user and the dynamic of manikin and required movement is specified to walk elegant effect, to facilitate user
It checks the wears effect of clothes, and then selects suitable clothes.
The embodiments of the present invention are implemented as follows, a method of it realizes elegant, which comprises
It is parsed to obtain action movement information according to motion file;
Action movement information matches are applied into designated model, driving designated model is moved;
The moving displacement of every frame image is obtained according to the motion information of designated model, later between clothes and model
Relationship carries out emulation collision and obtains in every frame image clothes with the transition information of designated model;
Elegant video is walked by what the continuous broadcasting of multiple image progress was emulated.
Further, it is described parse to obtain action movement information according to motion file include:
Parse to obtain bone namespace node according to motion file, father and son's inheritance of bone node, bone node is opposite
In the position offset of father node, the partial transformation matrix and global change's matrix of bone node.
It is further, described before action movement information matches are applied to designated model further include:
Both the bone node of motion file and the bone node of designated model are carried out string matching, and recorded
Match information.
Further, described that action movement information matches are applied to designated model, driving designated model carries out sports bag
It includes:
Bone posture is tied up by what designated model snapped to motion file model;
The transformation matrix that designated model bone is calculated according to the corresponding relationship of bone node and positional relationship passes through change
It changes matrix and transforms to designated model and tie up bone posture accordingly, realize that driving designated model is moved.
Further, before the driving designated model is moved further include:
According to the bone length information of the bone length information of designated model and motion file model, to designated model
Bone length carries out scaling, redirects and designated model is driven to be moved.
Further, the driving designated model is moved further include:
The covering weight of bone is obtained according to impact factor coefficient;
It is to mention by the another object that linear hybrid skinning algorithm drives designated model to carry out the movement embodiment of the present invention
Elegant device is realized away for a kind of, and described device includes:
Resolution unit obtains action movement information for parsing according to motion file;
Driving unit is matched, for action movement information matches to be applied to designated model, driving designated model is transported
It is dynamic;
Image generation unit obtains the moving displacement of every frame image for the motion information according to designated model, right later
Relationship between clothes and model carries out emulation collision and obtains in every frame image clothes with the transition information of designated model;
Broadcast unit walks elegant video for emulated the continuous broadcasting of multiple image progress.
Further, the resolution unit is also used to:
Parse to obtain bone namespace node according to motion file, father and son's inheritance of bone node, bone node is opposite
In the position offset of father node, the partial transformation matrix and global change's matrix of bone node.
Further, the matching driving unit includes:
Matching unit, for the bone node of the bone node of motion file and designated model to be carried out string matching,
And record the match information of the two.
Further, the matching driving unit includes:
Alignment unit ties up bone posture for what designated model was snapped to motion file model;
Model converter unit, for calculating designated model bone according to the corresponding relationship and positional relationship of bone node
Transformation matrix, designated model is transformed to by transformation matrix and ties up bone posture accordingly, realizes that driving designated model is transported
It is dynamic.
Further, described device further include:
Bone redirects unit, for long according to the bone length information of designated model and the bone of motion file model
Information is spent, scaling is carried out to the bone length of designated model, redirects and designated model is driven to be moved.
Further, the matching driving unit further include:
Covering weight determining unit, for obtaining the covering weight of bone according to impact factor coefficient;
Driving unit, for driving designated model to be moved by linear hybrid skinning algorithm.
The embodiment of the present invention realizes away elegant method and device by a kind of, is parsed to obtain movement fortune according to motion file
Dynamic information;Action movement information matches are applied into designated model later, driving designated model is moved;According to specified mould
The motion information of type obtains the moving displacement of every frame image, carries out emulation to the relationship between clothes and model later and collides
Into every frame image clothes with designated model transition information;Finally walked what the continuous broadcasting of multiple image progress was emulated
Elegant video.Since motion file can be selected according to the specified of user, when carrying out emulating show, the movement of emulation can
To be more bonded truth, while model is specified manikin, and usually the model of user oneself, can thus obtain
To one close to real user it is practical wear walk elegant effect, facilitate user selection select clothes.
Detailed description of the invention
Fig. 1 is a kind of implementation flow chart for realizing away elegant method that first embodiment of the invention provides;
Fig. 2 is a kind of implementation flow chart for realizing away elegant method that second embodiment of the invention provides;
Fig. 3 is a kind of structure chart for realizing away elegant device that third embodiment of the invention provides;And
Fig. 4 is a kind of structure chart for realizing away elegant device that fourth embodiment of the invention provides.
Specific embodiment
In order to make those skilled in the art more fully understand the present invention program, below in conjunction in the embodiment of the present invention
Attached drawing, technical solution in the embodiment of the present invention is explicitly described, it is clear that described embodiment is only this
The embodiment of a part is invented, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
Description and claims of this specification and term " first ", " second ", " third " " in above-mentioned attached drawing
The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should
Understand that the data used in this way are interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to herein
Sequence other than diagram or the content of description is implemented.In addition, term " includes " and " having " and their any deformation, meaning
Figure be to cover it is non-exclusive include, for example, containing the process, method of a series of steps or units, system, product or setting
It is standby those of to be not necessarily limited to be clearly listed step or unit, but may include be not clearly listed or for these mistakes
The intrinsic other step or units of journey, method, product or equipment.
Specific implementation of the invention is described in detail below in conjunction with specific embodiment:
Embodiment one:
Fig. 1 shows a kind of implementation process for realizing away elegant method of first embodiment of the invention offer, is described in detail such as
Under:
In step s101, it is parsed to obtain action movement information according to motion file.
In the specific implementation process, motion file is obtained first, and motion file can be already existing dynamic on server
Make file, be also possible to the motion file that user voluntarily uploads, after having selected motion file, parses motion file
Inheritance between middle skeleton information, bone, node name, node location information, node rotation information, the rotation amount of node
And rotation angle, action movement frame information;Action movement information is acquired by parsing.
In step s 102, action movement information matches are applied into designated model, driving designated model is moved.
In the specific implementation process, because there may be physical size different problems for motion file and designated model, therefore
The action movement information of parsing is rotation amount information, subsequent to apply to designated model by rotation amount information Corresponding matching again, this
The action of sample ability safety action file and the action of designated model have higher consistency, in this way
It with utilization, realizes that driving designated model is moved, during driving designated model to be moved, is obtaining rotation
Pass through LBS (linear blending skinning line further according to covering weight after driving skeleton motion after the information such as amount
Property mixing covering) algorithm drives designated model moved.
In step s 103, the moving displacement of every frame image is obtained according to the motion information of designated model, later to clothes
Relationship between model carries out emulation collision and obtains in every frame image clothes with the transition information of designated model.
In the specific implementation process, after driving designated model is moved, according to the motion information of designated model
To obtain the moving displacement of every frame image, every frame figure in motion process can be obtained by according to the moving displacement of every frame image
As clothes are with the transition information of designated model, emulation collision can be carried out by the relationship between clothes and model, final
Clothes are with designated model in simulation status information into motion process after the variation of every frame image, that is, every frame image
Transition information.
In step S104, elegant video is walked by what the continuous broadcasting of multiple image progress was emulated.
In the specific implementation process, after clothes are with the transition information of designated model in obtaining every frame image, by every frame figure
As carry out it is continuous play can be obtained by emulation walk elegant video.
The embodiment of the present invention is parsed according to motion file and is acted by the above-mentioned means, a kind of method for realizing away show
Motion information;Action movement information matches are applied into designated model later, driving designated model is moved;According to specified
The motion information of model obtains the moving displacement of every frame image, carries out emulation collision to the relationship between clothes and model later
Clothes are obtained in every frame image with the transition information of designated model;Multiple image is finally carried out what continuous broadcasting was emulated
Walk elegant video.Since motion file can be selected according to the specified of user, when carrying out emulating show, the movement of emulation
Truth can be more bonded, while model is specified manikin, usually the model of user oneself, it thus can be with
Obtain one close to real user it is practical wear walk elegant effect, in the data information for specifically handling each frame image, clothes
The effect that physical impacts go out all is rigid between manikin, i.e. the movement of clothes is the clothing because human body moves
Clothes generate Displacement-deformation in corresponding position, such continuous multiple frames be all it is such, when continuous broadcasting obtains the video information,
During that is seen walk just as human body in really physical world clothes during human motion with body kinematics, exhibition
Reveal elegant effect of clothes during human motion, obtain it is extremely true to nature walk elegant effect, one kind walks show side in this way
Formula shows, and user's selection is facilitated to select clothes.
Embodiment two:
Fig. 2 shows a kind of implementation processes for realizing away elegant method that second embodiment of the invention provides, and are described in detail such as
Under:
In step s 201, it is parsed to obtain action movement information according to motion file.
In the specific implementation process, motion file is obtained first, and motion file can be already existing dynamic on server
Make file, be also possible to the motion file that user voluntarily uploads, after having selected motion file, parses motion file
Inheritance between middle skeleton information, bone, node name, node location information, node rotation information, the rotation amount of node
And rotation angle, action movement frame information;Action movement information is acquired by parsing, usual bone node has father and son
The model of relationship, bone driving is the non-driven node of driving node band, and driving node is child node, and non-driven node is father's section
Point, by being parsed to motion file, so that it may which parsing obtains the information such as the inheritance of its father and son's bone, will finally move
Make information to parse and quantify.
In step S202, the bone node of motion file and the bone node of designated model are subjected to string matching,
And record the match information of the two.
In the specific implementation process, after parsing obtains action movement information, by the bone node of motion file and refer to
The bone node of cover half type is matched, because there may be physical size different problems for motion file and designated model, therefore
The action movement information of parsing is needed and is adapted between designated model, and the mode of adaptation can be the bone of motion file
Bone node and the bone node of designated model carry out string matching, the first corresponding relationship between completion bone and bone, right
The match informations such as the matching relationship of record between the two after should completing.
In step S203, bone posture is tied up by what designated model snapped to motion file model.
In the specific implementation process, after completing the correspondence string matching between bone node, by designated model pair
It ties up bone posture to motion file model, i.e., is consistent action by designated model and the stance adjustment of action model,
Completion walks elegant state initialization to designated model action.
In step S204, the change of designated model bone is calculated according to the corresponding relationship of bone node and positional relationship
Matrix is changed, designated model is transformed to by transformation matrix and ties up bone posture accordingly, realizes that driving designated model is moved.
In the specific implementation process, complete designated model snap to motion file model tie up bone posture after, according to bone
The corresponding relationship and positional relationship of node calculate the transformation matrix of designated model bone, the transformation matrix of designated model bone
Calculation processing is carried out according to the action message being resolved to, wherein in order to which designated model is preferably matched motion file model, also
It can be according to the bone length information of designated model and the bone length information of motion file model, to the bone of designated model
Length carries out scaling, drives designated model to be moved again according to the result of redirection later.The fortune of designated model at this time
The dynamic driving for completing bone, obtains the covering weight of bone according to impact factor coefficient after the completion of the driving of bone, and bone covers
The acquisition of skin weight can be preferably made by brush.The each node of model is made by brush and bone node is associated
The impact factor coefficient of bone node.The impact factor coefficient for acquiring bone node passes through LBS (linear later
Blending skinning linear hybrid skinning algorithm driving designated model is moved.Wherein LBS algorithm, transformation for mula
For
P '=∑ wj(p)·Tj·p
Model vertices p is weighted to obtain by bone point transfer matrix T and respective weights information w, and wherein Tj is bone
The transformation matrix of bone node j, wj are the weight factors that corresponding model vertices p is influenced by bone node j, and j represents j-th of bone
Bone node.The model vertices position for getting profit new by above-mentioned formula, so that nominator's mould be driven to move.
In step S205, the moving displacement of every frame image is obtained according to the motion information of designated model, later to clothes
Relationship between model carries out emulation collision and obtains in every frame image clothes with the transition information of designated model.
In the specific implementation process, after driving designated model is moved, according to the motion information of designated model
To obtain the moving displacement of every frame image, every frame figure in motion process can be obtained by according to the moving displacement of every frame image
As clothes are with the transition information of designated model, emulation collision can be carried out by the relationship between clothes and model, final
Clothes are with designated model in simulation status information into motion process after the variation of every frame image, that is, every frame image
Transition information.
In step S206, elegant video is walked by what the continuous broadcasting of multiple image progress was emulated.
In the specific implementation process, after clothes are with the transition information of designated model in obtaining every frame image, by every frame figure
As carry out it is continuous play can be obtained by emulation walk elegant video.
By the above-mentioned means, a kind of realize away elegant method, user can want the embodiment of the present invention according to wearing the clothes for oneself
It asks using the image of oneself and physical trait as specified people's mould, user is also an option that specified movement is used as show later
Movement, the specified movement are also possible to the required movement information of user's typing, later according to specified people's mould and movement output
Livery walks elegant movement, and since the people's mould image and user are same or similar, clothes are the clothes money that user voluntarily selects
Formula, movement is also the movement that voluntarily selects of user, then simulates this and walk elegant movement, helps user virtual in this way
The clothes that oneself is admired are selected, show the vivid effect of clothes, can thus help user's Speedy choosing-clothing.
Embodiment three:
Fig. 3 shows a kind of structure chart for realizing away elegant device of third embodiment of the invention offer, for the ease of saying
Bright, only parts related to embodiments of the present invention are shown.
Resolution unit 301 obtains action movement information for parsing according to motion file.
In the specific implementation process, resolution unit obtains motion file first, and motion file can be on server
Existing motion file is also possible to the motion file that user voluntarily uploads, after having selected motion file, parsing
Inheritance between motion file middle skeleton information, bone, node name, node location information, node rotation information, node
Rotation amount and rotation angle, action movement frame information;Action movement information is acquired by parsing.
Match driving unit 302, for action movement information matches to be applied to designated model, driving designated model into
Row movement.
In the specific implementation process, because there may be physical size different problems for motion file and designated model, therefore
The action movement information of parsing is rotation amount information, and matching driving unit is subsequent to be used by rotation amount information Corresponding matching again
To designated model, the action of ability safety action file and the action of designated model in this way has higher consistency,
Matching in this way is used, and realizes that driving designated model is moved, during driving designated model to be moved,
Pass through LBS (linear blending further according to covering weight after driving skeleton motion after obtaining the information such as rotation amount
Skinning linear hybrid covering) algorithm drives designated model moved.
Image generation unit 303 obtains the moving displacement of every frame image for the motion information according to designated model, it
Emulation collision is carried out to the relationship between clothes and model afterwards and obtains in every frame image clothes with the transition information of designated model.
In the specific implementation process, after driving designated model is moved, image generation unit is according to designated model
Motion information can obtain the moving displacement of every frame image, can be obtained by and be moved through according to the moving displacement of every frame image
Every frame image clothes in journey can be carried out imitating with the transition information of designated model by the relationship between clothes and model
True collision, finally obtains clothes in the simulation status information in motion process after the variation of every frame image, that is, every frame image
With the transition information of designated model.
Broadcast unit 304 walks elegant video for emulated the continuous broadcasting of multiple image progress.
In the specific implementation process, broadcast unit is after clothes are with the transition information of designated model in obtaining every frame image,
By every frame image carry out it is continuous play can be obtained by emulation walk elegant video.
The embodiment of the present invention is parsed according to motion file and is acted by the above-mentioned means, a kind of device for realizing away show
Motion information;Action movement information matches are applied into designated model later, driving designated model is moved;According to specified
The motion information of model obtains the moving displacement of every frame image, carries out emulation collision to the relationship between clothes and model later
Clothes are obtained in every frame image with the transition information of designated model;Multiple image is finally carried out what continuous broadcasting was emulated
Walk elegant video.Since motion file can be selected according to the specified of user, when carrying out emulating show, the movement of emulation
Truth can be more bonded, while model is specified manikin, usually the model of user oneself, it thus can be with
Obtain one close to real user it is practical wear walk elegant effect, in the data information for specifically handling each frame image, clothes
The effect that physical impacts go out all is rigid between manikin, i.e. the movement of clothes is the clothing because human body moves
Clothes generate Displacement-deformation in corresponding position, such continuous multiple frames be all it is such, when continuous broadcasting obtains the video information,
During that is seen walk just as human body in really physical world clothes during human motion with body kinematics, exhibition
Reveal elegant effect of clothes during human motion, obtain it is extremely true to nature walk elegant effect, one kind walks show side in this way
Formula shows, and user's selection is facilitated to select clothes.
Example IV:
Fig. 4 shows a kind of structure chart for realizing away elegant device of fourth embodiment of the invention offer, for the ease of saying
Bright, only parts related to embodiments of the present invention are shown.
Resolution unit 401 obtains action movement information for parsing according to motion file.
In the specific implementation process, motion file is obtained first, and motion file can be already existing dynamic on server
Make file, be also possible to the motion file that user voluntarily uploads, after having selected motion file, parses motion file
Inheritance between middle skeleton information, bone, node name, node location information, node rotation information, the rotation amount of node
And rotation angle, action movement frame information;Action movement information is acquired by parsing, usual bone node has father and son
The model of relationship, bone driving is the non-driven node of driving node band, and driving node is child node, and non-driven node is father's section
Point, by being parsed to motion file, so that it may which parsing obtains the information such as the inheritance of its father and son's bone, will finally move
Make information to parse and quantify.
Matching unit 402, for the bone node of the bone node of motion file and designated model to be carried out character string
Match, and records the match information of the two.
In the specific implementation process, after parsing obtains action movement information, by the bone node of motion file and refer to
The bone node of cover half type is matched, because there may be physical size different problems for motion file and designated model, therefore
The action movement information of parsing is needed and is adapted between designated model, and the mode of adaptation can be the bone of motion file
Bone node and the bone node of designated model carry out string matching, the first corresponding relationship between completion bone and bone, right
The match informations such as the matching relationship of record between the two after should completing.
Alignment unit 403 ties up bone posture for what designated model was snapped to motion file model.
In the specific implementation process, after completing the correspondence string matching between bone node, by designated model pair
It ties up bone posture to motion file model, i.e., is consistent action by designated model and the stance adjustment of action model,
Completion walks elegant state initialization to designated model action.
Model converter unit 404, for calculating designated model bone according to the corresponding relationship and positional relationship of bone node
Designated model is transformed to by transformation matrix and ties up bone posture accordingly by the transformation matrix of bone, realizes that driving designated model carries out
Movement.
In the specific implementation process, complete designated model snap to motion file model tie up bone posture after, according to bone
The corresponding relationship and positional relationship of node calculate the transformation matrix of designated model bone, the transformation matrix of designated model bone
Calculation processing is carried out according to the action message being resolved to, wherein in order to which designated model is preferably matched motion file model, bone
Bone redirects unit can also be right according to the bone length information of designated model and the bone length information of motion file model
The bone length of designated model carries out scaling, drives designated model to be moved again according to the result of redirection later.This
When designated model movement complete the driving of bone, after the completion of the driving of bone covering weight determining unit according to influence because
Subsystem number obtains the covering weight of bone, and the acquisition of Skeletal Skinned weight can be preferably made by brush.It is made by brushing
To the impact factor coefficient of each node of model and the associated bone node of bone node.Acquire the influence of bone node
(driving of linear blending skinning linear hybrid skinning algorithm is specified by LBS for driving unit after factor coefficient
Model is moved.Wherein LBS algorithm, transformation for mula are
P '=∑ wj(p)·Tj·p
Model vertices p is weighted to obtain by bone point transfer matrix T and respective weights information w, and wherein Tj is bone
The transformation matrix of bone node j, wj are the weight factors that corresponding model vertices p is influenced by bone node j, and j represents j-th of bone
Bone node.The model vertices position for getting profit new by above-mentioned formula, so that nominator's mould be driven to move.
Image generation unit 405 obtains the moving displacement of every frame image for the motion information according to designated model, it
Emulation collision is carried out to the relationship between clothes and model afterwards and obtains in every frame image clothes with the transition information of designated model.
In the specific implementation process, after driving designated model is moved, according to the motion information of designated model
To obtain the moving displacement of every frame image, every frame figure in motion process can be obtained by according to the moving displacement of every frame image
As clothes are with the transition information of designated model, emulation collision can be carried out by the relationship between clothes and model, final
Clothes are with designated model in simulation status information into motion process after the variation of every frame image, that is, every frame image
Transition information.
Broadcast unit 406 walks elegant video for emulated the continuous broadcasting of multiple image progress.
In the specific implementation process, after clothes are with the transition information of designated model in obtaining every frame image, by every frame figure
As carry out it is continuous play can be obtained by emulation walk elegant video.
By the above-mentioned means, a kind of realize away elegant device, user can want the embodiment of the present invention according to wearing the clothes for oneself
It asks using the image of oneself and physical trait as specified people's mould, user is also an option that specified movement is used as show later
Movement, the specified movement are also possible to the required movement information of user's typing, later according to specified people's mould and movement output
Livery walks elegant movement, and since the people's mould image and user are same or similar, clothes are the clothes money that user voluntarily selects
Formula, movement is also the movement that voluntarily selects of user, then simulates this and walk elegant movement, helps user virtual in this way
The clothes that oneself is admired are selected, show the vivid effect of clothes, can thus help user's Speedy choosing-clothing.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention essence
On all or part of the part that contributes to existing technology or the technical solution can be with the shape of software product in other words
Formula embodies, which is stored in a storage medium, including some instructions are used so that a calculating
Machine equipment (can be personal computer, server or the network equipment etc.) executes each embodiment the method for the present invention
All or part of the steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store
The medium of program code.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.
Claims (12)
1. a kind of realize away elegant method, which is characterized in that the described method includes:
It is parsed to obtain action movement information according to motion file;
Action movement information matches are applied into designated model, driving designated model is moved;
Obtain the moving displacement of every frame image according to the motion information of designated model, later to the relationship between clothes and model into
Row emulation collision obtains in every frame image clothes with the transition information of designated model;
Elegant video is walked by what the continuous broadcasting of multiple image progress was emulated.
2. the method as described in claim 1, which is characterized in that described to be parsed to obtain action movement packet according to motion file
It includes:
It is parsed to obtain bone namespace node according to motion file, father and son's inheritance of bone node, bone node is relative to father
The position offset of node, the partial transformation matrix and global change's matrix of bone node.
3. the method as described in claim 1, which is characterized in that described that action movement information matches are being applied to designated model
Before further include:
The bone node of motion file and the bone node of designated model are subjected to string matching, and record the matching letter of the two
Breath.
4. the method as described in claim 1, which is characterized in that it is described that action movement information matches are applied into designated model,
Driving designated model carries out movement
Bone posture is tied up by what designated model snapped to motion file model;
The transformation matrix that designated model bone is calculated according to the corresponding relationship of bone node and positional relationship, passes through transformation matrix
Designated model is transformed to and ties up bone posture accordingly, realizes that driving designated model is moved.
5. the method as described in claim 1, which is characterized in that before the driving designated model is moved further include:
It is long to the bone of designated model according to the bone length information of the bone length information of designated model and motion file model
Degree carries out scaling, redirects and designated model is driven to be moved.
6. the method as described in claim 1, which is characterized in that the driving designated model is moved further include:
The covering weight of bone is obtained according to impact factor coefficient;
Designated model is driven to be moved by linear hybrid skinning algorithm.
7. a kind of realize away elegant device, which is characterized in that described device includes:
Resolution unit obtains action movement information for parsing according to motion file;
Driving unit is matched, for action movement information matches to be applied to designated model, driving designated model is moved;
Image generation unit obtains the moving displacement of every frame image for the motion information according to designated model, later to clothes
Relationship between model carries out emulation collision and obtains in every frame image clothes with the transition information of designated model;
Broadcast unit walks elegant video for emulated the continuous broadcasting of multiple image progress.
8. device as claimed in claim 7, which is characterized in that the resolution unit is also used to:
It is parsed to obtain bone namespace node according to motion file, father and son's inheritance of bone node, bone node is relative to father
The position offset of node, the partial transformation matrix and global change's matrix of bone node.
9. the method for claim 7, which is characterized in that the matching driving unit includes:
Matching unit for the bone node of the bone node of motion file and designated model to be carried out string matching, and is remembered
Record the match information of the two.
10. device as claimed in claim 7, which is characterized in that the matching driving unit includes:
Alignment unit ties up bone posture for what designated model was snapped to motion file model;
Model converter unit calculates the transformation of designated model bone for the corresponding relationship and positional relationship according to bone node
Designated model is transformed to by transformation matrix and ties up bone posture accordingly by matrix, realizes that driving designated model is moved.
11. device as claimed in claim 7, which is characterized in that described device further include:
Bone redirects unit, for being believed according to the bone length information of designated model and the bone length of motion file model
Breath carries out scaling to the bone length of designated model, redirects and designated model is driven to be moved.
12. device as claimed in claim 7, which is characterized in that the matching driving unit further include:
Covering weight determining unit, for obtaining the covering weight of bone according to impact factor coefficient;
Driving unit, for driving designated model to be moved by linear hybrid skinning algorithm.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810251268.0A CN110298911A (en) | 2018-03-23 | 2018-03-23 | It is a kind of to realize away elegant method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810251268.0A CN110298911A (en) | 2018-03-23 | 2018-03-23 | It is a kind of to realize away elegant method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110298911A true CN110298911A (en) | 2019-10-01 |
Family
ID=68026252
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810251268.0A Pending CN110298911A (en) | 2018-03-23 | 2018-03-23 | It is a kind of to realize away elegant method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110298911A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11250282A (en) * | 1998-03-04 | 1999-09-17 | Toyobo Co Ltd | Cg animation preparing method and device using the method |
US20050052461A1 (en) * | 2001-08-16 | 2005-03-10 | University College London | Method for dressing and animating dressed characters |
CN104021584A (en) * | 2014-06-25 | 2014-09-03 | 无锡梵天信息技术股份有限公司 | Implementation method of skinned skeletal animation |
US20160284017A1 (en) * | 2015-03-25 | 2016-09-29 | Optitex Ltd. | Systems and methods for generating virtual photoshoots for photo-realistic quality images |
CN106558095A (en) * | 2015-09-30 | 2017-04-05 | 捷荣科技集团有限公司 | A kind of wear the clothes methods of exhibiting and system based on anthropometric dummy |
US20170352091A1 (en) * | 2014-12-16 | 2017-12-07 | Metail Limited | Methods for generating a 3d virtual body model of a person combined with a 3d garment image, and related devices, systems and computer program products |
-
2018
- 2018-03-23 CN CN201810251268.0A patent/CN110298911A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11250282A (en) * | 1998-03-04 | 1999-09-17 | Toyobo Co Ltd | Cg animation preparing method and device using the method |
US20050052461A1 (en) * | 2001-08-16 | 2005-03-10 | University College London | Method for dressing and animating dressed characters |
CN104021584A (en) * | 2014-06-25 | 2014-09-03 | 无锡梵天信息技术股份有限公司 | Implementation method of skinned skeletal animation |
US20170352091A1 (en) * | 2014-12-16 | 2017-12-07 | Metail Limited | Methods for generating a 3d virtual body model of a person combined with a 3d garment image, and related devices, systems and computer program products |
US20160284017A1 (en) * | 2015-03-25 | 2016-09-29 | Optitex Ltd. | Systems and methods for generating virtual photoshoots for photo-realistic quality images |
CN106558095A (en) * | 2015-09-30 | 2017-04-05 | 捷荣科技集团有限公司 | A kind of wear the clothes methods of exhibiting and system based on anthropometric dummy |
Non-Patent Citations (2)
Title |
---|
吴伟和等: "一种人体运动骨骼提取和动画自动生成方法", 《计算机研究与发展》 * |
李连东等: "一种可编辑的三维人体蒙皮网格动画合成方法", 《计算机应用研究》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Caserman et al. | Real-time body tracking in virtual reality using a Vive tracker | |
CN101916324B (en) | System and method for dependency graph evaluation for animation | |
KR101615719B1 (en) | Apparatus and method for extracting user's third dimension facial expression | |
CN104077797B (en) | three-dimensional game animation system | |
KR100901274B1 (en) | A character animation system and its method | |
KR101519775B1 (en) | Method and apparatus for generating animation based on object motion | |
Sellers et al. | Virtual palaeontology: gait reconstruction of extinct vertebrates using high performance computing | |
Magnenat-Thalmann et al. | 3d web-based virtual try on of physically simulated clothes | |
WO2019207176A1 (en) | Modelling of nonlinear soft-tissue dynamics for interactive avatars | |
CN110637324B (en) | Three-dimensional data system and three-dimensional data processing method | |
CN110251942A (en) | Control the method and device of virtual role in scene of game | |
CN107122043B (en) | The analogy method and device of human body in virtual reality | |
CN115641375A (en) | Method, device, equipment, medium and program product for processing hair of virtual object | |
Ida et al. | A study of kinematic cues and anticipatory performance in tennis using computational manipulation and computer graphics | |
Ami-Williams et al. | Digitizing traditional dances under extreme clothing: The case study of eyo | |
CN109765998A (en) | Method of estimating motion, equipment and storage medium based on VR and motion capture | |
CN110298911A (en) | It is a kind of to realize away elegant method and device | |
KR102237089B1 (en) | Method for Calculating Skinning Weight of 3D Character Based on Musculoskeletal Structure | |
Chaudhry et al. | Character skin deformation: A survey | |
WO2022024191A1 (en) | Information processing device and information processing method | |
Li et al. | Research on the sports biomechanics modeling of the human motion technical movements | |
Fratarcangeli | Computational models for animating 3d virtual faces | |
WO2019178853A1 (en) | Runway show realization method and device | |
US12097431B2 (en) | Goal driven animation | |
KR20100138591A (en) | Motion retargetting system and its using method based on character's physical properties |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20191001 |
|
WD01 | Invention patent application deemed withdrawn after publication |