amantley
33f9acde67
latest
2018-07-17 17:42:11 -07:00
luiscuenca
e3594fe1b7
mutex added
2018-07-17 17:23:03 -07:00
luiscuenca
ba884f8a94
Forgotten coment
2018-07-17 16:42:59 -07:00
luiscuenca
6225435385
some ortographic fixes
2018-07-17 16:38:34 -07:00
luiscuenca
fcb7614f7e
Format and fixes
2018-07-17 16:34:30 -07:00
SamGondelman
845ddda695
parabola-overlay and -avatar intersection, handle case where acceleration == 0
2018-07-17 12:41:03 -07:00
Qliemillar
d498d6bb3d
Merge pull request #13617 from amantley/rotateRecenter
...
Reduce Frequent Flipping of Avatar Facing Direction By Resetting _headControllerFacingMovingAverage
2018-07-17 08:57:24 -06:00
luiscuenca
82a3b73de8
Added disable hand touch for entityID
2018-07-17 07:06:48 -07:00
luiscuenca
84dac94379
Allow creator to disable hand touch
2018-07-16 17:03:50 -07:00
amantley
abb2c7ef14
Added reset of the _headControllerFacingMovingAverage in MyAvatar.cpp prePhysicsUpdate(). This stops some of the flipping back and forth that has been happening with rotational recenter.
2018-07-16 11:29:49 -07:00
Zach Fox
ac2351e49f
Make JSDoc happy
2018-07-16 11:00:27 -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
Anthony Thibault
1d33f51ca4
Merge pull request #13528 from amantley/integratedStepping
...
Step Detection From Head and Hands Tracking
2018-07-10 09:59:22 -07:00
John Conklin II
81f5631ce9
Merge pull request #13386 from ElderOrb/FB13949
...
AvatarApp
2018-07-09 15:20:18 -07:00
amantley
cb421fd5b0
fixed build errors for mac and linux
2018-07-09 15:09:45 -07:00
amantley
55ae08c071
Merge remote-tracking branch 'upstream/master' into integratedStepping
2018-07-09 13:55:59 -07:00
amantley
b2d77ef51a
bracket spacing
2018-07-09 13:54:18 -07:00
amantley
7ed8f17b57
tweaked posterior threshold and head velocity threshold
2018-07-09 13:49:21 -07:00
amantley
a3417cace9
implemented code review changes. 1. checking for divide by zero before glm::normalize. 2. clearing the ring buffer on reset. 3. renaming _standingHeightMode to _currentStandingHeight
2018-07-09 11:58:02 -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
amantley
defd6f88e6
started changes suggested by code review, ie mode computation
2018-07-06 18:17:13 -07:00
Simon Walton
607a898c32
Transmit a maximum number of identity requests before giving up
2018-07-06 15:16:13 -07:00
Alexander Ivash
aaa2e3f6a8
fix issue with duplicated wearables on switching between bookmarks / cancelling 'adjust wearables'
2018-07-06 21:00:56 +03:00
Alexander Ivash
7fa09aef8f
slightly update jsdoc with functions description
2018-07-06 21:00:55 +03:00
Alexander Ivash
dbcc654af1
remove comments
2018-07-06 21:00:55 +03:00
Alexander Ivash
3ac44376b2
bind Settings page to a backend
2018-07-06 21:00:53 +03:00
Alexander Ivash
b6769f9678
avatar selection & wearables adjustments work-on-progress
2018-07-06 21:00:52 +03:00
Alexander Ivash
5007c259bb
query real avatar favorites (but use fake urls for now)
2018-07-06 21:00:52 +03:00
Dante Ruiz
533164e1e4
some more fixes
2018-07-06 08:55:20 -07:00
Simon Walton
f77b2903a1
Minor tweaks
2018-07-05 17:13:27 -07:00
SamGondelman
7954865141
trying to fix dependency shutdown
2018-07-05 14:34:37 -07:00
amantley
0ebc7fc29e
fixed the mode computation so that it can keep track of all long term height frequencies. This makes it unnecessary to reset the mode, because it will revert back to the highest frequency
2018-07-05 13:41:06 -07:00
Anthony Thibault
c840670a54
Merge pull request #13519 from hyperlogic/bug-fix/stable-pole-vector-smoothing
...
Bug fix for unexpected avatar knee shifts for users wearing Vive Trackers.
2018-07-03 21:50:57 -07:00
amantley
6460c9e861
fixed case for 0.0 as the filter length
2018-07-03 17:11:19 -07:00
Simon Walton
ec67b8ad56
Address reviewer comments
2018-07-03 15:31:34 -07:00
amantley
4995b57712
removed print statements and fixed rotation threshold update code
2018-07-03 14:31:36 -07:00
amantley
59dfe80940
Merge remote-tracking branch 'upstream/master' into integratedStepping
2018-07-03 11:47:09 -07:00
amantley
9e5763ea5c
adding the recentering back into the non hmd lean code
2018-07-03 11:46:59 -07:00
amantley
3424f412aa
Merge pull request #13437 from amantley/lurchfix
...
Fix for Avatar Lean in Direction of Movement: Bug 16075 (for RC70)
2018-07-03 19:38:01 +01:00
amantley
f216316b55
removed some comments and whitespace
2018-07-02 18:19:31 -07:00
amantley
47110d080f
removed clang induced changes to MyAvatar.cpp
2018-07-02 17:06:16 -07:00
amantley
7f5f762208
fixing merge conflict
2018-07-02 15:54:21 -07:00
amantley
096d0d2827
reorganized the step detection code, creating a shouldActivateHorizontalCG that calls all the step detection conditionals. The average rotation and the mode are now calculated in MyAvatar::update
2018-07-02 15:43:57 -07:00
Anthony J. Thibault
fff4348a0f
Bug fix for poleVector smoothing
...
Needs to occur in sensor space rather then avatar space.
2018-06-29 17:54:21 -07:00
amantley
44d9edec3c
added the properties for filter length and rotation threshold to MyAvatar class This will help us test the right combo for head based turning
2018-06-29 14:42:23 -07:00
amantley
c9c222a253
added the failsafe code to the stepping
2018-06-29 11:33:42 -07:00
amantley
15a17ae32a
finished the step detection, need to finish the failsafe
2018-06-28 18:36:13 -07:00
John Conklin II
0a0e1668d5
Merge pull request #13478 from amantley/glowingOrbMaster
...
The client should render "something" for an avatar even if mesh or identity is not available
2018-06-28 12:12:16 -07:00
amantley
3e6d54e83c
added all the parts for the step conditional to do: failsafe
2018-06-28 11:56:46 -07:00
John Conklin II
138342ba91
Merge pull request #13485 from zfox23/MS16257_clearOverlay
...
Implement MS16257: Remove 'clear overlay when moving' setting and code
2018-06-28 09:31:04 -07:00
Angus Antley
2307c8e24a
more work on the mode threshold
2018-06-28 15:40:42 +01:00
amantley
621ca7d2b4
more work on the mode function
2018-06-27 18:46:24 -07:00
amantley
61a935dbb5
added the first pass at mode computation
2018-06-27 18:02:11 -07:00
John Conklin II
0cb8b4dfa1
Merge pull request #13471 from danteruiz/disable-flying-by-default
...
Disable flying by default
2018-06-27 16:04:16 -07:00
amantley
205cd44a49
removed override keyword from OtherAvatar and MyAvatar destructors, also
...
added the virtual keyword to the createOrb virtual method in OtherAvatar
2018-06-27 14:31:39 -07:00
amantley
7b49ae4950
added the within threshold of height function and to do: the mode computation
2018-06-27 14:23:24 -07:00
Zach Fox
cfc8c0fb09
Implement MS16257: Remove 'clear overlay when moving' setting and code
2018-06-27 14:07:04 -07:00
John Conklin II
b9439d1e6b
Merge pull request #13384 from ctrlaltdavid/21892
...
Fix entity detaching from head joint not becoming visible
2018-06-27 12:32:52 -07:00
amantley
99ff5f9140
made the Avatar destructor virtual to ensure that MyAvatar and OtherAvatar cleanup correctly
2018-06-27 11:59:53 -07:00
amantley
1804422df0
remove orb in the otherAvatar destructor, and check
...
_otherAvatarOrbMeshPlaceholder pointer before updating the position
2018-06-27 11:15:42 -07:00
amantley
3893b7e339
added the head angular velocity check
2018-06-27 10:37:54 -07:00
amantley
8cf59783d1
removed white space
2018-06-27 09:20:46 -07:00
amantley
be6fadbc2d
Merge remote-tracking branch 'upstream/master' into integratedStepping
2018-06-27 09:16:43 -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
Dante Ruiz
3cf36bed55
making small adjustments
2018-06-26 14:57:15 -07:00
Dante Ruiz
1fec900ba6
disable flying by default
2018-06-26 13:31:59 -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
David Rowe
af3861def8
Code review
2018-06-25 16:33:05 +12:00
David Rowe
40fb627504
Merge branch 'master' into 21892
2018-06-25 16:04:44 +12:00
Simon Walton
0dca842102
Add avatar identity requests to analytics
2018-06-22 17:06:33 -07:00
Simon Walton
269d803812
New approach to tracking no-identity duration
2018-06-22 16:42:37 -07:00
John Conklin II
b7069fff71
Merge pull request #13382 from SamGondelman/particleFix
...
Fix Particle Entities
2018-06-22 13:27:11 -07:00
Simon Walton
e5b35b1cd9
Clang doesn't support digit separators yet
2018-06-22 12:01:00 -07:00
Sam Gondelman
44a7d04b2a
Merge pull request #13426 from SamGondelman/avatarPriority
...
Highest loading priorities for avatars and attachments
2018-06-22 11:22:10 -07:00
Sam Gondelman
850e2d5cf5
Merge branch 'master' into particleFix
2018-06-21 17:32:24 -07:00
amantley
3027f8242c
added the conditional for leaving the base of support to pre physics update in MyAvatar.cpp
2018-06-21 17:23:03 -07:00
Simon Walton
6796af4b6a
Move sendAvatarIdentityRequest() to a more logical location
2018-06-21 15:00:51 -07:00
amantley
e4ca6c6303
added the fixes for the lurch that happens when driving or flying
2018-06-21 11:22:26 -07:00
amantley
8fc04776f9
starting to implement the step detection code in MyAvatar.cpp
2018-06-21 10:59:07 -07:00
Simon Walton
d789c4573b
Add couple of comments
2018-06-20 17:44:58 -07:00
SamGondelman
8f411ad6c8
CR
2018-06-20 16:13:10 -07:00
SamGondelman
8014f61243
loading priorities for avatars and attachments
2018-06-20 12:29:28 -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
sabrina-shanman
a8b2da14cf
Format numeric constant in strafe crash commit to match coding standards
2018-06-20 08:45:12 -07:00
sabrina-shanman
45fdf3d68f
Fix crash when walking sideways
2018-06-19 17:23:00 -07:00
Andrew Meadows
085130e3c9
avatars collide again again
2018-06-18 13:17:32 -07:00
David Rowe
be4b929301
Fix cauterization when reparent entity to a different joint
2018-06-16 16:31:06 +12:00
David Rowe
4dd6ba1d18
Fix Mac crash
2018-06-16 16:29:45 +12:00
David Rowe
249f72758e
Fix entity detaching from head joint not becoming visible
2018-06-15 16:36:16 +12:00
John Conklin II
0ba97fa83b
Merge pull request #13338 from amantley/scriptedBlendshapesFaceFlags
...
Scripted Blendshapes and Procedural Face Movement Flags
2018-06-13 10:32:59 -07:00
Clement
920263ef49
Merge branch 'stable' of https://github.com/highfidelity/hifi into new-master
2018-06-12 17:00:25 -07:00
Andrew Meadows
d31ee52d79
revert PR-13162 from RC68
2018-06-12 03:51:55 -07:00
Anthony J. Thibault
042f902d2e
Merge branch 'master' into scriptedBlendshapesFaceFlags
2018-06-11 17:13:30 -07:00
Anthony J. Thibault
f773aef053
Merge branch 'master' into bug-fix/large-avatar-little-domain-rc68
2018-06-11 11:06:21 -07:00
Anthony J. Thibault
b8379045a8
Fix MyAvatar::isReadyForPhysics() in serverless domains.
2018-06-11 09:53:34 -07:00
Sam Gondelman
be28097279
Merge pull request #13339 from SamGondelman/avatarHash
...
Possibly fix avatarHash crash
2018-06-11 09:39:40 -07:00
Anthony Thibault
044d142635
Merge pull request #13133 from amantley/nativeCGCode
...
Center of Gravity Leaning
2018-06-08 17:53:55 -07:00
SamGondelman
a7d75b121f
fix avatarHash crash
2018-06-08 11:20:41 -07:00
amantley
913d78841d
Merge remote-tracking branch 'upstream/master' into scriptedBlendshapes
...
synching with upstream master
2018-06-07 16:20:11 -07:00
Anthony J. Thibault
608575cf17
Large avatars should instantly shrink when entering small height domains
...
Also reduce the fudge factor for safeLanding from an additional 50% of avatar's height to 25%.
2018-06-07 15:31:40 -07:00
amantley
836c3da858
cleaned up white space and removed extra declaration of hadAudioEnabledFaceMovement
2018-06-07 15:11:57 -07:00
amantley
97831e61f0
removed stray comments
2018-06-07 12:54:46 -07:00
Sam Gateau
a1899e80c0
Merge pull request #13290 from AndrewMeadows/update-queryAACube
...
update server-side bounding box more correctly for grabbed things
2018-06-06 11:46:09 -07:00
amantley
f21431ca88
added check for the actual face tracker in MyHead.cpp to prevent crash
2018-06-05 16:33:28 -07:00
Anthony J. Thibault
b5a3b25adc
Tuned hip smoothing times.
2018-06-05 16:07:54 -07:00
Anthony J. Thibault
993d035d37
Smooth out fly to idle transition, to prevent hip thrusting and pops.
2018-06-05 15:45:19 -07:00
amantley
5132466ca0
kept the transient coeff. and sending the blendshapes accross the
...
network. and removed procedural updates to face from myhead.cpp
2018-06-05 13:32:45 -07:00
Anthony J. Thibault
558711f906
Smooth hips transition between idle and fly.
...
Also, take dt into account for the critically damped spring lerp calculation.
2018-06-04 16:57:41 -07:00
amantley
61592cdada
completed first try at all changes for scripted blendshapes
2018-06-04 16:37:47 -07:00
David Rowe
b5028a9626
Merge branch 'master' into 21880
...
# Conflicts:
# interface./src/scripting/WindowScriptingInterface.h
2018-06-05 09:13:54 +12:00
Anthony J. Thibault
c3d1daf855
Merge branch 'master' into nativeCGCode
2018-06-04 09:32:38 -07:00
Andrew Meadows
9ae19714b5
also update queryAACube for children of worn entities
2018-06-01 16:38:57 -07:00
amantley
01848fafe0
made all changes except those to AvatarData toByteArray function also to do: verify that transientBlendshapes are set to 0 in headData simulate when there are blendshapes from script but no face tracker present
2018-06-01 11:37:11 -07:00
amantley
3bda5bf6a0
added MyAvatar.hasProceduralBlinkFaceMovement and MyAvatar.hasProceduralEyeFaceMovement properties to MyAvatar.h and cpp and HeadData.h
2018-05-31 17:58:37 -07:00
samcake
386c0f9ab2
Re review adjustments
2018-05-31 12:16:57 -07:00
amantley
7cc5e96f2d
Merge remote-tracking branch 'upstream/master' into feat/hasScriptedBlendshapes
...
merging hifi master to update the branch
2018-05-31 10:35:31 -07:00
Sam Gateau
513acc529e
INtroduce RenderConstants header file to define the alias names for Tag and Layer for Hifi REnder Engine
2018-05-30 23:31:54 -07:00
samcake
2e9076c71e
Clean up and trying to get ready for merge
2018-05-30 11:14:49 -07:00
samcake
873cabe284
Cleaning the code
2018-05-29 17:46:25 -07:00
David Rowe
0db440931e
Miscellaneous JSDoc fixes
2018-05-30 10:02:30 +12:00
samcake
82503a9e64
Merge branch 'master' of https://github.com/highfidelity/hifi into punk
2018-05-29 08:59:37 -07:00
Sam Gateau
678effdb48
Cleaning up the Model set ItemKey flags and bringing Item::Layer in the ItemKey
2018-05-26 23:28:59 -07:00
Sam Gateau
aa49595a23
Merge branch 'master' of https://github.com/highfidelity/hifi into punk
2018-05-24 18:19:55 -07:00
NissimHadar
d01482bf68
Now looks for an actual change in the boom length (vs a change has been requested).
2018-05-24 17:44:39 -07:00
NissimHadar
9ed8c04097
Merge branch 'master' of github.com:highfidelity/hifi into fixCameraMode
2018-05-24 17:40:21 -07:00
Anthony Thibault
eae5215d94
Merge pull request #13206 from ctrlaltdavid/21872-c
...
JSDoc fixes
2018-05-24 16:44:55 -07:00
samcake
44a8d880fa
Merge branch 'master' of https://github.com/highfidelity/hifi into punk
2018-05-24 14:31:53 -07:00
Andrew Meadows
31dd59d212
double bits in collision groups
2018-05-24 11:28:52 -07:00
Sam Gateau
13d02011f3
There and back again...
2018-05-24 00:53:29 -07:00
samcake
5bede45c85
Merge branch 'master' of https://github.com/highfidelity/hifi into punk
2018-05-23 11:26:07 -07:00
NissimHadar
e07e716d40
Fixed stupid gcc warning.
2018-05-23 07:35:25 -07:00
NissimHadar
06203d44d8
Correct Camera.mode
command.
2018-05-22 17:08:28 -07:00
David Rowe
6d4f704279
Regularize some JSDoc usage
2018-05-21 09:32:10 +12:00
samcake
3aaa01788c
Merge branch 'master' of https://github.com/highfidelity/hifi into punk
2018-05-18 17:42:30 -07:00
samcake
36a08fdd84
Friday night end of the day, last compilation.... almost
2018-05-18 17:41:28 -07:00
Dante Ruiz
3b59af3ed7
Merge branch 'master' of github.com:highfidelity/hifi into menu-updates
2018-05-18 16:42:31 -07:00
samcake
aa18aaa7b1
Maybe
2018-05-17 18:06:46 -07:00
David Rowe
6db4dd8673
Merge branch 'master' into 21872-b
...
# Conflicts:
# interface/src/ui/Snapshot.h
2018-05-17 20:11:14 +12:00
samcake
735db27919
Merge branch 'master' of https://github.com/highfidelity/hifi into punk
2018-05-16 17:18:23 -07:00
John Conklin II
8d437892cb
Merge pull request #13175 from luiscuenca/fixAvatarDisappearing
...
Fix hips position when flying
2018-05-16 12:37:07 -07:00
Dante Ruiz
e676348c4f
fixing some menu reog bugs
2018-05-16 10:40:28 -07:00
luiscuenca
7b48dc2370
normalize vector
2018-05-16 10:17:38 -07:00
David Rowe
f629022b8c
AvatarList API JSDoc stubs
2018-05-16 10:16:13 +12:00
David Rowe
fdeb0e3305
Avatar API JSDoc stubs
2018-05-16 09:20:54 +12:00
luiscuenca
4b09f1dc30
Fix vector transformation when calculating flying hip position
2018-05-15 14:19:17 -07:00
Andrew Meadows
c5773cbe84
restore 'virtual' keyword for overrides
2018-05-15 13:59:22 -07:00
Thijs Wenker
8b4298514e
send out one last blendshape update when setting MyAvatar.hasScriptedBlendshapes to false
2018-05-15 21:39:17 +02:00
Thijs Wenker
bfe210da75
Merge branch 'master' of github.com:highfidelity/hifi into feat/hasScriptedBlendshapes
2018-05-15 16:48:51 +02:00
Anthony J. Thibault
ec638d9d91
Avatar can now look straight down without spinning 180.
...
Also, come code clean up and removal of unnecessary Y_180 flips.
2018-05-14 13:48:04 -07:00
Andrew Meadows
a30e06d594
don't blend avatar position when far from target
2018-05-14 09:58:16 -07:00
Anthony J. Thibault
1cc7eb635f
Fix ubuntu warning by removing cancelOutRollAndPitch2()
2018-05-14 09:13:26 -07:00
Anthony J. Thibault
274ac98bd6
Merge branch 'master' into nativeCGCode
2018-05-14 09:12:08 -07:00
vladest
0a67fc3b36
Merge conflicts
2018-05-12 11:24:35 +02:00
Andrew Meadows
6de175e794
avatars collide again
2018-05-11 17:01:48 -07:00
John Conklin II
5cd225e4de
Merge pull request #12947 from jherico/feature/splash2
...
Additional work on splash screen
2018-05-11 11:26:37 -07:00
amantley
20c960c0da
removed white space in MyAvatar.cpp
2018-05-09 15:00:20 -07:00
amantley
eff84de99f
added more straight forward computation of the hips rotation inMyAvatar.cpp contributed by AJT
2018-05-09 14:55:10 -07:00
amantley
50f225777a
removed debug code from cg code in MyAvatar.cpp
2018-05-09 11:31:19 -07:00
amantley
a7955b642a
removed the follow hips code from pre physics update
2018-05-09 11:27:04 -07:00
amantley
77aedc1512
changed lerp to saferLerp in cg code
2018-05-09 11:14:13 -07:00
amantley
8000bcd272
cleaned up cg code ie computeNewHipsRotation
2018-05-08 18:12:53 -07:00
amantley
6051f4b8ff
Merge remote-tracking branch 'origin/nativeCGCode' into nativeCGCode
...
synching the branch with the remote repo
2018-05-08 10:55:14 -07:00
amantley
544967ef3b
added test function to cancel out roll and pitch
2018-05-08 10:55:10 -07:00
amantley
bbf8c73572
code review changes to declare functions static
2018-05-08 10:52:28 -07:00
amantley
3a10cacec0
1.added the swing twist code to update the follow rotation in MyAvatar.cpp
...
2.added step.js and cg_lean.js to the developer folder
3.added menu item for toggling the hips following between head and hips
4.added new function to return true if the root of MyAvatar is translating
to be under the head. Used to smooth the path of the hips
5.added computeCounterBalance to MyAvatar.h and cpp
6.added the menu item under developer/avatar to enable debug draw of the base of support in menu.h menu.cpp MyAvatar.h MyAvatar.cpp
7.added head yaw into the calculation of the hip rotation for the center
of gravity. This is already was happening in the deriveBodyFromHMD code
that is default
8.Changed Constants in Avatar constants for the base of support
9.fixed the over rotation of the shoulders
10.fixed scaling problem in cg computation
11.added room for going up on the toes without stretching
2018-05-07 17:41:35 -07:00
vladest
c7ab1f3dbf
Merge branch 'master' into menu-updates
2018-05-05 20:48:40 +02:00
vladest
5a5bfcfe02
Merge branch 'master' into menu-updates
2018-05-05 07:11:39 +02:00
Brad Davis
72526781d9
Additional work on splash screen
2018-05-04 16:40:05 -07:00
Clement
da9fb9c751
Fix non self-sufficient headers
2018-05-04 16:26:41 -07:00
Clément Brisset
39e2a78b1a
Merge pull request #13074 from Atlante45/fix/spec-cam-punchlist
...
Multifrustum queries punchlist
2018-05-04 15:50:44 -07:00
John Conklin II
c7bc479c60
Merge pull request #13094 from hyperlogic/bug-fix/case-14639
...
Fix for crash deep in QML after useFullAvatarURL
2018-05-04 11:33:28 -07:00
Clement
27c471ee97
Move all wire frustums to conical frustums
2018-05-03 18:19:29 -07:00
Stephen Birarda
21396287a4
Merge pull request #12990 from Atlante45/fix/spec-cam-av
...
Add support for multifrustum avatar queries
2018-05-03 18:18:51 -07:00
Anthony J. Thibault
fc9bd7f905
Fix for crash deep in QML after useFullAvatarURL
...
Here we avoid calling FSTReader::downloadMapping() from within MyAvatar::useFullAvatarURL().
This prevents the error case where a QEventLoop is entered during QML execution.
2018-05-03 14:06:06 -07:00
MiladNazeri
8e214d8ee8
Merge pull request #13049 from ctrlaltdavid/21856-d
...
List which contexts each namespace and class is available in
2018-05-03 01:29:14 -07:00
Seth Alves
b68d9ecd68
Merge pull request #12985 from druiz17/attachments-disappearing
...
fixing avatr attachments not being visible when coming out of first person
2018-05-02 18:50:41 -07:00
John Conklin II
7a5fce4315
Merge pull request #12991 from luiscuenca/avatarScript
...
Avatar Scripts
2018-05-02 12:23:13 -07:00
luiscuenca
689fbd2da0
added requested changes
2018-05-02 11:09:17 -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
luiscuenca
2ac7fcadd2
load scripts once on rigReady
2018-05-01 09:37:01 -07:00
luiscuenca
2de982a5a2
Added script types and better script reload
2018-04-30 12:04:35 -07:00
Thijs Wenker
9e086dda3c
Merge branch 'master' of github.com:highfidelity/hifi into feat/hasScriptedBlendshapes
2018-04-30 17:32:49 +02:00
vladest
be22f49c32
Merge branch 'master' into menu-updates
2018-04-28 20:22:28 +02:00
David Rowe
2cc3ed6287
List which contexts each namespace and object is available in
2018-04-28 20:00:28 +12:00
Anthony J. Thibault
c6b12307aa
Added custom jsdoc tags to High Fidelity
...
There are 4 new jsdoc tags:
* @hifi-interface - indicates that this namespace or class is available in Interface Scripts.
* @hifi-assignment-client - indicates that this namespace or class is available in Assignment Client Scripts.
* @hifi-client-entity - indicates that this namespace or class is available in Client Entity Scripts.
* @hifi-server-entity - indicates that this namespace or class is avaialbe in Server Entity Scripts.
These tags should appear just after the @class or @namespace tag. For example:
/**jsdoc
* Your avatar is your in-world representation of you. The <code>MyAvatar</code> API is used to manipulate the avatar.
* For example, you can customize the avatar's appearance, run custom avatar animations,
* change the avatar's position within the domain, or manage the avatar's collisions with other objects.
*
* @namespace MyAvatar
*
* @hifi-interface
* @hifi-client-entity
*
2018-04-26 14:13:42 -07:00
Thijs Wenker
20b9e44844
Merge branch 'master' of github.com:highfidelity/hifi into feat/hasScriptedBlendshapes
2018-04-26 22:37:15 +02:00
vladest
3296ae0db8
Merge branch 'master' into menu-updates
2018-04-26 22:21:40 +02:00
David Rowe
08dc9b133f
Docs to JSDoc review
2018-04-26 21:10:28 +12:00
luiscuenca
12f578c93c
More fixes
2018-04-25 19:46:31 -07:00
luiscuenca
e0770f06b1
Add scripts to Model Packager
2018-04-25 19:35:26 -07:00
Thijs Wenker
bbd31d590b
defaults
2018-04-26 03:12:44 +02:00
Thijs Wenker
8b7a07577c
Merge branch 'master' of git@github.com:highfidelity/hifi.git into feat/hasScriptedBlendshapes
2018-04-26 03:09:44 +02:00
MiladNazeri
0f87e53902
Merge pull request #12963 from MiladNazeri/docs/DocsToJSDocsUpdate
...
Docs/docs to js docs update
2018-04-25 12:26:19 -07:00
Thijs Wenker
484e20ea55
JSDOC - change bool type to boolean, to match JS type
2018-04-25 19:01:18 +02:00
Thijs Wenker
192e48a376
style fix + JSDocs
2018-04-25 13:47:00 +02:00
milad nazeri
4c736b2d62
Fixed defaults
2018-04-24 21:38:48 -07:00
David Rowe
cae9447ac5
Doc review
2018-04-25 15:09:47 +12:00
luiscuenca
165c3214a7
Avatar Scripts
2018-04-24 18:43:53 -07:00
Dante Ruiz
29fce488e4
make some changes
2018-04-24 14:00:52 -07:00
Dante Ruiz
b2925c5843
fixing attachments not being visible when coming out of first person
2018-04-24 13:32:30 -07:00
milad nazeri
23d07fa292
fixed spacing issue
2018-04-24 13:14:55 -07:00
Thijs Wenker
b0187ecfd3
add MyAvatar.hasAudioEnabledFaceMovement API property which is enabled by default
2018-04-24 19:24:23 +02:00
milad nazeri
1121fe8da0
fix tabs
2018-04-23 21:47:53 -07:00
David Rowe
98f43b6a70
Interim JSDoc for MyAvatar - stubs for remainder
2018-04-24 10:47:33 +12:00
David Rowe
719062dd9f
Interim JSDoc for MyAvatar - first pass
2018-04-24 09:10:59 +12:00
milad nazeri
4ac06fe99f
Updating previous jsdocs
2018-04-22 22:22:33 -07:00
milad nazeri
e9b9c05b5d
removed cruft
2018-04-22 08:51:47 -07:00
vladest
6d53512c6c
Merge
2018-04-15 15:24:16 +02:00
Thijs Wenker
2e396fd1b9
Merge branch 'master' of github.com:highfidelity/hifi into feat/hasScriptedBlendshapes
2018-04-12 23:36:27 +02:00
John Conklin II
7bcaa12c50
Merge pull request #12679 from FlameSoulis/getAnimatationRoles-fix
...
Typo corrected: getAnimatationRoles to getAnimationRoles
2018-04-12 10:32:09 -07:00
Thijs Wenker
a0f6afb53d
Merge branch 'master' of github.com:highfidelity/hifi into feat/hasScriptedBlendshapes
2018-04-03 16:45:11 +02:00
John Conklin II
74ca98dc81
Merge pull request #12727 from amantley/triggerRecenterBehaviour
...
Trigger Avatar Recenter Behaviour
2018-04-02 14:42:21 -07:00
John Conklin II
796bd069b2
Merge pull request #12659 from alexiamandeville/script_charcontroller
...
Updating char controller
2018-04-02 13:24:15 -07:00
amantley
3f44b88d2d
added js documentation for the three trigger recenter functionsthat have been added to MyAvatar class
2018-03-29 10:09:51 -07:00
amantley
90d87c5b5d
changed get functions to const in MyAvatar.cpp changed bool variables to atomic for thread safety
2018-03-28 14:00:36 -07:00
amantley
4b1f974561
fixed merge conflict for declaring _hmdLeanRecenterEnabled in MyAvatar.h
2018-03-28 11:57:48 -07:00
amantley
95f1d0e4fa
added get and set functions for the activate recenter variables
2018-03-28 10:33:00 -07:00
Thijs Wenker
3184aa51b1
Merge branch 'master' of github.com:highfidelity/hifi into feat/hasScriptedBlendshapes
2018-03-28 19:15:13 +02:00
amantley
9f3b82a417
added the functions triggerVerticalRecenter,triggerHorizontalRecenter,and triggerRotationRecenter to MyAvatar.h, these allow java script calls to recenter the avatar on the fly
2018-03-27 18:21:14 -07:00
Thijs Wenker
7309f9d82c
Merge branch 'master' of github.com:highfidelity/hifi into feat/hasScriptedBlendshapes
2018-03-23 17:51:43 +01:00
Dante Ruiz
f36a916fb6
revert comment change
2018-03-22 17:44:17 -07:00
Dante Ruiz
4d52caccde
making some more requested changes
2018-03-22 17:39:22 -07:00
Flame Soulis
9d9b08803c
Corrected getAnimatationRoles to getAnimationRoles
2018-03-19 01:17:46 -04:00
samcake
a896e9872c
adressing the avatar vissibility switch
2018-03-14 17:09:23 -07:00
Dante Ruiz
00fa5cfd06
Merge branch 'master' of github.com:highfidelity/hifi into remap-keybaord
2018-03-13 10:08:00 -07:00
MiladNazeri
e054f16c46
Merge pull request #12526 from ctrlaltdavid/21709
...
Entities API JSDoc
2018-03-12 14:40:09 -07:00
Alexia Mandeville
c5b8a2d06e
Revert "Increasing speed on mousescroll - zooming in/out of avatar"
...
This reverts commit 748507f1e3
.
2018-03-12 13:18:02 -07:00
Alexia Mandeville
6ddb91e593
Revert "Updating default mouse pitch/yaw input to be more stabilized"
...
This reverts commit 2598be16f8
.
2018-03-12 13:17:48 -07:00
Alexia Mandeville
748507f1e3
Increasing speed on mousescroll - zooming in/out of avatar
2018-03-10 22:20:00 -08:00
Alexia Mandeville
2598be16f8
Updating default mouse pitch/yaw input to be more stabilized
2018-03-10 21:46:20 -08:00
samcake
10447bf10e
Fix the fact that all avatars should cast shadows, not just MyAvatar. since this is always a SkeletonMOdel class let s just turn it on by default there
2018-03-09 13:04:04 -08:00
Dante Ruiz
c949b44f0c
conforming to coding standards
2018-03-09 10:42:19 -08:00
Dante Ruiz
cfa85b5137
Merge branch 'master' of github.com:highfidelity/hifi into remap-keybaord
2018-03-09 09:37:08 -08:00
David Rowe
b461a422c6
Merge branch 'master' into 21709
2018-03-09 14:18:42 +13:00
NissimHadar
fda32e4aa4
Merge branch 'master' of github.com:highfidelity/hifi into shadowControlsOffZvork
2018-03-08 12:16:36 -08:00
NissimHadar
d1b87b3116
Added missing avatar shadows.
2018-03-08 12:14:42 -08:00
Dante Ruiz
297273de08
Merge branch 'master' of github.com:highfidelity/hifi into remap-keybaord
2018-03-07 13:09:47 -08:00
Dante Ruiz
a70509233e
making small changes
2018-03-07 08:25:27 -08:00
David Rowe
eeb7f5ca8d
Doc review
2018-03-07 17:29:39 +13:00
Thijs Wenker
90b77030d5
MyAvatar.hasScriptedBlendshapes property
2018-03-07 02:55:47 +01:00
Thijs Wenker
866bec0b34
rule -> role
2018-03-07 02:36:07 +01:00
Dante Ruiz
69af12fbc7
chaning speeds
2018-03-06 15:47:01 -08:00
Dante Ruiz
fe363e7f2a
changing keybaord mapping
2018-03-06 14:16:25 -08:00
David Rowe
a782b6779a
Merge branch 'master' into 21709
...
# Conflicts:
# interface/src/ui/overlays/Overlays.h
# interface/src/ui/overlays/Shape3DOverlay.cpp
# libraries/entities/src/EntityItemProperties.cpp
# libraries/entities/src/EntityScriptingInterface.h
2018-02-28 12:42:05 +13:00
SamGondelman
0fca56eef0
Revert "Merge pull request #12407 from NissimHadar/shadowControlsOffZvork"
...
This reverts commit 3201d2ba21
, reversing
changes made to c0f20900a0
.
2018-02-27 11:33:05 -08:00
David Rowe
1fb02d15d7
Entities actions JSDoc
2018-02-27 14:12:20 +13:00
John Conklin II
6316f33282
Merge pull request #12485 from dback2/avatarMotors
...
Add dynamic mode for scripted avatar motor
2018-02-26 11:03:30 -08:00
John Conklin II
3201d2ba21
Merge pull request #12407 from NissimHadar/shadowControlsOffZvork
...
Shadow control for zones, models and shapes
2018-02-26 10:13:40 -08:00
David Back
283b5724ba
CR changes
2018-02-23 15:02:51 -08:00
David Back
da391564a8
CR changes
2018-02-23 15:01:29 -08:00
David Back
a418129bea
simplify to just changing timescales
2018-02-23 15:00:23 -08:00
David Back
083e461eb0
Merge branch 'master' of https://github.com/highfidelity/hifi into avatarMotors
2018-02-22 17:20:49 -08:00
David Back
902672f85e
add dynamic mode for scripted avatar motor
2018-02-22 17:20:36 -08:00
Nissim Hadar
bf4ba07b72
Added parameters to canCastShadow - still sucks.
2018-02-21 12:36:34 -08:00
Zach Fox
74655bde49
Fix skeletonmodelURLchanged signal
2018-02-21 12:12:20 -08:00
Nissim Hadar
4c1f22f84e
Models and Avatar cast shadows (box doesn't, yet).
2018-02-16 14:01:33 -08:00
Nissim Hadar
194c7f4101
WIP - for review.
2018-02-16 09:28:15 -08:00
Bradley Austin Davis
33690e09b7
Merge pull request #12399 from samcake/blue
...
Introducing group culling to avoid the avatar model to be partially culled
2018-02-14 15:38:52 -08:00
samcake
1d3ae1b187
Work in progress to get the render items beeing tagged correctly for groupCulled
2018-02-13 17:50:01 -08:00
Dante Ruiz
45f09dde96
address tony's requests
2018-02-13 10:32:15 -08:00
Dante Ruiz
1a25332575
fix indenting
2018-02-12 10:59:25 -08:00
Dante Ruiz
3c84318918
fixing merge conflict
2018-02-12 10:57:55 -08:00
Dante Ruiz
d381beb213
cleaning up code
2018-02-12 10:53:42 -08:00
Dante Ruiz
5325b22b01
working on lambdas
2018-02-09 16:46:11 -08:00
Dante Ruiz
b3a3d92131
Merge branch 'master' of github.com:highfidelity/hifi into fix-camera-update
2018-02-09 10:31:43 -08:00
Dante Ruiz
beb41495d5
save avatarUrl when setting new skeletonModelUrl
2018-02-09 09:35:24 -08:00
Seth Alves
3e913cfcfe
AvatarActionHold has positional and rotational targets
2018-02-07 10:45:13 -08:00
Dante Ruiz
e87067f93d
fix variable naming and edge case
2018-02-05 15:31:37 -08:00
Dante Ruiz
d593e7107c
fix merge conflict
2018-02-02 13:29:31 -08:00
Seth Alves
861497e907
Merge branch 'master' of github.com:highfidelity/hifi into cauterize-head-av-entities-1
2018-02-02 08:56:18 -08:00
Seth Alves
14d5029f4d
only update cauterization of child entities when something relevant changes
2018-02-02 08:56:11 -08:00
Anthony J. Thibault
b23f98b311
Removal of hips offset shifting from AnimInverseKinematics node
...
With the addition of the hips IK target, the hips offset shifting code is no longer necessary.
This PR should not effect any behavior, but it removes this unused code from the animation system.
2018-01-31 17:56:33 -08:00
Seth Alves
64a46bf5df
merge from upstream
2018-01-31 10:43:41 -08:00
Bradley Austin Davis
b97c938544
Merge pull request #12216 from thoys/feat/js-script-console-auto-complete
...
JS scripting console auto-complete
2018-01-31 10:39:51 -08:00
MiladNazeri
3585bead96
Merge pull request #12037 from humbletim/Leopoly_Phase1_004_RayPick-Changes
...
Leopoly_Phase1_004_RayPick-Changes
2018-01-29 14:02:38 -08:00
Dante Ruiz
264aa7f4d2
Merge pull request #12191 from druiz17/entity-attachment-bookmark
...
Bookmark avatar entities
2018-01-29 12:55:35 -08:00
Seth Alves
98e0e663e7
Merge branch 'master' of github.com:highfidelity/hifi into cauterize-head-av-entities-1
2018-01-29 12:36:37 -08:00
Dante Ruiz
a670a0b9a2
Merge branch 'master' of github.com:highfidelity/hifi into entity-attachment-bookmark
2018-01-29 11:25:26 -08:00
Seth Alves
17ec79f182
add breaks in case statements that used to have returns
2018-01-26 10:36:16 -08:00
Sam Gateau
51dac04374
Introducing the tag in lieu of the vsisiblity mask
2018-01-26 02:59:43 -08:00
Seth Alves
b6f7d2eb89
print warnings if head position contains not-a-number
2018-01-25 15:15:59 -08:00
Thijs Wenker
45487a1e45
Merge branch 'master' of github.com:highfidelity/hifi into feat/js-script-console-auto-complete
...
# Conflicts:
# interface/CMakeLists.txt
2018-01-25 22:51:35 +01:00
Dante Ruiz
2cbcc28bd4
only call init animGraph once
2018-01-24 10:44:04 -08:00
Seth Alves
1cbc2e31cf
merge from upstream
2018-01-23 15:21:03 -08:00
Dante Ruiz
071f7d54d9
Merge branch 'master' of github.com:highfidelity/hifi into fix-camera-update
2018-01-23 14:44:26 -08:00
Dante Ruiz
6a03557801
don't override sensorToWorldMatrix
2018-01-23 14:44:10 -08:00
humbletim
65455e7b50
Merge remote-tracking branch 'upstream/master' into Leopoly_Phase1_004_RayPick-Changes
2018-01-23 14:57:33 -05:00
Brad Davis
8ae0b09ea2
Merge remote-tracking branch 'upstream/master' into android
2018-01-22 15:07:30 -08:00
Thijs Wenker
e8955fcd32
Merge branch 'master' of github.com:highfidelity/hifi into feat/js-script-console-auto-complete
2018-01-22 23:37:24 +01:00
Thijs Wenker
f4e6606c8d
fix MyAvatar JS API typo
2018-01-22 19:01:13 +01:00
Seth Alves
31c007d167
more backwards logic, added withViewVisibilityMask call in ItemKey
2018-01-18 14:15:30 -08:00
Seth Alves
fb974b0b9c
attempt to straighten out use of view-visibility masks
2018-01-18 10:09:23 -08:00
Anthony J. Thibault
c5efcf5d6a
Bug fix for cocked head after playing an input recording.
...
I thought this was the cause of the Manuscript case 11454 but apparently not.
2018-01-18 09:21:15 -08:00
Seth Alves
76ef3d7c7d
pull from upstream
2018-01-18 07:01:50 -08:00
Brad Davis
cbb2d9d854
Merge remote-tracking branch 'upstream/master' into android
2018-01-17 17:51:39 -08:00
Dante Ruiz
eadd3b48bd
bookmark avatar-entities-done
2018-01-17 15:42:07 -08:00
Dante Ruiz
8f22c719b3
Merge pull request #12099 from sethalves/run
...
allow avatar walk-speed to be set from javascript
2018-01-17 13:53:13 -08:00
Seth Alves
33c586de60
Merge pull request #12188 from hyperlogic/feature/small-anim-refactor
...
Remove dangerous "Use Anim Pre and Post Rotations" menu item
2018-01-17 13:41:51 -08:00
Bradley Austin Davis
9f6c2c3cdd
Merge remote-tracking branch 'upstream/master' into android
2018-01-17 11:44:00 -08:00
Dante Ruiz
ebb09f4271
Merge branch 'master' of github.com:highfidelity/hifi into entity-attachment-bookmark
2018-01-17 11:04:46 -08:00
Dante Ruiz
3abb3d6fcc
trying to add offset
2018-01-17 11:04:32 -08:00
Seth Alves
1e847cf32e
Merge branch 'master' of github.com:highfidelity/hifi into run
2018-01-17 08:08:13 -08:00
Seth Alves
d3084dc0df
defang
2018-01-17 07:11:27 -08:00
Anthony J. Thibault
51ea2632c0
Remove Avatar UseAnimPreAndPostRotations option.
...
This should always be true and can lead to hard to diagnose bugs if it is ever set to false.
2018-01-16 17:27:19 -08:00
Dante Ruiz
7707e68234
bookmarks add back avatar-entities
2018-01-16 15:37:03 -08:00
Brad Davis
58530c595a
Pre-merge cleanup
2018-01-14 19:48:12 -08:00
Dante Ruiz
5b82c7bc41
fix merge conflict
2018-01-12 11:00:19 -08:00
Brad Davis
7579451c24
Merge remote-tracking branch 'upstream/master' into android
2018-01-11 23:31:45 -08:00
Seth Alves
e7a3d98ae5
don't draw head-descendent entities when in 1st-person camera mode
2018-01-11 19:34:54 -08:00
Dante Ruiz
96a97b5938
added model transform override
2018-01-11 16:41:45 -08:00
Seth Alves
c09f644612
Merge branch 'master' of github.com:highfidelity/hifi into run
2018-01-11 09:09:11 -08:00
Seth Alves
aefd294bf2
Merge pull request #12107 from hyperlogic/bug-fix/better-third-person-camera
...
Improve stability for HMD third person avatars
2018-01-10 17:46:47 -08:00
Brad Davis
560fd38547
Merge remote-tracking branch 'upstream/master' into android
2018-01-10 17:31:50 -08:00
Brad Davis
97593bc4d8
Fixing compiled resource access
2018-01-10 17:18:12 -08:00
Anthony J. Thibault
ae997928c1
Bug fix to prevent wrists entering the avatar's torso.
...
This was inadvertently disabled in PR #11978 .
2018-01-10 11:51:44 -08:00
Dante Ruiz
c4253f3b3b
Merge branch 'master' of github.com:highfidelity/hifi into soft-entities
2018-01-09 15:31:38 -08:00
Anthony J. Thibault
e28f13c1db
Merge branch 'master' into bug-fix/better-third-person-camera
2018-01-09 10:34:04 -08:00
Seth Alves
d0ddbc0092
fix warning
2018-01-08 16:52:07 -08:00
Seth Alves
8ed72dd276
Merge branch 'master' of github.com:highfidelity/hifi into run
2018-01-08 15:53:21 -08:00
Seth Alves
ad389e5072
make avatar walk-speed adjustable from js. add a tablet button to control walking vs running
2018-01-08 15:27:41 -08:00
Anthony Thibault
f4c38b91b3
Merge pull request #12071 from luiscuenca/handTouch
...
Touch feeling for near grab
2018-01-08 12:50:30 -08:00
Seth Alves
1c94c9c11d
Merge branch 'master' of github.com:highfidelity/hifi into run
2018-01-08 12:27:42 -08:00
Seth Alves
f1c03b2d40
adjust RENDER_HEAD_CUTOFF_DISTANCE so that I don't see my head when I run
2018-01-08 12:27:35 -08:00
Anthony J. Thibault
61edd83987
Improve stability for HMD third person avatars
...
Previously there was a hack where the sensor to world matrix was NOT updated in HMD mode if the camera was third person.
The reason the hack existed was to make third person camera less nauseating for users.
However this had a major drawbacks.
It led to avatar hip spasms when the user turned around in the tracked volume, while in third person camera.
To fix this issue properly, the hack which prevented updating the sensor to world matrix was removed, and now the third person camera is now computed in sensor space relative to the hmd.
2018-01-08 11:26:29 -08:00
John Conklin II
d660bbf6e5
Merge pull request #12101 from hyperlogic/bug-fix/avatar-sit
...
Bug fix for sit script.
2018-01-08 09:59:17 -08:00
Seth Alves
f6fed444b0
Merge branch 'master' of github.com:highfidelity/hifi into run
2018-01-08 07:49:09 -08:00
Howard Stearns
724db93389
Merge pull request #12002 from howard-stearns/consistent-goToUser
...
Consistent go to user
2018-01-07 11:07:39 -08:00
luiscuenca
8a7c68829d
Optimizations, cleanings and globals
2018-01-07 11:56:30 -07:00
Anthony J. Thibault
243dcb88ee
Bug fix for sit script.
2018-01-05 16:20:44 -08:00
luiscuenca
4f6a804fd1
Fix magic numbers
2018-01-05 16:27:48 -07:00
Seth Alves
3cd0ec3336
default run speed is faster, advanced movement on by default
2018-01-05 13:20:41 -08:00
luiscuenca
ef0164c272
Fix tabs
2018-01-04 11:43:51 -07:00
luiscuenca
28d9409bf0
Fix default hand poses
2018-01-04 11:37:37 -07:00
Dante Ruiz
6fa3446c57
joints are being relayed to children
2018-01-02 13:54:13 -08:00
luiscuenca
49bd62ca29
Touch feeling for near grab
2017-12-29 14:04:36 -07:00
Stephen Birarda
e3cbfd92a0
Merge remote-tracking branch 'upstream/stable' into 61-1-merge-back
2017-12-22 15:48:04 -08: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
howard-stearns
d730b7b87b
consistent goToUser behavior in PAL, and be able to go to flying user.
2017-12-15 17:00:54 -08:00
Anthony Thibault
f3fcac8e58
Merge pull request #11903 from Delanir/IPD8258
...
8258 IPD Tertiary Task List: Changing to Smaller Avatar Does not Resize Tablet
2017-12-15 15:37:27 -08:00
Anthony J. Thibault
c4a7f4843a
Much more stable hips IK target.
...
Target is now estimated in sensor space from the head, which is very deterministic and not prone to feedback from the IK system.
Previous the hip was estimated from accumulated IK error deltas, which was not stable, as the error would tend to accumulate if the IK targets could not be reached.
2017-12-13 11:12:32 -08:00
Daniela Fontes
46583a90be
Change abs to fabsf and other corrections requested.
2017-12-09 00:14:36 +00:00
Anthony J. Thibault
542af47e9e
Fix for hand controller avatar scaling.
...
* Added getDomainMaxScale() and getDomainMinScale() to JS api.
* Updated scaleAvatar controller module to use this to prevent scaling past the limits.
* Made sure that getDomainMaxScale() getDomainMinScale() and getUnscaledEyeHeight are thread safe,
so that they can be invoked on the script thread.
* Added signals to Model class that can be used to let observers know when the Rig has finished initializing it's skeleton.
and also when the skeleton is no longer valid. These hooks are used to cache the unscaled eye height of the avatar.
2017-12-07 17:08:13 -08:00
Andrew Meadows
ed231fa4a1
Merge pull request #11894 from hyperlogic/bug-fix/flying
...
Improvements to HMD flying
2017-12-07 16:31:33 -08:00
Anthony J. Thibault
47b52238d9
code review feedback
2017-12-07 10:49:23 -08:00
Anthony J. Thibault
68ad27a38d
Merge branch 'master' into bug-fix/flying
2017-12-07 10:28:13 -08:00
Anthony J. Thibault
fbcecbfc89
Merge branch 'master' into feature/domain-limited-height
2017-12-07 10:01:33 -08:00
Daniela Fontes
9bc165d8b4
Changing to Smaller Avatar Resizes Tablet
2017-11-30 18:49:53 +00:00
Anthony J. Thibault
a4d70e89df
hmd turn roll tuning
...
* Tighten action motor timescale while flying. This should cause less drift as the user
changes direction and should lead to more comfort and control.
* Hmd head roll is only enabled if you are forward or backward faster then 2 meters per
second. This should prevent un-intentional turning/rolling when hovering or moving at
slow speeds.
* Documented hmdRoll tuning parameters accessible from JavaScript.
* Removed roll feathering code, because it is non-linear and can perhaps induce nausea.
* Tuned default dead spot and turning speeds to match Eagle Flight's defaults.
2017-11-28 17:20:26 -08:00
Anthony J. Thibault
7327b79ce3
WIP
2017-11-28 11:37:58 -08: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
Anthony J. Thibault
b3896f664d
Made increaseScale and decreaseScale more responsive at limits
2017-11-22 14:45:52 -08:00
Anthony J. Thibault
9f54ce55f3
Change domain setting from min/max avatar scale to min/max avatar height
...
* Domain settings version has been bumped from version 2.0 to 2.1
* Old domain settings for avatar scale will be auto-converted to avatar height
* Avatar code has been changed so that limitDomainScale() works with the new height limits
* Avatar getUnscaledEyeHeight() was added to C++.
* MyAvatar.getHeight() was added to JS.
2017-11-21 13:25:47 -08:00
ZappoMan
b44ced4c21
Merge branch 'master' of https://github.com/highfidelity/hifi into entityItemCleanup
2017-11-20 17:19:18 -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
93fd2a6a6b
clear garbage out of avatar-entity settings array before writing it to disk. when changing domains, re-rez avatar-entities after octree is cleared
2017-11-15 20:10:05 -08:00
luiscuenca
355b465109
make leaveDomain slot private
2017-11-09 16:05:53 -07:00
luiscuenca
10f484c668
6944 Avatar scale is saved across domains
2017-11-09 12:21:23 -07:00
MissLiviRose
45e58b93e5
add skeleton scale change signal so scripts can detect scaling change
2017-11-08 14:23:49 -08:00
ZappoMan
b5199220ab
cleanup SpatiallyNestable Velocity to match WorldVelocity naming
2017-11-02 17:07:53 -07:00
ZappoMan
afaad5fcd7
Merge branch 'master' of https://github.com/highfidelity/hifi into entityItemCleanup
2017-11-02 13:39:51 -07:00
Seth Alves
12792c3821
stop drawing ignored avatars, even if PAL is still open
2017-11-01 17:26:00 -07:00
ZappoMan
f63db42c0e
migrate SpatiallyNestable::getOrientation to getWorldOrientation, remove redundant getRotation
2017-10-28 10:14:25 -07:00
ZappoMan
a7a0f03ede
rename SpatiallyNestable::getPosition() to SpatiallyNestable::getWorldPosition()
2017-10-27 18:39:17 -07:00
luiscuenca
f0eab58ebd
Bug 6719 fixed
2017-10-26 09:41:24 -07:00
Zach Fox
1f6d989044
Merge branch 'RC-57' of https://github.com/highfidelity/hifi into mergeRC57IntoMaster_20171023
2017-10-23 17:37:43 -07:00
Seth Alves
f2cb5d4aff
clean-up concept of puffed queryAACube
2017-10-19 13:19:13 -07:00
David Rowe
fcc7a3e440
Code review
2017-10-18 21:08:10 +13:00
Seth Alves
f1abb0cd55
don't send avatar-entity updates for queryCube-changes, because avatar-entities don't use them
2017-10-17 19:01:24 -07:00
David Rowe
ed1c974f75
Use MyAvatar.SELF_ID instead of Uuid.SELF
2017-10-17 15:58:51 +13:00
Bradley Austin Davis
4dcce6ef45
Merge pull request #11578 from hyperlogic/bug-fix/delete-on-wrong-thread
...
Crash/Deadlock fix: Web3DOverlay could be destroyed on wrong thread.
2017-10-12 17:37:05 -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
Seth Alves
23f41457be
Revert "Revert "fix importing of avatar entities""
...
This reverts commit 28a8b18060
.
2017-10-09 11:52:43 -07:00
Seth Alves
28a8b18060
Revert "fix importing of avatar entities"
2017-10-07 16:54:05 -07:00
Seth Alves
b96fac2f00
Merge branch 'master' of github.com:highfidelity/hifi into import-av-entities
2017-10-05 11:43:25 -07:00
Seth Alves
53a49272dc
fix importing of avatar-entities
2017-10-05 11:43:19 -07:00
SamGondelman
0614fd9b4f
fix AvatarManger::findRayIntersection from script thread
2017-10-03 15:31:49 -07:00
Andrew Meadows
8d2153d2f3
cleanup debug stats, use more correct names
2017-10-02 13:08:17 -07:00
Andrew Meadows
171151b92a
use new form of MovingEntitiesOperator ctor
2017-09-29 11:34:32 -07:00
Seth Alves
913d3c4d12
Merge pull request #11422 from hyperlogic/feature/ant-man2
...
Secondary IPD fixes
2017-09-26 11:53:45 -07:00
Anthony J. Thibault
09c61deda8
Fixes for Vive puck calibration
2017-09-20 15:41:49 -07:00
Cain Kilgore
322b7fc060
Cleanup from Merge
2017-09-20 23:37:33 +01:00
Cain Kilgore
796e9e7ab3
Fixed things
2017-09-20 23:23:30 +01:00
Anthony J. Thibault
0757f513af
Merge branch 'master' into feature/ant-man
2017-09-18 11:36:39 -07:00
Anthony Thibault
c7fc45e0ae
Merge pull request #11375 from hyperlogic/bug-fix/avatar-attachments-rendering
...
Avatar Attachments now render correctly
2017-09-15 13:28:00 -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
Seth Alves
8a49edbecb
code review
2017-09-15 10:08:35 -07:00
Cain Kilgore
67a5c75a0d
Doesn't need to be here anymore
2017-09-15 06:08:22 +01:00
Cain Kilgore
c2e342ddac
Gravity Implementation
2017-09-15 06:03:56 +01:00
Seth Alves
d89f2b77da
rework ScriptEngine lifetimes using 'smart' pointers
2017-09-14 10:42:21 -07:00
Cain Kilgore
72ca62c4af
Initial Commit - more to do.
2017-09-14 00:25:11 +01:00
Dante Ruiz
fec8482b69
Merge branch 'master' of github.com:highfidelity/hifi into feature/ant-man
2017-09-05 16:26:51 -07:00
Anthony J. Thibault
23ff1b9ead
Fixes for scaling controller display
...
Adds MyAvatar.sensorToWorldScaleChanged signal.
2017-09-05 15:03:41 -07:00
Dante Ruiz
9f2bdce190
Merge pull request #11005 from Armads/WL21424
...
WL21424 hide head attachments when head joint is hidden
2017-09-05 13:04:14 -07:00
Anthony J. Thibault
a1b94fd9d2
Bug fixes for laser offset and avatar hold action
2017-08-31 17:26:00 -07:00
Anthony J. Thibault
c9cdaadeb5
Better scale support in SpatiallyNestable class.
...
Previously avatar used SpatiallyNestable scale to keep track of model rendering scale.
It now uses a new member variable _modelScale instead. This is important because the
notion of "Avatar" space does NOT include scale, so this is now reflected correctly in
the SpatiallyNestable class.
Similarly, EntityItems no longer stuff dimensions into the SpatiallyNestable scale
field. a new _dimensions member variable is used instead. The SpatiallyNestable scale
field for entities should always be one.
Parent joints can now have scale if getAbsoluteJointScaleInObjectFrame() returns a non-zero scale.
This is used in the case of the faux SENSOR_TO_WORLD_MATRIX_INDEX joint.
Overlays now ignore the SpatiallyNestable scale, and render using only orientation, position and dimensions.
Added qDebug stream support for Transform class.
2017-08-30 15:46:36 -07:00
Anthony J. Thibault
9cd8b6991e
Merge branch 'master' into feature/ant-man
2017-08-30 08:58:55 -07:00
Chris Collins
47a2e57e26
Merge pull request #10625 from humbletim/21180-C++
...
CR 21180-C++ Camera app -- core changes
2017-08-30 07:20:00 -07:00
Anthony J. Thibault
5230b03f4f
clang warning fixes
2017-08-28 10:35:03 -07:00
Anthony J. Thibault
573985c7c9
Merge branch 'master' into feature/ant-man
2017-08-28 09:27:04 -07:00
Anthony J. Thibault
937f400534
Bug fixes for Avatar::getEyeHeight() when no feet joints are present
2017-08-25 18:23:19 -07:00
Anthony J. Thibault
3ac09b7716
Fix run blends and removed debug draws
2017-08-25 15:48:53 -07:00
Anthony J. Thibault
4f830cf1dc
Calculate jump speed based on canonical jump height.
2017-08-25 15:34:51 -07:00
Anthony J. Thibault
e0ff7f5f40
Moved speed constants into AvatarConstants.h
2017-08-25 10:47:54 -07:00
Anthony J. Thibault
dd9ee28b18
Adjust avatar walking and flying speed based on sensor scale factor
2017-08-25 10:10:23 -07:00
Armads
b30562b9ce
Adding checks to hide avatar attachments to other head and facial joints
2017-08-25 10:25:34 -04:00
Brad Davis
e817d3ced4
Threaded rendering & entity rendering refactor
2017-08-24 13:34:34 -07:00
humbletim
9348048387
Merge remote-tracking branch 'upstream/master' into 21180-C++
2017-08-24 16:23:47 -04:00
Anthony J. Thibault
d62a0ea8ff
Correct controller offsets with sensor scaling
2017-08-22 11:43:39 -07:00
Anthony J. Thibault
ffdb10681e
Fix for laser rendering and positioning with sensor scale
2017-08-22 11:07:04 -07:00
Anthony J. Thibault
de2262968e
Fix for CAMERA_RELATIVE controllers with sensor scale
2017-08-22 09:44:32 -07:00
Anthony J. Thibault
8e56404c40
Fixes for flying and rotation re-centering in wikiplanet
2017-08-21 17:42:25 -07:00
Anthony J. Thibault
963ddce7bc
Use eye-height to match user and avatar scales, follow fixes
...
Fix postPhysicsUpdate to properly transform follow displacement into sensor frame.
2017-08-21 17:42:24 -07:00
Anthony J. Thibault
80b660b258
Added userHeight accessors and preference
...
Also made Avatar::getHeight thread-safe
2017-08-21 17:42:23 -07:00
Anthony J. Thibault
d196743986
Added Avatar::getHeight() method
2017-08-21 17:42:22 -07:00
Anthony J. Thibault
a0d72f08ac
Fix for incorrectly scaled avatar collision on startup
2017-08-21 17:42:21 -07:00
SamGondelman
86cc938a47
Merge remote-tracking branch 'upstream/master' into sharks
2017-08-16 09:54:12 -07:00
SamGondelman
a641fb7a7f
rename qvector findRayIntersection to avoid script conflicts
2017-08-15 18:03:52 -07:00
Anthony Thibault
342f8acff5
Merge pull request #11176 from hyperlogic/feature/improve-hand-body-collision
...
Improve avatar hand vs body collision
2017-08-15 13:43:21 -07:00
Anthony J. Thibault
6e0ddadb29
Fix for array size.
2017-08-15 11:45:22 -07:00
Anthony J. Thibault
04006a9f76
code review feedback
2017-08-15 11:19:41 -07:00
Anthony J. Thibault
cd57c0706a
more warning fixes
2017-08-11 17:46:50 -07:00
Anthony J. Thibault
9e1218b4a4
Use k-dop collision to prevent hands from entering body.
2017-08-11 14:50:00 -07:00
Anthony J. Thibault
49adf04913
Added Developer > Avatar > Show Detailed Collision menu option
2017-08-10 16:36:09 -07:00
Anthony J. Thibault
ae98974d79
improve 14-dop generation for avatar joint collision
...
Also added debug rendering functionality.
2017-08-10 15:52:51 -07:00
SamGondelman
4c55849290
merge from master
2017-08-10 15:43:23 -07:00
Sam Gateau
79f3be1efe
Merge pull request #11021 from Zvork/fade2
...
Fade dissolve effect JUST AVATARS
2017-08-10 13:48:30 -07:00
Anthony J. Thibault
4d845bd208
Bug fix for HMD roll causing avatar yaw when standing still
...
HMD roll should only cause the avatar to yaw when actively driving.
2017-08-09 15:52:27 -07:00
SamGondelman
3645bf04b6
possibly fix most annoying crash
2017-08-08 18:10:53 -07:00
Seth Alves
af1e27dc36
Merge pull request #11053 from hyperlogic/feature/secondary-pose-support
...
Improved support for Vive Trackers on biceps
2017-08-07 13:11:48 -07:00
Anthony J. Thibault
98bbe887b9
Merge branch 'master' into feature/secondary-pose-support
2017-08-04 16:11:13 -07:00
Anthony J. Thibault
85500841fb
Crash fix for avatars that are missing "Hips", "Head" and other required joints.
2017-08-04 11:19:09 -07:00
Anthony Thibault
8a87ebd2a8
Merge pull request #11036 from AndrewMeadows/walkabout
...
fix bugs preventing avatar from walking on spherical planet
2017-08-01 16:36:35 -07:00
humbletim
3a9b8c02a6
* disable Avatar "follow" / recentering behavior when using HMD + "View > Mirror"
...
* restore access to "View > Mirror" from HMD mode
2017-08-01 13:41:28 -04:00
Anthony J. Thibault
2383933252
Merge branch 'master' into feature/secondary-pose-support
2017-07-31 10:55:40 -07:00
Olivier Prat
490aad2a06
Merged from master
2017-07-31 12:00:35 +02:00
humbletim
3bcbec87e0
Merge remote-tracking branch 'upstream/master' into 21180-C++
2017-07-30 16:15:34 -04:00
Andrew Meadows
3ec9640ea1
fix calculation of walk motor for HMD
2017-07-28 09:22:47 -07:00
David Rowe
c1d179eba1
Add "dominant hand changed" signal
2017-07-28 14:20:49 +12:00
Brad Hefta-Gaub
d572510770
Merge pull request #11009 from AndrewMeadows/fix-QueryAACube
...
update EntityItem bounding cube when on changed dimensions
2017-07-27 18:21:06 -07:00
Anthony J. Thibault
bcb4cc32d2
another clang error fix
2017-07-27 10:26:10 -07:00
Anthony J. Thibault
778c8bf9a7
clang build error fix
2017-07-27 10:08:35 -07:00
Anthony J. Thibault
8f5c41af2d
changed _controllerPoseMap from unordered_map to map
2017-07-27 09:44:37 -07:00
Anthony J. Thibault
78c6564174
Merge branch 'master' into feature/secondary-pose-support
2017-07-27 09:09:32 -07:00
Ryan Huffman
9421e6ebb6
Merge pull request #11029 from cain-kilgore/dominant-hands
...
WL 21453 - Add a "Dominant Hand" setting
2017-07-25 08:01:31 -07:00
Anthony J. Thibault
33a1d6e225
Merge branch 'master' into feature/secondary-pose-support
2017-07-24 17:27:33 -07:00
Andrew Meadows
8c55476c65
fix motor direction when walking upside down
...
also maintain worldUp and remove unnecessary cruft
2017-07-24 16:00:13 -07:00
Andrew Meadows
f598b1f1f5
fix spelling typo in comment
2017-07-24 16:00:13 -07:00
Andrew Meadows
29be9aee65
move nextAttitude() from AvatarData to MyAvatar
2017-07-24 16:00:13 -07:00
Andrew Meadows
f0871c6878
avoid unnecessary and expensive gets
2017-07-24 16:00:13 -07:00
Cain Kilgore
9ff7891c88
Fixed reference error, Gustavo should build now.
2017-07-24 19:56:02 +01:00
Cain Kilgore
64ba159adf
Updating Small Reference
2017-07-24 19:12:14 +01:00
Cain Kilgore
fd2264f7c9
removed duplicate
2017-07-24 19:05:49 +01:00
Cain Kilgore
e6fd85f45a
Some code cleanup
2017-07-24 19:02:40 +01:00
Cain Kilgore
42742ba1f9
Changed the Return to a String "left/right" instead.
2017-07-24 18:31:16 +01:00
Cain Kilgore
630922dd95
Dominant Hands Branch Initial Commit
...
Adds a new option in the Avatar Basics section of the Avatar Settings.
API Accessible Functions:
MyAvatar.getUseAlternativeHand()
MyAvatar.setUseAlternativeHand()
Defaults to false (Right Hand). Will return True if set to Left Hand.
2017-07-24 06:18:24 +01:00
vladest
33a8ab2d58
Adjusted according discussion in PR
2017-07-21 18:18:23 +02:00
Olivier Prat
7bc7b1eabc
Merge branch 'master' of git://github.com/highfidelity/hifi into fade2
2017-07-21 09:27:30 +02:00
Andrew Meadows
a8dac0cb79
don't send constant updates for grabbed objects
2017-07-20 15:45:50 -07:00
vladest
4b94d24c29
Change default mouse speeds for avatar
2017-07-18 23:51:19 +02:00
humbletim
f9e0e616f7
Merge remote-tracking branch 'upstream/master' into 21180-C++
2017-07-18 17:34:39 -04:00
humbletim
190e1ac7d9
move/scope viewOrientation into the related code block
2017-07-18 17:22:16 -04:00
Brad Hefta-Gaub
2dfaf7b02a
Merge pull request #10862 from NeetBhagat/5783-Restarting-Interface-allows-you-to-have-Avatar-Scale-Too-Big
...
Case 5783: Restarting Interface allows you to have Avatar Scale Too Big
2017-07-18 08:51:13 -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
NeetBhagat
ff51fa7199
Resolved review comments.
2017-07-18 10:42:01 +05:30
Olivier Prat
0123e2936b
Merge branch 'master' of git://github.com/highfidelity/hifi into fade
2017-07-17 11:44:10 +02:00
Anthony J. Thibault
c85e187c61
first stab at secondary target pose support
2017-07-13 18:12:33 -07:00
Anthony J. Thibault
fe711ccbe9
Refactored how controller poses are stored in MyAvatar.
2017-07-13 15:01:14 -07: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
Cain Kilgore
f91a8c0f53
Merge branch 'master' of https://github.com/highfidelity/hifi into avatar-scaler
2017-07-13 21:25:39 +01:00
Cain Kilgore
521babb6bd
Avatar Scaler - should be PR Ready.
2017-07-13 19:18:51 +01:00
NeetBhagat
11f8f5cffc
Solve : implicit conversion from ‘float’ to ‘double’ issue
2017-07-13 18:26:52 +05:30
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
Seth Alves
ddf2312dc6
code review
2017-07-12 12:45:52 -07:00
Stephen Birarda
f6d9a79fb5
Revert "Revert "fix for invisible avatars after radius ignore""
2017-07-12 10:36:53 -07:00
Olivier Prat
2f9885870b
First merge with Sam's fader branch with custom pipeline support in shape plumber
2017-07-12 17:29:21 +02:00
Seth Alves
c52e7e180a
use const AudioInjectorPointer& in some places
2017-07-11 19:42:03 -07:00
Seth Alves
dbd46fc4b8
Merge branch 'master' of github.com:highfidelity/hifi into audio-injector-smart-pointers
2017-07-11 17:48:29 -07:00
Andrew Meadows
782155e9ea
Merge pull request #10876 from Atlante45/fix/ac-crash
...
Fix AC crash (buffer overflow)
2017-07-11 14:26:08 -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
NeetBhagat
e08e9d6821
The current scale of avatar should not be more than domain's max_avatar_scale and not less than domain's min_avatar_scale.
2017-07-11 20:42:00 +05:30
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
NeetBhagat
1a47383d4f
Merge branch 'master' into 5783-Restarting-Interface-allows-you-to-have-Avatar-Scale-Too-Big
2017-07-11 19:23:46 +05:30
NeetBhagat
dd2dbd9b39
Initial Commit to resolve problem :> When Max Avatar scale is set in Sandbox -> setting, take that value as default max value
2017-07-10 18:26:33 +05:30
Liv
060e3a9c5a
Add signal for avatar skeleton changing
2017-07-07 11:48:12 -07:00
NeetBhagat
685b1c2445
Merge branch 'master' into 5783-Restarting-Interface-allows-you-to-have-Avatar-Scale-Too-Big
2017-07-07 11:30:54 +05:30
Atlante45
95abbd0ad4
Prevent Interface from trying to send packets bigger than an MTU
2017-07-05 17:08:04 -07:00
Dante Ruiz
b86a8b8338
Merge branch 'master' of github.com:highfidelity/hifi into vive-in-desktop
2017-07-05 18:27:33 +01:00
NeetBhagat
440b941730
Merge branch 'master' into 5783-Restarting-Interface-allows-you-to-have-Avatar-Scale-Too-Big
2017-07-05 18:47:13 +05:30
Seth Alves
70a7b302fc
Merge pull request #10860 from jherico/deadlock_guards
...
Don't use blocking connections on the main thread
2017-07-03 09:05:56 -07:00
humbletim
9053531bda
fix missing viewPosition + offset
2017-07-03 12:03:46 -04:00
humbletim
026e05f80c
Merge remote-tracking branch 'upstream/master' into 21180-C++
2017-07-03 11:55:59 -04:00
Dante Ruiz
6f30cb1825
Merge branch 'master' of github.com:highfidelity/hifi into vive-in-desktop
2017-07-01 00:48:49 +01:00
Dante Ruiz
577969481d
head puck working
2017-06-30 23:43:12 +01:00
Ryan Downe Karpf
ddce264dd9
Merge pull request #10819 from Menithal/21387
...
WL21387 - Avatar Bookmarks now save Attachment Data and scale PR#2
2017-06-30 14:57:04 -07:00
Brad Davis
6fc82bb351
Switch to preprocessor macro for blocking invokes to capture function information
2017-06-30 11:36:24 -07:00
NeetBhagat
5ff0bc409b
solve the bug : Avatar scale value should be 3.0 ,if user has set scale value > 3.0 previously .
2017-06-30 15:40:38 +05:30
Brad Davis
b52dd7b822
Don't use blocking connections on the main thread
2017-06-29 20:45:17 -07:00
Menithal
232382e6d0
21387: Fixed issue with av scaling via script
2017-06-26 19:52:11 +03:00
David Rowe
bed0e8ef87
Merge branch 'master' into 21396
...
# Conflicts:
# interface/src/avatar/MySkeletonModel.cpp
2017-06-26 12:07:25 +12:00
Menithal
359642eb0e
Refining and allowing for Avatar Scale to be saved as well
2017-06-25 23:55:47 +03:00
anshuman64
8d5bdd2d84
Merge pull request #10730 from hyperlogic/feature/pole-vector
...
Pole vector support for elbow and knee joints
2017-06-24 23:08:22 -07:00
humbletim
f6262ad54d
Merge remote-tracking branch 'upstream/master' into 21180-C++
2017-06-23 16:37:10 -04:00
David Rowe
9d0407cbdf
Merge branch 'master' into 21396
2017-06-23 16:52:04 +12:00
David Rowe
b26f5c5811
Clear finger joints when finger poses no longer being updated
2017-06-23 16:15:40 +12:00
David Rowe
8682cee17a
Refactoring
2017-06-23 11:33:29 +12:00
Andrew Meadows
62e862fef0
Merge pull request #10733 from Menithal/21384
...
21384: Added Support to Disabling flight from client side
2017-06-22 13:38:01 -07:00
Anthony J. Thibault
79d9bbe6c5
Merge branch 'master' into feature/pole-vector
2017-06-22 13:37:55 -07:00
David Kelly
5da01f0074
updated comments
2017-06-22 07:09:24 -07:00
David Rowe
6ff8aed5e3
Merge branch 'master' into 21396
2017-06-22 23:54:15 +12:00
David Rowe
c54a5d8506
Tidying
2017-06-22 23:32:16 +12:00
David Rowe
3bdf267900
Implement fingers control
2017-06-22 23:32:06 +12:00
David Kelly
94a33fea94
new switches to override avatarURL
2017-06-21 16:03:05 -07:00
Anthony J. Thibault
2dcca2125b
Merge branch 'master' into feature/pole-vector
2017-06-21 15:50:03 -07:00
Anthony Thibault
a12109ed26
Merge pull request #10761 from hyperlogic/bug-fix/avatar-no-eyes
...
Bug Fixes for Eyeless Avatars
2017-06-21 10:59:55 -07:00
Zach Pomerantz
7e84f67391
Merge pull request #10744 from zzmp/audio/output-sample
...
Add "Play sample sound" to audio setting
2017-06-20 15:32:57 -07:00
Matti Lahtinen
256484cd21
Removed Whitespace
2017-06-20 21:44:32 +03:00
Anthony J. Thibault
29e3af820b
Fix for avatars with no eyes.
...
The calculation of the centerEyeCalibration matrix (and several others) were incorrect.
2017-06-20 10:14:34 -07:00
Anthony J. Thibault
21c0e45d87
recenter rotation while driving.
...
This should reduce foot sliding in HMD mode.
2017-06-20 09:43:38 -07:00
Anthony J. Thibault
c236afe68c
Simplify passing data from MySkeletonModel to Rig
2017-06-19 16:54:39 -07:00
Zach Pomerantz
5c0e9e7496
improve wording for MyAvatar.qmlPosition doc
2017-06-19 14:52:32 -07:00
Zach Pomerantz
a7e1b75909
stopgap with MyAvatar.qmlPosition
2017-06-19 14:41:01 -07:00
Matti Lahtinen
82df64d5e7
flyingAllowed to zoneAllowsFlying
2017-06-19 21:44:43 +03:00
Matti Lahtinen
600a39c9b2
Fixed Zone overriding Client.
2017-06-18 13:14:01 +03:00
humbletim
fc33e95e2d
Merge branch 'master' into 21180-C++
2017-06-16 16:16:42 -04:00
Zach Fox
47e5fb56d3
Show MyAvatar's head in the SpectatorCamera view!
2017-06-15 11:31:20 -07:00
David Rowe
16bebdd409
Rename identifiers
2017-06-15 09:20:55 +12:00
David Rowe
55e0082792
Code review
2017-06-15 09:10:08 +12:00
Menithal
112f186304
Added minor Comments
2017-06-14 22:24:18 +03:00
Menithal
a1c2f71f30
Added couple of state getters
...
This allow scripts to check if avatar is flying or if the avatar is in
air (but not flying). Both of these allows one to distinguish if the
avatar is flying or falling or just jumping with Velocity
2017-06-14 20:19:04 +03:00
Menithal
66d43b80e2
Added getters for State if in Air or Flying
2017-06-14 19:53:08 +03:00
Menithal
c92e22fd20
21384: Added Menu Option
2017-06-14 19:05:00 +03:00
Menithal
53fe5736d8
21384: Initial Disable Flying
2017-06-14 18:24:45 +03:00
David Rowe
be2bcb1c13
Turn with head roll in HMD when walking or flying
2017-06-14 12:20:46 +12:00
David Rowe
05f19d54f4
Add HMD roll control JavaScript API
2017-06-14 11:55:04 +12:00
Andrew Meadows
321e307c9f
Merge pull request #10609 from 1P-Cusack/21317
...
WL21317 helper functions for getting into avatar coordinate space
2017-06-12 11:18:29 -07:00
Chris Howe
08d93173f0
Minor code feedback changes, moving test scripts to developer/tests.
2017-06-09 11:07:56 -04:00
Seth Alves
3b47142592
fix bug that causes hmd avatar eyes to be all the way to the side when there's not another avatar to look at
2017-06-08 10:28:38 -07:00
howard-stearns
9cf027a68c
pr feedback
2017-06-07 16:44:13 -07:00
howard-stearns
fa74daf875
Merge branch 'master' of https://github.com/highfidelity/hifi into do-not-get-stuck-in-floor
2017-06-07 16:43:25 -07:00
Seth Alves
69520ff3db
pull from upstream, code review
2017-06-07 10:28:02 -07:00
Chris Howe
8166fec0e0
Minor changes based on code review feedback
...
See https://worklist.net/21317 ,
https://github.com/highfidelity/hifi/pull/10609 and
https://github.com/highfidelity/hifi/pull/10609#pullrequestreview-42090197
2017-06-06 12:11:57 -04:00
Howard Stearns
3de243b093
Include the radius of the sphere at the avatar's feet.
2017-06-05 18:48:11 -07:00
Seth Alves
7a276f027f
fix orientation used for 3d audio
2017-06-05 15:53:01 -07:00
humbletim
7cab0363a9
standalone 21180 branch with just the C++ changes
2017-06-05 15:57:54 -04:00
Seth Alves
27669d44a7
in deriveBodyFromHMDSensor, avoid using invalid head pose
2017-06-05 08:58:40 -07:00
Howard Stearns
ca526e0776
git rid of a lambda
2017-06-05 07:11:25 -07:00
Howard Stearns
05f41fb4f8
cleanup
2017-06-04 08:13:12 -07:00
Howard Stearns
a0ea306aed
cleanup, and include missing allowBackface parameter
2017-06-04 07:55:23 -07:00
Howard Stearns
fd01258c76
cleanup
2017-06-03 16:02:58 -07:00
Howard Stearns
02c46080f7
we don't need to force, but we do need some extra room for confined spaces
2017-06-03 15:43:14 -07:00
Howard Stearns
c48b729527
Merge branch 'master' of https://github.com/highfidelity/hifi into do-not-get-stuck-in-floor
2017-06-02 18:05:20 -07:00
Seth Alves
3359a0a794
work on fixing some head to eye offsets. MyHead::getHmdOrientation to MyHead::getHeadOrientation
2017-06-02 15:29:20 -07:00
Seth Alves
9088e288e0
don't worry about head controller being enabled, just check to see if head pose is valid
2017-06-02 13:57:53 -07:00
howard-stearns
6b2e4c5abc
zaru stuff
2017-06-01 17:08:22 -07:00
Seth Alves
7d21ab88b0
add some saftey checks. cleanups
2017-06-01 16:14:59 -07:00
Seth Alves
552b69bb1c
cleanups
2017-06-01 13:47:19 -07:00
Seth Alves
ac6135387c
display plugins are never head controllers
2017-06-01 13:37:16 -07:00
howard-stearns
1068a4a9bd
remove the optimization for upperId == lowerId. Doesn't work in zaru
...
tunnels.
2017-06-01 13:21:24 -07:00
Seth Alves
b83620f7c5
Merge branch 'head-controller' of github.com:sethalves/hifi into head-controller
2017-06-01 10:58:33 -07:00
Seth Alves
eca05d9c42
more use of head input
2017-06-01 10:57:53 -07:00
Seth Alves
eb94c48c5b
merge from upstream
2017-06-01 10:10:11 -07:00
Sam Cake
3c9b14ee94
Oene more fix
2017-05-31 23:26:20 -07:00
Sam Cake
03fdc1396c
Fixing the warnings
2017-05-31 23:20:10 -07:00
howard-stearns
1e1dd3a633
checkpoint with working detector
2017-05-31 17:10:37 -07:00
Seth Alves
e37387f45c
sync
2017-05-31 14:01:09 -07:00
Chris Howe
6edc6b2756
WL21317
...
New MyAvatar functions to support converting from avatar joint space to
world space and vice versa. Added some tests to support these functions.
2017-05-31 15:05:43 -04:00
howard-stearns
07ea2e271b
hook into location changes
2017-05-30 14:59:19 -07:00
Seth Alves
ffe844a8e7
Merge branch 'master' of github.com:highfidelity/hifi into head-controller
2017-05-30 13:42:20 -07:00
howard-stearns
92aeadd70f
rotation of local capsule offset
2017-05-26 16:34:08 -07:00
howard-stearns
f694691efb
add fixme comments and make isUp/isDown ordinary methods.
2017-05-26 16:15:18 -07:00
howard-stearns
4be31f1b18
thread safety
2017-05-26 15:31:59 -07:00
howard-stearns
7cee438298
Merge branch 'master' of https://github.com/highfidelity/hifi into do-not-get-stuck-in-floor
2017-05-26 11:36:04 -07:00
howard-stearns
905b5261d1
If collisions are enabled, turn them off in safeLanding, and
...
restore.
2017-05-25 16:32:44 -07:00
Seth Alves
af5ba3a90a
ask display-plugins if they are head-controllers
2017-05-25 15:14:10 -07:00
howard-stearns
ac8cb63419
clean and DRY
2017-05-25 14:34:24 -07:00
Dante Ruiz
108c444cc7
clean up code
2017-05-25 21:59:06 +01:00
howard-stearns
9d73d0c931
works with nested enclosing entities
2017-05-25 12:09:22 -07:00
Seth Alves
3823ece153
Merge branch 'master' of github.com:highfidelity/hifi into head-controller
2017-05-25 10:57:46 -07:00
Seth Alves
bdbc6ddcc1
change some code to look at head-controller position rather than hmd position
2017-05-25 10:50:41 -07:00
howard-stearns
74c163d047
snapshot of safeLanding. Works as long as entities don't intersect.
2017-05-25 10:25:29 -07:00
Dante Ruiz
8cb9bfcc81
fixed merge conflict
2017-05-24 19:35:41 +01:00
Dante Ruiz
ac3c9655ec
added arms
2017-05-24 01:28:08 +01:00
Dante Ruiz
0cbdeaa1e8
Merge branch 'master' of github.com:highfidelity/hifi into arm-pucks
2017-05-23 18:26:58 +01:00
Dante Ruiz
54d63f5155
Merge branch 'master' of github.com:highfidelity/hifi into improve-rotation-jitter
2017-05-23 18:19:38 +01:00
Anthony J. Thibault
06c26f029a
Merge branch 'master' into feature/faster-ik-iterations
2017-05-23 09:10:17 -07:00
Chris Collins
978eb0dfa9
Merge pull request #10492 from ctrlaltdavid/21359
...
Fix eye behavior in recording playback
2017-05-22 21:53:13 -07:00
Dante Ruiz
d98e7d5bc6
adding left and right arm
2017-05-23 00:26:12 +01:00
David Rowe
b0962865b2
Code review
2017-05-23 09:57:53 +12:00
David Rowe
eef707e4e9
Simplify code
2017-05-20 12:42:40 +12:00
Andrew Meadows
7b879a7964
Model has a Rig rather than a RigPointer
2017-05-19 13:24:16 -07:00
Anthony J. Thibault
e99001d86c
debug draw ik chains, bug fix for flex coef on tips
...
And opened up hip constraints.
2017-05-18 16:29:55 -07:00
Dante Ruiz
984f9e1ba5
Merge branch 'master' of github.com:highfidelity/hifi into improve-rotation-jitter
2017-05-18 21:23:06 +01:00
Andrew Meadows
09433a93ba
Merge pull request #10477 from AndrewMeadows/correct-avatar-mass
...
More correct avatar mass
2017-05-17 16:22:06 -07:00
Dante Ruiz
a18940142e
Merge branch 'master' of github.com:highfidelity/hifi into improve-rotation-jitter
2017-05-17 16:23:50 +01:00
Brad Hefta-Gaub
764bfe94f5
Merge pull request #10336 from trentpolack/feature/snap-turn-smoothing-21270
...
Feature/snap turn smoothing 21270
2017-05-16 21:05:38 -07:00
Andrew Meadows
d065b569d3
support for variable avatar mass by size
2017-05-16 16:03:51 -07:00
Andrew Meadows
805d23567d
fix simple typo
2017-05-16 16:03:50 -07:00
Dante Ruiz
724f849d88
Merge branch 'master' of github.com:highfidelity/hifi into improve-rotation-jitter
2017-05-16 00:15:18 +01:00
Dante Ruiz
975b1ab077
moved low velocity filter in the input system
2017-05-16 00:15:06 +01:00
Seth Alves
66a1dbfcfe
Merge pull request #10445 from AndrewMeadows/cleanup-head-simulation
...
cleanup Head::simulate() code
2017-05-15 11:21:43 -07:00
Vladyslav Stelmakhovskyi
cc10fc81b7
Fix crash in sit script
2017-05-13 20:57:04 +02:00
anshuman64
49d4cf4e68
Merge pull request #10419 from hyperlogic/feature/ik-solver-init-config
...
More stable IK when hips, feet and chest are controlled via external input
2017-05-12 17:22:29 -07:00
Seth Alves
c6131916e1
Merge branch 'master' of github.com:highfidelity/hifi into motor-action
2017-05-12 09:46:21 -07:00
Andrew Meadows
a43447310d
remove physics dependency from avatars-render lib
2017-05-11 15:22:22 -07:00
Andrew Meadows
f4df223d23
cleanup Head::simulation() code
2017-05-11 14:46:00 -07:00
David Rowe
1b855f2c6b
Voice modulation and facetrackers write to transient blendshapes
2017-05-11 18:15:38 +12:00
Anthony J. Thibault
93b8dc550c
Merge branch 'master' into feature/ik-solver-init-config
2017-05-10 09:03:21 -07:00
trent
a3545661dc
Merged hifi/master into this PR and resolved merge conflicts.
2017-05-09 15:09:53 -04:00
trent
9c8b844e26
Merge branch 'feature/snap-turn-smoothing-21270' of https://github.com/mittens/hifi into feature/snap-turn-smoothing-21270
2017-05-09 12:51:28 -04:00
trent
7faed38bb5
Just use the smooth time constant instead of a variable.
2017-05-09 12:51:25 -04:00
Seth Alves
1e1968357a
Merge branch 'master' of github.com:highfidelity/hifi into motor-action
2017-05-09 09:24:50 -07:00
Andrew Meadows
e92e710cdc
Merge pull request #10413 from humbletim/fix_lookat_regression
...
Fix lookAt eye snapping
2017-05-09 08:51:10 -07:00
humbletim
29b1ac3572
optimizations per feedback
2017-05-08 21:50:24 -04:00
humbletim
42d1498d20
call Model::updateRig (not Parent::updateRig)
2017-05-08 21:19:18 -04:00
Andrew Meadows
2835a73c6b
Merge pull request #10071 from AndrewMeadows/walk-up-steps
...
avatar can walk up steps
2017-05-08 18:17:16 -07:00
Seth Alves
de589a32f3
clone spring action into one called tractor and use tractor is most places. this frees us to fix the math in spring so that it's actually a spring
2017-05-08 16:36:51 -07:00
humbletim
ef0e32643d
update refactored logic to match previous application behavior
2017-05-08 18:53:47 -04:00
Anthony J. Thibault
712fcbe27a
Removed cruft/debug code & comments
2017-05-08 15:06:30 -07:00
Anthony J. Thibault
7af93f9fea
Hooked up IK constraint rendering
2017-05-08 15:06:29 -07:00
Anthony J. Thibault
e992d6703a
WIP: debug render joint constraints.
2017-05-08 15:06:28 -07:00
Anthony J. Thibault
a260163aee
WIP commit, first pass at generating limit center joints + debug draw
2017-05-08 15:06:27 -07:00
Andrew Meadows
afe0447322
remove unnecessary virtual keyword
2017-05-08 14:27:39 -07:00
Andrew Meadows
138a987a8f
_rotationChanged is a timestamp
2017-05-08 14:27:18 -07:00
Brad Davis
b63015eaea
Fix sped up animations
2017-05-06 14:34:28 -07:00
Andrew Meadows
fe401c7488
improved management of collisionless avatar state
2017-05-05 09:37:00 -07:00
Andrew Meadows
d34b667e82
remove kinematic character controller implemention
2017-05-05 09:35:49 -07:00
Andrew Meadows
0aa579225c
even more correct API: MyAvatar.collisionsEnabled
2017-05-05 09:35:49 -07:00
Andrew Meadows
559f5836c5
restore MyAvatar.setCharacterControllerEnabled()
2017-05-05 09:35:49 -07:00
Andrew Meadows
94ee6d6838
fix driving motion of collisionless avatars
2017-05-05 09:35:49 -07:00
Andrew Meadows
c47e26174c
support collisionless avatar when playing recording
2017-05-05 09:35:49 -07:00
Andrew Meadows
e21bd7a67a
help avatar walk up steps
2017-05-05 09:35:49 -07:00
Brad Davis
9def788956
Merge pull request #10314 from jherico/avatars-renderer
...
Migrate Avatar rendering code to library
2017-05-04 14:23:49 -07:00
Brad Davis
2d0bbf70ae
Migrate core avatar rendering functionality to library
2017-05-04 14:08:59 -07:00
Seth Alves
a259d00b63
Merge pull request #10332 from sethalves/bullet-constraints-5
...
Bullet constraints
2017-05-03 16:30:34 -07:00
trent
d7ed727faf
Adjustments based on PR feedback, though it looks like this snap-turn-snafu-story is not yet complete.
2017-05-03 16:56:18 -04:00
trent
fc3cce6b73
Fixed the silly and stupid subtle issue that was causing the bug in inconsistencies.
2017-05-03 12:35:35 -04:00
trent
24f2678cdd
Adjusted the smooth time for the snap-turn remote view. Fixed tab issue.
2017-05-03 12:05:21 -04:00
trent
786838d092
Merge branch 'master' of https://github.com/highfidelity/hifi into feature/snap-turn-smoothing-21270
2017-05-02 20:21:35 -04:00
trent
557a8fffd7
Addressing some PR feedback; moved easeInEaseOut to Interpolate class. My function is faster than andrew's. :D
2017-05-02 19:56:47 -04:00
Trent Polack
0a5dfbb9af
Changed l to interp.
...
In my defense, if anyone ever looked at it and thought the 'l' was a '1', they should never be programming unless they used a special language where you could reassign numbers.
2017-05-02 19:10:33 -04:00
trent
f79e032841
Silly online git merge tool. You are silly. Errors fixed.
2017-05-02 14:48:27 -04:00
trent
6d1fb8a6f8
Merge branch 'feature/snap-turn-smoothing-21270' of https://github.com/mittens/hifi into feature/snap-turn-smoothing-21270
2017-05-02 13:55:39 -04:00
trent
49881b5ea2
Actually the full set of changes. Kids: don't forget to pop your stash.
2017-05-02 13:55:32 -04:00
samcake
df54ad2339
Merge branch 'master' of https://github.com/highfidelity/hifi into ambient
2017-05-02 10:50:39 -07:00
Trent Polack
8f93a9a074
Merge branch 'master' into feature/snap-turn-smoothing-21270
2017-05-02 13:43:32 -04:00
trent
8f34ec4c7f
Iteration on the snap-turn smoothing based on feedback from Andrew. Also additional cleanup.
2017-05-02 13:41:34 -04:00
Brad Davis
425405f72d
Merge pull request #10245 from AndrewMeadows/avatar-renderer-002
...
more cleanup in preparation for moving Avatar class to lib
2017-05-02 10:37:22 -07:00
trent
6317857e3d
Merge branch 'master' of https://github.com/highfidelity/hifi into feature/snap-turn-smoothing-21270
2017-05-02 12:11:39 -04:00
samcake
4514da2a09
Merge branch 'master' of https://github.com/highfidelity/hifi into ambient
2017-05-01 16:49:35 -07:00
Seth Alves
45a50f9a46
Merge branch 'master' of github.com:highfidelity/hifi into bullet-constraints-5
2017-05-01 15:32:29 -07:00
Seth Alves
a75544a9fb
Merge pull request #10319 from hyperlogic/feature/head-standard-action
...
Head, Hips and Chest IK can now be controlled from Controller inputs
2017-05-01 13:03:23 -07:00
trent
4d7eeed343
Marking MyAvatar's rotation as dirty if smoothing is going down.
2017-05-01 15:21:25 -04:00
Brad Davis
40e4e2f307
Merge pull request #10327 from jherico/face_tracker_refactor
...
Remove Faceshift
2017-05-01 12:14:55 -07:00
trent
773563850c
Merge hifi/master with my branch, fixed merge issue.
2017-05-01 13:23:02 -04:00
Anthony J. Thibault
0c09823f67
clang warning fixes, unused variables...
2017-05-01 09:10:31 -07:00
Seth Alves
7ce0ef2ec4
fix spring action so that it can be linear or rotational or both
2017-04-30 10:04:07 -07:00
Brad Davis
2b43a1989f
Moving face and eye trackers out of interface
2017-04-28 23:28:17 -07:00
Brad Davis
5e1bc0d908
Remove faceshift
2017-04-28 16:34:54 -07:00
Andrew Meadows
994eed7b83
safer delete of AvatarMotionStates
2017-04-28 10:18:19 -07:00
Anthony J. Thibault
b80270400f
Merge branch 'master' into feature/hips-ik-target
2017-04-27 18:15:12 -07:00
Anthony J. Thibault
2120e63e3a
Merge branch 'master' into feature/head-standard-action
2017-04-27 17:51:13 -07:00
Anthony J. Thibault
764f6c69ea
Head input action will override the HMD for IK.
2017-04-27 17:39:25 -07:00
Andrew Meadows
aa90a6bd02
use static methods for setting avatar debug options
2017-04-27 13:16:50 -07:00
Andrew Meadows
75b563d598
restore rendering of avatar receive stats
2017-04-27 13:16:50 -07:00
Andrew Meadows
00b05ed137
connect menu options to avatar render features
2017-04-27 13:16:50 -07:00
Andrew Meadows
823f3a73c6
remove commented out cruft
2017-04-27 13:16:50 -07:00
Andrew Meadows
caf6a77baf
repair bad merge during rebase
2017-04-27 13:16:50 -07:00
Andrew Meadows
2441536de3
remove Avatar dependency on AvatarMotionState
2017-04-27 13:16:49 -07:00
trent
53f47c132f
Avatar snap-turn rotation smoothing (sent out from the local client outward).
2017-04-27 16:12:25 -04:00
Andrew Meadows
010d1dfa22
remove Menu dependency from Avatar class
2017-04-27 13:11:57 -07:00
Andrew Meadows
6393972874
remove AvatarManager dependency from Avatar
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
4c212fb1e5
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-27 13:11:57 -07:00
ZappoMan
c0df82ff69
Merge branch 'master' of https://github.com/highfidelity/hifi into retrySkeletonURL
2017-04-26 18:49:24 -07:00
ZappoMan
834a447d62
remove debugging code
2017-04-26 18:36:44 -07:00
humbletim
f8bbd9174c
Merge remote-tracking branch 'upstream/master' into 21281
2017-04-26 18:26:15 -04: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
Anthony J. Thibault
ef43ff4b99
Add default pose matrices to InputCalibrationData structure
2017-04-26 11:55:24 -07:00
trent
2963d3d212
Merge branch 'master' of https://github.com/highfidelity/hifi into feature/snap-turn-smoothing-21270
2017-04-25 19:31:21 -04:00
ZappoMan
90cdeb9582
Merge branch 'master' of https://github.com/highfidelity/hifi into retrySkeletonURL
2017-04-25 16:09:59 -07:00
Anthony J. Thibault
dc19f37726
input/controller routing thru skeleton model and rig.
2017-04-25 15:04:47 -07:00
trent
f28b58f56e
Merge branch 'master' of https://github.com/highfidelity/hifi into feature/snap-turn-smoothing-21270
2017-04-25 15:35:11 -04:00
Seth Alves
23592f4a53
get rid of _trackedHeadPosition
...
(cherry picked from commit e909938b232e11400832ae7dd29de16968967668)
2017-04-25 11:03:43 -07:00
Seth Alves
0cd2863df4
start on routing HMD position and rotation through controller interface
...
(cherry picked from commit bca5241bae7674ff7e41c037d84bb78e5152046a)
2017-04-25 11:01:52 -07:00
ZappoMan
382645ddd0
more cleanup
2017-04-24 18:01:54 -07:00
ZappoMan
aa955ee360
Merge branch 'master' of https://github.com/highfidelity/hifi into retrySkeletonURL
2017-04-24 17:36:30 -07:00
ZappoMan
c9aad6b762
new approach to the tpose fix, as well as other improvements
2017-04-24 17:36:05 -07:00
Anthony J. Thibault
937f308ba8
code cleanup
2017-04-24 17:04:16 -07:00
humbletim
28b3eef7aa
add getJointTranslations() methods
2017-04-24 19:22:02 -04:00
Anthony J. Thibault
dc3803a225
Re-enable IK _hipsOffset computation when no hips IK target is present.
2017-04-24 13:59:02 -07:00
samcake
c36f8da4c0
Fixing build on mac
2017-04-24 10:46:29 -07:00
trent
b00cd66a2a
Revisited where smoothing was done (to a much lower-level); still needs testing.
2017-04-21 22:36:11 -04:00
Seth Alves
17b83dd64c
Merge branch 'master' of github.com:highfidelity/hifi into bullet-constraints-1
2017-04-21 17:19:47 -07:00
Andrew Meadows
3f9f16cc98
Merge pull request #10223 from kunalgosar/blendshapesbug
...
Make setBlendshape changes persist
2017-04-21 16:11:13 -07:00
ZappoMan
ff45ad53a3
some more CR cleanup
2017-04-21 10:40:41 -07:00
ZappoMan
f133713d0e
CR feedback
2017-04-21 10:21:34 -07:00
ZappoMan
c03182546b
some cleanup
2017-04-21 09:11:51 -07:00
ZappoMan
e89b6c5d2c
some initial debugging on tpose avatars
2017-04-20 17:26:31 -07:00
trent
805a74c074
First-pass attempt at remedying the smoothing issue (the avatar is never receiving the proper call).
2017-04-20 13:21:38 -04:00
Seth Alves
f7378abb08
Merge branch 'master' of github.com:highfidelity/hifi into bullet-constraints-1
2017-04-20 02:40:10 -07:00
Seth Alves
0807e036e8
Merge branch 'master' of github.com:highfidelity/hifi into bullet-constraints-1
2017-04-18 11:59:23 -07:00
Seth Alves
d077c9f1de
print rather than crash in what should be an impossible situation
2017-04-18 11:58:56 -07:00
Andrew Meadows
da55c96c4c
protect against crash on invalid scene on shutdown
2017-04-18 11:52:22 -07:00
Andrew Meadows
014d7b8d8d
use viewFrustum position for laser pointer render filtering
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
31bfc98b87
use const reference for ScenePointer when possible
2017-04-18 11:52:22 -07:00
Andrew Meadows
a3682a1a0e
cleanup includes in Avatar.cpp and remove cruft
2017-04-18 11:52:21 -07:00
Andrew Meadows
5a458c9923
remove last qApp usage from Avatar class
2017-04-18 11:52:21 -07:00
Andrew Meadows
685a01482c
remove Camera argument from Avatar::render()
2017-04-18 11:52:21 -07:00
Andrew Meadows
fbacbd74f7
pass shared pointers by ref in Avatar::render()
2017-04-18 11:52:21 -07:00
Andrew Meadows
9cddbbc42a
more interface-only spaghetti out of Avatar
2017-04-18 11:52:21 -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
kunalgosar
d215856b23
cleanup to blendshapes
2017-04-18 11:44:59 -07:00
kunalgosar
0a295fc258
setBlendshapes will presist
2017-04-18 11:44:59 -07:00
Seth Alves
b2de5ebdaf
Merge pull request #10136 from mittens/21217
...
Added quadratic ease-in-and-out smoothing to remote avatars
2017-04-18 10:05:48 -07:00
Anthony J. Thibault
a10b157aff
First pass at having an explicit Hips IK target.
...
Also, AnimManipulator nodes support setting position and rotation on a single joint.
2017-04-14 17:00:44 -07:00
Seth Alves
d0144f4110
avatar-action-far-grab works now
2017-04-14 12:44:54 -07:00
Seth Alves
b1dc5be316
make far-grab it's own action (which is just like spring) in order to avoid bootstrapping own avatar
2017-04-14 11:48:06 -07:00
Seth Alves
0eb9507a10
Merge branch 'master' of github.com:highfidelity/hifi into bullet-constraints-0
2017-04-12 16:25:50 -07:00
Chris Collins
c545558b8a
Merge pull request #10199 from AndrewMeadows/avatar-should-vanish
...
Avatar should vanish when teleporting far away
2017-04-12 12:28:46 -07:00
Zach Fox
39587d5308
lol
2017-04-12 10:54:28 -07:00
Seth Alves
cc77fce95f
hinge is sort-of working
2017-04-12 07:12:05 -07:00
Seth Alves
74c0a70cb0
rename base action classes to dynamics, start on constraints
2017-04-11 20:39:13 -07:00
Andrew Meadows
b8a3c856be
update model transform even when out of view
2017-04-11 15:03:11 -07:00
Zach Fox
6569de697d
Merge pull request #10187 from zfox23/fix/getAvatar_Fix
...
Fix FB3999; Fix crashes caused by getAvatar() design bug
2017-04-11 11:17:48 -07:00
Seth Alves
bf16309917
Merge pull request #10146 from AndrewMeadows/avoid-invisible-avatars-002
...
avoid invisible avatars redux
2017-04-11 07:07:03 -07:00
Stephen Birarda
db6fc40277
fix ScriptAvatar promotion of AvatarData
2017-04-10 22:15:45 -07:00
Stephen Birarda
b8620f6919
make getAvatar in AvatarManager Q_INVOKABLE
2017-04-10 22:15:45 -07:00
Stephen Birarda
e7299a5435
add missing include for ScriptAvatar in AvatarManager
2017-04-10 22:15:45 -07:00
Stephen Birarda
84a5807ff1
return ScriptAvatarData raw pointer from getAvatar
2017-04-10 22:15:45 -07:00
Zach Fox
54ca8bd89e
grab audio loudness from correct avatar
2017-04-10 22:15:45 -07:00
Stephen Birarda
42a406e90a
add ScriptAvatar for std::shared_ptr<Avatar> passing to scripts
2017-04-10 22:15:45 -07:00
Stephen Birarda
4ed22ad7ac
move audio loudness to AvatarData, change AvatarData to ScriptOwnership
2017-04-10 22:15:44 -07:00
Seth Alves
05bf1930ca
Merge pull request #10169 from hyperlogic/feature/absolute-default-joints-in-object-frame
...
Added accessor to get Avatar default pose in avatar space
2017-04-10 12:55:02 -07:00
Anthony J. Thibault
e065c1bac4
Added jsdoc for new Avatar.getAbsoluteDefaultJoint*InObjectFrame API
2017-04-07 14:12:03 -07:00
Anthony J. Thibault
40844d2a49
Added getAbsoluteDefaultJoint*InOjbectFrame to Avatar API.
2017-04-07 14:03:31 -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
1fb88a0315
add a helpful comment
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
40e223cb82
cleanup unused return values and redundant variables
2017-04-07 09:58:04 -07:00
Andrew Meadows
2775b17a65
unravel one loop of spaghetti
2017-04-07 09:56:26 -07:00
Seth Alves
584905a618
fix warning
2017-04-06 15:41:35 -07:00
trent
21f810e040
Fixed formatting concerns as well as a benign order-of-constructor warning.
2017-04-06 14:50:16 -04:00
trent
76d3e6d598
Added an assert for out-of-bounds values in the smoothing function; also clamped the values that I was sending in on the avatar-side.
2017-04-06 13:21:59 -04:00
trent
43b3a6c624
Addressing some style inconsitency issues, as well as making the position/orientation times constants.
2017-04-05 21:31:13 -04:00
trent
c739db7562
Added quadratic ease-in-and-out smoothing to remote avatars position/orientation updates (through... one path, at least?).
2017-04-05 17:39:52 -04:00
samcake
6122155880
Renaming the PendingCHanges class to Transaction
2017-04-05 13:10:31 -07:00
Seth Alves
55c2d36752
math fixes, cleanups
2017-04-03 15:30:06 -07:00
Seth Alves
2a43c41954
Merge branch 'master' of github.com:highfidelity/hifi into fix-fast-talking
2017-04-03 14:44:13 -07:00
Seth Alves
7ac09398be
include deltaTime in audioAttack running average
2017-04-03 14:44:05 -07:00
Andrew Meadows
66ff551a7c
Merge pull request #10080 from ZappoMan/footActions
...
add foot IK targets as actions, map Kinect feet to foot targets
2017-04-03 12:06:14 -07:00
Seth Alves
7f1095c590
use deltaTime rather than calling usecTimestampNow
2017-04-03 11:55:08 -07:00
Seth Alves
9e08925d7e
involve clock time in _mouthTime calculation
2017-04-03 11:34:29 -07:00
ZappoMan
53c439ffba
add foot IK targets as actions
2017-03-30 19:11:16 -07:00
Anthony J. Thibault
22901a40c8
Expose Avatar skeletons to JavaScript
2017-03-30 17:27:40 -07:00
Brad Hefta-Gaub
c986077a4f
Merge pull request #10007 from hyperlogic/feature/ik-debug-draw
...
Added Developer > Avatar > Show IK Targets
2017-03-27 14:29:02 -07:00
Anthony J. Thibault
49a95089d1
Remove hacks for debug rendering of IK targets
...
A AnimContext class was introduced. This context is passed into every node during evaluation/overlay.
It holds non-animVar "global" data passed from the application.
(cherry picked from commit a028d3ba58
)
2017-03-24 16:27:27 -07:00
Anthony J. Thibault
dd17b2e2f3
Added developer option to draw IK targets in world.
...
(cherry picked from commit 7e7803c648
)
2017-03-24 16:20:52 -07:00
Anthony J. Thibault
f7de74109b
Added jsdoc documentation for some of MyAvatar properties and methods
2017-03-24 15:10:26 -07:00
Brad Hefta-Gaub
1972b140b9
Merge pull request #9976 from mittens/21215
...
Worklist #21215 - Removing Duplicate Status Icons for Submeshes
2017-03-24 08:52:12 -07:00
Triplelexx
09cbace975
remove unused getBodyForwardDirection
2017-03-22 21:54:21 +00:00
trent
36619cd2e4
Fixed issue with duplicate physics status icons per sub-object.
2017-03-22 15:07:29 -04:00
Triplelexx
fd312f6bf8
rename fronts to forwards
2017-03-22 18:49:34 +00:00
Triplelexx
8df0395754
change getFrontDirection to getForwardDirection
2017-03-21 22:28:12 +00:00
Triplelexx
b7980569cc
change all references of IDENTITY_FRONT to IDENTITY_FORWARD
2017-03-21 22:13:33 +00:00
Brad Hefta-Gaub
bc5d7d8698
Merge pull request #9851 from AndrewMeadows/simulation-ownership-2
...
zero velocity of deactivated dynamic entities
2017-03-20 10:20:11 -07:00
Brad Hefta-Gaub
af790d8474
Merge pull request #9875 from birarda/bug/spin-strafe
...
fix double snap turn strafing
2017-03-20 10:08:05 -07:00
Atlante45
698791295a
Expose DriveKeys enum to JS
2017-03-16 20:03:27 -07:00
Atlante45
5a1ce4bb05
CR
2017-03-16 17:46:47 -07:00
Atlante45
9155cc6334
Fix windows warnings
2017-03-16 17:44:56 -07:00
Atlante45
42316e713d
CR drive keys
2017-03-16 16:24:52 -07:00
Atlante45
3e9474e878
CR
2017-03-16 16:24:36 -07:00
Atlante45
7517f224a8
Add MyAvatar drive keys capture capability
2017-03-16 15:44:17 -07:00
Seth Alves
eba2417f41
Merge pull request #9912 from AndrewMeadows/model-cleanup-4
...
minor cleanup of render pipeline for models and avatars
2017-03-16 10:39:43 -08:00
Andrew Meadows
361e03fc78
remove unused variable
2017-03-15 16:57:31 -07:00
Andrew Meadows
d3fa28d4bc
remove cruft and fix indentation
2017-03-15 16:17:59 -07:00
Andrew Meadows
f250c0d298
simpler bindTransform() for ModelMeshPartPayload
2017-03-15 14:41:13 -07:00
Stephen Birarda
490cb83489
move advanced movement control changes to MyAvatar
2017-03-14 15:03:01 -07:00
Stephen Birarda
1fe02477b0
fix LX behaviour in snap/advanced/basic
2017-03-14 14:21:21 -07:00
Andrew Meadows
d4abdcb6c8
comments, namechange, and temporary debug code
2017-03-09 17:26:53 -08:00
Thijs Wenker
b54d6cb0e1
stop avatar controller while playing back a recording, which makes it not collide anymore
2017-03-08 00:07:49 +01:00
Zach Fox
c9c07c4269
Basically rebase and squash
2017-03-06 10:03:41 -08:00
Ken Cooke
50f92cb934
redo unsafe optimization
2017-03-04 15:29:23 -08:00
Ken Cooke
46c5f96113
redo unsafe optimization
2017-03-04 15:24:03 -08:00
Ken Cooke
117bba8b6a
redo unsafe optimization
2017-03-04 15:17:09 -08:00
Andrew Meadows
a55ab94cd9
other avatars use jointData no Rig animation
2017-03-02 07:52:02 -08:00
Andrew Meadows
148100b26f
fix bug drawing avatar above ground
2017-02-28 15:10:20 -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
Clément Brisset
7f9437dcc5
Merge pull request #9690 from Atlante45/feat/sit
...
Add hips pinning / Sit script
2017-02-28 10:41:22 -08:00
Atlante45
9ce10742ec
Move avatar not joint
2017-02-27 16:38:57 -08:00
Atlante45
e9316d30d0
More IK smoothing experimentation
2017-02-27 16:38:56 -08:00
Atlante45
cbaaaa21c6
Use head orientation for sitting
2017-02-27 16:38:56 -08:00
Atlante45
e503542b6a
Fix transform computation
2017-02-27 16:38:55 -08:00
Atlante45
8c232b5abb
Initialize max offset to infinity
2017-02-27 16:38:55 -08:00
Atlante45
187cd0d5cf
Get IK error and stand up based on it
2017-02-27 16:38:55 -08:00
Atlante45
7132969083
Add hips pinning capability to MyAvatar
2017-02-27 16:38:54 -08:00
Atlante45
6821c8621f
More sit work
2017-02-27 16:38:54 -08:00
Seth Alves
73774a6590
Merge branch 'master' of github.com:highfidelity/hifi into tablet-ui-tablet-is-overlay
2017-02-24 11:34:59 -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
faa272c67c
don't blend animations for otherAvatars
2017-02-23 17:36:45 -08:00
Andrew Meadows
4bbbcb61be
expand avatar update time budget
2017-02-23 17:36:45 -08:00
Andrew Meadows
14e7392a89
minor cleanup
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
Seth Alves
a286c72b3b
cleanups
2017-02-23 15:12:45 -08:00
Brad Hefta-Gaub
1b7ec7d61e
Merge branch 'master' of https://github.com/highfidelity/hifi into avatarBandwidthBudgetImprovements
...
Conflicts:
libraries/avatars/src/AvatarData.cpp
2017-02-23 13:50:16 -08:00
Seth Alves
84d9af14b0
Merge branch 'master' of github.com:highfidelity/hifi into tablet-ui-tablet-is-overlay
2017-02-23 10:40:18 -08:00
Chris Collins
de84e07281
Merge pull request #9714 from thoys/fix-recorder-js-playback
...
Fix recorder.js playback in interface
2017-02-23 09:59:37 -08:00
Thijs Wenker
5033e7be11
CR fixes
2017-02-23 18:22:36 +01:00
Howard Stearns
cddba43837
Merge branch 'master' into filter-pal-by-view-distance
2017-02-23 08:25:16 -08:00
Seth Alves
37004e4347
steps toward making mouse work on tablet
2017-02-23 08:11:31 -08:00
Brad Hefta-Gaub
06f0087459
wire up radius properly
2017-02-22 22:36:37 -08:00
Seth Alves
1b26c3469f
fix signed/unsigned joint index problem
2017-02-22 20:39:34 -08:00
Andrew Meadows
6ac33dbf61
count avatar joint updates and non-updates
2017-02-22 17:23:36 -08:00
Chris Collins
c967f9383a
Merge pull request #9706 from ZappoMan/avatarMixerLoopImprovements
...
Multi-core Avatar Mixer
2017-02-22 11:20:28 -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
Brad Hefta-Gaub
97fc88491f
Merge pull request #9718 from AndrewMeadows/sort-avatars-correctly
...
fix sorting algorithm for avatar render updates
2017-02-21 16:14:12 -08:00
howard-stearns
2b9c69926b
Merge branch 'master' of https://github.com/highfidelity/hifi into filter-pal-by-view-distance
2017-02-21 15:42:00 -08:00
Andrew Meadows
dd447689e0
expose avatar sort coefficients for fine tuning
2017-02-21 15:09:44 -08:00
Brad Hefta-Gaub
2017ea4491
hacking on using sorted avatars for bandwidth budget
2017-02-21 14:18:00 -08:00
Andrew Meadows
27dd82b517
fix sorting algorithm for avatar render updates
2017-02-21 13:34:07 -08:00
howard-stearns
15d8041683
snapshot working, before button change
2017-02-21 13:14:45 -08:00
Thijs Wenker
13b2b6086f
Fix recorder.js playback in interface
2017-02-21 19:47:26 +01:00
Brad Hefta-Gaub
42d916a719
fix warnings
2017-02-17 21:58:48 -08:00
Brad Hefta-Gaub
291b823cfa
const cleanup and fix crash
2017-02-17 18:28:07 -08:00
Seth Alves
d7bb6f105b
make tablet part IDs available through qApp
2017-02-17 15:43:20 -08:00
Atlante45
1201932ee9
Fix SSE2 macros for Macos
2017-02-14 14:10:53 -08:00
Chris Collins
442e8d68ef
Merge pull request #9650 from kunalgosar/browserFix
...
Added isAway (paused) property to myAvatar
2017-02-14 11:16:07 -08:00
Brad Hefta-Gaub
f433347362
Merge pull request #9652 from sethalves/avatar-as-child-fixes
...
some fixes for when an avatar is a child of something else
2017-02-14 09:07:47 -08:00
Seth Alves
1164a1b3bf
some fixes for when an avatar is a child of something else
2017-02-12 08:27:39 -08:00
Kunal Gosar
c3f2f5779a
fix if else syntax
2017-02-11 15:46:49 -08:00
Kunal Gosar
975d844eee
syntax fix
2017-02-11 15:01:02 -08:00
Kunal Gosar
18e776bd29
emit signal only on change
2017-02-11 13:58:23 -08:00
kunalgosar
9c537726e5
Fix stuck in pause error with browsers
2017-02-10 18:13:09 -08:00
kunalgosar
691f61983a
added isAway property to MyAvatar
2017-02-10 17:28:12 -08:00
Andrew Meadows
d2315c15a1
avoid duplicate parse of AvatarEntityData entries
2017-02-10 13:14:20 -08:00
Andrew Meadows
563bf65e89
fix bug: performance problem for avatarEntities
2017-02-10 13:14:20 -08:00
Andrew Meadows
ee702f945f
cleanup around when to send identityPacket
2017-02-10 13:14:20 -08:00
Brad Hefta-Gaub
bc22326ec8
Merge pull request #9640 from ZappoMan/avatarSimulationStats
...
New stats for avatar simulation
2017-02-09 12:58:30 -08:00
Brad Hefta-Gaub
bb4654506a
CR
2017-02-09 11:37:21 -08:00
Brad Hefta-Gaub
57e0dadd65
CR
2017-02-09 11:35:00 -08:00
samcake
850be620f9
Merge pull request #9606 from samcake/blue
...
More intrumentation, Pixel Format clean up and minor improvments in texture transfers
2017-02-09 11:18:09 -08:00
Seth Alves
b34341b48e
Merge pull request #9631 from AndrewMeadows/workaround-avatar-update-dos
...
Remove avatarEntityData cruft from settings
2017-02-09 10:40:00 -08:00
Brad Hefta-Gaub
dd2ddcc291
cleanup
2017-02-09 09:57:32 -08:00
Brad Hefta-Gaub
ae071aec0d
add a bunch more stats for avatar processing
2017-02-09 09:52:09 -08:00
samcake
c62108c3c8
Resolve merging conflict
2017-02-09 09:49:59 -08:00
Brad Hefta-Gaub
41dc498888
add inView simulation stats
2017-02-08 18:32:39 -08:00
Brad Hefta-Gaub
c2171ca08f
Merge branch 'master' of https://github.com/highfidelity/hifi into avatarSimulationStats
...
Conflicts:
libraries/avatars/src/AvatarData.h
2017-02-08 16:52:38 -08:00
Brad Hefta-Gaub
6c41a25032
more stats
2017-02-08 16:51:00 -08:00
Brad Hefta-Gaub
b399420190
CR
2017-02-08 15:42:59 -08:00
Brad Hefta-Gaub
357cc052e1
first cut at simulation stats
2017-02-08 15:32:48 -08:00
Andrew Meadows
e02810458b
clear old avatarEntityData when saving settings
2017-02-08 14:14:48 -08:00
Brad Hefta-Gaub
89368afd68
add back accidentally removed line
2017-02-08 12:52:17 -08:00
Brad Hefta-Gaub
eedfc4fd38
fix various bot related bugs
2017-02-08 12:35:00 -08:00
Andrew Meadows
cc301d1c1a
remove legacy empty avatarEntityData settings
2017-02-08 11:50:15 -08:00
samcake
c864e57855
first pass on a working image class and the mip generation
2017-02-06 08:51:04 -08:00
samcake
e8cdee71ed
avoid assertion on mac
2017-02-03 22:49:41 -08:00
Anthony J. Thibault
9d124983a6
Tablet-ui: fix tablet orientation for users in 2d desktop mode
...
Double 180 flip. Once before to account for -z forward of camera.
Once after to account for avatar 180 flip.
2017-02-01 17:48:28 -08:00
Seth Alves
fa61bbe2a6
Merge branch 'master' of github.com:highfidelity/hifi into tablet-ui
2017-01-26 18:21:39 -08:00
ZappoMan
4c80422a73
Merge branch 'master' of https://github.com/highfidelity/hifi into tuneAvatarInfo
2017-01-26 14:34:58 -08:00
Seth Alves
db38503d57
Merge branch 'master' of github.com:highfidelity/hifi into tablet-ui
2017-01-26 13:48:59 -08:00
Andrew Meadows
5783db910b
remove some unhelpful trace profiling data
2017-01-26 08:35:26 -08:00
Andrew Meadows
82f52b9658
fix bug: Avatar instance not getting deleted
2017-01-26 08:35:26 -08:00
Andrew Meadows
2264c29604
less magic
2017-01-26 08:35:26 -08:00
Andrew Meadows
0f09e60acd
remove unhelpful comment
2017-01-26 08:35:26 -08:00
Andrew Meadows
01e14eec47
remove commented out cruft
2017-01-26 08:35:26 -08:00
Andrew Meadows
ac180758ad
sort, optimize, and timebox process avatar updates
2017-01-26 08:35:26 -08:00
Andrew Meadows
d3dcc2b415
remove cruft: billboard option for Head::simulate()
2017-01-26 08:35:26 -08:00
Andrew Meadows
887707426e
remove cruft: Head::getScalePivot()
2017-01-26 08:35:26 -08:00
Andrew Meadows
69a7b1ef76
move some stuff out of Avatar::simulate()
...
call it explicity in AvatarManager::updateOtherAvatars()
2017-01-26 08:35:26 -08:00
Andrew Meadows
e65d9309b3
remove cruft: Avatar::setShouldDie()
2017-01-26 08:35:26 -08:00
Andrew Meadows
e363423992
compute priority of avatar and sort before update
2017-01-26 08:35:26 -08:00
Andrew Meadows
88bf126168
remove old avatar culling and LOD logic
2017-01-26 08:35:25 -08:00
Andrew Meadows
08bba5f45f
add and remove some profile data points
2017-01-26 08:35:25 -08:00
Seth Alves
df9bc91f01
fix near-grab to equip handoff
2017-01-24 11:39:26 -08:00
ZappoMan
81b5a3c585
more cleanup
2017-01-23 15:12:54 -08:00
ZappoMan
29fff2e556
Merge branch 'master' of https://github.com/highfidelity/hifi into tuneAvatarInfo
2017-01-23 13:09:59 -08:00
ZappoMan
292d472a59
checkpoint - got first cut at distance based rotation tolerance working
2017-01-23 13:06:29 -08:00
Seth Alves
be8bc9652b
Merge branch 'master' of github.com:highfidelity/hifi into tablet-ui
2017-01-23 09:44:04 -08:00
Andrew Meadows
10cdea9cd8
cleanup model fade logic
2017-01-19 14:17:50 -08:00
Seth Alves
47b59ffae3
don't save tablet to Settings when logging out or switching domains
2017-01-19 14:10:48 -08:00
Andrew Meadows
9631864ae2
make soft attachments cauterized for MyAvatar
2017-01-19 12:56:07 -08:00
Andrew Meadows
5a2e337758
fix comments
2017-01-19 12:56:07 -08:00
Andrew Meadows
bfbef91f53
re-enable cauterization of meshes for MyAvatar
2017-01-19 12:56:07 -08:00
Andrew Meadows
1a3fa84985
add newline at EOF
2017-01-19 12:56:07 -08:00
Andrew Meadows
189da81bb1
fix for crash on unloaded model
2017-01-19 12:56:07 -08:00
Andrew Meadows
3dd8fd838b
move cauterization out of Model class
2017-01-19 12:56:07 -08:00
Seth Alves
eb25e1c12d
Merge branch 'master' of github.com:highfidelity/hifi into tablet-ui
2017-01-19 09:41:49 -08:00
samcake
05304c72e0
Merge branch 'master' of https://github.com/highfidelity/hifi into meta
2017-01-18 17:00:20 -08:00
Seth Alves
7c938728e5
don't do constant haptics if stylus touches tablet frame. home button triggers only once per click
2017-01-18 16:56:39 -08:00
Seth Alves
c6d0c0909e
avoid unthreadsafe use of getJointIndex
2017-01-18 14:54:38 -08:00
Seth Alves
b57803057d
Merge branch 'master' of github.com:highfidelity/hifi into tablet-ui
2017-01-18 06:38:44 -08:00
samcake
246dcbd0c0
Removing the warning
2017-01-17 15:01:27 -08:00
Seth Alves
be165b567e
remove XXX comments
2017-01-17 13:32:58 -08:00
Seth Alves
e76f1c5937
if another avatar has something hung from their camera, don't act like their camera is my camera
2017-01-17 13:28:13 -08:00
David Kelly
9b1aaf3bfe
CR feedback
2017-01-17 12:09:47 -08:00
David Kelly
2460e89a57
CR feedback
2017-01-17 09:53:04 -08:00
David Kelly
6c701bb0f0
remove ignored avatars from PAL when they disconnect
2017-01-16 18:22:53 -08:00
samcake
83d1c3ad01
Adding support for the meta rendering
2017-01-16 17:47:58 -08:00
ZappoMan
c9c311e275
checkpoint for distance joints
2017-01-15 11:47:48 -08:00
Seth Alves
36fdaa6350
avoid a little pop when grabbing something with ignore-ik as true
2017-01-15 10:10:54 -08:00
ZappoMan
c884b276e2
Merge branch 'master' of https://github.com/highfidelity/hifi into tuneAvatarInfo
2017-01-14 22:15:22 -08:00
ZappoMan
aed1b69ee0
make the avatar bounding box be avatar local and only change when it actually changes
2017-01-12 17:19:06 -08:00
Seth Alves
208c4686c4
merge from upstream
2017-01-12 15:44:27 -08:00
Andrew Meadows
b3e336de3d
remove cruft: unused function arguments
2017-01-11 15:02:18 -08:00
Anthony J. Thibault
9db6806026
In desktop mode, tablet is in front of camera.
...
* added a new fauxJointIndex for the camera. CAMERA_MATRIX_INDEX = -7
this can be used to attach objects to the camera.
* WebTablet.js has been changed to detect when entering and exiting HMD mode
to move the tablet appropriately.
There's a known bug with the tablet entity position lagging the camera by one frame.
2017-01-10 11:31:45 -08:00
ZappoMan
13198fd949
add datarate
2017-01-09 13:57:59 -08:00
ZappoMan
636ade9eb7
Merge branch 'master' of https://github.com/highfidelity/hifi into tuneAvatarInfo
2017-01-09 11:29:54 -08:00
Chris Collins
30d5f70e11
Merge pull request #9278 from jherico/cpu_opt_scene
...
More low level optimizations
2017-01-09 10:10:40 -08:00
Brad Hefta-Gaub
ef7b9bfde0
Merge branch 'master' of https://github.com/highfidelity/hifi into tuneAvatarInfo
2017-01-09 10:07:05 -08:00
Zach Fox
dec41f67cc
Fix bugs and generally fix behavior
2017-01-06 13:58:23 -08:00
Zach Fox
495925a017
This behavior was harder to change than expected...
2017-01-05 16:58:32 -08:00
Brad Hefta-Gaub
acca9dbe87
Merge branch 'master' of https://github.com/highfidelity/hifi into tuneAvatarInfo
...
Conflicts:
libraries/networking/src/udt/PacketHeaders.cpp
libraries/networking/src/udt/PacketHeaders.h
2017-01-04 18:07:22 -08:00
Zach Fox
14def61eb8
More CR comments; 1 bug remaining re: sig slot
2017-01-03 17:32:47 -08:00
Brad Hefta-Gaub
60d48bcd49
Merge branch 'master' of https://github.com/highfidelity/hifi into tuneAvatarInfo
2017-01-03 14:42:59 -08:00
Zach Fox
800389cf20
Remove HRS logging
2016-12-28 14:37:19 -08:00
Brad Davis
e5e9ab42ea
Encapsulate AnimPose members for easier optimizations
2016-12-28 12:11:24 -08:00
Brad Hefta-Gaub
73bfc069da
more work on only sending changes
2016-12-27 17:19:55 -08:00
howard-stearns
7faa689d1d
avatar body goes away when ignored, and comes back when unignored
2016-12-27 10:17:39 -08:00
howard-stearns
768b747b3a
Make avatar go away when ignored, even when pal is up. (But currently, it
...
comes back!)
2016-12-27 10:17:39 -08:00
Andrew Meadows
a5efc08473
use PROFILE_COUNTER not SAMPLE_PROFILE_COUNTER
2016-12-22 15:32:30 -08:00
Andrew Meadows
b3be7f0f3e
restore expensive version of Avatar::updatePalms()
2016-12-22 10:42:05 -08:00
Andrew Meadows
3830649990
remove debugging and profiling
2016-12-21 10:55:59 -08:00
Andrew Meadows
8ab6974233
optimizations for processing avatar joint data
2016-12-21 10:55:59 -08:00
Brad Hefta-Gaub
08cfd8a40e
Merge pull request #9208 from ZappoMan/addViewFrustumToAvatarMixer
...
Optimize avatar-mixer bandwidth for out of view avatars
2016-12-21 10:22:56 -08:00
Brad Hefta-Gaub
5e65e3991c
CR feedback
2016-12-20 21:03:10 -08:00
Brad Hefta-Gaub
d09afa9454
Merge branch 'master' of https://github.com/highfidelity/hifi into addViewFrustumToAvatarMixer
...
Conflicts:
assignment-client/src/avatars/AvatarMixer.h
assignment-client/src/avatars/AvatarMixerClientData.h
libraries/avatars/src/AvatarData.cpp
libraries/networking/src/udt/PacketHeaders.h
2016-12-20 16:25:12 -08:00
Andrew Meadows
e43efa74de
use sampled counter
2016-12-20 16:16:31 -08:00
Andrew Meadows
fa18d548f7
use proper category for NumAvatarsPerSec trace
2016-12-20 15:28:25 -08:00
Andrew Meadows
4d711d869c
cleanup
2016-12-20 14:45:11 -08:00
Andrew Meadows
991a61b722
fix data collection for AvatarsPerSec
2016-12-20 14:01:03 -08:00
Andrew Meadows
1788d19260
remove some debug code
2016-12-20 14:00:25 -08:00
Andrew Meadows
03114fa610
add AvatarsPerSec trace stats
2016-12-20 11:45:21 -08:00
howard-stearns
3adc78fecc
Merge branch 'master' of https://github.com/highfidelity/hifi into sessionDisplayNames
2016-12-16 14:16:06 -08:00
howard-stearns
49fd4216de
sessionDisplayName set at server and passed to all clients (including
...
oneself)
2016-12-16 14:15:20 -08:00
Andrew Meadows
ee6a9f4506
adding profile stats relating to avatar CPU costs
2016-12-16 13:41:31 -08:00
Brad Hefta-Gaub
8497ad1e29
Merge branch 'master' of https://github.com/highfidelity/hifi into addViewFrustumToAvatarMixer
2016-12-15 16:42:41 -08:00
Brad Hefta-Gaub
ed19b4b592
remove compression at the per avatar data buffer for now, since it gave no benefit
2016-12-15 14:13:38 -08:00
Seth Alves
26639aac15
Merge pull request #8789 from Atlante45/fix/settings
...
Use JSON for application Settings
2016-12-15 07:00:46 -08:00
Brad Hefta-Gaub
2290179281
add compression and minimal data flags to AvatarData
2016-12-14 11:47:45 -08:00
Brad Hefta-Gaub
e3bc49c302
drop avatar data rate to 45hz
2016-12-13 16:51:59 -08:00
Zach Fox
7030c7b0a6
Space bubble improvements ( #9142 )
...
* The space bubble around a player's avatar is now visualized. When another avatar enters a player's bubble, The bubble visualization will appear, a soft tone will play, and the "Bubble" HUD button will flash.
* The space bubble radius setting has been removed. Space bubble size now scales based on avatar scale.
* Space bubble collision detection is now more accurate and reliable.
* CTRL + N toggles the bubble.
* The "Bubble" HUD button has been moved to the proper location.
2016-12-12 14:22:54 -08:00
Anthony J. Thibault
89ae3b3d6e
Revert "Merge pull request #8691 from highfidelity/out-of-body-experience"
...
This reverts commit efe9571ab8
, reversing
changes made to 333e9ec7f4
.
2016-12-05 15:18:03 -08:00
Anthony J. Thibault
0c8105b551
Revert "Merge pull request #9141 from hyperlogic/feature/my-avatar-docs-part-1"
...
This reverts commit 934148fea5
, reversing
changes made to d2b32c3084
.
2016-12-05 15:17:53 -08:00
Anthony J. Thibault
49ce04e214
Revert "Merge pull request #9150 from hyperlogic/bug-fix/driving-while-flying-in-hmd"
...
This reverts commit a69d77ffbe
, reversing
changes made to 996d3f5875
.
2016-12-05 15:17:32 -08:00
Anthony J. Thibault
e8b5b56df7
Revert "Merge pull request #9151 from hyperlogic/bug-fix/reset-sensor-in-desktop-mode"
...
This reverts commit 119653bceb
, reversing
changes made to a69d77ffbe
.
2016-12-05 15:16:49 -08:00
Andrew Meadows
119653bceb
Merge pull request #9151 from hyperlogic/bug-fix/reset-sensor-in-desktop-mode
...
Fix for reset sensors while in desktop mode.
2016-12-05 13:46:53 -08:00
Anthony J. Thibault
6d82410bc5
Fix for away.js teleporting user when in desktop mode
...
away.js calls MyAvatar.centerBody, however centerBody is only meaningful in HMD mode.
To guard against this, MyAvatar::centerBody is now a no-op if the application is not in HMD mode.
2016-12-05 10:53:20 -08:00
Anthony J. Thibault
349f0355ae
Fix for reset sensors while in desktop mode.
...
Previously hitting ' a.k.a. reset sensors, would teleport you to the last
position you were in before you switched into desktop mode, or the spawn location.
This fixes that behavior but not re-centering the avatar while in desktop mode.
2016-12-05 10:42:20 -08:00
Anthony J. Thibault
a0f93dad2c
Fix for driving/turning while flying in HMD mode
...
The internal MyAvatar:_sensorToWorldMatrix was being updated properly, however
the MyAvatar::_sensorToWorldMatrixCache was not. To fix this I've introduced
a new "mode" to updateSensorToWorldMatrix that does not change the sensorToWorldMatrix at all,
but properly copies the value to the cache and also updates hand controller poses etc.
2016-12-05 10:14:03 -08:00
Anthony J. Thibault
35eeaad590
Added jsdocs for MyAvatar
...
Not complete by any means, but it's a start.
2016-12-01 17:38:43 -08:00
Seth Alves
efe9571ab8
Merge pull request #8691 from highfidelity/out-of-body-experience
...
Room Scale HMD comfort features.
2016-12-01 11:09:39 -08:00
Andrew Meadows
445c730ca3
remove cruft, fix formatting and spelling
2016-12-01 10:38:13 -08:00
Atlante45
3035d43772
Merge branch 'master' of https://github.com/highfidelity/hifi into fix/settings
2016-11-21 13:05:08 -08:00
Anthony J. Thibault
38ac6fff03
Hand Controller rendering is camera relative
...
Basically, when using the third person camera in HMD mode. If the controllers are shown.
They should be shown in front of the users camera, not in front of the users avatar.
To accomplish this, two new faux joint indices are introduced.
CAMERA_RELATIVE_CONTROLLER_RIGHTHAND_INDEX and CAMERA_RELATIVE_CONTROLLER_LEFTHAND_INDEX.
These joint indices can be used for Overlay parenting. (But not for entity parenting because they are not transmitted over the network).
They can also be queried for by using the MyAvatar.getAbsoluteJointRotationInObjectFrame() call.
These new indices are now used by the controllerDisplay.js for the hand controller rendering.
They are also used by system/libraries/controllers.js as the origin for hand controller grabbing and interaction lasers.
2016-11-17 11:33:12 -08:00
Andrew Meadows
d749697c46
scan bottom points during hover-HMD-drive
2016-11-15 12:05:44 -08:00
Andrew Meadows
a04b7ae297
fix hover-drive in HMD
2016-11-15 11:45:09 -08:00
Andrew Meadows
6bb3dd6830
Merge hifi/master into hifi/out-of-body-experience
2016-11-14 15:08:04 -08:00
Andrew Meadows
5f0761598e
Merge pull request #8926 from AndrewMeadows/drive-hmd2
...
improved driving for HMD
2016-11-14 14:40:19 -08:00
Seth Alves
15c247fc5e
quiet warnings
2016-11-11 06:37:22 -08:00
Stephen Birarda
020942c826
better handling for a flipped min/max scale
2016-11-10 16:50:36 -08:00
Stephen Birarda
88c63332de
protect flipped min/max scale in avatar mixer settings
2016-11-10 16:21:48 -08:00
Stephen Birarda
272d0c845e
add clarifying comments about target scale changes
2016-11-10 15:25:15 -08:00
Stephen Birarda
d5722c1654
fix clamping of scale and DRY it up
2016-11-10 15:03:13 -08:00
Stephen Birarda
53769f4edf
change scale for avatar if domain limited scale changes
2016-11-10 14:58:04 -08:00
Stephen Birarda
9fdde49d14
clamp target scale changes on both ends
2016-11-10 14:54:42 -08:00
Stephen Birarda
6f442a74b1
request settings from agents and debug results
2016-11-10 14:43:15 -08:00
Stephen Birarda
77ede81fc9
limit MyAvatar scale to limits from domain settings
2016-11-10 13:27:13 -08:00
Brad Hefta-Gaub
770bf35d2b
CR feedback
2016-11-09 14:31:18 -08:00
Brad Hefta-Gaub
cf3d1011f4
remove scripts from avatar attached entities for other avatars
2016-11-09 12:26:57 -08:00
Andrew Meadows
ccdf383151
Merge hifi/master into hifi/out-of-body-experience
2016-11-07 08:24:26 -08:00
Seth Alves
f47aeae2a7
stop passing bare pointers to EntityTreeRenderer all around
2016-10-27 10:10:22 -07:00
Andrew Meadows
5e273664db
improved ray tests for HMD driving
2016-10-26 17:28:35 -07:00
Andrew Meadows
38e4ac0ae9
Merge master into out-of-body-experience
2016-10-26 16:59:31 -07:00
Anthony Thibault
23aa626755
Destroy render scene & engine before Application is destroyed
...
Many render items/payloads contain smart pointers back to the
objects that added them to the scene, including entity and avatar
objects. Currently, those render items are destroyed when the
scene is destroyed very late in the application life-cycle.
There are rare crashes that can occur when these render items are
destroyed. Possibly, due to them referencing objects that have
already been destroyed via raw pointers. In an effort to
eliminate these crashes, we now destroy the scene earlier, within
Application::aboutToQuit() which is connected to the
QCoreApplication::aboutToQuit signal. Also, we guard against null
scene pointer dereferences. Any location that accesses the scene
off the main thread, now checks the validity of the scene pointer.
2016-10-25 15:28:37 -07:00
Anthony J. Thibault
69bd4ccea2
Show hand controllers when out-of-body for more then 3/4 of a second
...
Without the timer, the hands can flicker in and out of visibility when lightly brushing against collision.
2016-10-24 18:16:05 -07:00
Andrew Meadows
42c6996aee
fix warning about unused variable
2016-10-24 14:05:28 -07:00
Andrew Meadows
8ecc23f62b
HMD drive stops against simple walls
2016-10-24 08:26:44 -07:00
Andrew Meadows
06866957d0
first pass (theoretical) HMD ray-traced step logic
2016-10-24 08:26:44 -07:00
Andrew Meadows
66479808ba
cleanup velocity calculation in HMD mode
2016-10-24 08:26:44 -07:00
Andrew Meadows
51a9a99381
Merge hifi/master into hifi/out-of-body-experience
2016-10-24 08:13:42 -07:00
Brad Hefta-Gaub
bf732127ca
Merge pull request #8856 from jherico/geometry_ids
...
Remove the use of implicit ids in geometry cache
2016-10-20 08:14:49 -07:00
Brad Davis
2705ee7030
Remove the use of implicit ids in geometry cache
2016-10-19 11:18:25 -07:00
Andrew Meadows
f414ffaf98
fix crash in MyCharacterController on shutdown
2016-10-18 21:03:02 -07:00
Zach Pomerantz
a9bad592f9
ensure model attachment lifetimes
2016-10-18 18:01:18 -07:00
Andrew Meadows
a4308f08a4
remove debug cruft
2016-10-18 16:50:19 -07:00
Andrew Meadows
6a445a0a98
more correct steepest walkable slope detection
2016-10-18 16:48:33 -07:00
Andrew Meadows
5a04c7ceee
remove tabs in formatting
2016-10-18 13:09:42 -07:00
Andrew Meadows
ecc6cb49ae
more correct hitFraction adjustments
2016-10-18 11:42:31 -07:00
Andrew Meadows
6f5f6d2493
adding ray shotgun scan for avatar motion
...
using the shotgun scan results to deterimine if slope is walkable
2016-10-17 17:58:52 -07:00
Andrew Meadows
72ad974b3e
improved shape prevents avatar walking up walls
2016-10-15 16:00:02 -07:00
Anthony J. Thibault
81db8f7e08
Merge branch 'master' into out-of-body-experience
2016-10-13 17:27:15 -07:00
Brad Hefta-Gaub
37e58d123e
Merge pull request #8793 from AndrewMeadows/recenter-above-ground2
...
prevent avatar from recentering below ground
2016-10-13 13:50:06 -07:00
Chris Collins
7ec1e05165
Merge pull request #8791 from hyperlogic/bug-fix/avatar-hold-action-deadlock-fix
...
Deadlock fix in avatar grab action.
2016-10-13 13:48:28 -07:00
Anthony J. Thibault
f0dba9e766
Prevent crash on exit.
...
If you or another user begins to near-grab an object while you exit the application, you might run into this crash.
The PhysicalEntitySimulation has a list of AvatarHoldActions shared_ptr's.
When it is destroyed, via the Application destructor, it will release these pointers.
This in turn will invoke a AvatarHoldAction destructor, which attempts to reference the AvatarManager via the DependencyManager.
However at this point the AvatarManager has already been destroyed, leading to a null dereference.
The fix is to check the AvatarManager pointer first.
2016-10-12 16:29:05 -07:00
Andrew Meadows
867fc3ccbf
prevent avatar from recentering below ground
2016-10-12 13:23:44 -07:00
Anthony J. Thibault
ba4c356d7f
Deadlock fix in avatar grab action.
...
Reverse the order we acquire the entityTree & holdActions locks, to avoid deadlocks when the network thread also acquires them.
The network thread does this when hold actions from other avatars are received.
2016-10-12 11:05:19 -07:00
Atlante45
d5429e76da
Warnings fixes and cleanup
2016-10-12 10:20:19 -07:00
Andrew Meadows
ef465d4443
prevent avatar from recentering below ground
2016-10-11 16:37:29 -07:00
Anthony J. Thibault
b0c7564b60
Fix for debug assert in glm::lerp()
2016-10-05 18:06:49 -07:00
Anthony J. Thibault
cc7a6ada38
Merge branch 'master' into out-of-body-experience
2016-10-05 17:16:39 -07:00
Clément Brisset
d18394f249
Merge pull request #8596 from huffman/feat/my-avatar-self-id
...
Add ability to parent overlays to MyAvatar for use across servers
2016-10-05 12:03:01 -07:00
Anthony J. Thibault
aab974e6ae
Merge branch 'master' into out-of-body-experience
2016-10-04 11:17:52 -07:00
Anthony J. Thibault
dcd425a165
Add an entityTree lock around the AvatarHoldAction::lateAvatarUpdate calls
2016-10-04 10:56:44 -07:00
Anthony J. Thibault
327fcc970b
Remove frame lag from near grabbed physical objects.
...
In the game loop, physics occurs before avatar update.
Before this PR, when the avatar is moved during avatar update, near grabbed objects will not pick up this move until one frame later, when
the physics is run on the next update.
After this PR, near grabbed objects are adjusted to reflect any position or rotation change that occurred during the avatar update.
2016-10-03 16:01:54 -07:00
Andrew Meadows
d29386c43f
better tracking of avatar gravity setting
2016-09-29 11:14:19 -07:00
Anthony J. Thibault
62dc250237
removed DebugDraw calls
2016-09-27 16:48:15 -07:00
Anthony J. Thibault
961d262df1
Improved body follow behavior
...
* follow helper lean re-centering / reconciliation now modifies bodySensorMatrix, NOT the character controller.
* The character controller now always follows the bodySensorMatrix (in world space).
This decouples the lean re-centering velocity from the velocity used to move the character controller.
We can now independently tune these things separately.
2016-09-27 16:38:48 -07:00
Anthony J. Thibault
0a72805874
Tuned transition from idle to back to reduce foot sliding
2016-09-26 10:41:16 -07:00
Anthony J. Thibault
203ff95849
Animation tuning to reduce foot sliding.
...
* Navigation walk speed has been reduced
* Tuned IdleToWalk timescale and interp time to reduce foot sliding
* Tuned fwd, back and lateral characteristicSpeeds to better match the
animations. This reduces foot sliding when moving forward and backward.
* Reduced rig state machine hysteresis to 1/60th of a second.
2016-09-26 09:59:50 -07:00
Anthony Thibault
10c5da5728
Smooth transition of hands from in-body to out-of-body modes.
2016-09-24 14:28:56 -07:00
Anthony Thibault
27e6c0f872
Added debug draw path trace for left and right feet
2016-09-24 13:01:16 -07:00
Anthony J. Thibault
f4c4b3474b
capsule projection and distance tests now work for non-vertical capsules
2016-09-23 16:55:38 -07:00
Anthony J. Thibault
9567ec11af
Prevent character from walking when pinned against collision.
...
This is fixed by using the pre-action velocity from CharacterController, which does not include any motors or follow velocity.
This pre-action velocity reflects the actual rigid body velocity after collision constraints are resolved.
This should prevent the character f
2016-09-23 15:22:52 -07:00
Anthony J. Thibault
b68dbab994
Fix for incorrect hand offset when backing into collision.
...
We know properly account for the offset of the head due to clamping from a small maxHipsOffset.
This means the hands should look more natural when you are out-of-body and are moving your hand controllers.
2016-09-23 11:47:44 -07:00
Anthony J. Thibault
98ffea2fb9
Merge branch 'master' into out-of-body-experience
2016-09-22 18:08:23 -07:00
Andrew Meadows
06ff984f90
sky-hook for walking up steps
2016-09-22 09:48:59 -07:00
Anthony J. Thibault
1f7dc25f12
MyAvatar.addThrust() works again.
2016-09-21 11:48:54 -07:00
Anthony J. Thibault
4c99848f29
disable vertical re-centering behavior
2016-09-20 17:05:01 -07:00
Anthony J. Thibault
4afd60f22a
Flying behavior now works again
2016-09-20 16:01:39 -07:00
Andrew Meadows
7258835f3f
restore orientation from physics to Avatar
2016-09-20 09:14:11 -07:00
Andrew Meadows
59e6ca8f8d
avatar follows HMD using velocity motor
2016-09-20 08:29:55 -07:00
Andrew Meadows
8dd5c9b92b
fix kinematic motion for ground and hover
2016-09-20 08:29:55 -07:00
Andrew Meadows
80b970f2d9
adding MyAvatar::_canonicalScale, but not used yet
2016-09-20 08:29:55 -07:00
Andrew Meadows
e6d40e6e4d
Merge pull request #8625 from hyperlogic/bug-fix/oobe-desktop-motor-fix
...
Fixed motor velocity
2016-09-19 17:04:54 -07:00
Anthony J. Thibault
6f0acb3826
Fixed motor velocity in HMD mode
2016-09-19 16:56:36 -07:00
Anthony J. Thibault
a028d3ba58
Remove hacks for debug rendering of IK targets
...
A AnimContext class was introduced. This context is passed into every node during evaluation/overlay.
It holds non-animVar "global" data passed from the application.
2016-09-19 15:03:46 -07:00
Andrew Meadows
c77f6a7c16
Merge pull request #8614 from hyperlogic/out-of-body-experience
...
Turn and drive the HMD with linear velocity
2016-09-16 15:43:29 -07:00
Andrew Meadows
20418d5f58
fix hips sweep test
2016-09-15 18:39:57 -07:00
Anthony J. Thibault
c7caf9fe06
Turn and drive the HMD with linear velocity
2016-09-15 17:08:36 -07:00
Andrew Meadows
83157b573a
measure max hips offset and clamp it in IK
2016-09-15 14:55:04 -07:00
Anthony J. Thibault
d51898f60d
Merge branch 'out-of-body-experience' of github.com:highfidelity/hifi into out-of-body-experience
2016-09-15 14:23:38 -07:00
Andrew Meadows
821570fa76
fix Windows build and minor format/namechange
2016-09-15 09:32:03 -07:00
Andrew Meadows
f5c5c68937
adding kinematic character controller demo
2016-09-14 11:43:52 -07:00
Seth Alves
59db640cb5
add explaining comment
2016-09-14 11:33:03 -07:00
Seth Alves
8734661a0e
add explaining comment
2016-09-14 11:28:22 -07:00
Seth Alves
e5e9bb0052
Merge branch 'master' of github.com:highfidelity/hifi into grab-point-adjustments
2016-09-14 11:28:10 -07:00
Ryan Huffman
23450e929b
Add special avatar id for attaching overlays
2016-09-13 16:33:58 -07:00
Anthony J. Thibault
bc130eaf26
ramp support with comfort mode option
2016-09-13 16:26:10 -07:00
Anthony J. Thibault
0fde3a2d76
Fix for TRUNCATE_IK_CAPSULE globals
2016-09-13 10:26:38 -07:00
Anthony J. Thibault
362e185098
Revert "When out-of-body have your avatar face toward your HMD."
...
This reverts commit ffb1bae1f0
.
2016-09-13 09:54:19 -07:00
Andrew Meadows
954d690b8a
expose setting avatar collisionless
2016-09-12 16:24:08 -07:00
Anthony J. Thibault
ffb1bae1f0
When out-of-body have your avatar face toward your HMD.
2016-09-12 16:20:13 -07:00
Anthony J. Thibault
baee5180c1
Moved outOfBody detection into MyAvatar::FollowHelper
...
in preparation for different follow behavior for in-body and out-of-body.
2016-09-12 11:52:27 -07:00
Anthony J. Thibault
5e0c2286ec
Use OUTOFBODY_HACK as searchable token
2016-09-12 10:58:06 -07:00
Andrew Meadows
0f248c4540
expose MyAvatar::setSensorToWorldMatrix()
2016-09-09 16:31:36 -07:00
Anthony J. Thibault
7e7803c648
Added developer option to draw IK targets in world.
2016-09-09 12:50:34 -07:00
Brad Davis
ecfe56085d
GLM update and GLI integration
2016-09-09 10:18:15 -07:00
Andrew Meadows
bc56df0be1
out-of-body with reduced recovery speeds
2016-09-08 14:31:31 -07:00
Seth Alves
624cc655dd
disable code that backs-up in time to pick release velocity
2016-09-07 13:24:53 -07:00
Seth Alves
1a9f43cb67
fix AvatarActionHold's idea of where the controllers are when the avatar has been scaled
2016-09-01 12:17:34 -07:00
Seth Alves
dc31525794
remove some left-over code
2016-08-31 16:39:57 -07:00
Seth Alves
280b603747
remove some leftover code
2016-08-31 16:30:51 -07:00
Seth Alves
cdd08bd38e
more anti-jitter changes
2016-08-30 14:59:30 -07:00
Seth Alves
78f54a7f33
get rid of some jitter in equipped items. do a better job of deciding when something equipped has been torn-away
2016-08-30 14:39:11 -07:00
Seth Alves
5bda94b2ba
use same data as used for drawing show-hand-targets for controller joints in MyAvatar
2016-08-30 12:39:30 -07:00
Seth Alves
9394a25a1c
remove some anti-jitter code that was doing more harm than good
2016-08-26 12:47:19 -07:00
Seth Alves
9884426ad8
replace debugging aborts with asserts
2016-08-26 06:13:33 -07:00
Seth Alves
174a95a005
do some hokey pokey to avoid jitter of held entities while walking
2016-08-25 18:49:47 -07:00
Seth Alves
3b278adba3
Merge branch 'master' of github.com:highfidelity/hifi into joints-for-controllers
2016-08-25 17:28:18 -07:00
Seth Alves
dfae5b64bd
attempt to avoid jitter of held entity while walking
2016-08-25 16:42:40 -07:00
Seth Alves
232917fcf8
when processing AvatarActionHold for another's avatar, use their hand-controller joint information
2016-08-25 16:02:58 -07:00
Seth Alves
7c5b8cb75d
send faux joints to the avatar-mixer
2016-08-25 15:21:29 -07:00
Seth Alves
39f52b3682
start on faux avatar joint that represent hand controllers
2016-08-25 10:58:23 -07:00
Andrew Meadows
25fb7aacad
ShapeManager hands out const shape pointers
2016-08-24 22:26:56 -07:00
Anthony J. Thibault
c6ea64926c
Sensor space entity support
...
You can do this by parenting an entity to an avatar's -2 joint index.
This will mean that the entity will follow the avatar as it moves in the world, but
will not follow the avatar's position as it moves in sensor space. Essentially, this
gives you the ability to place objects in the user's physical room.
WebTablets now are located in this feature and no longer jitter.
2016-08-23 10:13:06 -07:00
Seth Alves
9bcda1bb45
merge from upstream
2016-08-20 15:25:04 -07:00
Seth Alves
87dbfa7e47
add -Wsuggest-override to compile flags and deal with fallout
2016-08-18 09:51:41 -07:00
Brad Davis
a32ab77b7d
Address issues with random camera locations caused by bad HMD sensor poses
2016-08-17 15:22:30 -07:00
Atlante45
e4dd4c1a41
Merge branch 'master' of https://github.com/highfidelity/hifi into steam
2016-08-12 10:38:05 -07:00
Atlante45
51b45f8f73
Steam invite are facing the current position
2016-08-08 15:39:25 -07:00
SamGondelman
771e105fa2
Merge remote-tracking branch 'upstream/master' into loadingFade
2016-08-05 16:52:01 -07:00
SamGondelman
2eb0c7735f
working on fading shape entities
2016-08-03 13:30:05 -07:00
Seth Alves
79121133df
remove unneeded change
2016-08-02 12:00:45 -07:00
Seth Alves
f91df4997d
re-enable falling-back to default avatar if an avatar's url is bad
2016-08-02 11:55:11 -07:00
Seth Alves
75f9626c2d
if MyAvatar simulation is cut short (due to no skeleton), still update the head position
2016-08-02 11:50:53 -07:00
Seth Alves
56af36ae64
set head position of other avatars even if they can't be drawn
2016-08-02 11:29:43 -07:00
Seth Alves
229b8d3b5e
testing a more explicit fix of the audio failure
2016-08-02 10:46:11 -07:00
Seth Alves
ed4b0b3589
call _skeletonModel.setURL, but leave our copy of _skeletonModelURL alone. This is so that we don't redo this every time we receive an identity packet from the avatar with the bad url.
2016-08-02 09:57:17 -07:00
Seth Alves
b953e6f0ff
when an avatar URL fails, switch to the default
2016-08-01 18:12:30 -07:00
Brad Hefta-Gaub
41e02276e5
Merge pull request #8297 from hyperlogic/feature/fst-anim-graph-override
...
Support for animGraphUrl override in FST file.
2016-07-23 13:42:46 -07:00
Anthony Thibault
2429b82b5e
Support for animGraphUrl override in FST file.
2016-07-21 17:17:08 -07:00
Anthony J. Thibault
837b19ed1b
fix for pushing avatar into floor when exiting away mode.
...
* Removed MyAvatar.reset() access from JavaScript
* Added HMD.centerUI() to JavaScript, which can be used to reset the 3D UI sphere around the current HMD orientation.
* Added MyAvatar.clearIKJOintLimitHistory() which can be used to reset any remembered IK joint limit history.
* Added MyAvatar.centerBody() which can be used to instantly re-orient the avatar's so that the hips and toes
are facing the same direction as the current HMD orientation.
away.js now uses the above new API's instead of MyAvatar.reset()
2016-07-19 14:42:24 -07:00
Seth Alves
2d73b23c56
when deciding on the release velocity of something thrown, don't include a zero velocity caused by seeing the same controller data as last frame
2016-07-18 14:44:41 -07:00
Brad Hefta-Gaub
45aa78702c
Merge pull request #8217 from sethalves/fix-throwing
...
fix throwing
2016-07-14 15:52:41 -07:00
Stephen Birarda
609900f246
move ignore set handling to NodeList
2016-07-13 15:06:31 -07:00
Stephen Birarda
6b6513d5f9
immediately fade out ignored avatars
2016-07-13 15:06:31 -07:00
Brad Hefta-Gaub
9fcecb6277
Merge pull request #8204 from hyperlogic/bug-fix/avatar-url-and-model-name-access-from-js
...
Fix MyAvatar name and url accessors.
2016-07-12 15:30:06 -07:00
Seth Alves
0dd2171b75
remove commented-out code
2016-07-12 11:57:57 -07:00
Seth Alves
6c14ef3392
added a comment
2016-07-12 11:56:57 -07:00
Seth Alves
84c5bef487
back to ignore more recent 3 frames. don't have released entities collide with myAvatar until 0.25 seconds after release
2016-07-11 17:02:11 -07:00
Seth Alves
0d0e0925e5
try skipping 2 rather than 3
2016-07-11 16:00:55 -07:00
Seth Alves
1ef26d39eb
blah
2016-07-11 15:31:15 -07:00
Seth Alves
b0f1492ac7
ignore 3 frames for current velocity rather than just 1
2016-07-11 15:08:00 -07:00
Seth Alves
9c17890035
try not including the most recent sample in the smoothed velocity
2016-07-11 14:18:28 -07:00
Seth Alves
53a366d4e8
measure velocity over 6 frames
2016-07-11 13:25:00 -07:00
Seth Alves
7295e5c101
experimenting
2016-07-11 10:22:44 -07:00
Seth Alves
eac144f354
experimenting
2016-07-11 09:52:24 -07:00
Seth Alves
051616d7c3
experimenting
2016-07-08 16:16:06 -07:00
Seth Alves
11542aeca2
pick against avatar's capsule and then against the T-pose mesh
2016-07-07 16:36:25 -07:00
Anthony J. Thibault
aba6924dc7
Fix MyAvatar name and url accessors to JS.
...
Q_INVOKABLE does not support returning references.
MyAvatar.getFullAvatarURLFromPreferences() now returns a QUrl instead of a reference.
MyAvatar.getFullAvatarModelName() now returns a QString instead of reference.
This should fix the JS API for these methods, they will now receive a JS string instead of undefined.
2016-07-07 13:33:36 -07:00
Seth Alves
5f9c7b6ea5
trying to take joint information into account when raypicking against models
2016-06-29 17:02:49 -07:00
Seth Alves
9114ebb548
remove unused code
2016-06-29 09:53:26 -07:00
Seth Alves
c3dbe5d9c4
ray pick against avatar meshes rather than capsules
2016-06-29 09:45:09 -07:00
Seth Alves
03ed36cf33
take shape offset into account when getting avatar's capsule
2016-06-29 09:13:52 -07:00
Seth Alves
0f9f4749e7
fix invokeMethod in AvatarManager::findRayIntersection
2016-06-28 11:18:46 -07:00
Seth Alves
8a0d58a0c2
fix invokeMethod in AvatarManager::findRayIntersection
2016-06-28 11:15:01 -07:00
Seth Alves
4e70e8ed42
js call to ray-pick against avatars
2016-06-28 09:55:49 -07:00
Howard Stearns
81300ec127
turn hud reset behavior on by default
2016-06-18 14:35:37 -07:00
Bradley Austin Davis
175dbb8924
Merge remote-tracking branch 'upstream/master' into vive-ui
2016-06-14 09:48:56 -07:00
Chris Collins
b14f9cd312
Merge pull request #8041 from sethalves/fix-avatar-entity-locking
...
Fix avatar entity locking
2016-06-13 13:10:32 -07:00
Anthony J. Thibault
ccf85c1f7c
Merge branch 'vive-ui' into bug-fix/hmd-ui-center-improvements
2016-06-13 09:48:58 -07:00
Anthony J. Thibault
f6ed5a1dae
Bugfixes based on feedback
...
* When the overlay is hidden because your head is too close to the sphere,
instead of coming back immediately, it waits until the avatar's velocity is near zero
for a period of time.
* Hooked up jump and fly to MyAvatar::hasDriveInput()
* Added an internal state machine to OverlayConductor to manage hiding/showing transitions.
* The overlay menu state is now tied directly to the overlay, so it will change state as the
overlay is dynamically hidden/shown from code.
* Removed slot going directly from MenuOption::Overlays directly to OverlayConductor::setEnable().
2016-06-10 18:33:40 -07:00
Brad Hefta-Gaub
3c5af56421
Merge pull request #8010 from hyperlogic/feature/hmd-lean-recenter-property
...
Added MyAvatar.hmdLeanRecenterEnabled property
2016-06-09 12:17:51 -07:00
Anthony J. Thibault
1aae22f5a5
Optimized MyAvatar.getCharacterControllerEnabled()
...
Instead of doing a blocking queued invokeMethod, it just calls into CharacterController.isEnabled() which is now thread-safe.
2016-06-09 09:35:19 -07:00
Anthony J. Thibault
5ef6847dc3
HMD re-centering while driving improvements.
...
Previously the HUD fading in/out would also recenter the hmd sensor and the avatar, which caused many problems including:
* The user's view could shift vertically.
* Your avatar would briefly go into t-pose
* other users would see your avatar go into t-pose.
Now we now move the UI sphere instead, which results in a much smoother experience.
MyAvatar: added hasDriveInput method.
OverlayConductor:
* removed avatar and sensor reset, instead the overlay's modelTransform is changed.
* revived STANDING mode, which is active if myAvatar->getClearOverlayWhenDriving() is true and you are wearing an HMD.
* SITTING & FLAT mode should be unchanged.
* Instead of using avatar velocity to fade out/fade in the hud, We use the presense or absanse of avatar drive input.
* Additionally, we check distance to the UI sphere, and quickly recenter the hud if the users head is too close to the actual hud sphere.
CompositorHelper:
* Bug fixes for ray picks not using the modelTransform.
HmdDisplayPlugin:
* Bug fixes for rendering not using the modelTransform.
2016-06-08 18:36:36 -07:00
Seth Alves
f070708b4a
_avatarEntityData is accessed by more than one thread.
2016-06-08 15:53:54 -07:00
Anthony J. Thibault
30d8ae36e8
Added MyAvatar.characterControllerEnabled property
2016-06-07 16:55:32 -07:00
Howard Stearns
38d0d28603
Merge pull request #8021 from AndrewMeadows/walk-follows-camera
...
camera steers avatar when walking
2016-06-07 10:43:01 -07:00
Andrew Meadows
e6844e2468
use world-UP rather than head-UP
2016-06-04 21:11:31 -07:00
Andrew Meadows
49c835b6fc
use camera twist for walk steering
2016-06-04 20:53:30 -07:00
Brad Davis
39dcd1f9bd
Eliminate file IO contentions for the settings
2016-06-04 17:55:30 -07:00
Anthony J. Thibault
9292a9ce0b
Added MyAvatar.hmdLeanRecenterEnabled property
...
Used to disable the 'room-scale' avatar re-centering code.
Disabling this can prevent sliding when the avatar is supposed to be sitting or mounted on a stationary object.
Also, removed a bunch of old, unused leaning and torso twisting code.
2016-06-03 13:56:32 -07:00
Atlante45
e2fa734024
Set collision threashold to walking speed
2016-06-02 19:15:55 -07:00
Atlante45
4e8b61dea0
Limit collision injectors count to 3
2016-06-02 19:12:37 -07:00
Atlante45
854bf82631
Raise and stretch collision sounds threshold
2016-06-02 17:37:36 -07:00
Howard Stearns
5b6660e7ea
Default preference to false.
2016-05-27 10:35:46 -07:00
Howard Stearns
e4d36cc2c2
Merge branch 'master' of https://github.com/highfidelity/hifi into reset-hud-on-driving
2016-05-27 10:32:01 -07:00
Anthony J. Thibault
b4d14f06d8
Bugfix for avatar LOD
...
If an avatar was LOD'ed out, it would never become visible again, because the bounds of the skeleton model were never again.
This ensures that the model bound is updated, even when the avatar is LOD'ed away.
2016-05-26 14:35:17 -07:00