amantley
f17cfbcbb1
more cleaning, need to fix debug draw ik chain
2019-01-28 15:25:12 -08:00
amantley
ffd3a24bf2
further cleaning, broke the arms
2019-01-28 13:53:30 -08:00
amantley
f8bfef6dbd
cleaning up the _hipsIndex references, cleaning in general
2019-01-28 11:50:23 -08:00
Angus Antley
2679a3a30d
changed the naming of the middle joint from secondary target to midJoint, also generalized the handling of the neck head rotation after the middle spline is updated
2019-01-27 16:30:13 -08:00
amantley
f2a7f37950
got rid of the lag in the spline code by setting the flex coeffs to 1.0
2019-01-25 17:11:07 -08:00
amantley
bcbd9323c0
Merge remote-tracking branch 'upstream/master' into animSplineIK
2019-01-25 14:42:24 -08:00
amantley
446d7b9514
added the flex coeff for the primary and secondary spline targets to the json
2019-01-25 14:41:18 -08:00
amantley
992820cd67
removed unnecessary hand update function for two bone IK
2019-01-25 11:34:18 -08:00
amantley
71df614989
put all the hand update code in one function that works for two bone IK
...
and legacy animInverseKinematics Ik
2019-01-25 11:28:51 -08:00
Shannon Romano
fd04996853
Merge pull request #14755 from hyperlogic/bug-fix/joint-mesh-name-collisions
...
Bug fix for avatars that have mesh/joint name duplicates
2019-01-25 09:59:44 -08:00
amantley
bc635306ea
added interp from enabled to disabled and vice versa
2019-01-24 22:28:40 -08:00
amantley
2574e82184
cleaned up print statements
2019-01-24 19:47:27 -08:00
amantley
e7941f78d6
adding the shoulder rotation back in
2019-01-24 17:17:39 -08:00
amantley
37f92d2319
added code to read tip and base var info from the json
2019-01-24 17:02:30 -08:00
amantley
cdd03646c2
latest spline code with ik node removed started cleanup
2019-01-23 17:22:13 -08:00
John Conklin II
1768d91780
Merge pull request #14733 from hyperlogic/bug-fix/translation-precision
...
Avatar Protocol: Fix for precision issues with translation
2019-01-23 14:07:58 -08:00
amantley
dbd03e2eb4
got the spline arms and legs working without any inverse kinematic node in the json, using _withIKnode.json
2019-01-22 11:53:18 -08:00
Anthony Thibault
5146f3dfae
Bug fix for avatars that have mesh/joint name duplicates
...
This change has two parts. First we do a better job of identifying joints vs meshes in the FBXSerializer.
Second we use this information to better handle duplicate names in AnimSkeleton.
When a duplicate is detected, allow joints to override meshes.
This will ensure that when joints are looked up by name we will not return a mesh object with the same name by mistake.
2019-01-22 10:47:01 -08:00
amantley
8d88c627b0
nearly have the arms legs and back working with out the ik node
2019-01-21 17:41:08 -08:00
amantley
6680ca53ad
added updateHands2 which deals with two bone hands animvars
2019-01-20 08:56:39 -08:00
amantley
3a2697fa8c
working on the two bone ik for the hands
2019-01-18 17:55:19 -08:00
amantley
7115796fc4
version with spline from Spine2 to head
2019-01-18 16:47:55 -08:00
amantley
4a6d5e4187
both head and spine2 spline to working in consecutive order
2019-01-18 15:50:29 -08:00
amantley
7777162351
got the spine2 rotationa and the head spline working
2019-01-18 15:28:41 -08:00
Anthony Thibault
e68a8794ce
Remove unused variable
2019-01-17 16:18:43 -08:00
Anthony Thibault
286f23d512
Updated protocol version and fixed bugs
2019-01-17 15:19:54 -08:00
amantley
e5b16ef174
implemented the splineIK in animSplineIK.cpp, todo: disable animinversekinematic.cpp
2019-01-16 18:31:52 -08:00
amantley
33ff5188c1
adding the spline code to the splineik class
2019-01-15 18:28:29 -08:00
Seth Alves
b71f4e0204
remove commented-out code
2019-01-11 15:53:49 -08:00
Seth Alves
ecb34450bd
quiet uneeded logging
2019-01-11 15:53:49 -08:00
amantley
bd9405aef8
add arm ik class for cleanup of inverse kinematics
2019-01-10 10:27:15 -08:00
amantley
3b5d8db650
updated the json to have a spline node at the root
2019-01-08 17:33:14 -08:00
amantley
4fd80ff6bc
implementing the spline ik for the spline as an anim node
2019-01-08 15:26:46 -08:00
Angus Antley
77fa4e7d13
took out the unnecessary hfm.jointindex code
2018-12-16 17:29:16 -08:00
Shannon Romano
a3c870ed90
Merge pull request #14479 from sabrina-shanman/hfm_mimetype
...
(case 20037) Add robust MIME type detection for loading models in ModelCache
2018-12-11 18:41:55 +00:00
amantley
edab74caa4
mapped the model joint names to hifi compliant joint names in FBX serializer
2018-12-04 16:20:46 -08:00
Angus Antley
a73f74d63c
Merge remote-tracking branch 'upstream/master' into jointNameMapping
2018-11-30 21:29:29 -08:00
amantley
ad777201f6
changed comment and cleaned up variable name in getJointName
2018-11-27 15:08:50 -08:00
amantley
579e2dd2ee
removed unnecessary mirror joint code and cleaned up whitespace in rig.cpp
2018-11-27 14:10:20 -08:00
sabrina-shanman
98853b5d1d
Move FBXSerializer import by AnimationCache to source file
2018-11-26 16:30:18 -08:00
amantley
fb7b503ce9
removed unnecessary iteration of the joint name mapping in AnimSkeleton.cpp
2018-11-26 13:48:00 -08:00
amantley
26fc53ef78
cleaned up whitespace and removed debug prints
2018-11-26 11:08:59 -08:00
amantley
746c5ed621
we can now handle missing joints and extra joints
2018-11-21 15:46:54 -08:00
amantley
a488364976
fixed mirroring helper functions contains left and contains right
2018-11-20 17:14:35 -08:00
amantley
572cdcd008
remapping is now able to work remains to clean up code and check for gotchas from old fst code
2018-11-20 17:09:37 -08:00
sabrina-shanman
be511378cd
Merge branch 'master' into hfm_serializer
2018-11-20 13:42:24 -08:00
amantley
1fd03102c5
debugging name mapping code
2018-11-19 17:40:43 -08:00
amantley
eb00435353
removed whitespace
2018-11-16 10:35:50 -08:00
amantley
f9829c270d
merged new fbx.h
2018-11-15 10:19:04 -08:00
amantley
c8cd65c3bd
added getter for the orginal cluster bind matrix values in AnimSkeleton
2018-11-15 09:58:10 -08:00