David Rowe
5068075645
Fill in MyAvatar animation JSDoc
2019-03-09 07:42:55 +13:00
Thijs Wenker
d985d1bff0
use Rig instead of Avatar for height calculations
2019-03-08 03:36:56 +01:00
amantley
474a97d0fc
now update the ikOverlayAlpha every frame
2019-03-06 15:15:30 -08:00
amantley
e72cc8b16e
put the ik optimized part of the conditional inside a android build define statement
2019-03-06 12:09:53 -08:00
amerhifi
35dc13e06a
Merge branch 'master' into quest-demo
2019-02-28 14:06:47 -08:00
Anthony Thibault
b5f5900633
Replace animation scale with scale from avatar default pose
...
This allows avatars to have scale on their joints without being clobbered by animations.
Renamed variables for easier maintenance.
Also small optimization when no ikNode is present.
2019-02-27 14:40:08 -08:00
amantley
12dbaa0ea0
changed the condition so that you can turn off ik in hmd mode if you want to for debug purposes
2019-02-25 14:56:17 -08:00
amantley
363c0cc26f
moved the update of last ik to outside the if changed statement
2019-02-25 13:03:28 -08:00
amantley
cff0fd470a
re-enabled ik off by default on Desktop
2019-02-25 12:23:03 -08:00
amantley
87d98e5b85
These are the squashed commits for the ik optimization for the Quest
...
Implmented using a new AnimSplineIK node in the anim graph
(cherry picked from commit 4fe03ba238659fee7763991f2499a315482b351f)
2019-02-22 11:21:36 -08:00
Anthony Thibault
8785f733db
Merge pull request #14817 from amantley/animSplineIK
...
AnimSplineIK node added to inverse kinematics
2019-02-21 17:13:41 -08:00
Anthony Thibault
e54754c4ce
Merge pull request #14926 from luiscuenca/flowCpp
...
Cpp implementation of the Flow script
2019-02-21 17:10:05 -08:00
luiscuenca
dcbf57ee0b
Fix linux warning and HMD breaks flow
2019-02-21 16:41:24 -07:00
amantley
6323f49f26
changed the define variable to HIFI_USE_OPTIMIZED_IK
2019-02-21 14:36:05 -08:00
amantley
0bdc527ce7
turned off pole vector when hand behind back
2019-02-21 13:14:51 -08:00
luiscuenca
ec4d069011
Allow threads with only one joint, remove dummy joints and unused constants
2019-02-21 12:00:19 -07:00
amantley
33fd64c68c
direction on compare in positional theta function
2019-02-21 09:00:23 -08:00
amantley
f8a74efdc2
fixed build errors from jenkins
2019-02-20 17:59:45 -08:00
amantley
97da20781e
removed whitespace
2019-02-20 15:19:36 -08:00
amantley
27bfe2f0fe
changed name of pre processor variable
2019-02-20 15:14:12 -08:00
amantley
95b3fbdc35
removed ulnar coeff, too jumpy
2019-02-20 15:02:12 -08:00
Angus Antley
7639eac3ad
cleaning up theta functions
2019-02-20 07:18:14 -08:00
Angus Antley
1e73422b80
added the wrist and position coeffs back in, 1.0 works
2019-02-20 06:25:44 -08:00
amantley
951380db15
tweaked the constraints, to do: start conditions and possibly using base rotation on shoulder to determine hand offset
2019-02-19 17:53:59 -08:00
luiscuenca
04e57d0dd1
No Rig pointer on Flow class, solve network animations and fixed bug
2019-02-19 17:45:46 -07:00
Angus Antley
f2301e7dac
fixed relative wrist correction problem
2019-02-19 07:35:13 -08:00
Angus Antley
748368bfda
mid tweak on the wrist and position coeffs
2019-02-17 23:32:52 -08:00
Angus Antley
e1dfd7d288
cleanup white space
2019-02-16 23:40:16 -08:00
Angus Antley
0982c37c5e
took out the theta animvar and just use theta converted to pole vector
2019-02-16 14:50:47 -08:00
amantley
d78f253d24
code to generate pole vector from theta
2019-02-15 17:43:53 -08:00
amantley
95530e6ba5
removed the unnecessary animArmIK.h and .cpp
2019-02-15 15:41:23 -08:00
amantley
36093926d0
added fake android defines for running the new ik on pc
2019-02-15 15:00:39 -08:00
amantley
3f9b761e42
updating the android only if defs
2019-02-15 14:05:42 -08:00
amantley
0fcaa695ba
Merge remote-tracking branch 'upstream/master' into animArmIK
2019-02-15 10:35:33 -08:00
amantley
d6dfaacf6f
adding ifdef for android os
2019-02-15 10:35:25 -08:00
amantley
425413419a
fixed merge conflict in avatar.h
2019-02-15 08:26:54 -08:00
Angus Antley
07af2c525e
tweaked ulnar radial limit and extend limit
2019-02-15 07:31:28 -08:00
Angus Antley
382a03929e
changed back to regular 2 bone Ik for arms in json and cleaned up rig.cpp and polevector constraint
2019-02-15 07:06:43 -08:00
Angus Antley
f8554d10a8
starting cleanup
2019-02-14 23:45:45 -08:00
amantley
40196dcb40
wrist action works in rig now
2019-02-14 18:17:31 -08:00
amantley
5c26bbec5c
moving the theta calculation to rig
2019-02-14 18:06:20 -08:00
luiscuenca
624a53449f
Merge branch 'master' into flowCpp
...
# Solved Conflicts:
# interface/src/avatar/MyAvatar.cpp
2019-02-14 18:55:43 -07:00
luiscuenca
3e66bce112
set useFlow function
2019-02-14 18:30:37 -07:00
Anthony Thibault
39b4eaac34
Revert "AnimPose operator* optimizations"
...
This reverts commit 569bef50fd
.
2019-02-14 16:13:00 -08:00
luiscuenca
bebbbc643b
add deltaTime to simulation
2019-02-13 06:27:49 -07:00
luiscuenca
02646fb8a9
Working flow as rig param
2019-02-07 14:09:53 -07:00
Anthony Thibault
87498b3dd2
Avoid dynamic_cast in getAnimInverseKinematicsNode
2019-02-05 18:15:05 -08:00
Anthony Thibault
d8644a2745
Simplify isEqual computation for vectors used in Rig
2019-02-05 15:06:29 -08:00
Anthony Thibault
569bef50fd
AnimPose operator* optimizations
2019-02-05 14:48:05 -08:00
amantley
031dd5639b
fixed pole vector over writing with the old json
2019-02-04 14:46:52 -08:00
amantley
78d6e42fc8
made the ik enable/disable work for the old animIK node json
2019-02-04 13:42:19 -08:00
amantley
a04e6d55ff
enabled/disable ik now works for the new animspline json
2019-02-04 13:31:36 -08:00
luiscuenca
cf8f9fa1b6
Threads created correctly
2019-02-04 11:28:42 -07:00
Anthony Thibault
2c40b120ca
Make Animation Tests Pass Again
2019-01-30 17:26:52 -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
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
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
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
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
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
Angus Antley
77fa4e7d13
took out the unnecessary hfm.jointindex code
2018-12-16 17:29:16 -08:00
amantley
f9829c270d
merged new fbx.h
2018-11-15 10:19:04 -08:00
Howard Stearns
ad7266062d
Merge branch 'master' of github.com:highfidelity/hifi into no-url-logging
2018-11-13 10:33:27 -08:00
John Conklin II
85e5c1d6ef
Merge pull request #14363 from SimonWalton-HiFi/scale-avatar-joint-translations
...
Send avatar-joint translations at world scale
2018-11-13 10:04:30 -08:00
amantley
3f732baf86
Merge remote-tracking branch 'upstream/master' into avatarPipelineOffsets
2018-11-12 14:38:17 -08:00
Howard Stearns
66ae01e0c3
Merge branch 'master' of github.com:highfidelity/hifi into no-url-logging
2018-11-12 12:55:20 -08:00
Angus Antley
e36ab9efd6
cleaned up for merge with luis
2018-11-09 00:44:52 -08:00
Angus Antley
244b768b9a
fixed the absolute default joint poses so they work for the 2 joint avatar
2018-11-08 23:42:50 -08:00
amantley
2cd3575e32
merged with master with hfm file changes
2018-11-08 17:31:49 -08:00
amantley
8735b409ab
in the process of changing the rotation application to being absolute joints not local
2018-11-08 17:12:10 -08:00
amantley
6b4620b4a1
working on the input mapper problem for the offset rotations
2018-11-07 17:32:23 -08:00
amantley
1dbccc814b
working on the ik dislocation caused by the offsets, head is what I am working on
2018-11-06 17:35:53 -08:00
Simon Walton
f88168bdfb
Send avatar-joint translations at world scale
2018-11-06 17:29:02 -08:00
Roxanne Skelly
cef7000a72
Case 19754 - Remove logging URLs and related file locations.
...
The goal is to strip out data that can be used by untoward users in
copying models, avatars, etc.
2018-11-06 16:24:32 -08:00
amantley
e52f2ab7d6
works for two joints now
2018-11-06 14:14:57 -08:00
luiscuenca
0f1b12475e
Use clamp
2018-11-06 10:15:17 -07:00
luiscuenca
0f183b409b
Fix warnings
2018-11-06 10:08:06 -07:00
luiscuenca
f9b6d3dc6f
Merge addTransitAPI branch
2018-11-05 19:02:35 -07:00
amantley
f0c02bb49b
more debug
2018-11-05 17:36:54 -08:00
amantley
d231a35dfa
changes to get spine2 and neck to work almost there
2018-11-05 08:35:01 -08:00
amantley
5392d21b1c
loading test file to check rotation offsets
2018-11-02 17:59:18 -07:00
sabrina-shanman
cbca77b12f
Rename HFMGeometry to HFMModel and adjust related variables
2018-11-01 17:17:48 -07:00
amantley
64d8fa6875
added the const argument to the AnimSkeleton constructor that allows the offset rotations to be passed in
2018-11-01 13:33:03 -07:00
luiscuenca
c070bce2ec
Read joint rotation offsets from .fst
2018-10-31 08:39:35 -07:00
sabrina-shanman
becee7f010
Re-name FBXGeometry to HFMGeometry and do the same for related classes
2018-10-30 17:28:42 -07:00
Jeff Clinton
eb383b1d09
Merge pull request #14040 from hyperlogic/feature/acceleration-limit-filter
...
Quality Improvements to Avatars driven by Vive Trackers
2018-10-25 08:51:59 -07:00
Jeff Clinton
67fe43ebb1
Merge pull request #14243 from hyperlogic/bug-fix/small-jumping-avatars
...
Small avatars now have a minimum jump height of 0.25 meters
2018-10-24 17:08:28 -07:00
luiscuenca
fa67e1b269
Remove logs and magic numbers
2018-10-23 11:51:15 -07:00
luiscuenca
afc76fec72
Added overrideNetworkAnimation and restoreNetworkAnimation methods
2018-10-22 15:20:32 -07:00
Luis Cuenca
e1c760b566
Merge branch 'master' into transitAddAnimation
2018-10-20 15:30:23 -07:00
luiscuenca
f8d67d124f
Hold flickering fixed and refactor
2018-10-20 15:22:25 -07:00
luiscuenca
31d099907a
Fix warnings
2018-10-19 14:00:52 -07:00
Anthony Thibault
ef74014075
Small avatars now have a minimum jump height of 0.25 meters
...
This should improve the quality of the jump animation and improve the mobility of small avatars.
2018-10-19 13:55:56 -07:00