overte-JulianGro/libraries
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
..
animation Merge pull request #8984 from sethalves/fix-setLocalJointRotation-name 2016-11-10 13:39:14 -08:00
audio fix unit conversion for audio fade factor 2016-10-21 16:10:33 -07:00
audio-client coding standard 2016-11-01 11:59:28 -07:00
auto-updater enabled qnetworkrequest redirects everywhere I could find them 2016-09-06 17:35:06 -07:00
avatars Hand Controller rendering is camera relative 2016-11-17 11:33:12 -08:00
controllers fix 'any endpoints' for axis style inputs 2016-10-08 20:24:52 -07:00
display-plugins code review 2016-11-13 16:09:57 -08:00
embedded-webserver
entities quiet warnings 2016-11-11 06:37:22 -08:00
entities-renderer implement RenderableModelEntityItem::setAbsoluteJointRotationInObjectFrame and RenderableModelEntityItem::setAbsoluteJointTranslationInObjectFrame 2016-11-04 11:44:42 -07:00
fbx in C, order of argument evaluation isn't defined 2016-10-28 15:48:54 -07:00
gl Back to the correct code 2016-11-09 18:25:37 -08:00
gpu Remove incremental transfers 2016-11-10 08:35:35 -08:00
gpu-gl these qDebugs happen too late and cause a crash 2016-11-13 10:21:27 -08:00
input-plugins global/static QStrings in plugins appear to cause crashes during shutdown 2016-11-13 10:22:14 -08:00
model Updated metrics 2016-10-25 17:49:51 -07:00
model-networking Addressed feedback from code review. 2016-10-07 17:46:46 -07:00
networking Merge pull request #9050 from sethalves/last-edited-by 2016-11-11 16:02:18 -08:00
octree fix checker for unreasonable size of vector of bools 2016-11-03 09:47:24 -07:00
physics use convexHull for ellipsoidal "spheres" 2016-11-03 17:56:38 -07:00
plugins global/static QStrings in plugins appear to cause crashes during shutdown 2016-11-13 10:22:14 -08:00
procedural catagorize some qDebugs 2016-09-14 21:39:45 -07:00
recording use the correct Qt windows macro 2016-09-01 11:33:20 -07:00
render Destroy render scene & engine before Application is destroyed 2016-10-25 15:28:37 -07:00
render-utils Add color support to debug draw marker rendering 2016-11-04 17:09:25 -07:00
script-engine Merge pull request #8973 from humbletim/fix-batched-script-keys 2016-11-14 08:13:32 -08:00
shared global/static QStrings in plugins appear to cause crashes during shutdown 2016-11-13 10:22:14 -08:00
steamworks-wrapper Add getter for SteamVR's buildID to SteamClient 2016-10-26 14:51:48 -07:00
ui expose menu enablement to javascript 2016-11-10 15:01:06 -08:00
ui-plugins