Commit graph

66225 commits

Author SHA1 Message Date
John Conklin II
43aed66494
Merge pull request #12993 from highfidelity/revert-12983-fix/web_crash_66
Revert "HOTFIX version of PR 12969: Attempt to shutdown web surfaces more consistently"
2018-04-25 13:02:32 -07:00
Bradley Austin Davis
ea0ef20416
Revert "HOTFIX version of PR 12969: Attempt to shutdown web surfaces more consistently" 2018-04-25 09:43:20 -07:00
Brad Hefta-Gaub
497c3fac4d
Merge pull request #12971 from Atlante45/fix/crashes-hotfix
Add memory corruption crash handler
2018-04-24 14:01:09 -07:00
Brad Hefta-Gaub
e6f15c720f
Merge pull request #12973 from birarda/bug/no-node-stats
66.1: fix connection to start stats sending for assignments
2018-04-24 13:23:39 -07:00
John Conklin II
47c983a004
Merge pull request #12978 from AndrewMeadows/fix-crash-createConvexHull-RC66.1
RC66.1: don't try to build convex hulls with nan data
2018-04-24 13:03:13 -07:00
Clement
0804abcca6 Heap corruption crashes CR 2018-04-24 12:47:13 -07:00
Brad Hefta-Gaub
c6f4e118ce
Merge pull request #12953 from huffman/hotfix/node-list-connections
Hotfix, avatars disappear on quick reconnect
2018-04-24 12:38:21 -07:00
Brad Hefta-Gaub
e44a845dff
Merge pull request #12983 from jherico/fix/web_crash_66
HOTFIX version of PR 12969: Attempt to shutdown web surfaces more consistently
2018-04-24 10:51:27 -07:00
Brad Davis
4228b4269f Fixing PR build 2018-04-24 10:06:28 -07:00
Brad Davis
a144de54e7 Attempt to shutdown web surfaces more consistently 2018-04-24 10:06:20 -07:00
Andrew Meadows
95d07345d4 don't try to build convex hulls with nan data 2018-04-23 17:00:38 -07:00
Stephen Birarda
a6509f5ea7 fix connection to start stats sending for assignments 2018-04-23 13:25:18 -07:00
Atlante45
f2c471558c CR 2018-04-23 13:14:21 -07:00
Atlante45
bc251115ed Add special handler for heap corruption 2018-04-23 13:14:21 -07:00
Clement
fb496156ce Fix threaded force crashes 2018-04-23 13:14:21 -07:00
John Conklin II
a529c7cfc5
Merge pull request #12948 from samcake/rc66.1-metaSubItems
RC66.1: Re apply extra sanity check that hasn't been applied correctly in rc66
2018-04-20 09:55:09 -07:00
Ryan Huffman
9cf133cff2 Increase packet version for Ping 2018-04-20 08:25:57 -07:00
Ryan Huffman
5bd89159dd Update variable naming in NodeList from Id to ID 2018-04-20 08:25:52 -07:00
Ryan Huffman
a930e39bd4 Fix nodelist connections not resetting on both ends
This change adds a connection ID to ping packets. Each node keeps a
connection id for each other node that it has connected to. When a node
is removed the connection id is incremented. If a node sees another node
with a higher connection id, it will reset its connection with the new
connection id, ensuring that local state is reset on both ends when
nodes lose contact.
2018-04-20 08:25:45 -07:00
samcake
cb706cb9d9 Reapply extra sanity check that hasn;t been applied correctly in rc66 2018-04-19 17:24:04 -07:00
John Conklin II
758bf09b30
Merge pull request #12705 from highfidelity/RC66
Beta Release 66 - includes up to Developer Release 8013
2018-04-17 14:09:26 -07:00
John Conklin II
44e0a2acc5
Merge pull request #12914 from sethalves/rc66-fix-bookmarks
fix bookmarks, don't put :0 in urls
2018-04-17 08:29:36 -07:00
John Conklin II
ab4d328d4f
Merge pull request #12909 from hyperlogic/bug-fix/case-12628-rc66
RC66: Fix for avatar glitches, head and legs folding into chest.
2018-04-17 08:28:35 -07:00
Seth Alves
515c185887 don't call setPort on hifi urls when port is 0 (unset) 2018-04-16 19:10:16 -07:00
Anthony J. Thibault
0a162e62b0 transmit sendAll packet in nodeActivated signal callback
(cherry picked from commit 9f1a8290148da12849935c916b2e0a59864cb49b)
2018-04-16 16:16:56 -07:00
Anthony J. Thibault
c29bf51226 Fix for avatar glitches, head and legs folding into chest.
As a form of compression, when encoding avatar data we only send joints that have changed significantly from the previous packet.
Also, if a joint has the same value as the avatar's default pose, we don't send the full value, instead we mark it with a single bit.

This particular issue is caused by an interaction between the default value flag and the joint changed culling.

When connecting to a domain for the first time, it's possible that a I-frame or 'full' packet will not be sent for several seconds.
In this case, the AvatarMixer has no previous history for values that have not changed recently.
This causes the AvatarMixer to broadcast incorrect values to other clients.
Keep in mind that the AvatarMixer does not have access to the avatar FBX file, so it cannot make an educated guess for this value and uses zero values instead.
(0, 0, 0) for translation and (0, 0, 0, 1) for rotation.

When a translation value of zero is received for the lower legs it will cause the legs to fold into the avatar's chest.

Also, we've uncovered a bug where sometimes values were not sent to the AvatarMixer even when the value was previously default.
This would also exhibit the same issue where zero translation values would be sent.

I've done three things to help mitigate this issue.

1) On first connect to a new AvatarMixer, the Avatar now sends a 'full' packet.
2) When a joint rotation or translation changes from the default value, we transmit it.  No questions asked.
3) Once a SkeletonModel has finished loading we initialize the avatar's _jointData with the proper
   translations from the default pose.  This will help the case where a client receives a non default value, but has no previous history.

(cherry picked from commit 94efdf76a6454f316985f95d6a221adb24788d66)
2018-04-16 14:58:33 -07:00
John Conklin II
40e34f578a
Merge pull request #12891 from samcake/rc66-backToFXAA
RC66: Reverting TAA to FXAA in rc66 until we fix the aa on tablet
2018-04-16 09:57:39 -07:00
John Conklin II
fbb7138e6c
Merge pull request #12896 from hyperlogic/bug-fix/reduce-elbow-flapping-rc66
RC66: Reduce avatar elbow fluttering by disabling pole vectors
2018-04-16 09:56:59 -07:00
Anthony J. Thibault
63ee8c0ccb Fix for character walk animations in desktop mode.
(cherry picked from commit f19b1d9890)
2018-04-15 19:51:55 -07:00
Anthony J. Thibault
f4096c3931 Disable elbow pole vectors, solve from joint limit centers.
(cherry picked from commit 69f462baeb)
2018-04-15 19:51:26 -07:00
samcake
8e7b9dfa2b Reverting TAA to FXAA in rc66 until we fix the aa on tablet 2018-04-13 17:30:30 -07:00
John Conklin II
3982472cf2
Merge pull request #12851 from druiz17/rc66-spwan-fix
serverless-domain named landing-points(RC66)
2018-04-13 14:58:36 -07:00
John Conklin II
2b9cf829a2
Merge pull request #12887 from samcake/rc66
RC66: Exposing more texture memory budget options
2018-04-13 13:33:46 -07:00
Dante Ruiz
159d10c054
Merge pull request #13 from sethalves/serverless-domain-named-paths
code review
2018-04-13 13:22:44 -07:00
Seth Alves
426d18ed2a code review 2018-04-13 13:20:06 -07:00
samcake
b88b668a06 Exposing more texture memory budget options 2018-04-13 12:19:53 -07:00
samcake
e6085a90d6 Exposing more texture memory budget options 2018-04-13 12:17:50 -07:00
Dante Ruiz
1a0f40d070
Merge pull request #12 from sethalves/serverless-domain-named-paths
code review
2018-04-13 11:04:23 -07:00
Seth Alves
0e081a3944 code review 2018-04-13 10:42:22 -07:00
Dante Ruiz
cadfc8bdbb Merge branch 'RC66' of github.com:highfidelity/hifi into rc66-spwan-fix 2018-04-13 09:09:21 -07:00
Dante Ruiz
e839a15f03
Merge pull request #11 from sethalves/serverless-domain-named-paths
code review
2018-04-13 09:07:05 -07:00
Seth Alves
a56f3f4a10 code review 2018-04-12 19:06:12 -07:00
John Conklin II
9ccf23ec94
Merge pull request #12866 from birarda/serverless-baked-skybox
RC66: use serverless content with baked skybox and help textures
2018-04-12 12:54:37 -07:00
Stephen Birarda
16f6ac5295 use serverless content with baked skybox and help textures 2018-04-11 13:53:13 -07:00
Dante Ruiz
9b97e408f5 update branch with rc66 2018-04-11 13:48:17 -07:00
John Conklin II
005b55f997
Merge pull request #12853 from birarda/new-serverless-tutorial
RC66: fix unreadable baked textures in serverless tutorial
2018-04-11 13:44:21 -07:00
John Conklin II
b2bc2b6e43
Merge pull request #12852 from birarda/client-only-installer-name
RC66: remove the installer information file during uninstall
2018-04-11 12:02:46 -07:00
Stephen Birarda
7ec65e8c0c fix unreadable baked textures in serverless tutorial 2018-04-10 17:02:37 -07:00
Stephen Birarda
0d237f84b0 remove the installer information file during uninstall 2018-04-10 14:56:47 -07:00
Seth Alves
ee3e8093e1 update tutorial content to include default landing-point 2018-04-10 14:26:12 -07:00