CN107122043A - The analogy method and device of human body in virtual reality - Google Patents

The analogy method and device of human body in virtual reality Download PDF

Info

Publication number
CN107122043A
CN107122043A CN201710209562.0A CN201710209562A CN107122043A CN 107122043 A CN107122043 A CN 107122043A CN 201710209562 A CN201710209562 A CN 201710209562A CN 107122043 A CN107122043 A CN 107122043A
Authority
CN
China
Prior art keywords
node
target
manikin
tracker
head
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.)
Granted
Application number
CN201710209562.0A
Other languages
Chinese (zh)
Other versions
CN107122043B (en
Inventor
程东哲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710209562.0A priority Critical patent/CN107122043B/en
Publication of CN107122043A publication Critical patent/CN107122043A/en
Priority to PCT/CN2018/077922 priority patent/WO2018177075A1/en
Priority to TW107109892A priority patent/TWI657263B/en
Application granted granted Critical
Publication of CN107122043B publication Critical patent/CN107122043B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/017Gesture based interaction, e.g. based on a set of recognized hand gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/20Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/01Indexing scheme relating to G06F3/01
    • G06F2203/012Walk-in-place systems for allowing a user to walk in a virtual environment while constraining him to a given position in the physical environment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2219/00Indexing scheme for manipulating 3D models or images for computer graphics
    • G06T2219/20Indexing scheme for editing of 3D models
    • G06T2219/2016Rotation, translation, scaling

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Architecture (AREA)
  • Computer Graphics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a kind of analogy method of human body in virtual reality and device.Wherein, this method includes:The manikin shown in virtual reality is obtained, wherein, manikin is used to simulate the target body in true environment;The positional information of all trackers in the tracker set of target body is obtained, wherein, tracker set includes the tracker that at least one is arranged on the predetermined body part of target body;Manikin in the positional information control virtual reality got is moved, so that the action of manikin simulated target human body.The present invention solves the technical problem that can not be truly simulated to human action in virtual reality.

Description

The analogy method and device of human body in virtual reality
Technical field
The present invention relates to field of virtual reality, in particular to the analogy method and dress of human body in a kind of virtual reality Put.
Background technology
As the technology of virtual reality is by the breakthrough of a little, civilian household equipment engenders, as entertainment life weight The part wanted, allows people to experience unprecedented sensation.In order to allow people are better preferably to be handed over inside scene Mutually, real sensation has been more nearly, the true interaction of the person to person in virtual environment is just particularly important, and true The interactive first step is exactly that demanded image action is approached with the mankind.
In existing virtual reality interactive game, the mankind of big multi-purpose non-genuine represent figure image, but simulate Or figure image is that body is not active, or being mixed the spurious with the genuine by the form of playing animation, there are some directly to cancel Arms and legs portion, only head, body and hands, it is impossible to really simulate figure action, influence Consumer's Experience.
For it is above-mentioned the problem of, effective solution is not yet proposed at present.
The content of the invention
It is virtual existing at least to solve the embodiments of the invention provide a kind of analogy method of human body in virtual reality and device The technical problem that human action can not be truly simulated in reality.
One side according to embodiments of the present invention there is provided a kind of analogy method of human body in virtual reality, including:Obtain The manikin shown in virtual reality is taken, wherein, the manikin is used to carry out the target body in true environment Simulation;The positional information of all trackers in the tracker set of the target body is obtained, wherein, the tracker set bag Include at least one tracker being arranged on the predetermined body part of the target body;According to the positional information control got The manikin in virtual reality is moved, so that the manikin simulates the action of the target body.
Another aspect according to embodiments of the present invention, additionally provides a kind of analogue means of human body in virtual reality, including: First acquisition unit, the manikin shown for obtaining in virtual reality, wherein, the manikin is used for true ring Target body in border is simulated;Second acquisition unit, it is all in the tracker set for obtaining the target body to chase after The positional information of track device, wherein, the tracker set includes the predetermined body that at least one is arranged on the target body Tracker on point;Control unit, enters for the manikin in the positional information control virtual reality got Row movement, so that the manikin simulates the action of the target body.
In embodiments of the present invention, the manikin shown using acquisition in virtual reality, wherein, the manikin For being simulated to the target body in true environment;Obtain all trackers in the tracker set of the target body Positional information, wherein, the tracker set is arranged in the desired body area of the target body including at least one Tracker;The manikin in the positional information control virtual reality got is moved, so that the human body The action of target body described in modeling, is believed by the position of the tracker in the desired body area according to target body Manikin in breath, control virtual reality is moved, and has reached the purpose of control manikin simulated target human action, It is achieved thereby that according to the positional information of the desired body area of target body, action of the control manikin to target body is entered The technique effect of row simulation, and then solve the technical problem that can not be truly simulated to human action in virtual reality.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this hair Bright schematic description and description is used to explain the present invention, does not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the scene layout of the analogy method of human body in a kind of optional virtual reality according to embodiments of the present invention Schematic diagram;
Fig. 2 is the flow chart of the analogy method of human body in a kind of optional virtual reality according to embodiments of the present invention;
Fig. 3 is the schematic diagram of standardized human body's skeleton;
Fig. 4 is that the process that moves of father node of control targe node according to embodiments of the present invention and destination node is shown It is intended to;
Fig. 5 is to include the part skeleton schematic diagram of head, body and both legs;
Fig. 6 is to include the part skeleton schematic diagram of both hands and both arms;
Fig. 7 be it is according to embodiments of the present invention leg skeleton is simplified after part skeleton schematic diagram;
Fig. 8 is the schematic diagram of the analogue means of human body in a kind of optional virtual reality according to embodiments of the present invention;
Fig. 9 is the schematic diagram of terminal according to embodiments of the present invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people The every other embodiment that member is obtained under the premise of creative work is not made, should all belong to the model that the present invention is protected Enclose.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " Two " etc. be for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so using Data can exchange in the appropriate case, so as to embodiments of the invention described herein can with except illustrating herein or Order beyond those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover Lid is non-exclusive to be included, for example, the process, method, system, product or the equipment that contain series of steps or unit are not necessarily limited to Those steps or unit clearly listed, but may include not list clearly or for these processes, method, product Or the intrinsic other steps of equipment or unit.
Embodiment 1
According to embodiments of the present invention there is provided a kind of embodiment of the method that can be performed by the application device embodiment, It should be noted that the step of the flow of accompanying drawing is illustrated can such as one group computer executable instructions department of computer science Performed in system, and, although logical order is shown in flow charts, but in some cases, can be with different from herein Order perform shown or described step.
There is provided a kind of analogy method of human body in virtual reality according to embodiments of the present invention.
This method can apply on various virtual reality devices, by setting tracker in target body, to obtain The positional information of the desired body area of target body, and according to the positional information got, control human mould in virtual reality Type is moved, so that various actions of the manikin to target body are simulated.Fig. 1 is according to embodiments of the present invention one The schematic diagram of the scene layout of the analogy method of human body in optional virtual reality is planted, as shown in figure 1, the predetermined body of target body Tracker is configured with body region, wherein, the head of target body, which is worn, the visual helmet (equivalent to head-tracking device), target The left hand and the right hand of human body hold a handle (equivalent to hand tracker) respectively, when target body is done in predetermined region When taking the post as conation and making, the virtual reality device shown in Fig. 1 obtains the visual helmet and two hands by position information receiver The positional information of handle, and then the positional information of target body head and hand is obtained, and according to the positional information got, control Manikin in virtual reality is moved accordingly, is simulated with the various actions made to target body, so that real The positional information of the desired body area according to target body is showed, action of the control manikin to target body is simulated Technique effect, and then solve the technical problem that can not be truly simulated to human action in virtual reality, people is existed Interaction in virtual reality is more nearly real sensation.
It should be noted that the analogy method of human body is applied to various in the virtual reality that the embodiment of the present invention is provided During virtual reality device, the virtual reality device should include necessary tracker, to obtain the predetermined body of target body The positional information of position, such as:Head-tracking device, hand tracker, foot's tracker etc., wherein, head-tracking device is mainly used in obtaining Take the head position information of target body, and then according to head position information, head of the control manikin to target body, neck The action of portion and trunk is simulated, the positional information of both hands of the hand tracker for obtaining target body, and then according to The positional information of both hands, control manikin is simulated to the both hands and arm action of target body, and foot's tracker is used for The double-legged positional information with target body has been obtained, and then according to the positional information of both feet, control manikin is to target body Both feet and both legs action simulated.Tracker included by virtual reality device should at least include head-tracking device, with The body action of target body is simulated at least through the head position information control manikin of target body.Such as Fig. 1 The virtual reality device shown then includes head-tracking device and hand tracker, then the virtual reality device can be chased after by hand Track device is simulated to the both hands and arm action of target body, so that simulation of the manikin to target body is more nearly Truly.Likewise, virtual reality device can include head-tracking device, hand tracker and foot's tracker simultaneously, to control The body action of manikin simulated target human body, both hands and both arms action and both feet and both legs action.
Fig. 2 is the flow chart of the analogy method of human body in a kind of optional virtual reality according to embodiments of the present invention, with The analogy method of human body does specific introduction in the virtual reality that lower combination Fig. 2 is provided the embodiment of the present invention, as shown in Fig. 2 The analogy method of human body mainly comprises the following steps S202 to step S206 in the virtual reality:
Step S202, obtains the manikin shown in virtual reality, wherein, manikin is used in true environment Target body simulated.
Virtual reality technology be it is a kind of can create the computer simulation system of virtual world, it using computer generation one The simulated environment of Three-Dimensional Dynamic what comes into a driver's that plant Multi-source Information Fusion, interactive mode, by this context to the entity row of user User is set to be immersed in the environment to carry out emulation.The manikin shown in virtual reality is used for the entity behavior to user Simulated, by the simulation for controlling manikin to carry out user, and the action for simulating manikin is more nearly use The entity behavior at family, so that interaction of the user in virtual reality is truer, improves Consumer's Experience.
Step S204, obtains the positional information of all trackers in the tracker set of target body, wherein, tracker collection Conjunction includes at least one tracker being arranged on the predetermined body part of target body.
In embodiments of the present invention, tracker configuration is in the desired body area of target body, in the pre- of target body When determining body part and making action, the position of tracker also changes accordingly, therefore, and the positional information of tracker is target The positional information of the desired body area of human body.As shown in figure 1, when target body rotary head, the helmet that target body is worn The direction of (equivalent to head-tracking device) also changes, and according to the direction of the helmet, you can obtain the head court of target body To;When target body elevation arm, the position for the handle (equivalent to hand tracker) that target body is held can also become Change, and the position for the handle held according to target body, you can obtain the hand of target body and the position of arm.
Step S206, controls the manikin in virtual reality to move, to make one according to the positional information got The action of body Model simulated target human body.
, can be by first determining the position of sub- bone, where then reverse derives its according to reverse dynamic (dynamical) principle Skeletal chain on n grades of father's bones position, so that it is determined that the position of whole piece skeletal chain.In embodiments of the present invention, in control people When body Model is simulated to target body, according to the positional information of the tracker got, each position of manikin is determined Positional information, and then the positional information at other positions is derived according to reverse dynamics reverse, so that it is determined that going out whole human mould The positional information of all sites of type, so that action of the manikin to target body is really simulated.
In embodiments of the present invention, the manikin shown using acquisition in virtual reality, wherein, manikin is used for Target body in true environment is simulated;Obtain the position letter of all trackers in the tracker set of target body Breath, wherein, tracker set includes the tracker that at least one is arranged in the desired body area of target body;According to acquisition To positional information control virtual reality in manikin move so that the action of manikin simulated target human body, By the positional information of the tracker in the desired body area according to target body, the manikin in control virtual reality enters Row movement, has reached the purpose of control manikin simulated target human action, it is achieved thereby that according to the predetermined of target body The positional information of body part, the technique effect that action of the control manikin to target body is simulated, and then solve The technical problem that human action can not be truly simulated in virtual reality.
Alternatively, positional information includes the position of tracker, is controlled according to the positional information got in virtual reality Manikin move including:It regard the position represented by any one positional information in the positional information got as mesh Cursor position;Judge whether the distance between current location and target location of the destination node of manikin are more than the first default threshold Value, wherein, the desired body area of destination node target body corresponding with target location is associated;If destination node work as The distance between front position and target location are more than the first predetermined threshold value, then all fathers section of control targe node and destination node Point is moved, wherein, destination node is used for multiple bones of a skeletal chain in simulated target human body with father node.
As a kind of optional embodiment of the embodiment of the present invention, the positional information of tracker includes the position of tracker Put, by tracker position to make target location, using for target body is carried out the corresponding site of simulated person's body Model as Destination node, then controlling manikin to carry out simulation to target body needs control targe node motion to target location.At this In inventive embodiments, a predetermined threshold value is set, if the distance of destination node and target location is more than the predetermined threshold value, needed Want control targe node motion to target location, during control targe node motion is to target location, also want same time control The father node of destination node processed is moved with the movement that destination node is, so as to reach the mesh truly simulated to target body 's.If the distance of destination node and target location is less than or equal to predetermined threshold value, then it is assumed that destination node is located approximately at mesh Cursor position, without moving destination node again.In embodiments of the present invention, destination node is the target body in target location Manikin node corresponding to desired body area.The same corresponding target body body part of the father node of destination node, The body part is the predetermined body of target body to be in the desired body area of target body on same skeletal chain Father's bone of position.
Fig. 3 is the schematic diagram of standardized human body's skeleton, as shown in figure 3, the bone of each in Fig. 3 corresponds in manikin One node, wherein, neck and father's bone that backbone is skull, neck and the backbone corresponding node in manikin are skull The father node of node corresponding to bone.Similarly, arm and father's bone that clavicle is hand, upper thigh bone and thigh bone are father's bone of pin Bone, then arm and the clavicle corresponding node in manikin are the father node of the corresponding node of hand, and upper thigh bone and thigh bone are in people Corresponding node is the father node of the corresponding node of pin in body Model.
Alternatively, all father nodes of control targe node and destination node move including:Obtain destination node All father nodes and the position relationship of target location;The father node adjacent with destination node is selected to be used as rotation according to position relationship Node;Keep the distance of all child nodes of the rotation node with rotating node constant, rotate all child nodes of the rotation node, So that destination node is moved on the line of rotation node and target location;The father node adjacent with rotation node is reselected to make To rotate node, until all father nodes of destination node all select to finish.
As a kind of optional embodiment of the embodiment of the present invention, the distance in destination node and target location is more than pre- If during threshold value, the father node of control targe node and destination node is moved, so that manikin carries out mould to target body Intend, specific control move mode is as shown in figure 4, in Fig. 4, N1, N2, N3, N4 is 4 nodes in manikin, N1, The body part of the corresponding target body of N2, N3, N4 is on same skeletal chain, and the corresponding body part of N1, N2, N3 is N4 Father's bone of corresponding body part, then N1, N2, N3 is N4 father node.Mould is carried out to target body in control manikin During plan, N4 is that tracker is configured with destination node, the desired body area of the corresponding target bodies of N4, and T is chasing after of getting The position of track device, i.e. target location.Before control targe node N4 and destination node N4 all father nodes movement, obtain first Destination node N4 all father node N1, N2, N3 and target location T position relationship are taken, optionally, can be by by father node N1, N2, N3 carry out line to determine its position relationship with target location T.Move first, select adjacent with destination node N4 first Father node N3 as rotation node, keep rotation node N3 and the distance of its all child node (node N4) it is constant, that is, keep N3N4 length is constant, node N4 in rotary moving, on the line that N4 is moved to node N3 and target location T.Optionally, in rotation In moving process, the angle that node N4 is moved for can mobile minimum angles, in above-mentioned moving process first, node N4 Mobile angle is a1.Second is mobile, and selection currently rotates the adjacent father nodes (N2) of node N3 as new rotation node, Keep rotation node N2 and the distance of its all child node (node N3, N4) constant, that is, keep N2N3, N2N4 and N3N4 length It is constant, node N3 and node N4 in rotary moving, on the line that N4 is moved to node N2 and target location T, at above-mentioned second In moving process, the angle of node N3 and node N4 movements is a2.By above-mentioned moving method, until destination node N4 all fathers Node is all chosen to finish.In Fig. 4, third time moving process selection target node N4 father node N1 is used as swivel Point, and keep the distance between node N1, N2, N3, N4 constant, node N2, N3, N4 in rotary moving make node N4 be moved to section On point N1 and the line of target location.So far, the simulation that a manikin is acted to target body is completed.Need explanation It is that, if after above-mentioned movement is completed, the distance between destination node N4 and target location T is less than or equal to predetermined threshold value, then Simulation of the manikin to target body is finished, if the distance before destination node N4 and target location T is more than predetermined threshold value, Another secondary control manikin is then needed to be moved by above-mentioned moving process, until between destination node N4 and target location T Distance be less than or equal to predetermined threshold value.
Alternatively, positional information includes the direction of tracker, is controlled according to the positional information got in virtual reality Manikin move including:It regard the direction represented by any one positional information in the positional information got as mesh Mark direction;Judge whether the current angle on target towards between target direction of the destination node of manikin is pre- more than second If threshold value;If angle on target is more than the second predetermined threshold value, all father nodes of control targe node and destination node according to First predetermined angle is rotated, wherein, the angle of destination node rotation is equal to the second predetermined threshold value, all fathers of destination node The anglec of rotation of node is less than or equal to the anglec of rotation of destination node;Preset if angle on target is less than or equal to second Threshold value, then control targe node rotated according to angle on target, and control targe node father node according to the second preset angle Degree is rotated, wherein, the second predetermined angle is less than or equal to angle on target.
As a kind of optional embodiment of the embodiment of the present invention, according to the angle of the tracker got, people is controlled The body part of body Model is rotated, to be simulated to target body.Due to the rotational angle of target body body part It is conditional, when controlling manikin simulated target human body to be rotated, Second Threshold is set, according to chasing after for getting When the angle on target that the angle information of track device is rotated the need for determining is more than Second Threshold, control targe node and destination node Father node is rotated according to the first predetermined angle, alternatively, and the father node of control targe node and destination node is according to first When predetermined angle is rotated, control targe node is rotated according to Second Threshold, while the father node of control targe node Rotated according to the angle less than or equal to Second Threshold, if the need for being determined according to the angle information of the tracker got When the angle on target of rotation is less than or equal to Second Threshold, the father node of control targe node and destination node is pre- according to second If angle is rotated, specifically, control targe node is rotated according to angle on target, and the father node of control targe node is pressed Rotated according to the anglec of rotation less than or equal to angle on target.Alternatively, when destination node has multiple father nodes, destination node The angle that rotates of multiple father nodes be respectively less than rotational angle equal to destination node, and in all nodes, father node turns Dynamic angle is less than or equal to the rotational angle of its child node.
For example:Destination node is head node, and the second predetermined threshold value is 90 degree, then target body is carried out in manikin During simulation, when the angle on target rotated the need for being determined according to the angle information of tracker is more than 90 degree, manikin is controlled According to 90 degree of rotation heads, it is alternatively possible to control neck to rotate 70 degree at same direction, control backbone is rotated at same direction 50 degree.If the angle on target rotated the need for being determined according to the angle information of tracker is 60 degree, control manikin is pressed According to 60 degree of rotation heads, it is alternatively possible to control neck to rotate 30 degree at same direction, control backbone rotates 15 at same direction Degree.
Alternatively, tracker set at least includes head-tracking device, obtains all in the tracker set of target body chase after The positional information of track device includes:Obtain the head position information of head-tracking device;It is virtual according to the positional information control got Manikin in reality move including:At least one below manikin progress is controlled to move according to head position information Make:Head rotation, body bending and body movement.
In embodiments of the present invention, head-tracking device is at least included in tracker set, according to the position of head-tracking device Information, action of the control manikin to target body is simulated, wherein, manikin can turn to the head of target body Dynamic, body bending and body movement are simulated.
Alternatively, before the manikin in the positional information got control virtual reality is moved, side Method includes:The left-hand minutia and right-hand minutia of manikin are merged into hand node;And/or by the left leg node of manikin Leg node is merged into right leg node, wherein, it is manikin head node, to merge obtained hand node and leg node Father node.
As a kind of optional embodiment of the embodiment of the present invention, the positional information of head-tracking device is obtained, and according to Before action of the positional information control manikin to target body is simulated, the node of manikin can be subjected to letter Change, and using head node, as destination node, the father node of control head node, and head node, is moved, so that human mould Action of the type to target body is simulated.Specifically, left-hand minutia and right-hand minutia can be merged into hand node, by a left side Leg node and right leg node merge into leg node, will merge obtained hand node and/or leg node is used as head node, Father node, when head node, is moved, control hand node and/or leg node moved accordingly.
So that tracker set includes head-tracking device and hand tracker as an example, manikin simulated target human body is controlled When, head and body action by head node, simulated target human body, by the both hands of hand node simulated target human body and Both arms are acted, and the human skeleton shown in Fig. 3 can be split as two parts shown in Fig. 5 and Fig. 6, wherein, Fig. 5 shows head Portion, body, the skeleton part of both legs, Fig. 6 show the skeleton part of both hands and both arms, as shown in fig. 7, can be to shown in Fig. 6 Skeleton part simplified.Left thigh bone is merged with right thigh bone, using the midpoint of left thigh bone and right thigh bone as merging after Thigh bone, left foot is merged with right crus of diaphragm, using the midpoint of left foot and right crus of diaphragm as the pin after merging, merges obtained thigh bone and pin It is used as the father node on head.
Alternatively, tracker set at least includes head-tracking device and hand tracker, obtains the tracker of target body The positional information of all trackers includes in set:Obtain the head position information of head-tracking device and the hand of hand tracker Positional information;According to get positional information control virtual reality in manikin move including:According to head position Confidence ceases and hand position information control manikin carries out at least one following action:Head rotation, body bending, body are moved Dynamic, arm movement, arm bending and arm rotation.
As a kind of optional embodiment of the embodiment of the present invention, tracker set includes head-tracking device and hand is chased after During track device, the head position information of target body is obtained by head-tracking device, target body is obtained by hand tracker Hand position information, is simulated according to head position information to the head of target body and body action, according to hand position Information is simulated to the hand and arm action of target body.
Alternatively, tracker set at least includes head-tracking device, hand tracker and foot's tracker, obtains target person The positional information of all trackers includes in the tracker set of body:The head position information of head-tracking device, hand is obtained to chase after The hand position information of track device and the foot position information of foot's tracker;Virtual reality is controlled according to the positional information got In manikin move including:Human body is controlled according to head position information, hand position information and foot position information Model carries out at least one following action:Head rotation, body bending, body movement, arm movement, arm bending, arm rotation Turn, leg is moved, leg curvature and leg rotate.
As a kind of optional embodiment of the embodiment of the present invention, tracker set includes head-tracking device, hand and chased after When track device and foot's tracker, the head position information of target body is obtained by head-tracking device, is obtained by hand tracker The hand position information of target body is taken, the foot position information of target body is obtained by foot's tracker, according to head position Confidence breath is simulated to the head of target body and body action, according to hand and hand of the hand position information to target body Arm action is simulated, and both feet and the both legs action of target body are simulated according to foot position information.
Alternatively, before the manikin shown in virtual reality is obtained, method also includes:Setting up has default body The manikin of body ratio;The actual body ratio of target body is obtained according to the positional information of tracker;According to actual body Proportional zoom manikin, so that the Body proportion of manikin is consistent with the Body proportion of target body.
It is similar to target body in order to improve manikin as a kind of optional embodiment of the embodiment of the present invention Degree, sets up a manikin consistent with the actual body ratio of target body.Specifically, first setting up one has standard body The positional information of the manikin of body ratio, the then tracker according to configuration in target body, obtains the reality of target body Border Body proportion relation, such as:The height of target body, then root can be learnt according to the positional information of target body head-tracking device According to the positional information of the hand of target body, the arm length of target body is learnt.Finally, according to the actual body of target body Proportionate relationship, is zoomed in and out to the above-mentioned manikin with standard physical ratio, so that the Body proportion relation of manikin It is consistent with the actual body ratio of target body.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some steps can be carried out sequentially or simultaneously using other.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, involved action and module is not necessarily of the invention It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but a lot In the case of the former be more preferably embodiment.Understood based on such, technical scheme is substantially in other words to existing The part that technology contributes can be embodied in the form of software product, and the computer software product is stored in a storage In medium (such as ROM/RAM, magnetic disc, CD), including some instructions are to cause a station terminal equipment (can be mobile phone, calculate Machine, server, or network equipment etc.) perform method described in each of the invention embodiment.
Embodiment 2
According to embodiments of the present invention, a kind of void for being used to implement the analogy method of human body in above-mentioned virtual reality is additionally provided Intend the analogue means of human body in reality, the analogue means of human body is mainly used in performing the embodiment of the present invention above-mentioned in the virtual reality Human body in the analogy method of human body in the virtual reality that content is provided, the virtual reality provided below the embodiment of the present invention Analogue means do specific introduction:
Fig. 8 is the schematic diagram of the analogue means of human body in a kind of optional virtual reality according to embodiments of the present invention, such as Shown in Fig. 8, the analogue means of human body mainly includes in the virtual reality:
First acquisition unit 810, the manikin shown for obtaining in virtual reality, wherein, manikin is used for Target body in true environment is simulated.
Virtual reality technology be it is a kind of can create the computer simulation system of virtual world, it using computer generation one The simulated environment of Three-Dimensional Dynamic what comes into a driver's that plant Multi-source Information Fusion, interactive mode, by this context to the entity row of user User is set to be immersed in the environment to carry out emulation.The manikin shown in virtual reality is used for the entity behavior to user Simulated, by the simulation for controlling manikin to carry out user, and the action for simulating manikin is more nearly use The entity behavior at family, so that interaction of the user in virtual reality is truer, improves Consumer's Experience.
Second acquisition unit 820, the positional information of all trackers in the tracker set for obtaining target body, its In, tracker set includes the tracker that at least one is arranged on the predetermined body part of target body.
In embodiments of the present invention, tracker configuration is in the desired body area of target body, in the pre- of target body When determining body part and making action, the position of tracker also changes accordingly, therefore, and the positional information of tracker is target The positional information of the desired body area of human body.As shown in figure 1, when target body rotary head, the helmet that target body is worn The direction of (equivalent to head-tracking device) also changes, and according to the direction of the helmet, you can obtain the head court of target body To;When target body elevation arm, the position for the handle (equivalent to hand tracker) that target body is held can also become Change, and the position for the handle held according to target body, you can obtain the hand of target body and the position of arm.
Control unit 830, is moved for the manikin in the positional information control virtual reality got, So that the action of manikin simulated target human body.
, can be by first determining the position of sub- bone, where then reverse derives its according to reverse dynamic (dynamical) principle Skeletal chain on n grades of father's bones position, so that it is determined that the position of whole piece skeletal chain.In embodiments of the present invention, in control people When body Model is simulated to target body, according to the positional information of the tracker got, each position of manikin is determined Positional information, and then the positional information at other positions is derived according to reverse dynamics reverse, so that it is determined that going out whole human mould The positional information of all sites of type, so that action of the manikin to target body is really simulated.
In embodiments of the present invention, the manikin shown using acquisition in virtual reality, wherein, manikin is used for Target body in true environment is simulated;Obtain the position letter of all trackers in the tracker set of target body Breath, wherein, tracker set includes the tracker that at least one is arranged in the desired body area of target body;According to acquisition To positional information control virtual reality in manikin move so that the action of manikin simulated target human body, By the positional information of the tracker in the desired body area according to target body, the manikin in control virtual reality enters Row movement, has reached the purpose of control manikin simulated target human action, it is achieved thereby that according to the predetermined of target body The positional information of body part, the technique effect that action of the control manikin to target body is simulated, and then solve The technical problem that human action can not be truly simulated in virtual reality.
Alternatively, positional information includes the position of tracker, and control unit includes:Position module, for that will get The position represented by any one positional information in positional information is used as target location;First judge module, for judging people Whether the distance between current location and target location of the destination node of body Model are more than the first predetermined threshold value, wherein, target The desired body area of node target body corresponding with target location is associated;First control module, if in target When the distance between current location of node and target location are more than the first predetermined threshold value, control targe node and destination node All father nodes are moved, wherein, destination node is used for multiple bones of a skeletal chain in simulated target human body with father node Bone.
As a kind of optional embodiment of the embodiment of the present invention, the positional information of tracker includes the position of tracker Put, by tracker position to make target location, using for target body is carried out the corresponding site of simulated person's body Model as Destination node, then controlling manikin to carry out simulation to target body needs control targe node motion to target location.At this In inventive embodiments, a predetermined threshold value is set, if the distance of destination node and target location is more than the predetermined threshold value, needed Want control targe node motion to target location, during control targe node motion is to target location, also want same time control The father node of destination node processed is moved with the movement that destination node is, so as to reach the mesh truly simulated to target body 's.If the distance of destination node and target location is less than or equal to predetermined threshold value, then it is assumed that destination node is located approximately at mesh Cursor position, without moving destination node again.In embodiments of the present invention, destination node is the target body in target location Manikin node corresponding to desired body area.The same corresponding target body body part of the father node of destination node, The body part is the predetermined body of target body to be in the desired body area of target body on same skeletal chain Father's bone of position.
Fig. 3 is the schematic diagram of standardized human body's skeleton, as shown in figure 3, the bone of each in Fig. 3 corresponds in manikin One node, wherein, neck and father's bone that backbone is skull, neck and the backbone corresponding node in manikin are skull The father node of node corresponding to bone.Similarly, arm and father's bone that clavicle is hand, upper thigh bone and thigh bone are father's bone of pin Bone, then arm and the clavicle corresponding node in manikin are the father node of the corresponding node of hand, and upper thigh bone and thigh bone are in people Corresponding node is the father node of the corresponding node of pin in body Model.
Alternatively, the first control module includes:Acquisition submodule, all father nodes and target for obtaining destination node The position relationship of position;Swivel point submodule, for selecting the father node conduct adjacent with destination node according to position relationship Rotate node;Submodule is rotated, for keeping the distance of all child nodes of the rotation node with rotating node constant, the rotation is rotated All child nodes of trochanterion, so that destination node is moved on the line of rotation node and target location;Submodule is repeated, is used In reselecting the father node adjacent with rotation node as rotation node, until all father nodes of destination node are all selected Finish.
As a kind of optional embodiment of the embodiment of the present invention, the distance in destination node and target location is more than pre- If during threshold value, the father node of control targe node and destination node is moved, so that manikin carries out mould to target body Intend, specific control move mode is as shown in figure 4, in Fig. 4, N1, N2, N3, N4 is 4 nodes in manikin, N1, The body part of the corresponding target body of N2, N3, N4 is on same skeletal chain, and the corresponding body part of N1, N2, N3 is N4 Father's bone of corresponding body part, then N1, N2, N3 is N4 father node.Mould is carried out to target body in control manikin During plan, N4 is that tracker is configured with destination node, the desired body area of the corresponding target bodies of N4, and T is chasing after of getting The position of track device, i.e. target location.Before control targe node N4 and destination node N4 all father nodes movement, obtain first Destination node N4 all father node N1, N2, N3 and target location T position relationship are taken, optionally, can be by by father node N1, N2, N3 carry out line to determine its position relationship with target location T.Move first, select adjacent with destination node N4 first Father node N3 as rotation node, keep rotation node N3 and the distance of its all child node (node N4) it is constant, that is, keep N3N4 length is constant, node N4 in rotary moving, on the line that N4 is moved to node N3 and target location T.Optionally, in rotation In moving process, the angle that node N4 is moved for can mobile minimum angles, in above-mentioned moving process first, node N4 Mobile angle is a1.Second is mobile, and selection currently rotates the adjacent father nodes (N2) of node N3 as new rotation node, Keep rotation node N2 and the distance of its all child node (node N3, N4) constant, that is, keep N2N3, N2N4 and N3N4 length It is constant, node N3 and node N4 in rotary moving, on the line that N4 is moved to node N2 and target location T, at above-mentioned second In moving process, the angle of node N3 and node N4 movements is a2.By above-mentioned moving method, until destination node N4 all fathers Node is all chosen to finish.In Fig. 4, third time moving process selection target node N4 father node N1 is used as swivel Point, and keep the distance between node N1, N2, N3, N4 constant, node N2, N3, N4 in rotary moving make node N4 be moved to section On point N1 and the line of target location.So far, the simulation that a manikin is acted to target body is completed.Need explanation It is that, if after above-mentioned movement is completed, the distance between destination node N4 and target location T is less than or equal to predetermined threshold value, then Simulation of the manikin to target body is finished, if the distance before destination node N4 and target location T is more than predetermined threshold value, Another secondary control manikin is then needed to be moved by above-mentioned moving process, until between destination node N4 and target location T Distance be less than or equal to predetermined threshold value.
Alternatively, positional information includes the direction of tracker, and control unit includes:Towards module, for that will get The direction represented by any one positional information in positional information is used as target direction;Second judge module, for judging people Whether the current angle on target towards with target between of the destination node of body Model is more than the second predetermined threshold value;Second control Molding block, for when angle on target is more than the second predetermined threshold value, all father nodes of control targe node and destination node to be pressed Rotated according to the first predetermined angle, wherein, the angle of destination node rotation is equal to the second predetermined threshold value, destination node it is all The anglec of rotation of father node is less than or equal to the anglec of rotation of destination node;3rd control module, for small in angle on target When the second predetermined threshold value, control targe node is rotated according to angle on target, and the father of control targe node Node is rotated according to the second predetermined angle, wherein, the second predetermined angle is less than or equal to angle on target.
As a kind of optional embodiment of the embodiment of the present invention, according to the angle of the tracker got, people is controlled The body part of body Model is rotated, to be simulated to target body.Due to the rotational angle of target body body part It is conditional, when controlling manikin simulated target human body to be rotated, Second Threshold is set, according to chasing after for getting When the angle on target that the angle information of track device is rotated the need for determining is more than Second Threshold, control targe node and destination node Father node is rotated according to the first predetermined angle, alternatively, and the father node of control targe node and destination node is according to first When predetermined angle is rotated, control targe node is rotated according to Second Threshold, while the father node of control targe node Rotated according to the angle less than or equal to Second Threshold, if the need for being determined according to the angle information of the tracker got When the angle on target of rotation is less than or equal to Second Threshold, the father node of control targe node and destination node is pre- according to second If angle is rotated, specifically, control targe node is rotated according to angle on target, and the father node of control targe node is pressed Rotated according to the anglec of rotation less than or equal to angle on target.Alternatively, when destination node has multiple father nodes, destination node The angle that rotates of multiple father nodes be respectively less than rotational angle equal to destination node, and in all nodes, father node turns Dynamic angle is less than or equal to the rotational angle of its child node.
For example:Destination node is head node, and the second predetermined threshold value is 90 degree, then target body is carried out in manikin During simulation, when the angle on target rotated the need for being determined according to the angle information of tracker is more than 90 degree, manikin is controlled According to 90 degree of rotation heads, it is alternatively possible to control neck to rotate 70 degree at same direction, control backbone is rotated at same direction 50 degree.If the angle on target rotated the need for being determined according to the angle information of tracker is 60 degree, control manikin is pressed According to 60 degree of rotation heads, it is alternatively possible to control neck to rotate 30 degree at same direction, control backbone rotates 15 at same direction Degree.
Alternatively, tracker set at least includes head-tracking device, and second acquisition unit includes:First acquisition module, is used In the head position information for obtaining head-tracking device;Control unit includes:4th control module, for according to head position information Manikin is controlled to carry out at least one following action:Head rotation, body bending and body movement.
In embodiments of the present invention, head-tracking device is at least included in tracker set, according to the position of head-tracking device Information, action of the control manikin to target body is simulated, wherein, manikin can turn to the head of target body Dynamic, body bending and body movement are simulated.
Alternatively, device includes:First combining unit, for according in the positional information got control virtual reality Manikin move before, the left-hand minutia and right-hand minutia of manikin are merged into hand node;And/or second Combining unit, for before the manikin in the positional information got control virtual reality is moved, by people The left leg node and right leg node of body Model merge into leg node, wherein, merge obtained hand node and leg node is The father node of Sheffield dummy head's node.
As a kind of optional embodiment of the embodiment of the present invention, the positional information of head-tracking device is obtained, and according to Before action of the positional information control manikin to target body is simulated, the node of manikin can be subjected to letter Change, and using head node, as destination node, the father node of control head node, and head node, is moved, so that human mould Action of the type to target body is simulated.Specifically, left-hand minutia and right-hand minutia can be merged into hand node, by a left side Leg node and right leg node merge into leg node, will merge obtained hand node and/or leg node is used as head node, Father node, when head node, is moved, control hand node and/or leg node moved accordingly.
So that tracker set includes head-tracking device and hand tracker as an example, manikin simulated target human body is controlled When, head and body action by head node, simulated target human body, by the both hands of hand node simulated target human body and Both arms are acted, and the human skeleton shown in Fig. 3 can be split as two parts shown in Fig. 5 and Fig. 6, wherein, Fig. 5 shows head Portion, body, the skeleton part of both legs, Fig. 6 show the skeleton part of both hands and both arms, as shown in fig. 7, can be to shown in Fig. 6 Skeleton part simplified.Left thigh bone is merged with right thigh bone, using the midpoint of left thigh bone and right thigh bone as merging after Thigh bone, left foot is merged with right crus of diaphragm, using the midpoint of left foot and right crus of diaphragm as the pin after merging, merges obtained thigh bone and pin It is used as the father node on head.
Alternatively, tracker set at least includes head-tracking device and hand tracker, and second acquisition unit includes:Second Acquisition module, for obtaining the head position information of head-tracking device and the hand position information of hand tracker;Control unit Including:5th control module, for following at least according to head position information and the control manikin progress of hand position information One action:Head rotation, body bending, body movement, arm movement, arm bending and arm rotation.
As a kind of optional embodiment of the embodiment of the present invention, tracker set includes head-tracking device and hand is chased after During track device, the head position information of target body is obtained by head-tracking device, target body is obtained by hand tracker Hand position information, is simulated according to head position information to the head of target body and body action, according to hand position Information is simulated to the hand and arm action of target body.
Alternatively, tracker set at least includes head-tracking device, hand tracker and foot's tracker, and second obtains single Member includes:3rd acquisition module, head position information, the hand position information of hand tracker for obtaining head-tracking device With the foot position information of foot tracker;Control unit includes:6th control module, for according to head position information, hand Portion's positional information and foot position information control manikin carry out at least one following action:Head rotation, body bending, body Body movement, arm movement, arm bending, arm rotation, leg movement, leg curvature and leg rotation.
As a kind of optional embodiment of the embodiment of the present invention, tracker set includes head-tracking device, hand and chased after When track device and foot's tracker, the head position information of target body is obtained by head-tracking device, is obtained by hand tracker The hand position information of target body is taken, the foot position information of target body is obtained by foot's tracker, according to head position Confidence breath is simulated to the head of target body and body action, according to hand and hand of the hand position information to target body Arm action is simulated, and both feet and the both legs action of target body are simulated according to foot position information.
Alternatively, device also includes:Unit is set up, for before the manikin that is shown in virtual reality is obtained, Set up the manikin with default Body proportion;3rd acquiring unit, for obtaining target according to the positional information of tracker The actual body ratio of human body;Unit for scaling, for according to actual body proportional zoom manikin, so that the body of manikin Body ratio is consistent with the Body proportion of target body.
It is similar to target body in order to improve manikin as a kind of optional embodiment of the embodiment of the present invention Degree, sets up a manikin consistent with the actual body ratio of target body.Specifically, first setting up one has standard body The positional information of the manikin of body ratio, the then tracker according to configuration in target body, obtains the reality of target body Border Body proportion relation, such as:The height of target body, then root can be learnt according to the positional information of target body head-tracking device According to the positional information of the hand of target body, the arm length of target body is learnt.Finally, according to the actual body of target body Proportionate relationship, is zoomed in and out to the above-mentioned manikin with standard physical ratio, so that the Body proportion relation of manikin It is consistent with the actual body ratio of target body.
Embodiment 3
According to embodiments of the present invention, a kind of end for being used to implement the analogy method of human body in above-mentioned virtual reality is additionally provided End, as shown in figure 9, the terminal mainly includes processor 901, display 902 and network interface 903, wherein:
Network interface 903 is mainly used in carrying out network service with tracker, to obtain the positional information of tracker.
Display 902 is mainly used in manikin of the display for simulated target human body.
Processor 901 is mainly used in performing following operation:
The manikin shown in virtual reality is obtained, wherein, manikin is used for the target person in true environment Body is simulated;The positional information of all trackers in the tracker set of target body is obtained, wherein, tracker set includes At least one is arranged on the tracker on the predetermined body part of target body;It is virtual existing according to the positional information control got Manikin in reality is moved, so that the action of manikin simulated target human body.
Processor 901 be additionally operable to position represented by any one positional information in the positional information that will get as Target location;Judge whether the current location and the distance between target location of the destination node of manikin are default more than first Threshold value, wherein, the desired body area of destination node target body corresponding with target location is associated;If destination node The distance between current location and target location are more than all fathers of the first predetermined threshold value, then control targe node and destination node Node is moved, wherein, destination node is used for multiple bones of a skeletal chain in simulated target human body with father node.
Processor 901 is additionally operable to obtain all father nodes of destination node and the position relationship of target location;According to position Relation selects the father node adjacent with destination node as rotation node;Keep all child nodes of rotation node and rotation node Distance it is constant, all child nodes of the rotation node are rotated, so that destination node is moved to rotation node and target location On line;The father node adjacent with rotation node is reselected as rotation node, until all father nodes of destination node are complete Portion's selection is finished.
Processor 901 be additionally operable to represented by any one positional information in the positional information that will get towards as Target direction;Judge whether the current angle on target towards with target between of the destination node of manikin is more than second Predetermined threshold value;If angle on target is more than the second predetermined threshold value, all father nodes of control targe node and destination node are pressed Rotated according to the first predetermined angle, wherein, the angle of destination node rotation is equal to the second predetermined threshold value, destination node it is all The anglec of rotation of father node is less than or equal to the anglec of rotation of destination node;If it is pre- that angle on target is less than or equal to second If threshold value, then control targe node is rotated according to angle on target, and the father node of control targe node is default according to second Angle is rotated, wherein, the second predetermined angle is less than or equal to angle on target.
Processor 901 is additionally operable to obtain the head position information of head-tracking device;Human body is controlled according to head position information Model carries out at least one following action:Head rotation, body bending and body movement.
Processor 901 is additionally operable to the left-hand minutia and right-hand minutia of manikin merging into hand node;And/or by people The left leg node and right leg node of body Model merge into leg node, wherein, merge obtained hand node and leg node is The father node of Sheffield dummy head's node.
Processor 901 is additionally operable to obtain the head position information of head-tracking device and the hand position letter of hand tracker Breath;At least one following action is carried out according to head position information and hand position information control manikin:Head rotation, body Body bending, body movement, arm movement, arm bending and arm rotation.
Processor 901 is additionally operable to obtain head position information, the hand position information of hand tracker of head-tracking device With the foot position information of foot tracker;People is controlled according to head position information, hand position information and foot position information Body Model carries out at least one following action:Head rotation, body bending, body movement, arm movement, arm bending, arm Rotation, leg movement, leg curvature and leg rotation.
Processor 901 is additionally operable to set up the manikin with default Body proportion;Obtained according to the positional information of tracker Take the actual body ratio of target body;According to actual body proportional zoom manikin, so that the Body proportion of manikin It is consistent with the Body proportion of target body.
Alternatively, the specific example in the present embodiment may be referred to showing described in above-described embodiment 1 and embodiment 2 Example, the present embodiment will not be repeated here.
Embodiment 4
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium can The program code of the analogy method of human body in virtual reality for storing the embodiment of the present invention.
Alternatively, in the present embodiment, above-mentioned storage medium can be located at mobile communications network, wide area network, Metropolitan Area Network (MAN) or At least one network equipment in multiple network equipments in the network of LAN.
Alternatively, in the present embodiment, storage medium is arranged to the program code that storage is used to perform following steps:
S1, obtains the manikin shown in virtual reality, wherein, manikin is used for the target in true environment Human body is simulated;
S2, obtains the positional information of all trackers in the tracker set of target body, wherein, tracker set includes At least one is arranged on the tracker on the predetermined body part of target body;
S3, controls the manikin in virtual reality to move, so that manikin according to the positional information got The action of simulated target human body.
Alternatively, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. is various can be with the medium of store program codes.
Alternatively, in the present embodiment, processor is performed according to the program code stored in storage medium and will got Positional information in any one positional information represented by position be used as target location;Judge the destination node of manikin The distance between current location and target location whether be more than the first predetermined threshold value, wherein, destination node and target location pair The desired body area for the target body answered is associated;If the current location of destination node and the distance between target location are big In the first predetermined threshold value, then all father nodes of control targe node and destination node are moved, wherein, destination node and father Node is used for multiple bones of a skeletal chain in simulated target human body.
Alternatively, in the present embodiment, processor performs according to the program code stored in storage medium and obtains target All father nodes and the position relationship of target location of node;The father node adjacent with destination node is selected to make according to position relationship For rotation node;Keep the distance of all child nodes of the rotation node with rotating node constant, rotate all child nodes of node, So that destination node is moved on the line of rotation node and target location;The father node adjacent with rotation node is reselected to make To rotate node, until all father nodes of destination node all select to finish.
Alternatively, in the present embodiment, processor is performed according to the program code stored in storage medium and will got Positional information in any one positional information represented by direction be used as target direction;Judge the destination node of manikin It is current towards and angle on target of the target between whether be more than the second predetermined threshold value;If it is pre- that angle on target is more than second If threshold value, then all father nodes of control targe node and destination node are rotated according to the first predetermined angle, wherein, target The angle of node rotation is equal to the second predetermined threshold value, and the anglec of rotation of all father nodes of destination node is less than or equal to target The anglec of rotation of node;If angle on target is less than or equal to the second predetermined threshold value, control targe node is according to target angle Degree is rotated, and the father node of control targe node is rotated according to the second predetermined angle, wherein, the second predetermined angle is small In or equal to angle on target.
Alternatively, in the present embodiment, processor performs according to the program code stored in storage medium and obtains head The head position information of tracker;Manikin is controlled to carry out at least one following action according to head position information:Head turns Dynamic, body bending and body movement.
Alternatively, in the present embodiment, processor is performed human mould according to the program code stored in storage medium The left-hand minutia and right-hand minutia of type merge into hand node;And/or merge the left leg node of manikin and right leg node For leg node, wherein, merge obtained hand node and father node that leg node is manikin head node,.
Alternatively, in the present embodiment, processor performs according to the program code stored in storage medium and obtains head The head position information of tracker and the hand position information of hand tracker;According to head position information and hand position information Manikin is controlled to carry out at least one following action:Head rotation, body bending, body movement, arm movement, arm bending With arm rotation.
Alternatively, in the present embodiment, processor performs according to the program code stored in storage medium and obtains head The foot position information of the head position information of tracker, the hand position information of hand tracker and foot's tracker;According to Head position information, hand position information and foot position information control manikin carry out at least one following action:Head Rotation, body bending, body movement, arm movement, arm bending, arm rotation, leg movement, leg curvature and leg rotation Turn.
Alternatively, in the present embodiment, processor performs foundation according to the program code stored in storage medium and had The manikin of default Body proportion;The actual body ratio of target body is obtained according to the positional information of tracker;According to reality Border Body proportion scaling manikin, so that the Body proportion of manikin is consistent with the Body proportion of target body.
Alternatively, the specific example in the present embodiment may be referred to showing described in above-described embodiment 1 and embodiment 2 Example, the present embodiment will not be repeated here.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
If the integrated unit in above-described embodiment is realized using in the form of SFU software functional unit and is used as independent product Sale or in use, the storage medium that above computer can be read can be stored in.Understood based on such, skill of the invention The part or all or part of the technical scheme that art scheme substantially contributes to prior art in other words can be with soft The form of part product is embodied, and the computer software product is stored in storage medium, including some instructions are to cause one Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) perform each embodiment institute of the invention State all or part of step of method.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not have in some embodiment The part of detailed description, may refer to the associated description of other embodiment.
, can be by others side in several embodiments provided herein, it should be understood that disclosed client Formula is realized.Wherein, device embodiment described above is only schematical, such as division of described unit, only one Kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or Another system is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed it is mutual it Between coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of unit or module by some interfaces Connect, can be electrical or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
Described above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (18)

1. the analogy method of human body in a kind of virtual reality, it is characterised in that including:
The manikin shown in virtual reality is obtained, wherein, the manikin is used for the target person in true environment Body is simulated;
The positional information of all trackers in the tracker set of the target body is obtained, wherein, the tracker set bag Include at least one tracker being arranged on the predetermined body part of the target body;
The manikin in the positional information control virtual reality got is moved, so that the manikin Simulate the action of the target body.
2. according to the method described in claim 1, it is characterised in that the positional information includes the position of the tracker, root According to get positional information control virtual reality in the manikin move including:
It regard the position represented by any one positional information in the positional information got as target location;
Judge whether the distance between current location and the target location of the destination node of the manikin are more than first Predetermined threshold value, wherein, the desired body area of the destination node target body corresponding to the target location is related Connection;
If the distance between the current location of the destination node and described target location are more than first predetermined threshold value, All father nodes of the destination node and the destination node are controlled to move, wherein, the destination node and the father Node is used for the multiple bones for simulating a skeletal chain in the target body.
3. method according to claim 2, it is characterised in that control all of the destination node and the destination node Father node move including:
Obtain all father nodes of the destination node and the position relationship of the target location;
The father node adjacent with the destination node is selected as rotation node according to the position relationship;
Keep the rotation node and the distance of all child nodes of the rotation node constant, rotate the institute of the rotation node There is child node, so that the destination node is moved on the line of the rotation node and the target location;
The father node adjacent with the rotation node is reselected as the rotation node, until owning for the destination node All selection is finished father node.
4. according to the method described in claim 1, it is characterised in that the positional information includes the direction of the tracker, root According to get positional information control virtual reality in the manikin move including:
It regard the direction represented by any one positional information in the positional information got as target direction;
Judge whether the current angle on target towards with the target between of the destination node of the manikin is more than Second predetermined threshold value;
If the angle on target is more than second predetermined threshold value, the institute of the destination node and the destination node is controlled There is father node to be rotated according to the first predetermined angle, wherein, the angle of the destination node rotation is equal to described second and preset Threshold value, the anglec of rotation of all father nodes of the destination node is less than or equal to the anglec of rotation of the destination node;
If the angle on target is less than or equal to the second predetermined threshold value, the destination node is controlled according to the target angle Degree is rotated, and controls the father node of the destination node to be rotated according to the second predetermined angle, wherein, described second is pre- If angle is less than or equal to the angle on target.
5. method according to any one of claim 1 to 4, it is characterised in that the tracker set at least includes head Portion's tracker,
Obtaining the positional information of all trackers in the tracker set of the target body includes:Obtain the head-tracking device Head position information;
According to get positional information control virtual reality in the manikin move including:According to the head Positional information controls the manikin to carry out at least one following action:Head rotation, body bending and body movement.
6. method according to claim 5, it is characterised in that according in the positional information got control virtual reality The manikin move before, methods described includes:
The left-hand minutia and right-hand minutia of the manikin are merged into hand node;And/or
The left leg node and right leg node of the manikin are merged into leg node, wherein, merge the obtained hand Node and the father node that the leg node is Sheffield dummy head's node.
7. method according to any one of claim 1 to 4, it is characterised in that the tracker set at least includes head Portion's tracker and hand tracker,
Obtaining the positional information of all trackers in the tracker set of the target body includes:Obtain the head-tracking device Head position information and the hand tracker hand position information;
According to get positional information control virtual reality in the manikin move including:According to the head Positional information and the hand position information control the manikin to carry out at least one following action:Head rotation, body Bending, body movement, arm movement, arm bending and arm rotation.
8. method according to any one of claim 1 to 4, it is characterised in that the tracker set at least includes head Portion's tracker, hand tracker and foot's tracker,
Obtaining the positional information of all trackers in the tracker set of the target body includes:Obtain the head-tracking device Head position information, the foot position information of the hand position information of the hand tracker and foot's tracker;
According to get positional information control virtual reality in the manikin move including:
The manikin is controlled to enter according to the head position information, the hand position information and the foot position information At least one following action of row:Head rotation, body bending, body movement, arm movement, arm bending, arm rotation, leg Mobile, leg curvature and leg rotation.
9. according to the method described in claim 1, it is characterised in that obtain the manikin that is shown in virtual reality it Before, methods described also includes:
Set up the manikin with default Body proportion;
The actual body ratio of the target body is obtained according to the positional information of the tracker;
The manikin according to the actual body proportional zoom, so that the Body proportion of the manikin and the target The Body proportion of human body is consistent.
10. the analogue means of human body in a kind of virtual reality, it is characterised in that including:
First acquisition unit, the manikin shown for obtaining in virtual reality, wherein, the manikin is used for true Target body in real environment is simulated;
Second acquisition unit, the positional information of all trackers in the tracker set for obtaining the target body, wherein, The tracker set includes the tracker that at least one is arranged on the predetermined body part of the target body;
Control unit, is moved for the manikin in the positional information control virtual reality got, with The manikin is set to simulate the action of the target body.
11. device according to claim 10, it is characterised in that the positional information includes the position of the tracker, Described control unit includes:
Position module, for regarding the position represented by any one positional information in the positional information got as target position Put;
First judge module, between the current location and the target location of the destination node that judges the manikin Whether distance is more than the first predetermined threshold value, wherein, the destination node target body corresponding with the target location Desired body area is associated;
First control module, if be more than for the distance between the current location of the destination node and the target location During first predetermined threshold value, all father nodes of the destination node and the destination node are controlled to move, wherein, institute State multiple bones that destination node and the father node are used to simulate a skeletal chain in the target body.
12. device according to claim 11, it is characterised in that first control module includes:
Acquisition submodule, for obtaining all father nodes of the destination node and the position relationship of the target location;
Swivel point submodule, for selecting the father node adjacent with the destination node to be used as rotation according to the position relationship Node;
Submodule is rotated, for keeping the rotation node and the distance of all child nodes of the rotation node constant, rotation All child nodes of the rotation node, so that the destination node is moved to the rotation node and the company of the target location On line;
Submodule is repeated, for reselecting the father node adjacent with the rotation node as the rotation node, Zhi Daosuo All father nodes for stating destination node all select to finish.
13. device according to claim 10, it is characterised in that the positional information includes the direction of the tracker, Described control unit includes:
Towards module, for regarding the direction represented by any one positional information in the positional information got as target court To;
Second judge module, for judge the manikin destination node it is current towards and the target between Whether angle on target is more than the second predetermined threshold value;
Second control module, for when the angle on target is more than second predetermined threshold value, control the destination node and All father nodes of the destination node are rotated according to the first predetermined angle, wherein, the angle of the destination node rotation Equal to second predetermined threshold value, the anglec of rotation of all father nodes of the destination node is less than or equal to the target section The anglec of rotation of point;
3rd control module, for when the angle on target is less than or equal to the second predetermined threshold value, controlling the target section Point is rotated according to the angle on target, and controls the father node of the destination node to be revolved according to the second predetermined angle Turn, wherein, second predetermined angle is less than or equal to the angle on target.
14. the device according to any one of claim 10 to 13, it is characterised in that the tracker set at least includes Head-tracking device,
The second acquisition unit includes:First acquisition module, the head position information for obtaining the head-tracking device;
Described control unit includes:4th control module, for controlling the manikin to enter according to the head position information At least one following action of row:Head rotation, body bending and body movement.
15. device according to claim 14, it is characterised in that described device includes:
First combining unit, for being moved in the manikin in the positional information got control virtual reality Before dynamic, the left-hand minutia and right-hand minutia of the manikin are merged into hand node;And/or
Second combining unit, for being moved in the manikin in the positional information got control virtual reality Before dynamic, the left leg node and right leg node of the manikin are merged into leg node, wherein, merge the obtained hand Portion's node and the father node that the leg node is Sheffield dummy head's node.
16. the device according to any one of claim 10 to 13, it is characterised in that the tracker set at least includes Head-tracking device and hand tracker,
The second acquisition unit includes:Second acquisition module, for obtain the head-tracking device head position information and The hand position information of the hand tracker;
Described control unit includes:5th control module, for according to the head position information and the hand position information The manikin is controlled to carry out at least one following action:Head rotation, body bending, body movement, arm movement, arm Bending and arm rotation.
17. the device according to any one of claim 10 to 13, it is characterised in that the tracker set at least includes Head-tracking device, hand tracker and foot's tracker,
The second acquisition unit includes:3rd acquisition module, head position information, institute for obtaining the head-tracking device State the hand position information of hand tracker and the foot position information of foot's tracker;
Described control unit includes:6th control module, for according to the head position information, the hand position information and The foot position information controls the manikin to carry out at least one following action:Head rotation, body bending, body are moved Dynamic, arm movement, arm bending, arm rotation, leg movement, leg curvature and leg rotation.
18. device according to claim 10, it is characterised in that described device also includes:
Unit is set up, for before the manikin shown in virtual reality is obtained, setting up with default Body proportion Manikin;
3rd acquiring unit, the actual body ratio for obtaining the target body according to the positional information of the tracker;
Unit for scaling, for the manikin according to the actual body proportional zoom, so that the body of the manikin Ratio is consistent with the Body proportion of the target body.
CN201710209562.0A 2017-03-31 2017-03-31 The analogy method and device of human body in virtual reality Active CN107122043B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201710209562.0A CN107122043B (en) 2017-03-31 2017-03-31 The analogy method and device of human body in virtual reality
PCT/CN2018/077922 WO2018177075A1 (en) 2017-03-31 2018-03-02 Method and apparatus for simulating human body in virtual reality, storage medium, and electronic apparatus
TW107109892A TWI657263B (en) 2017-03-31 2018-03-22 Method and device for simulating human body in virtual reality, storage medium, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710209562.0A CN107122043B (en) 2017-03-31 2017-03-31 The analogy method and device of human body in virtual reality

Publications (2)

Publication Number Publication Date
CN107122043A true CN107122043A (en) 2017-09-01
CN107122043B CN107122043B (en) 2019-01-08

Family

ID=59724585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710209562.0A Active CN107122043B (en) 2017-03-31 2017-03-31 The analogy method and device of human body in virtual reality

Country Status (3)

Country Link
CN (1) CN107122043B (en)
TW (1) TWI657263B (en)
WO (1) WO2018177075A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018177075A1 (en) * 2017-03-31 2018-10-04 腾讯科技(深圳)有限公司 Method and apparatus for simulating human body in virtual reality, storage medium, and electronic apparatus
CN111190826A (en) * 2019-12-30 2020-05-22 上海曼恒数字技术股份有限公司 Testing method and device for virtual reality immersive tracking environment, storage medium and equipment
CN112379771A (en) * 2020-10-10 2021-02-19 杭州翔毅科技有限公司 Real-time interaction method, device and equipment based on virtual reality and storage medium
WO2023202015A1 (en) * 2022-04-22 2023-10-26 北京字跳网络技术有限公司 Virtual image control method and apparatus, device and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109542225B (en) * 2018-11-21 2022-01-25 英华达(上海)科技有限公司 Redirection virtual reality space system and method thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101579238A (en) * 2009-06-15 2009-11-18 吴健康 Human motion capture three dimensional playback system and method thereof
CN103488291A (en) * 2013-09-09 2014-01-01 北京诺亦腾科技有限公司 Immersion virtual reality system based on motion capture

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9536338B2 (en) * 2012-07-31 2017-01-03 Microsoft Technology Licensing, Llc Animating objects using the human body
CN203405772U (en) * 2013-09-09 2014-01-22 北京诺亦腾科技有限公司 Immersion type virtual reality system based on movement capture
CN105225262B (en) * 2015-10-23 2018-09-21 深圳华侨城文化旅游科技股份有限公司 A kind of dynamic capture 3D data processing methods
CN106251387A (en) * 2016-07-29 2016-12-21 武汉光之谷文化科技股份有限公司 A kind of imaging system based on motion capture
CN106484110A (en) * 2016-09-30 2017-03-08 珠海市魅族科技有限公司 A kind of method of simulation body action and virtual reality device
CN107122043B (en) * 2017-03-31 2019-01-08 腾讯科技(深圳)有限公司 The analogy method and device of human body in virtual reality

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101579238A (en) * 2009-06-15 2009-11-18 吴健康 Human motion capture three dimensional playback system and method thereof
CN103488291A (en) * 2013-09-09 2014-01-01 北京诺亦腾科技有限公司 Immersion virtual reality system based on motion capture

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018177075A1 (en) * 2017-03-31 2018-10-04 腾讯科技(深圳)有限公司 Method and apparatus for simulating human body in virtual reality, storage medium, and electronic apparatus
CN111190826A (en) * 2019-12-30 2020-05-22 上海曼恒数字技术股份有限公司 Testing method and device for virtual reality immersive tracking environment, storage medium and equipment
CN111190826B (en) * 2019-12-30 2024-01-23 上海曼恒数字技术股份有限公司 Testing method, device, storage medium and equipment for virtual reality immersive tracking environment
CN112379771A (en) * 2020-10-10 2021-02-19 杭州翔毅科技有限公司 Real-time interaction method, device and equipment based on virtual reality and storage medium
WO2023202015A1 (en) * 2022-04-22 2023-10-26 北京字跳网络技术有限公司 Virtual image control method and apparatus, device and storage medium

Also Published As

Publication number Publication date
TW201830090A (en) 2018-08-16
WO2018177075A1 (en) 2018-10-04
TWI657263B (en) 2019-04-21
CN107122043B (en) 2019-01-08

Similar Documents

Publication Publication Date Title
CN107122043A (en) The analogy method and device of human body in virtual reality
US11928765B2 (en) Animation implementation method and apparatus, electronic device, and storage medium
EP3347795B1 (en) Tactile interaction in virtual environments
CN106780421A (en) Finishing effect methods of exhibiting based on panoramic platform
Gültepe et al. Real-time virtual fitting with body measurement and motion smoothing
CN111773686A (en) Animation generation method and device, storage medium and electronic device
CN107680167A (en) A kind of three-dimensional (3 D) manikin creation method and system based on user image
US10062197B2 (en) Animating a virtual object in a virtual world
WO2023088041A1 (en) Method and apparatus for generating walking animation of virtual character, and device and storage medium
CN106327589A (en) Kinect-based 3D virtual dressing mirror realization method and system
CN104050702B (en) Direct maneuvering calculation machine generates the method and system of the limited model of role
CN103403767A (en) Movement modeling device, method, and program
CN108771866A (en) Virtual object control method in virtual reality and device
CN105488834B (en) The method of adjustment and device of role's face orientation
US20170221251A1 (en) Animating a virtual object in a virtual world
CN109446952A (en) A kind of piano measure of supervision, device, computer equipment and storage medium
CN111714880A (en) Method and device for displaying picture, storage medium and electronic device
CN107481099A (en) Can 360 degree turn round real-time virtual fitting implementation method
CN106447786A (en) Parallel space establishing and sharing system based on virtual reality technologies
CN115018963A (en) Human-type intelligent body posture generation method based on physical simulation
CN111544889A (en) Behavior control method and device of virtual object and storage medium
CN102467749A (en) Three-dimensional virtual human body movement generation method based on key frames and spatiotemporal restrictions
CN115331265A (en) Training method of posture detection model and driving method and device of digital person
CN115113725A (en) Power professional virtual reality post evaluation and assessment method and system based on dynamic capturing system
CN112330778A (en) Deep reinforcement learning-based animation simulation method for AR augmented reality large-screen interaction

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240111

Address after: 518000 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 Floors

Patentee after: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

Patentee after: TENCENT CLOUD COMPUTING (BEIJING) Co.,Ltd.

Address before: 518000 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 Floors

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.