John Conklin II
70c7ffcc71
Merge pull request #14069 from AndrewMeadows/avatar-collisions-002
...
fix MyAvatar-vs-OtherAvatar collisions
2018-09-26 15:21:18 -07:00
luiscuenca
af2935187b
Fix warnings
2018-09-25 08:32:43 -07:00
luiscuenca
80daf35e77
Animation and particles clean up
2018-09-25 07:17:26 -07:00
luiscuenca
3e2ee119f0
API to configure animation and particle effect
2018-09-25 06:03:29 -07:00
Andrew Meadows
a3f946dee1
activate OtherAvarar in physics sim on position change
2018-09-24 16:27:37 -07:00
Andrew Meadows
c1d65f5118
update avatar shape after it loads
2018-09-24 12:07:08 -07:00
Anthony Thibault
b467267e40
Fix for bad static_pointer_cast on exit.
...
Identified by Address Sanatizer on Linux.
On exit ~Applicaiton calls AvatarManager::deleteAllAvatars. This iterates over all avatars remaining in the _avatarHash.
Typically this includes the MyAvatar instance. In this case the previous code would attempt to static cast an AvatarData pointer to an instance
of OtherAvatar. This might be harmless, but could also lead hard to diagnose issues such as memory corruption.
2018-09-24 11:47:05 -07:00
luiscuenca
012cd207b3
No data sent during basic transit
2018-09-24 11:39:10 -07:00
Stephen Birarda
b31837168d
fix bad lock, optimize some operations, clarify comment
2018-09-24 11:27:20 -07:00
luiscuenca
82b14b6e9b
Merge branch 'master' of https://github.com/highfidelity/hifi into smoothTeleport
2018-09-22 05:47:05 -07:00
luiscuenca
01f87a0645
lerp myavatar
2018-09-22 05:34:17 -07:00
luiscuenca
a7a128f1f1
Particle effect and ease movement
2018-09-20 18:37:42 -07:00
luiscuenca
cad8425c7b
Time-based frames, max distance and setting animation from script
2018-09-19 16:43:45 -07:00
Stephen Birarda
3a7785d10f
fix for deadlock in other avatar entity removal
2018-09-18 17:52:24 -07:00
luiscuenca
96e8b060eb
Enable transit animations
2018-09-18 12:42:37 -07:00
luiscuenca
f339bbdd7f
Fix bug while walking
2018-09-17 13:29:04 -07:00
luiscuenca
ff319ebd95
Bypass position updates from mixer
2018-09-17 09:47:22 -07:00
John Conklin II
b675e6cc6b
Merge pull request #13894 from SimonWalton-HiFi/avatar-mixer-scaling
...
Performance improvements for Avatar Mixer
2018-09-13 13:43:18 -07:00
Stephen Birarda
b1f44d2ad7
perform avatar entity cleanup in AvatarManager::handleRemovedAvatar
2018-09-12 12:30:15 -07:00
luiscuenca
b9fbcce403
init frames per meter
2018-09-12 10:15:00 -07:00
luiscuenca
4d381b9d04
Smooth other avatars positions
2018-09-12 10:01:41 -07:00
Dante Ruiz
b665dbe13e
finished requested changes
2018-09-11 14:18:12 -07:00
SamGondelman
ed7f993c0d
avatar mixer and manager perf improvements and cleanup
2018-09-06 16:57:20 -07:00
Dante Ruiz
200f6d540a
Merge branch 'master' of github.com:highfidelity/hifi into interstitial-final-page
2018-09-06 09:59:51 -07:00
SamGondelman
ade58a52cc
reserve priority sort util vectors
2018-09-04 11:21:43 -07:00
SamGondelman
d01b438cb3
CR
2018-08-31 11:25:17 -07:00
SamGondelman
5f08ed5027
misc perf improvements
2018-08-30 16:55:15 -07:00
Dante Ruiz
8c77820e30
Merge branch 'master' of github.com:highfidelity/hifi into interstitial-final-page
2018-08-30 09:45:41 -07:00
SamGondelman
0c8a4cc81e
merge with master
2018-08-28 17:31:51 -07:00
Dante Ruiz
af19849a75
fixing merge conflict
2018-08-24 15:48:42 -07:00
SamGondelman
70f4d0c634
Merge remote-tracking branch 'upstream/master' into perf
2018-08-24 14:04:37 -07:00
Andrew Meadows
8f2141b592
fix compile error
2018-08-23 12:59:28 -07:00
Andrew Meadows
f5cae61b43
fix typo causing compile failure
2018-08-23 12:59:28 -07:00
Andrew Meadows
87223946ad
add/remove avatars according to workload region
2018-08-23 12:59:28 -07:00
Andrew Meadows
3ecabb6583
cleanup after removing spaghetti
2018-08-23 12:59:28 -07:00
Andrew Meadows
3c01433e12
stub for avatars changing workload regions
2018-08-23 12:59:28 -07:00
Andrew Meadows
15665b25e8
give OtherAvatars a proxy in workload
2018-08-23 12:59:28 -07:00
SamGondelman
c474f38860
force coarse picking, sort avatars
2018-08-22 18:07:16 -07:00
SamGondelman
5c0b12abf6
ordered ray/parabola intersection code
2018-08-22 16:29:17 -07:00
Dante Ruiz
f5441b2721
Merge branch 'master' of github.com:highfidelity/hifi into interstitial-final-page
2018-08-22 15:28:42 -07:00
Stephen Birarda
f0ba61ff05
add missing local ID, reset client processed trait versions
2018-08-21 10:32:05 -07:00
Stephen Birarda
a80d19a44a
remove skeleton from identity, handle in clients
2018-08-21 10:31:14 -07:00
Dante Ruiz
db3d3d3d93
Merge branch 'master' of github.com:highfidelity/hifi into interstitial-final-page
2018-08-21 09:56:59 -07:00
SamGondelman
9ab1fc0500
Merge remote-tracking branch 'upstream/master' into perf
2018-08-20 17:04:42 -07:00
SamGondelman
05ff99a1d2
working on blendshapes
2018-08-20 11:40:25 -07:00
Andrew Meadows
90429f07cb
don't forget to use enqueue the Transaction
2018-08-16 14:38:32 -07:00
John Conklin II
1edf1b4337
Merge pull request #13555 from SamGondelman/destroy
...
Trying to fix dependency shutdown
2018-08-16 13:14:58 -07:00
Andrew Meadows
8153e660bf
don't simulate/animateScaleChanges for fading avatars
2018-08-09 08:54:28 -07:00
Andrew Meadows
9b0dcb45ba
don't update fading avatars
2018-08-08 14:00:44 -07:00
SamGondelman
e3756a6dae
Merge branch 'destroy' of github.com:SamGondelman/hifi into destroy
2018-08-06 11:21:51 -07:00
SamGondelman
9806bce403
weak pointers to nodeList
2018-08-06 11:21:32 -07:00
Sam Gondelman
2edefe3209
Merge branch 'master' into destroy
2018-08-06 09:51:14 -07:00
Dante Ruiz
cca76f7022
Merge branch 'master' of github.com:highfidelity/hifi into interstitial-final-page
2018-08-06 08:02:03 -07:00
Sam Gateau
da252a70c1
Same as https://github.com/highfidelity/hifi/pull/13747
2018-08-03 09:22:29 -07:00
Dante Ruiz
048196ec6f
disble sending avatar and audio packets during interstitial mode
2018-08-02 11:39:06 -07:00
SamGondelman
1ba28de5b6
try to fix nodelist not getting destroyed
2018-08-01 17:52:27 -07:00
SamGondelman
318ef907b8
parabola/polyvox, fixing some bugs
2018-07-24 10:08:35 -07:00
SamGondelman
956c1511b6
Merge remote-tracking branch 'upstream/master' into parabolic
2018-07-19 15:23:25 -07:00
SamGondelman
845ddda695
parabola-overlay and -avatar intersection, handle case where acceleration == 0
2018-07-17 12:41:03 -07:00
Zach Fox
4daa0c6537
CR feedback
2018-07-13 12:47:45 -07:00
Zach Fox
92756d81ad
Implement MS16562: Massive PAL speedup!
2018-07-12 15:05:31 -07:00
John Conklin II
e6801c303a
Merge pull request #13432 from SimonWalton-HiFi/avatar-identity-request
...
Implement AvatarRequestIdentity and use if interface gets unknown avatar data
2018-07-09 10:07:19 -07:00
Simon Walton
607a898c32
Transmit a maximum number of identity requests before giving up
2018-07-06 15:16:13 -07:00
Simon Walton
f77b2903a1
Minor tweaks
2018-07-05 17:13:27 -07:00
Simon Walton
ec67b8ad56
Address reviewer comments
2018-07-03 15:31:34 -07:00
Angus Antley
eba4a27329
added newline to the end of AvatarManager.cpp
2018-06-27 05:59:53 +01:00
amantley
39edc21423
spaced comment fixed
2018-06-26 17:47:36 -07:00
amantley
8b13905d6c
final final final coding standards
2018-06-26 17:43:45 -07:00
amantley
a89c2ea734
removed crust
2018-06-26 16:40:51 -07:00
amantley
46c70d948f
Moved OtherAvatar class to interface project. This allows AvatarManager to create and delete the orb overlay that is drawn when an avatar is present in a domain but for some reason the geometry is not loaded. OtherAvatar has new members orbMeshPlaceholder and orbMeshPlaceholderID for a spherical orb that is drawn
2018-06-26 15:11:58 -07:00
amantley
fa1a9d04e0
everything working before trying to move otheravatar to interface
2018-06-26 13:18:26 -07:00
Angus Antley
b8dea4b869
adding changes to add the orb when an avatar is processed by the avatar mixer
...
and when a new model is being loaded for an avatar. The orb is removed
when the geometry has loaded.
2018-06-26 06:27:18 +01:00
Andrew Meadows
756f34761f
don't build AvatarMotionStates until physics enabled
2018-06-25 10:37:54 -07:00
Simon Walton
269d803812
New approach to tracking no-identity duration
2018-06-22 16:42:37 -07:00
Simon Walton
e5b35b1cd9
Clang doesn't support digit separators yet
2018-06-22 12:01:00 -07:00
Simon Walton
6796af4b6a
Move sendAvatarIdentityRequest() to a more logical location
2018-06-21 15:00:51 -07:00
Simon Walton
d789c4573b
Add couple of comments
2018-06-20 17:44:58 -07:00
Simon Walton
d638bdd986
First pass at requesting ID for unknown data
...
Keep list of AvatarData that was created from a
data packet without a matching ID. If items get
old enough send an ID request and remove them.
2018-06-20 12:21:39 -07:00
SamGondelman
a7d75b121f
fix avatarHash crash
2018-06-08 11:20:41 -07:00
Sam Gateau
13d02011f3
There and back again...
2018-05-24 00:53:29 -07:00
Clement
da9fb9c751
Fix non self-sufficient headers
2018-05-04 16:26:41 -07:00
Clement
27c471ee97
Move all wire frustums to conical frustums
2018-05-03 18:19:29 -07:00
Clement
538f24162f
Define ViewFrustums type alias
2018-05-01 18:03:21 -07:00
Clement
21213e81f4
Multiview support for priority queue
2018-05-01 18:03:21 -07:00
humbletim
65455e7b50
Merge remote-tracking branch 'upstream/master' into Leopoly_Phase1_004_RayPick-Changes
2018-01-23 14:57:33 -05:00
Stephen Birarda
7bf0cc2f63
cleanup other ref returns of shared pointers from sortables
2017-12-21 15:39:14 -08:00
humbletim
a146b778f7
support additional .extraInfo for ray intersections
2017-12-21 12:35:13 -05:00
Andrew Meadows
e212ac67c1
enable custom avatar sort tuning
2017-11-28 11:30:06 -08:00
Andrew Meadows
d65101c4e9
sort and throttle avatar updates in interface
2017-11-28 09:07:17 -08:00
ZappoMan
04ee1adabd
Merge branch 'master' of https://github.com/highfidelity/hifi into entityItemCleanup
2017-11-19 14:40:31 -08:00
Seth Alves
12792c3821
stop drawing ignored avatars, even if PAL is still open
2017-11-01 17:26:00 -07:00
ZappoMan
a7a0f03ede
rename SpatiallyNestable::getPosition() to SpatiallyNestable::getWorldPosition()
2017-10-27 18:39:17 -07:00
Anthony J. Thibault
0a943fbe7b
Crash/Deadlock fix: Web3DOverlay could be destroyed on wrong thread.
...
When script calls Entities.getChildrenIDs*() it is possible to deadlock the main thread, and also invoke
the destructor of Entities and Overlays, which is very NOT thread safe.
The fix is to use a pattern already in use in several places in our codebase.
Use the custom deleter parameter of std::shared_ptr to call deleteLater() instead of destroying the object in place.
This allows any thread to use shared_ptrs of SpatiallyNestables without fear.
2017-10-11 17:32:34 -07:00
Andrew Meadows
8d2153d2f3
cleanup debug stats, use more correct names
2017-10-02 13:08:17 -07:00
Anthony J. Thibault
3f6c88e77f
Avatar Attachments now render correctly
...
* moved Avatar::fixupModelsInScene off the newly created render thread back
to the main thread.
* updated Avatar::postUpdate to take a scene pointer, necessary for
Avatar::fixupModelsInScene
* updated developer/tests/avatarAttachementTest.js to account for recent
changes in avatar attachment scale, commit 712aff7ad
.
* updated initialization of anim graph to use Model::isLoaded() instead of
Model::initWhenReady() to know when the model was completely loaded.
2017-09-15 11:23:09 -07:00
SamGondelman
a641fb7a7f
rename qvector findRayIntersection to avoid script conflicts
2017-08-15 18:03:52 -07:00
SamGondelman
4c55849290
merge from master
2017-08-10 15:43:23 -07:00
SamGondelman
3645bf04b6
possibly fix most annoying crash
2017-08-08 18:10:53 -07:00
Olivier Prat
9130c51319
Fixed incorrect removal of ALL avatar fade events. Fade out should now work again when avatar leaves domain
2017-07-18 14:46:49 +02:00
Olivier Prat
2bba6aa816
Revert "Removed all bubble fade event code on avatar side"
...
This reverts commit 4b8545e8b5
.
2017-07-18 14:07:07 +02:00
Olivier Prat
4b8545e8b5
Removed all bubble fade event code on avatar side
2017-07-18 10:04:08 +02:00
Olivier Prat
b125fba2e1
Removed untested avatar bubble fade code. Made changes as requested by Andrew
2017-07-13 23:04:55 +02:00
Olivier Prat
b68ec4f933
Merge branch 'master' of git://github.com/highfidelity/hifi into fade
2017-07-13 22:36:52 +02:00
Olivier Prat
edcfecd5d4
Merge branch 'master' of git://github.com/highfidelity/hifi into fade
2017-07-13 11:05:14 +02:00
Olivier Prat
2d2722bfc5
Added async transition query on scene
2017-07-13 11:05:04 +02:00
Seth Alves
59ad3d50ec
Merge branch 'master' of github.com:highfidelity/hifi into audio-injector-smart-pointers
2017-07-12 12:45:58 -07:00
Stephen Birarda
f6d9a79fb5
Revert "Revert "fix for invisible avatars after radius ignore""
2017-07-12 10:36:53 -07:00
Seth Alves
c52e7e180a
use const AudioInjectorPointer& in some places
2017-07-11 19:42:03 -07:00
Seth Alves
3670a04d8e
switch bare pointers to AudioInjector objects to be QSharedPointers
2017-07-11 14:24:58 -07:00
Olivier Prat
7552cca316
First alpha version of bubble collision fade events. Missing a lot of information.
2017-07-11 19:26:15 +02:00
Olivier Prat
381e0c64a8
Working avatar fade in / fade out except that it is also triggered on bubble collisions
2017-07-11 16:43:27 +02:00
Stephen Birarda
420e9233b6
Revert "fix for invisible avatars after radius ignore"
2017-07-07 16:50:28 -07:00
Stephen Birarda
f07ce6d294
Merge pull request #10835 from birarda/bug/invisible-avatars
...
fix for invisible avatars after radius ignore
2017-07-07 16:06:44 -07:00
Brad Davis
6fc82bb351
Switch to preprocessor macro for blocking invokes to capture function information
2017-06-30 11:36:24 -07:00
Brad Davis
b52dd7b822
Don't use blocking connections on the main thread
2017-06-29 20:45:17 -07:00
Stephen Birarda
9e822de196
remove local collection of radius ignored nodes
2017-06-27 17:41:07 -07:00
Andrew Meadows
7b879a7964
Model has a Rig rather than a RigPointer
2017-05-19 13:24:16 -07:00
Andrew Meadows
d065b569d3
support for variable avatar mass by size
2017-05-16 16:03:51 -07:00
Brad Davis
2d0bbf70ae
Migrate core avatar rendering functionality to library
2017-05-04 14:08:59 -07:00
Andrew Meadows
994eed7b83
safer delete of AvatarMotionStates
2017-04-28 10:18:19 -07:00
Andrew Meadows
00b05ed137
connect menu options to avatar render features
2017-04-27 13:16:50 -07:00
Andrew Meadows
2441536de3
remove Avatar dependency on AvatarMotionState
2017-04-27 13:16:49 -07:00
Andrew Meadows
010d1dfa22
remove Menu dependency from Avatar class
2017-04-27 13:11:57 -07:00
Andrew Meadows
65682a914d
remove cufty AvatarManager LocalLights feature
2017-04-27 13:11:57 -07:00
Andrew Meadows
fd874429c1
remove unused cruft
2017-04-26 12:51:16 -07:00
Andrew Meadows
ac751029c0
remove identity cache code
2017-04-26 12:51:16 -07:00
Andrew Meadows
4511156d7b
cache avatar identity info forever
2017-04-26 12:50:48 -07:00
ZappoMan
c9aad6b762
new approach to the tpose fix, as well as other improvements
2017-04-24 17:36:05 -07:00
Andrew Meadows
da55c96c4c
protect against crash on invalid scene on shutdown
2017-04-18 11:52:22 -07:00
Andrew Meadows
71c5644c23
more shared_ptr by const reference
2017-04-18 11:52:22 -07:00
Andrew Meadows
1137bd1436
pull qApp spaghetti out of Avatar class
...
some ends of spaghetti get pushed into AvatarManger class
split Camera class into Camera base and FancyCamera derivation
Application::getCamera() returns Camera by refence instead of pointer
2017-04-18 11:52:21 -07:00
Andrew Meadows
92495d9622
delete in proper order on shutdown
2017-04-07 11:10:48 -07:00
Andrew Meadows
8773497f7e
remvoe commented out cruft
2017-04-07 11:08:06 -07:00
Andrew Meadows
6d627aa9bc
don't remove other avatars on sign-out
2017-04-07 11:08:06 -07:00
Andrew Meadows
2f18e51f6b
lock mutex around fading avatar list
2017-04-07 11:08:06 -07:00
Andrew Meadows
662c34c266
fix avatar scale animation and avatar render debug
2017-04-07 11:06:16 -07:00
Andrew Meadows
2775b17a65
unravel one loop of spaghetti
2017-04-07 09:56:26 -07:00
samcake
6122155880
Renaming the PendingCHanges class to Transaction
2017-04-05 13:10:31 -07:00
Andrew Meadows
d4abdcb6c8
comments, namechange, and temporary debug code
2017-03-09 17:26:53 -08:00
Zach Fox
c9c07c4269
Basically rebase and squash
2017-03-06 10:03:41 -08:00
Andrew Meadows
c6730f7c58
Merge pull request #9745 from AndrewMeadows/faster-avatar-updates
...
Faster avatar updates
2017-02-28 10:55:21 -08:00
Howard Stearns
a9b8045697
Merge pull request #9720 from howard-stearns/filter-pal-by-view-distance
...
Filter pal by view distance
2017-02-24 11:10:13 -08:00
Andrew Meadows
4bbbcb61be
expand avatar update time budget
2017-02-23 17:36:45 -08:00
Andrew Meadows
e54812430e
avoid unnecessary copy of priority_queue
2017-02-23 17:36:45 -08:00
Howard Stearns
cddba43837
Merge branch 'master' into filter-pal-by-view-distance
2017-02-23 08:25:16 -08:00
Brad Hefta-Gaub
06f0087459
wire up radius properly
2017-02-22 22:36:37 -08:00
Andrew Meadows
6ac33dbf61
count avatar joint updates and non-updates
2017-02-22 17:23:36 -08:00
Brad Hefta-Gaub
05995163cf
add support for tuning sorting
2017-02-22 09:49:47 -08:00
Brad Hefta-Gaub
01fd0860bf
Merge branch 'master' of https://github.com/highfidelity/hifi into avatarBandwidthBudgetImprovements
...
Conflicts:
interface/src/avatar/AvatarManager.cpp
2017-02-22 08:47:03 -08:00
Andrew Meadows
dd447689e0
expose avatar sort coefficients for fine tuning
2017-02-21 15:09:44 -08:00