Commit graph

72437 commits

Author SHA1 Message Date
amantley
ee830cdcb0 cleaned white space 2018-10-12 16:05:31 -07:00
amantley
7dd156ccdd made the threshold for the spine angle larger to make auto transitions more robust 2018-10-12 15:00:15 -07:00
amantley
67afc86222 cleanup 2018-10-11 18:39:44 -07:00
amantley
f73d974ad7 added a lock state so you can lock sit or stand state, also made the
hand azimuth relative to the spine2 location in avatar space. This stops
the arms from behaving badly when the hands are in front of the chest
but behind the root position of the avatar
2018-10-11 15:14:33 -07:00
amantley
5faf26abd1 turned off shoulder rotation when we don't have hmd lean recentering on. this temporarily fixes the behavior of the shoulders in this mode. todo: use the spine2 position to determine azimuth of hands, then they will work in all conditions 2018-10-11 10:38:59 -07:00
amantley
c4187f0d60 Merge remote-tracking branch 'upstream/master' into squattyPottyFix 2018-10-08 17:07:55 -07:00
John Conklin II
67c0262a4d
Merge pull request #14153 from hyperlogic/bug-fix/less-agressive-rotation-culling
Reduce the glitches of far away animating avatars
2018-10-08 09:33:26 -07:00
Brad Hefta-Gaub
2d8458f03e
Merge pull request #14150 from AndrewMeadows/remove-expired-avatarEntities
remove expired avatarEntities from their avatars
2018-10-08 09:16:44 -07:00
Anthony Thibault
335c60e6b8 Reduce the glitches of far away animating avatars
Currently, the avatars that are further then 10 meters away have a
very aggressive 15 degree rotation threshold, used to reduce the
amount of rotation joint changes sent over the network.

This PR tunes both the distances and rotation thresholds used for
this LOD culling.
2018-10-05 17:29:25 -07:00
amantley
3517905435 added getter and setter for sitstandstatechange bool 2018-10-05 16:22:30 -07:00
amantley
96872f8412 moved all the state update for sit and stand to myavatar::update() also
made it so that sit horizontal reset is handled in non-cg recentering.
to do: revisit what should be sent for desired body in prephysics update
call
2018-10-05 14:55:43 -07:00
Andrew Meadows
c3478dc018 remove expired avatarEntities from their avatars 2018-10-05 13:48:35 -07:00
amantley
ad46b71966 before moving the step state counting to myavatar::update() 2018-10-05 13:04:14 -07:00
Brad Hefta-Gaub
4d4a67cba0
Merge pull request #14088 from roxanneskelly/sysTraySetup
Sys tray setup
2018-10-05 09:39:47 -07:00
Sam Gateau
46a50b04ea
Merge pull request #14034 from samcake/black-bis
Refactor Deformed mesh rendering pipeline for better scalability and performances at runtime
2018-10-04 20:41:28 -07:00
amantley
cbe638bfdb added flag for vertical recentering that is state change, snap, versus
the usual .5 second recentering
2018-10-04 18:17:27 -07:00
amantley
635300c6d5 changed pre physics to use cg for desired body when in cg mode 2018-10-04 18:05:05 -07:00
amantley
82f8c67436 put the mode in sensor space for cg 2018-10-04 15:37:01 -07:00
Roxanne Skelly
265bafecba More CR Fixes 2018-10-04 15:36:31 -07:00
amantley
acce675efc added snap for recentering with sit stand state change. using average height with tipping point for thresholds 2018-10-04 14:53:51 -07:00
John Conklin II
afe6d97b00
Merge pull request #14100 from danteruiz/soft-entities-updates
update soft entities and fix deadlock from qml.
2018-10-04 13:33:34 -07:00
John Conklin II
84178faee3
Merge pull request #14137 from hyperlogic/bug-fix/glitchy-movement-for-avatars
Bug fix for rotation culling in AvatarData::toByteArray()
2018-10-04 13:12:28 -07:00
divya
7aa715c383
Merge pull request #14141 from luiscuenca/transitFirstPacketFix
Fix avatars transit on domain enter
2018-10-04 13:08:59 -07:00
John Conklin II
48242534df
Merge pull request #14000 from sabrina-shanman/stt_parenting2
New Pick Parenting for Ray Picks and Parabola Picks
2018-10-04 12:39:45 -07:00
Roxanne Skelly
f74d9ada20 Code review fix 2018-10-04 12:38:34 -07:00
Dante Ruiz
613a6ab8cd removing unneeded code 2018-10-04 12:18:18 -07:00
sam gateau
ddbaa96fd1 Merge branch 'black-bis' of github.com:samcake/hifi into black-bis 2018-10-04 11:49:36 -07:00
sam gateau
8a05cc2ede FIx the bad world position evaluation in the new all in one call 2018-10-04 11:49:11 -07:00
Roxanne Skelly
442171e007 Merge branch 'master' of https://github.com/highfidelity/hifi into sysTraySetup 2018-10-04 11:33:39 -07:00
Roxanne Skelly
ee3fd81070 Code review fixes from birarda 2018-10-04 11:33:01 -07:00
amantley
809ca0e512 vive hmd input is implemented. not using mode 2018-10-03 18:05:30 -07:00
luiscuenca
a05e493e06 Long distance avatars should not be new 2018-10-03 17:09:51 -07:00
luiscuenca
bb98457d09 Fix avatars transit on domain enter 2018-10-03 16:23:09 -07:00
Dante Ruiz
676293c880 trying another fix 2018-10-03 16:19:47 -07:00
Sam
87efeb1a70 make sure that we compile, dah 2018-10-03 16:15:07 -07:00
sam gateau
81e0d5ced0 Merge branch 'black-bis' of github.com:samcake/hifi into black-bis 2018-10-03 16:03:33 -07:00
sam gateau
702d26d2bd Addressing the bug on Mac AMD 2018-10-03 16:03:09 -07:00
Roxanne Skelly
397fe2a534 Code Review Fixes 2018-10-03 13:53:46 -07:00
Dante Ruiz
5734c24af4 another PR fix 2018-10-03 13:52:40 -07:00
Sam Gateau
b1883ac1c4 Merge branch 'master' of https://github.com/highfidelity/hifi into black-bis 2018-10-03 13:43:48 -07:00
John Conklin II
4d7b2bb429
Merge pull request #14113 from Atlante45/feat/audio-mixer-throttle-equation
Audio Mixer Scaling
2018-10-03 13:17:28 -07:00
Anthony Thibault
c0ae95f853 Bug fix for rotation culling in AvatarData::toByteArray()
The commit 5a0de0f103 inadvertently introduced a regression in how the AvatarMixer and clients encode AvatarData packets.
When encoding packets that with the cullSmallChanges flag set to true, we only include rotations that have changed significantly from the previous packet.
A bug was introduced that incorrectly preformed the comparison to detect changed rotations, this needs to handle the case when
two quaternions are almost equal but have negative signs.  Previously, this was preformed with an absolute value after the 4-component dot product.
In commit 5a0de0f103, this absolute value was removed, causing the culling to happen much more frequently.

This PR re-introduces that absolute value.
2018-10-03 12:54:49 -07:00
Sam Gateau
c194e795ac Merge branch 'master' of https://github.com/highfidelity/hifi into black-bis 2018-10-03 12:12:15 -07:00
sabrina-shanman
2ef85dfdba Merge branch 'master' into stt_parenting2 2018-10-03 11:39:00 -07:00
John Conklin II
4805d3564a
Merge pull request #14075 from ctrlaltdavid/M18586
Teleport with play area
2018-10-03 11:02:33 -07:00
John Conklin II
9a614d7523
Merge pull request #13977 from dback2/newEntityListView
New optimized entity list view
2018-10-03 09:23:11 -07:00
John Conklin II
05609384b7
Merge pull request #14111 from zfox23/newConnectionsQuery
Fix MS18608: Use new connections api endpoint
2018-10-03 09:04:58 -07:00
John Conklin II
8bd8d05409
Merge pull request #14118 from luiscuenca/handTouchLMFix
Disable Hand Touch when Leap Motion is running
2018-10-03 09:03:43 -07:00
Brad Hefta-Gaub
bb78a8dd5c
Merge pull request #14134 from jherico/fix/fb19088
Fix avatar thumbnails
2018-10-03 09:01:33 -07:00
amantley
8a0fbc3fe9 changed the height to use the mode . to do fix sensor space bug. 2018-10-02 17:47:56 -07:00