Dante Ruiz
66020cf446
Merge branch 'master' of github.com:highfidelity/hifi into puck-lost-tracking
2017-05-11 23:19:03 +01:00
Dante Ruiz
539aaf8c59
add debug statment and fixed sorting order
2017-05-11 23:00:41 +01:00
Dante Ruiz
5d457eaa39
better handling of when lost tracking of pucks
2017-05-11 20:44:08 +01:00
Dante Ruiz
7687617e91
made requested changes
2017-05-11 00:32:42 +01:00
Dante Ruiz
4365907462
drop down puck configuration for gernal settings
2017-05-10 22:12:11 +01:00
samcake
39f6e22da3
Merge branch 'master' of https://github.com/highfidelity/hifi into brown
2017-05-10 09:48:26 -07:00
Dante Ruiz
0e1ef75d5b
fix comment wording
2017-05-10 16:18:26 +01:00
Dante Ruiz
571f0d5951
made requested changes
2017-05-10 16:14:29 +01:00
samcake
bc41be7ec1
Introucing the BackgroundStage to manage the background / skybox in one place
2017-05-09 17:10:05 -07:00
Dante Ruiz
bb4c0d972d
head routed through the vive input plugin
2017-05-10 00:10:26 +01:00
Dante Ruiz
53e254152d
fixed puck location
2017-05-09 22:30:29 +01:00
Dante Ruiz
c362ba9164
better calibration event
2017-05-09 19:13:47 +01:00
Dante Ruiz
d688b60282
no magic numbers
2017-05-09 18:02:12 +01:00
Dante Ruiz
bce9e9ea82
made requested chnages
2017-05-09 17:51:30 +01:00
Dante Ruiz
c3d57459d5
minimize diff 3.0
2017-05-09 00:32:47 +01:00
Dante Ruiz
03ba3f5944
minimize diff 2.0
2017-05-09 00:31:13 +01:00
Dante Ruiz
00546c55bb
minimize diff
2017-05-09 00:30:06 +01:00
Dante Ruiz
23c3a75116
finally fixed rotation issue
2017-05-09 00:27:30 +01:00
Dante Ruiz
a744db56aa
removed dead code
2017-05-06 00:21:52 +01:00
Dante Ruiz
8813306857
fixed the wierd rotation issue
2017-05-05 23:59:38 +01:00
Dante Ruiz
20c8356bb2
debugging rotation fix
2017-05-05 22:55:53 +01:00
Dante Ruiz
31f6038e45
limbs tracking pucks
2017-05-03 20:08:42 +01:00
Dante Ruiz
fb502a7fed
add offset function
2017-05-03 00:37:35 +01:00
Dante Ruiz
8e2b25eacc
working on computing offsets
2017-05-03 00:25:41 +01:00
Dante Ruiz
15cad1fee9
saving work
2017-05-02 21:33:58 +01:00
Ryan Huffman
aca7ad27c6
Fix ktx dependencies
2017-04-26 10:47:32 -07:00
Atlante45
33f58f99d1
CR
2017-04-25 16:09:31 -07:00
Atlante45
ad16a935e9
Texture::create returns shared pointer
2017-04-25 15:56:23 -07:00
Mohammed Nafees
3382f9f5eb
Remove unnecessary dependencies from hifiCodec
2017-04-25 00:42:45 -04:00
Sam Cake
2b97171061
Avoiding temp variable reference to appease mac and fixing a warning
2017-04-15 01:06:01 -07:00
Sam Cake
038d01ce04
Avoiding temp variable reference to appease mac and fixing a warning
2017-04-15 00:45:50 -07:00
Andrew Meadows
e64e2614e3
Merge pull request #10147 from alhighfidelity/Kinect-Hand-Filter
...
Kinect hand filter
2017-04-12 14:27:05 -07:00
Al Bernstein
ead4793392
removed whitespace
2017-04-06 17:26:12 -07:00
Al Bernstein
c628b23895
removed whitespace
2017-04-06 17:21:58 -07:00
Al Bernstein
e737456dcd
used thread safe moving average for the quaternions
2017-04-06 16:56:03 -07:00
Al Bernstein
de1fdfacca
made requested changes in PR10147
2017-04-06 16:18:40 -07:00
Anthony J. Thibault
4e49774d0e
Moved device class check into handleTrackedObject
2017-04-06 13:20:00 -07:00
Al Bernstein
e6e5224647
clean ups - coding standard
2017-04-06 11:27:58 -07:00
Al Bernstein
001c92416b
clean ups - coding standard
2017-04-06 11:23:33 -07:00
Al Bernstein
4a17112478
Kinect moving average filter for hands
2017-04-06 11:08:09 -07:00
Anthony J. Thibault
42262aac78
OpenVR: upgrade to version 1.0.6, for better generic tracker support
2017-04-05 18:41:43 -07:00
Anthony Thibault
be2fdd9388
Merge pull request #10063 from hyperlogic/feature/vive-tracked-objects
...
Vive: Expose all 16 tracked poses to the controller system
2017-04-05 16:53:47 -07:00
Dante Ruiz
81ae3e44fd
Merge branch 'master' of github.com:highfidelity/hifi into oculus-tracking
2017-04-04 22:11:08 +01:00
Dante Ruiz
a31812821a
oculus lost tracking, delay hand to side
2017-04-04 22:10:47 +01: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
Sam Cake
dd73cb7b8e
Use a magic number gpu::Texture::SINGLE_MIP instead of 1
2017-03-30 23:46:37 -07:00
ZappoMan
4da8e5e18f
fix left/right legs for kinect
2017-03-30 20:01:59 -07:00
samcake
26000288d7
Merge branch 'master' of https://github.com/highfidelity/hifi into ambient
2017-03-30 11:45:12 -07:00
Anthony J. Thibault
d47c040768
Vive: Expose all 16 tracked poses to the controller system.
...
This is in preparation for the Vive hockey puck trackers...
2017-03-29 18:15:29 -07:00
samcake
b6504bba56
Moving the num mips per texture to the creator so it s immutable and simpler
2017-03-29 17:58:56 -07:00
ZappoMan
6f2f80e334
make sure kinect plugin debugging setting is actually saved and loaded
2017-03-29 14:06:11 -07:00
ZappoMan
9d3e8818f7
fix build
2017-03-28 18:49:36 -07:00
ZappoMan
80fb7bc287
add extra debugging to the kinect plugin
2017-03-28 18:42:15 -07:00
ZappoMan
bdfbc13185
add support for hand rotations to the kinect plugin, add notes on mapping from kinect orientations to our frame orientations
2017-03-28 15:09:03 -07:00
Ryan Huffman
56c5f06365
Fix Oculus Touch + Remote not being detected after initial launch
2017-03-23 16:29:08 -07:00
Brad Davis
e94f803b84
Merge remote-tracking branch 'upstream/master' into HEAD
2017-03-08 09:03:21 -08:00
Bradley Austin Davis
ce9d637b3f
Expose ASW activation status, provide normalized present rate information
2017-03-03 10:46:05 -08:00
Bradley Austin Davis
fa5b315e09
Merge remote-tracking branch 'upstream/master' into smarter_textures
2017-03-01 15:16:18 -08:00
Seth Alves
7a31a99e3c
back out previous experiment
2017-02-25 21:13:20 -08:00
Bradley Austin Davis
7fb7aa87eb
Working on new texture management strategy
2017-02-17 07:53:16 -08:00
Brad Hefta-Gaub
edf4cfa377
Merge pull request #9615 from kencooke/audio-packetloss-fix
...
Reduce audio clicks/pops caused by packet loss
2017-02-06 13:12:08 -08:00
Ken Cooke
4acb99cd4f
Use interpolated audio (codec packet-loss concealment) or zero samples (if no codec) when audio packets are lost. This audio is still processed by the audio pipeline to avoid clicks/pops.
2017-02-06 09:29:39 -08:00
Brad Hefta-Gaub
2a20ce6062
fix kinect plugin claiming to have hands when not enabled
2017-02-04 10:38:46 -08:00
Stephen Birarda
1993e358d6
Merge pull request #9318 from birarda/ovr-platform-entitlement
...
handle OVR Platform entitlement checks
2017-01-16 11:16:31 -08:00
Brad Davis
15b9e750f9
Adding tracking of Oculus renders, submits, and frames that are over budget
2017-01-06 10:51:26 -08:00
Stephen Birarda
8f279ce1f7
only pop to check entitlements if oculus store build
2017-01-05 14:21:35 -08:00
Stephen Birarda
46086cdcce
set the OCULUS_STORE property with oculus store arg
2017-01-05 14:02:35 -08:00
Stephen Birarda
2ec9b81aa6
fix passing of OCULUS_APP_ID to platform SDK initialization
2017-01-05 11:38:57 -08:00
Stephen Birarda
f592d8d894
force entitlement check for all builds with OCULUS_APP_ID
2017-01-05 11:38:47 -08:00
Stephen Birarda
b87a1b2b2b
only fire the entitlement check if OCULUS_APP_ID is set
2017-01-05 11:38:32 -08:00
Stephen Birarda
ea3e5f702a
add popping of messages for entitlement check
2017-01-05 11:20:45 -08:00
Stephen Birarda
4278d7b20d
download and link oculus platform for oculus plugin
2017-01-05 11:20:44 -08:00
Brad Davis
9bf4804d3d
Use a higher thread priority for Oculus present
2017-01-05 11:04:50 -08:00
Brad Hefta-Gaub
84eca0159e
Merge branch 'master' of https://github.com/highfidelity/hifi into improveInterval
...
Conflicts:
tests/networking/src/ResourceTests.cpp
2016-12-29 16:42:52 -08:00
Atlante45
e5901fa875
Make getHardwareStats thread safe
2016-12-29 11:13:55 -08:00
Atlante45
f46b8f3e6d
Track compositor dropped frames as well.
2016-12-29 10:17:40 -08:00
Brad Hefta-Gaub
a72f60152b
audit use of QTimer intervals to make sure we're using Qt::PreciseTimer when appropriate
2016-12-29 08:53:37 -08:00
Atlante45
f79c6e08f5
Track dropped frames as reported by the Oculus SDK
2016-12-28 14:18:23 -08:00
Seth Alves
1bcb5ceaff
quiet some warnings
2016-12-26 20:16:05 -08:00
Brad Davis
e58623bcc0
Working on test/trace script interface
2016-12-22 11:46:40 -08:00
Brad Hefta-Gaub
dbbed462b4
cleanup naked qDebug() calls
2016-12-19 22:24:25 -08:00
Brad Davis
30a9961362
tracing polish
2016-12-16 14:02:27 -08:00
Ryan Huffman
2e25f18e76
Adjust positioning of avatar hands to match touch controller position
2016-12-16 11:03:20 -08:00
Ryan Huffman
7bb2755913
Add chrome tracing support
2016-12-16 01:14:01 -08:00
Stephen Birarda
4c1f99954b
fix confusing MIN_CORES_SPEC comment
2016-12-14 17:49:08 -08:00
Atlante45
0dec97fc03
Make Steamworks a plugin
2016-12-14 15:37:49 -08:00
Atlante45
07802eb284
Fix Oculus Touch flags check
2016-12-13 17:08:00 -08:00
Brad Hefta-Gaub
a2ba03284e
Merge pull request #9186 from ZappoMan/kinectPlugin
...
Kinect Plugin
2016-12-13 15:29:41 -08:00
Brad Hefta-Gaub
1d07711937
CR feedback
2016-12-12 17:36:01 -08:00
Brad Hefta-Gaub
d51b408c12
more work on hand tracking
2016-12-12 08:46:21 -08:00
Brad Hefta-Gaub
fdf9dc432d
only build if kinect SDK is available
2016-12-09 08:30:33 -08:00
Brad Hefta-Gaub
053b1bedc4
add orientation
2016-12-09 08:29:21 -08:00
Brad Hefta-Gaub
b6838c6ec4
more debugging
2016-12-08 23:32:03 -08:00
Brad Hefta-Gaub
4959a88581
first cut at kinect input plugin
2016-12-08 22:13:56 -08:00
Atlante45
7b0b777051
Honor reorient and quit request from OVR
2016-12-07 17:29:54 -08:00
Anthony J. Thibault
9b0ce556e7
Added preferences for the Perception Neuron plugin.
...
By default this plugin is disabled.
The server address and port number are also configurable.
2016-11-23 10:10:00 -08:00
Brad Hefta-Gaub
3a68f48cd7
disable threaded reprojection when running oculus in OpenVR
2016-11-14 16:30:18 -08:00
Seth Alves
7a160ce5e8
try, try again
2016-11-13 13:39:31 -08:00
Seth Alves
645134e4b0
try, try again
2016-11-13 13:26:15 -08:00
Seth Alves
da83fd9fa4
try, try again
2016-11-13 12:56:16 -08:00
Seth Alves
946dc256f0
try, try again
2016-11-13 12:15:35 -08:00
Seth Alves
359f05426c
try, try again
2016-11-13 12:14:48 -08:00
Seth Alves
45bcf626aa
try, try again
2016-11-13 11:48:49 -08:00
Seth Alves
f8fb5b9709
avoid some more static/global QStrings in plugins
2016-11-13 11:29:19 -08:00
Seth Alves
9b4a8427e6
global/static QString
2016-11-13 11:09:27 -08:00
Seth Alves
9868ddd602
global/static QStrings in plugins appear to cause crashes during shutdown
2016-11-13 10:22:14 -08:00
Chris Collins
b9b90cc646
Merge pull request #9047 from jherico/stutter
...
Add stutter tracking
2016-11-11 11:39:00 -08:00
Brad Davis
162f24decd
Add stutter tracking for Oculus
2016-11-11 10:12:41 -08:00
Brad Davis
90f55f0cd5
Add stutter tracking
2016-11-10 11:56:38 -08:00
Brad Davis
e2991c3665
Change minimum cores to 3 to enable OpenVR
2016-11-10 10:35:05 -08:00
Ryan Huffman
687605ad38
Add proper adding and removal of subdeviceNames in SDL2Manager after startup
2016-11-03 14:02:58 -07:00
Ryan Huffman
ba7eac5281
Override getSubdeviceNames in OculusControllerManager
2016-11-01 13:53:10 -07:00
Ryan Huffman
ba0dbeac80
Add InputManager::getSubdeviceNames
2016-11-01 13:36:20 -07:00
Brad Davis
23fc865d40
Updates for min spec check
2016-10-27 19:28:46 -07:00
Brad Davis
018d945b85
Display warning overlay instead of scene when below min spec
2016-10-27 15:51:26 -07:00
Brad Hefta-Gaub
6d94df346f
add async reprojection stat to oculus too
2016-10-27 14:00:30 -07:00
Brad Hefta-Gaub
bfe6ebb44f
some tweaks
2016-10-27 12:04:46 -07:00
Brad Hefta-Gaub
c3f5df8f0b
Merge branch 'master' of https://github.com/highfidelity/hifi into report45hzTarget
2016-10-27 11:36:56 -07:00
Brad Hefta-Gaub
03946748bc
Merge pull request #8928 from hyperlogic/bug-fix/more-openvr-crash-fixes
...
Fix for crash in openvr on startup
2016-10-26 22:45:33 -07:00
Anthony J. Thibault
1ea018db1d
Fix for crash in openvr on startup
...
pluginActivate can fail and return false, when steamvr is in a "Not Ready" state.
In practice this can occur on a botched steamvr install, or when the vr compositor process is unable to start.
When pluginActivate returns false, there's some sort of race condition where pluginUpdate will still be called.
But it's only reproducible in release builds, without the debugger attached.
This commit prevents pluginUpdate from crashing by making sure that the openvr _system ptr is valid first.
2016-10-26 17:40:34 -07:00
Brad Davis
a53049b186
Consolidate activity tracking code
2016-10-26 17:19:24 -07:00
Brad Davis
f4f1b04cf0
Use OpenVR to determine if async reprojection is enabled
2016-10-26 16:02:06 -07:00
Brad Davis
1c89fa2291
Make threaded submit in OpenVR controllable from menu
2016-10-26 15:28:42 -07:00
Brad Davis
857f5a69d6
Don't reserve additional thread when we're not using one
2016-10-26 15:28:41 -07:00
Brad Davis
e7355e84f3
Disable OpenVR submit thread
2016-10-26 15:28:40 -07:00
Brad Hefta-Gaub
23b74c7aff
when vive is on i5 report a target frame rate of 45 so we can see that in stats
2016-10-26 14:20:58 -07:00
Anthony J. Thibault
ca9d497159
Updated viveControllerConfiguration.js with new controller offset
...
(cherry picked from commit ec2bc3495082dfb0b472948efa9d6881562ed3f9)
2016-10-19 15:59:44 -07:00
Anthony J. Thibault
bcd31e3d99
Adjust size and offset of grab balls to better align with hand controllers.
...
(cherry picked from commit d97a8c2e7eace2494d3142e8187022a33aedc060)
2016-10-19 15:59:26 -07:00
Zach Pomerantz
876f70709e
change oculus init errors to critical
2016-10-17 11:57:32 -07:00
Zach Pomerantz
2191903803
avoid uninitialized oculus gl calls
2016-10-17 11:08:38 -07:00
Brad Davis
ff3d1b3d01
Don't use VR compositor if it doesn't exist
2016-10-13 16:53:37 -07:00
Brad Davis
d4e83a7461
Don't crash on OpenVR activation when SteamVR isn't running
2016-10-13 16:37:50 -07:00
Brad Hefta-Gaub
0e1b377227
Merge pull request #8785 from jherico/oculus_crash
...
Additional plugin debugging, better plugin resource cleanup
2016-10-13 13:54:34 -07:00
Brad Davis
2d6522a76f
Merge pull request #8786 from hyperlogic/bug-fix/more-openvr-shutdown-crashes
...
Prevent crashes in openvr on shutdown
2016-10-12 13:54:56 -07:00
Brad Hefta-Gaub
8ac31a041d
Merge pull request #8654 from ZappoMan/betterAway
...
fix away HMD unmouted logic
2016-10-11 20:35:08 -07:00
Brad Davis
28771cbda9
Additional plugin debugging, better plugin resource cleanup
2016-10-11 19:40:02 -07:00
Anthony J. Thibault
973ee544fb
Prevent crashes in openvr on shutdown
...
By ensuring that there is an opengl context is bound before calling VR_Shutdown()
2016-10-11 16:36:29 -07:00
Anthony J. Thibault
7ab76984ad
Fix crash when switching to desktop mode from oculus HMD mode
...
Removed internalPresent in oculus uncustomizeContext. It had no ill effects.
2016-10-10 16:54:08 -07:00
Brad Hefta-Gaub
735a6ca994
Merge pull request #8755 from hyperlogic/bug-fix/openvr-fixes
...
openvr deadlock and crash on exit fixes
2016-10-10 08:01:07 -07:00
Brad Hefta-Gaub
3aa1c36f53
Merge branch 'master' of https://github.com/highfidelity/hifi into betterAway
2016-10-08 11:50:10 -07:00
Brad Hefta-Gaub
87d66ffdf8
Merge pull request #8756 from jherico/i5_reprojection
...
Turn on forced reprojection on i5 systems
2016-10-08 10:51:27 -07:00
Anthony J. Thibault
ec801cb9d8
Addressed feedback from code review.
2016-10-07 17:46:46 -07:00
Ryan Huffman
de14fdffb7
Remove commented log line
2016-10-07 13:38:18 -07:00
Brad Davis
8526ac74a5
Turn on forced reprojection on i5 systems
2016-10-07 13:36:49 -07:00
Anthony J. Thibault
17d00ee3f9
Workaround openvr crash by calling Submit before VR_Shutdown
2016-10-07 11:41:58 -07:00
Ryan Huffman
d589812c52
Update hand controller detection
2016-10-07 10:30:18 -07:00
Ryan Huffman
216cf2b4bc
Update tutorial to work with HMD + Hand Controllers only
2016-10-07 10:30:18 -07:00
Ryan Huffman
54498a8f3f
Add the ability to ignore invisible entities in findRayIntersection
2016-10-07 10:30:18 -07:00
David Rowe
1a745094e2
Merge branch 'master' into 21055
...
Conflicts:
libraries/entities-renderer/src/RenderableWebEntityItem.cpp
libraries/gl/src/gl/OffscreenQmlSurface.h
2016-10-06 09:29:09 +13:00
Bradley Austin Davis
ce8fcfed36
Fix mac build (again?)
2016-10-02 17:42:10 -07:00
Brad Davis
488d191428
Remove all oglplus usage and references
2016-10-02 11:44:34 -07:00
Brad Davis
d3d3aa587c
Remove oglplus usage from OpenVR
2016-10-02 11:44:33 -07:00
David Rowe
f8572096b1
Merge branch 'master' into 21055
2016-09-28 20:00:04 +13:00
Brad Hefta-Gaub
73e3e993fb
fix Vive's HMD.mounted
2016-09-26 17:29:11 -07:00
Brad Hefta-Gaub
8f96715521
only activate a touch device if one is connected
2016-09-23 14:30:34 -07:00
Seth Alves
92bda6827b
remove vive keyboard
2016-09-13 11:27:10 -07:00
Brad Davis
94210d2e69
Use dynamic count for global thread pool
2016-09-02 15:23:35 -07:00
Brad Davis
91bfa7677c
Updating stats display for threaded rendering
2016-09-02 14:41:49 -07:00
Stephen Birarda
3f1545008d
don't target any plugins for android
2016-08-31 11:19:01 -07:00
Stephen Birarda
f1ed7a2e78
initial changes needed for android interface cmake
2016-08-31 10:53:29 -07:00
Brad Davis
617633b85c
Moving to custom context creation
2016-08-29 11:21:54 -07:00
Brad Davis
02c79d9714
Fix the OpenVR issues on AMD
2016-08-26 19:05:29 -07:00
James B. Pollack
f7697c88ae
Merge pull request #8476 from zzmp/fix/vive-ati
...
fix vive crash in AMD driver
2016-08-24 18:06:18 -07:00
howard-stearns
6daf91166f
pr comments
2016-08-22 15:03:51 -07:00
Zach Pomerantz
dbb916e2d9
fix redundant openvr fence condition
2016-08-22 13:59:18 -07:00
Zach Pomerantz
a67c5221e3
flush openvr fence before looking for it
2016-08-22 13:46:00 -07:00
howard-stearns
b8b345fb43
Merge branch 'master' of https://github.com/highfidelity/hifi into update-discovery-from-master2
2016-08-19 13:04:39 -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
howard-stearns
2b75240771
Merge branch 'master' of https://github.com/highfidelity/hifi into discovery
2016-08-16 11:14:36 -07:00
Brad Davis
99009d8a2d
Enable reprojection on OpenVR
2016-08-12 22:29:04 -07:00
Brad Davis
6d7edd38cc
Rename clearViewTransform
2016-08-12 22:28:59 -07:00
Brad Davis
ff24bc982c
Re-disable reprojection in OpenVR
2016-08-12 22:28:58 -07:00
Brad Davis
82081d7d57
Address vsync weirdness
2016-08-12 22:28:58 -07:00
Brad Davis
e352883a88
Fix Gamma in Oculus display plugin
2016-08-12 22:28:56 -07:00
Brad Davis
719e555381
Restoring reprojection to OpenVR
2016-08-12 22:28:55 -07:00
Brad Davis
39a47b7559
Fix Oculus compositing and gamma
2016-08-12 22:28:54 -07:00
Bradley Austin Davis
d2fd7f88fd
Enabling OSX Oculus plugin
2016-08-12 22:28:43 -07:00
Brad Davis
a4c5c7bc16
Hopefully better handling of the OpenVR api
2016-08-12 22:28:40 -07:00
Brad Davis
b662ae4cfa
More profiling ranges
2016-08-12 22:28:36 -07:00
Brad Davis
d8b0fee934
Fixing color balance, enabling vive controllers
2016-08-12 22:28:30 -07:00
Brad Davis
901e2da828
Hand lasers
2016-08-12 22:28:29 -07:00
Brad Davis
adcfd55cc0
Batch replay reprojection
2016-08-12 22:28:23 -07:00
Brad Davis
7e93747acf
Working on reprojection
2016-08-12 22:28:22 -07:00
Bradley Austin Davis
d0912c6063
Threaded Oculus support
2016-08-12 22:18:38 -07:00
Bradley Austin Davis
274321de8a
First pass at threaded rendering
2016-08-12 22:18:36 -07:00
howard-stearns
e6746acf4c
Merge branch 'master' of https://github.com/highfidelity/hifi into discovery
2016-08-11 15:40:26 -07:00
Atlante45
45921a5c8d
Restore split behavior for inputs/displays on quit
2016-08-08 15:39:25 -07:00
Seth Alves
8f76c43bc1
if call to ovr_GetSessionStatus fails, also don't take input from controllers
2016-08-02 19:49:58 -07:00
Seth Alves
8c43c12249
clear pose before short-circuiting update
2016-08-02 16:49:24 -07:00
Seth Alves
03a47af628
if the HMD isn't on someone's head, don't take input from the controllers
2016-08-02 15:38:04 -07:00
howard-stearns
6e7b828203
keep qml text fields up to date with vive virtual keyboard
2016-08-02 10:13:35 -07:00
James B. Pollack
5202038210
Merge pull request #8282 from hyperlogic/bug-fix/avatar-embedded-in-floor
...
Vive HMD fixes to prevent user from becoming embedded in the floor.
2016-07-22 09:04:40 -07:00
Seth Alves
4e308914b2
when cmake is told SERVER_ONLY, still build server-side plugins
2016-07-20 11:37:30 -07:00
Seth Alves
c36d0d91ad
when cmake is told SERVER_ONLY, still build server-side plugins
2016-07-20 11:29:57 -07:00
Seth Alves
406b08ffa1
when cmake is told SERVER_ONLY, still build server-side plugins
2016-07-20 11:29:00 -07:00
Anthony J. Thibault
90beb30e8a
Filter out bad openvr HMD poses that are below the floor
...
When interface is launched and steam vr is NOT running, openvr can return bad HMD poses for a few frames.
To workaround this, filter out any hmd poses that are obviously bad, i.e. beneath the floor.
2016-07-19 18:12:20 -07:00
Brad Hefta-Gaub
0a6aee1707
Merge pull request #8254 from murillodigital/master
...
Changes for hifiCodec plugin building on Linux
2016-07-18 21:14:46 -07:00
Brad Hefta-Gaub
7bb31fe075
Merge pull request #8240 from jherico/hand_controller
...
Menu & hand controller polish
2016-07-15 12:36:31 -07:00
Brad Davis
90299a98fe
PR feedback
2016-07-15 12:19:02 -07:00
Leonardo Murillo
53d524eb2f
Checkpoint
2016-07-15 12:04:45 -06:00
Brad Davis
8d5b60a266
Simulate LTClick/RTClick for Oculus Touch and Hydra controllers
2016-07-14 12:30:17 -07:00
Brad Davis
091e798267
Make hand pointer lasers 'click' on fully pressing and clicking the vive controller
2016-07-14 10:30:35 -07:00
Brad Hefta-Gaub
c2fd055f0f
more hacking
2016-07-14 08:20:07 -07:00
Brad Hefta-Gaub
6f0967f3fc
add mac support to the codec plugin
2016-07-11 18:28:04 -07:00
Brad Hefta-Gaub
ceffa219b3
support for lost packets
2016-07-11 15:18:02 -07:00
Brad Hefta-Gaub
125aa6b337
make zlib and pcm codecs not actually allocate encoder/decoders
2016-07-11 14:21:32 -07:00
Brad Hefta-Gaub
743576134f
fix warnings
2016-07-11 13:38:08 -07:00
Brad Hefta-Gaub
540ab9f07c
wire up audio codec
2016-07-11 13:00:58 -07:00
Brad Hefta-Gaub
f5b693cebb
added support for external hificodec and hifi codec plugin
2016-07-11 12:22:27 -07:00
Brad Hefta-Gaub
ba6bb24595
rework plugins to allow different decoder/encoder instances per streams
2016-07-10 16:49:03 -07:00
Brad Hefta-Gaub
a71baf5601
handle codec prioritization, handle multiple codec choices
2016-07-08 21:18:03 -07:00
Brad Hefta-Gaub
126e5c2926
codec pipeline working, zlib example
2016-07-08 14:34:44 -07:00
Brad Hefta-Gaub
3c6447326e
more codec plumbing
2016-07-07 21:24:24 -07:00
Brad Hefta-Gaub
38f0cd218b
make client server plugins properly copy into plugins directory
2016-07-07 10:31:12 -07:00
Brad Hefta-Gaub
ac2d3e1cc7
Merge branch 'master' of https://github.com/highfidelity/hifi into codecPlugins
2016-07-07 09:47:19 -07:00
Brad Hefta-Gaub
abcd1e0062
Merge pull request #8164 from SamGondelman/macHMDPreview
...
Added Mac preview image if VSync is enabled
2016-07-07 09:01:40 -07:00
Brad Hefta-Gaub
9333c7dcca
Merge branch 'master' of https://github.com/highfidelity/hifi into codecPlugins
2016-07-06 13:26:19 -07:00
Brad Davis
88d28120b6
Adding missed file
2016-07-01 15:48:58 -07:00
SamGondelman
12b5cccfc7
merge from master
2016-06-28 14:05:43 -07:00
Brad Hefta-Gaub
7a4b11ee97
more work on codecs
2016-06-27 13:06:19 -07:00
SamGondelman
0bfe3ea817
added support for disabling vsync on macs, but doesn't work with the rift
2016-06-27 11:34:44 -07:00
Seth Alves
bbe9b931be
on Linux, don't mess with the menus from the hydra plugin because it makes Qt stop
2016-06-26 14:59:42 -07:00
Howard Stearns
c4398c3950
Merge pull request #8129 from ZappoMan/reduceLogSpam
...
reduce log spam in Vive plugins
2016-06-24 13:00:13 -07:00
Brad Hefta-Gaub
4bc6a3fb3b
Merge branch 'master' of https://github.com/highfidelity/hifi into codecPlugins
2016-06-24 12:54:55 -07:00
Brad Hefta-Gaub
1c19d61035
Merge pull request #8122 from SamGondelman/macHydrasFix
...
Removed Mac Hydra support
2016-06-24 12:21:13 -07:00
Brad Hefta-Gaub
39ff03cfb5
reduce log spam in Vive plugins
2016-06-24 10:53:46 -07:00
Brad Hefta-Gaub
d7bffc3eab
first cut at negotiating codecs
2016-06-23 17:14:41 -07:00
SamGondelman
284fcc8a0b
better check for oculus display in oculus legacy plugin because the sdk is buggy
2016-06-23 13:50:17 -07:00
Brad Hefta-Gaub
be37921845
first cut at codec plugins
2016-06-23 10:42:02 -07:00
SamGondelman
a9ed0b1c83
completely destroyed sixense on macs
2016-06-22 16:56:50 -07:00
howard-stearns
581d87d653
feedback re magic numbers and variable name.
2016-06-22 16:40:10 -07:00
SamGondelman
f495f5e3b5
removed mac hydra support
2016-06-22 16:05:55 -07:00
howard-stearns
67f76db7e4
Merge branch 'master' of https://github.com/highfidelity/hifi into vive-ui
2016-06-22 15:58:53 -07:00
Ryan Huffman
9ff742c97c
Fix typo
2016-06-22 12:09:12 -07:00
Ryan Huffman
2233b5ba64
Add user activity tracking for OculusLegacyDisplayPlugin
2016-06-22 11:57:41 -07:00
Ryan Huffman
23f57367e3
Merge branch 'master' of https://github.com/highfidelity/hifi into feat/user-actions
2016-06-22 08:55:22 -07:00
Howard Stearns
a1844d8c19
Fix plugin include. (How did this build for me locally?)
2016-06-21 17:36:41 -07:00
howard-stearns
baa9139881
Merge branch 'vive-ui' of https://github.com/highfidelity/hifi into vive-ui
2016-06-21 17:02:23 -07:00
howard-stearns
d6095d1f11
Merge branch 'master' of https://github.com/highfidelity/hifi into vive-ui
2016-06-21 16:52:22 -07:00
Ryan Huffman
310adb0f45
Update spacemouse deviceConnected implementation
2016-06-21 16:42:39 -07:00
Ryan Huffman
70be7b3273
Merge branch 'master' of https://github.com/highfidelity/hifi into feat/user-actions
2016-06-21 16:39:25 -07:00
Ryan Huffman
da71fcb57f
Update connected device detection implementation
2016-06-21 16:37:58 -07:00
Brad Hefta-Gaub
f2f7e21eaf
remove dead refereince to PluginContainer.h from space mouse
2016-06-21 16:17:43 -07:00
Brad Davis
f3bad3a63b
Don't trigger keyboard on revealing the overlay layer
2016-06-21 16:04:06 -07:00
howard-stearns
8421931c56
Merge branch 'master' of https://github.com/highfidelity/hifi into vive-ui
2016-06-21 14:47:45 -07:00
Ryan Huffman
251e2137d3
Remove old use of connectedDevice
2016-06-21 13:31:10 -07:00
Brad Hefta-Gaub
160a5de271
CR feedback
2016-06-21 12:49:42 -07:00
Brad Hefta-Gaub
c322317878
rework plugins to not depend on PluginContainer unless they want to
2016-06-21 12:07:05 -07:00
howard-stearns
2ac6dc8798
do not tilt virtual keyboard
2016-06-21 09:48:01 -07:00
Bradley Austin Davis
5bc8b53d1b
Merge remote-tracking branch 'upstream/master' into vive-ui
2016-06-17 10:56:53 -07:00
Bradley Austin Davis
6ad1008a56
Allow explicit overlay alpha from scripts
2016-06-15 17:24:32 -07:00
Bradley Austin Davis
87dc6649ce
Better track keyboard open state, fix text replacement
2016-06-15 15:16:29 -07:00
Bradley Austin Davis
0b0977f362
Support keyboard suppresion, control suppresion while in keyboard mode
2016-06-15 10:48:48 -07:00
Bradley Austin Davis
71bf9384ce
Merge remote-tracking branch 'upstream/master' into vive-ui
2016-06-15 10:45:51 -07:00
Atlante45
5560ba9a4c
Quit application when SteamVR requests it
2016-06-14 16:29:50 -07:00
Bradley Austin Davis
f3c47acbb2
Fix offset when UI transform is not identity
2016-06-14 09:49:25 -07:00
SamGondelman
df9fd6c7fc
reset vive grip buttons to 0 if not pressed
2016-06-13 18:35:39 -07:00
Bradley Austin Davis
6707f889b8
Fixing laser offset, support laser in Oculus
2016-06-13 17:33:18 -07:00
Bradley Austin Davis
62051ad297
Working on touch
2016-06-13 14:40:15 -07:00
Brad Davis
bb3722d915
trying again to fix mac build.
2016-06-13 13:04:11 -07:00
Brad Davis
9640727f51
Hand laser rendering support in HMD plugins.
2016-06-13 13:04:11 -07:00
Brad Davis
472a3540d7
Merge remote-tracking branch 'upstream/master' into vive-ui
...
Conflicts:
scripts/system/controllers/handControllerGrab.js
2016-06-10 10:43:09 -07:00
Brad Hefta-Gaub
fc5214c938
Merge pull request #8033 from SamGondelman/xboxFix
...
Game pads work after falling asleep and being reactivated
2016-06-08 16:27:26 -07:00
Brad Hefta-Gaub
8434aa9416
Merge pull request #8027 from SamGondelman/exposeHaptics
...
Expose haptics to JS
2016-06-08 16:17:04 -07:00
Brad Hefta-Gaub
69ae33ad9a
Merge pull request #7997 from SamGondelman/touchFixes
...
Corrected Oculus Touch coordinate system so that hands track properly
2016-06-08 15:39:17 -07:00
Brad Davis
40778d7f29
Allow env disabling of the keyboard. Show keyboard after short delay to avoid flickers
2016-06-08 10:41:19 -07:00
Brad Davis
79c68b2ecb
Working on positioning of the keyboard
2016-06-07 21:52:22 -07:00
Brad Davis
c2aa9e7f61
Update SteamVR keyboard behavior
2016-06-07 21:52:21 -07:00
Brad Davis
eab611acc0
Enable Steam VR text input
2016-06-07 21:52:20 -07:00
Brad Davis
ca6e86e767
Merge remote-tracking branch 'upstream/master' into vive-ui
...
Conflicts:
interface/resources/qml/hifi/dialogs/RunningScripts.qml
2016-06-07 21:51:47 -07:00
SamGondelman
2c1d20bd1a
removed _deviceCounts, cache joystick available inputs, added deadzone to gamepad thumbsticks
2016-06-07 17:12:24 -07:00
SamGondelman
5daccba235
xbox controller works on restart
2016-06-07 15:14:08 -07:00
SamGondelman
2e71a63574
cr fixes
2016-06-07 13:28:10 -07:00
SamGondelman
ff2405437b
can set strength to 0
2016-06-07 12:19:38 -07:00
SamGondelman
7a3cba8580
warning be gone
2016-06-06 17:06:59 -07:00
SamGondelman
8fa52fa159
trying to fix warning in joystick.cpp
2016-06-06 16:48:21 -07:00
SamGondelman
b59d597780
if overlapping calls, haptics take on strength and duration of call that will finish last
2016-06-06 15:35:12 -07:00
SamGondelman
cea0d74c35
fix spaces and touch duration
2016-06-06 15:20:10 -07:00
SamGondelman
e7743cd8e2
added options for both hands (default), all devices, short pulse, and fixed touch timing mechanism
2016-06-06 15:03:08 -07:00
Atlante45
b635e32933
Rename Mac only Oculus display plugin
2016-06-06 13:28:36 -07:00
Atlante45
3dadb515f3
Add plugins name to their metadata file
2016-06-06 13:28:36 -07:00
SamGondelman
afca0ec2c9
moved vive pulses to correct thread, works with duration
2016-06-06 13:25:05 -07:00
SamGondelman
b01a00584a
Merge branch 'exposeHaptics' of https://github.com/SamGondelman/hifi into exposeHaptics
2016-06-06 10:35:29 -07:00
SamGondelman
f51cb7ce0c
trying to add duration support for vive
2016-06-06 10:34:32 -07:00
Brad Davis
b7d1659852
Merge remote-tracking branch 'upstream/master' into vive-ui
2016-06-06 09:32:33 -07:00
howard-stearns
849bee977a
Do not send stale vive data as valid after deactivating.
...
(cherry picked from commit e6cc1fabe0
)
2016-06-04 09:07:51 -07:00
Brad Hefta-Gaub
c2a34f24cb
Merge pull request #7999 from howard-stearns/do-not-send-stale-vive-data-as-valid
...
Do not send stale vive data as valid after deactivating.
2016-06-04 08:41:26 -07:00
SamGondelman
2367cb1995
fixing input mapping for vive/touch grip button/trigger, script needs fixing
2016-06-03 15:07:21 -07:00
SamGondelman
c1eab61241
sdl haptics aren't working, but might be a bug in sdl: http://stackoverflow.com/questions/23974908/why-is-sdl-hapticopenfromjoystick-not-working-in-sdl-2
2016-06-03 11:22:06 -07:00
SamGondelman
e2c4b4d306
added haptic support to sdl and touch (needs testing)
2016-06-03 10:17:08 -07:00
SamGondelman
912b35693b
added vive single pulse haptics
2016-06-02 18:13:33 -07:00
SamGondelman
8b76af531b
made touch hand orientation more comfortable, fixed all the touch key mappings, exposed capacitive touch keys for use later
2016-06-02 16:52:17 -07:00
howard-stearns
e6cc1fabe0
Do not send stale vive data as valid after deactivating.
2016-06-02 12:38:54 -07:00
SamGondelman
c9ea85e659
fixed left hand rotation
2016-06-02 10:50:22 -07:00
SamGondelman
9984667742
touch properly sets pose.valid and further corrected hand rotation
2016-06-02 10:09:41 -07:00
SamGondelman
7bd29c13b0
corrected oculus touch rotation and converted hand pose to avatar coordinate system
2016-06-02 09:09:25 -07:00
Howard Stearns
f0133013c2
typo
2016-06-01 07:30:26 -07:00
Howard Stearns
922468ce1c
fix cut and paste error with extraneous namespace qualifiers.
2016-05-31 20:47:58 -07:00
howard-stearns
c2858f847b
Partition vive trackpad by center, x, and y (not just center v outer).
2016-05-31 16:57:23 -07:00
Brad Davis
ac5912df01
Fix crash on shutdown of SteamVR
2016-05-27 13:40:47 -07:00
howard-stearns
9ff1a695f0
Merge branch 'master' of https://github.com/highfidelity/hifi into reset-hud-on-driving
2016-05-26 13:52:23 -07:00
howard-stearns
2accccef9e
Merge branch 'reset-hud-on-driving' of https://github.com/howard-stearns/hifi into reset-hud-on-driving
2016-05-25 11:32:01 -07:00
howard-stearns
a3f1ece978
Do button mapping in C++ and simplify vive.json accordingly. Vive and
...
Hydra now use PrimaryThumb and SecondaryThumb. Fix warnings for Neuron.
2016-05-24 16:10:12 -07:00
Anthony J. Thibault
f82c3ba4f2
Revert "OpenVRDispalyPlugin: fix one-frame lag in resetSensors."
...
This reverts commit 8381e74fb3
.
2016-05-23 16:30:05 -07:00
Anthony J. Thibault
097b16aadc
Fix for sensor reset on oculus.
2016-05-23 15:40:29 -07:00
howard-stearns
fa78eea434
Merge branch 'master' of https://github.com/highfidelity/hifi into reset-hud-on-driving
2016-05-20 16:50:54 -07:00
Brad Davis
73342b2758
PR feedback
2016-05-20 14:50:24 -07:00
Brad Davis
07562f72af
Doing a pass over the input plugins and controller code
2016-05-20 14:50:23 -07:00
Howard Stearns
3088a84035
Just bringing the code up to date and forcing a build to see how Jenkins/osx is doing.
...
Merge branch 'master' of https://github.com/highfidelity/hifi into reset-hud-on-driving
2016-05-20 08:04:38 -07:00
Anthony J. Thibault
8381e74fb3
OpenVRDispalyPlugin: fix one-frame lag in resetSensors.
...
resetSensors() should take place immediately, so that the getHeadPose() after the reset should be identity. (or close to it)
2016-05-19 13:56:40 -07:00
Brad Davis
5ba8372c21
Moving GL backend out of GPU
2016-05-16 12:54:17 -07:00
Brad Hefta-Gaub
d656f61c64
Merge pull request #7759 from jherico/app_plugin_type
...
Don't expose raw pointer to the display plugin
2016-05-11 14:49:22 -07:00
Anthony J. Thibault
09a4e0eaa8
Fix for vive controllers sometimes not working
...
* Fixed bug with input devices that where added, removed then re-added.
The default mappings were being ignored on the second add.
* Fixed potential crash when hardware inputPlugin device poses were polled from the JavaScript thread
by taking the UserInputManager lock during pluginUpdate.
* Renamed Controller.Hardware.Vive.LB & RB to LeftGrip and RightGrip, to better match Oculus touch.
* Updated resource/controller/vive.json to reflect this new mapping.
* Exposed touch pad capacitive touch events to JavaScript as
Controller.Hardware.Vive.LSTouch and RSTouch.
* Added viveTouchpadTest.js script to test LSTouch and RSTouch events.
2016-05-10 19:32:08 -07:00
Brad Davis
c54d0bc993
Don't expose raw pointer to the display plugin
2016-05-08 10:35:31 -07:00
Bradley Austin Davis
0f768b13b9
Working on OSX Rift functionality
2016-05-07 20:17:31 -07:00
Brad Davis
888758fc21
Fix test for specific Oculus version
2016-04-19 18:13:12 -07:00
Brad Davis
3421c10c1b
Fixing vive hand controllers
2016-04-13 10:35:39 -07:00
Brad Davis
1a02220886
Fixing wobble
2016-04-12 17:50:59 -07:00
Brad Davis
9d29d6c0e9
Fixing OSX build
2016-04-12 16:44:17 -07:00
Brad Davis
73ec40dae6
Making a debug mechanism for force OpenVR
2016-04-12 16:44:16 -07:00
Brad Davis
3325c58ceb
Vive timewarp implementation
2016-04-12 16:44:15 -07:00
Brad Davis
df8ad57185
Fix FPS counter
2016-04-11 00:25:16 -07:00
Brad Davis
2f28c64edb
Fixing menu navigation in oculus remote
2016-04-07 13:21:00 -07:00
Brad Davis
a58a627fdf
Support oculus remote input
2016-04-07 13:20:59 -07:00
Brad Davis
fd4a374e08
Add comment
2016-04-05 13:04:17 -07:00
Brad Davis
71e6f9bdd6
Display a blank frame before switching away from oculus
2016-04-05 13:03:14 -07:00
Brad Davis
ffc2c75534
Don't release the Oculus plugin when disabling the plugin
2016-04-05 09:59:12 -07:00
Brad Davis
97e96f7b67
PR comments
2016-03-31 13:19:26 -07:00
Brad Davis
b53968fd64
Add automatic switching the Oculus headphones and mic when activating the plugin
2016-03-31 10:33:11 -07:00
Brad Davis
f569cbf70e
Add debugging output, fix timewarp
2016-03-30 10:40:32 -07:00
Brad Davis
8123617fe1
Improve failure detection logging
2016-03-30 10:40:31 -07:00
Brad Davis
80d397555d
Fixing input API, DLL path for Oculus
2016-03-30 10:40:30 -07:00
Brad Davis
78626f7938
Add warning logging if we can't find a 1.x Oculus dll
2016-03-30 10:40:29 -07:00
Brad Davis
bd9813bbf5
Only enable the Oculus plugin in the presence of the 1.x runtime
2016-03-30 10:40:29 -07:00
Brad Davis
d056c41e25
Update to latest Oculus SDK, add input device support
2016-03-30 10:40:28 -07:00
Zach Pomerantz
34a77b47a3
Restore SDL2 comments
2016-03-28 12:25:56 -07:00
Zach Pomerantz
b94e244844
Update oculus legacy plugin
2016-03-28 12:24:31 -07:00
Zach Pomerantz
931cad34d1
Check plugin activation success
2016-03-28 12:05:58 -07:00
Zach Pomerantz
776893a5ab
Improve logging for oculus errors
2016-03-28 11:22:56 -07:00
Anthony Thibault
88c4e54cff
openvr: predict 3 frames into the future
...
Becasue I revered the latency fix in the GLEscrow queue.
*sigh*
2016-03-23 17:38:40 -07:00
Anthony J. Thibault
0d37515784
Merge branch 'master' into tony/vive-rendering-work
2016-03-23 15:59:59 -07:00
Anthony Thibault
209524a5c0
openvr: Non-threaded present work
...
In the unlikely event you hit 90htz in non-threaded present mode, you will have perfect tracking and latency.
This verifies that there are no other sources of tracking or rendering latency, other then the ones we already know about.
2016-03-22 15:38:10 -07:00
Zach Pomerantz
64ced6ee04
Add comment explaining bare glGetError
2016-03-22 12:04:24 -07:00
Anthony Thibault
b1286517c6
Removed frame latency in GLEscrow
...
This could occur if the GLEscrow queue has extra frames in it.
When new textures were fetched, before this fix, they were simply popped from the queue.
This commit introduces a loop, that will fetch from the queue until it is empty.
2016-03-21 21:51:16 -07:00
Anthony Thibault
225c462685
Improved NSIGHT instrumentation
...
* Application::idle, physics and avatar processing are tracked
* Application::paintGL frameNumber payload is tracked
* OpenGLDisplayPlugin::present is profiled with corresponding frameNumber payload
* Added color and payload support to Nsight ProfileRange class.
2016-03-21 21:47:59 -07:00
Anthony Thibault
0d046b12de
OpenVR: Moved WaitGetPoses after main window preview.
2016-03-21 17:39:10 -07:00
Anthony Thibault
63d6f888e6
Update openvr sdk to 0.9.19
2016-03-21 17:31:13 -07:00
Anthony Thibault
5b2a050df7
display-plugins: Pulled getHeadPose into common base class.
...
* Moved getHeadPose and _headPoseCache out of each derived class and into HmdDisplayPlugin.
* updated comment in application.
2016-03-20 14:08:35 -07:00
Anthony J. Thibault
e1d47e7028
OculusLegacyDisplayPlugin: mac os x and linux fixes
2016-03-18 16:23:30 -07:00
Anthony J. Thibault
4321c5a62b
OculusLegacyDisplayPlugin: fixes for macosx and linux
2016-03-18 15:59:48 -07:00
Anthony J. Thibault
960ffd9c9e
DisplayPlugins: updateHeadPose() no longer returns a value.
...
Also, moved updateHeadPose so that the overlay and the main rendering use the same headPose.
Which should also be the same place the latencyMarker for the ovr_GetTrackingState is set.
2016-03-18 15:16:58 -07:00
Anthony J. Thibault
2faaf243a1
Revert change to OpenVrDisplayPlugin::isSupported()
2016-03-18 13:42:31 -07:00
Anthony J. Thibault
d218ca4960
openvr: fix for crash on exit
...
Before this fix, a script could call into HMD.getHUDLookAtPosition2D() while the app was shutting down, which in turn would call
getHeadPose() on the currently active display plugin. This call could cause a crash within the openvr plugin, because the SDK was either shutdown, or in the process of shutting down on the main thread.
This fixes this by spliting the previous DisplayPlugin::getHeadPose(int) into two parts:
* updateHeadPose(int) which is only called once a frame and only by the main thread.
* getHeadPose() which is thread-safe and will return a cached copy of the hmd pose sampled by the last updateHeadPose.
2016-03-18 12:26:11 -07:00
Bradley Austin Davis
cde56d6fa2
Disable OpenVR plugin when Oculus HMD is connected
2016-03-17 10:13:52 -07:00
Bradley Austin Davis
25c8a3a0f3
Fixing legacy plugin
2016-03-17 10:13:52 -07:00
Bradley Austin Davis
b279ff9f7d
Fix for crash on disabling and re-enabling openvr
2016-03-17 10:13:52 -07:00
Bradley Austin Davis
7045680bc7
Reduce crashes on switching display plugins
2016-03-17 10:13:52 -07:00
Bradley Austin Davis
384351067e
Don't crash when the Rift is turned off
2016-03-16 20:16:28 -07:00
Brad Hefta-Gaub
9e0d9f5748
Merge pull request #7337 from sethalves/disable-oculus-legacy-on-linux
...
don't build oculus-legacy plugin on Linux
2016-03-13 12:26:37 -07:00
Brad Davis
27033e5bb5
Fix vive crash on deactivate
2016-03-12 21:48:36 -08:00
Seth Alves
d036e0618d
don't build oculus-legacy plugin on linux
2016-03-12 07:54:59 -08:00
Chris Collins
ae596d79f1
Merge pull request #7317 from jherico/hmd_worn
...
Expose a property in display plugins to determine if the device is visible to the user
2016-03-11 11:46:06 -08:00
Philip Rosedale
e87ef52a4c
Merge pull request #7302 from hyperlogic/tony/wrong-way-overlay
...
More reliable and usable UI sphere overlay location
2016-03-10 17:43:50 -08:00
Brad Davis
87c9961aa8
Expose a property in display plugins to determine if the device is visble to the user
2016-03-10 17:19:32 -08:00
Anthony Thibault
153f7fc3aa
OpenVR: adjusted translation of UI sphere overlay
2016-03-10 09:45:47 -08:00
Anthony Thibault
42d27557a1
OpenVR: remove 180 y rotation for UI bounds.
...
Turns out the room I was using was misconfigured.
2016-03-09 18:42:58 -08:00
Anthony Thibault
5df616be37
OpenVR: More usable UI Sphere overlay location
...
Also, added a debug option to display SensorToWorld matrix in Developer > Avatar menu.
2016-03-09 16:24:08 -08:00
Brad Davis
d428f3b96f
Working on crash bugs
2016-03-09 14:00:05 -08:00
Brad Davis
17852e86d2
Fixing enum names
2016-03-08 16:16:44 -08:00
Brad Davis
f651adbd24
Correcting vive button naming
2016-03-08 15:12:54 -08:00
Brad Davis
1312901f06
Removing thumb mappings, using start/back for camera and menu
2016-03-08 15:09:45 -08:00
Brad Davis
166a419e90
Oculus update
2016-03-08 11:20:53 -08:00
Brad Davis
28103cf5ef
Migrate composition of the overlay and pointer to the present thread
2016-03-07 17:14:41 -08:00
Anthony Thibault
89885805d2
OpenVR: Added hysteresis to the touch pad dead spot
...
This should make using the Vive touch pad for movement more reliable.
2016-02-26 18:34:33 -08:00
Anthony J. Thibault
01ef5aabcb
OpenVR: More reliable detection of left and right hands
2016-02-26 14:38:35 -08:00
Anthony J. Thibault
0fd260076b
SixenseManager: fix velocity and angularVelocity computation
...
Copied the delta based computation of velocity and angularVelocity that was in
Application::setPalmData() and moved it into SixenseManager. This will guarantee
that the velocity computation is the same as it was previously. The goal here is
to NOT change the behavior of the hydra.
The moving average style calculation of velocities has been removed.
Removed dead code.
2016-02-22 20:05:41 -08:00
Anthony Thibault
3b87cd0ea8
Improve hold action by using controller velocity
...
The AvatarHoldAction now derives the body velocity by using data from the controller::Pose. Rather then trying to derive it based on previous positions. This results in more acurate motion of the held object when the hold is released.
OpenVR input plugin: pass the velocity and angularVelocity directly from the controller pose to the controller::Pose.
2016-02-22 19:15:22 -08:00
Anthony Thibault
942f2c13ab
Vive: smoother updates for IK driven by vive controllers
...
Before this PR the simulation rate was clamped to never exceed 60htz.
This had problems when waving the vive hand controllers in the world,
they would jitter. The simulation rate is now clamped to never exceed
120 htz. This has the effect of synchronizing the display and the
update rates to 90htz.
Also there are improvements to vive support if threaded present is
disabled.
2016-02-19 15:58:13 -08:00
Anthony Thibault
93f61fce7a
OpenVRDisplayPlugin: predict poses for better tracking
...
Extrapolate the next set of poses for HMD and hand controllers.
Currently we predict 44ms into the future, this seems too high, however
it was discovered by inspection to be the best value.
Obviously there is a source of latency that we need to track down,
however even with this latency, it is a much improved experience.
2016-02-18 18:00:04 -08:00
Brad Davis
8289c39a2a
Removing flicker from OpenVR mirror
2016-02-17 14:48:24 -08:00
Brad Davis
d1583e8cbe
Fixing warnings
2016-02-16 17:00:00 -08:00
Brad Davis
d61f4fbb25
PR feedback
2016-02-16 16:44:16 -08:00
Brad Davis
56fc9ea301
Remove distortion on HMD previews, both mono and stereo
2016-02-15 21:46:29 -08:00
Anthony J. Thibault
111ed65bf8
Controller Pose values are relative to Avatar.
...
Pass a InputCalibrationData to each inputPlugin and inputDevice.
This contains the most up sensorToWorldMatrix, avatarMat and hmdSensorMatrix.
Each input plugin can use this data to transform it's poses into Avatar space
before sending it up the chain.
This fixes a bug in the handControllerGrab.js script that relied on the hand controller
rotation/positions being in the avatar frame.
2016-02-11 17:18:01 -08:00
Brad Hefta-Gaub
d77d102384
add support for persisting the mono preview mode option
2016-02-10 22:01:17 -08:00
Anthony J. Thibault
c8e6aee3e7
OpenVr: fix for conflict between openvr and oculus display plugins
...
* Call vr::VR_Shutdown() when ref-count goes to zero. The ref-count
is ncessary because the vr::IVRSystem poitner is shared between the
the openvr input and display plugins.
* OpenVR plugins options will display in the menu if vr::VR_IsHmdPresent() is true.
This is faster then initializing all of openvr and less likely to conflict with the
oculus display plugin.
2016-02-10 16:28:03 -08:00
Anthony J. Thibault
90f0821c2b
OpenVR: reduce thread contention, fix sensor reset
2016-02-10 11:14:26 -08:00
Anthony J. Thibault
b9a16cec25
Re-enable OpenVR plugin
...
* Enabled preview window
* rendering is only mono for some-reason.
2016-02-09 18:49:18 -08:00
Philip Rosedale
b038e4b7e7
calibrate using either the 1 or 2 button on each hand
2016-02-01 16:48:00 -08:00
Brad Davis
e58f99c989
Ensure Oculus session is valid before base class activation
2016-01-11 13:07:02 -08:00
Brad Hefta-Gaub
c0cf717a04
CR feedback
2016-01-11 11:13:33 -08:00
Brad Hefta-Gaub
dfba05ae5f
CR feedback
2016-01-11 11:07:07 -08:00
Brad Hefta-Gaub
d8ced32879
fix mac/unix build buster
2016-01-08 21:37:00 -08:00
Brad Hefta-Gaub
e2a3903def
add support for advanced/developer plugins and change diplay modes to match spec
2016-01-08 16:58:25 -08:00
Brad Hefta-Gaub
1508a637ab
Menu restructuring
2016-01-07 12:09:02 -08:00
Andrew Meadows
9ab5ef358a
remove dangling whitespace
2016-01-05 16:44:36 -08:00
Anthony J. Thibault
e10cecd310
Build fix for linux #2 ?
2015-12-29 09:23:03 -08:00
Anthony J. Thibault
7e514d2f4d
Mac build fix
2015-12-28 18:42:03 -08:00
Anthony Thibault
27e80913d6
NeuronPlugin: register for combination mode
...
This will tell us, if user is using arms, upper-body or full body configurations.
2015-12-26 12:13:29 -08:00
Anthony Thibault
fd3eed3d41
NeruonPlugin: translation support
...
Warn if translations are not present.
2015-12-26 11:50:54 -08:00
Anthony Thibault
878fe80040
Merge branch 'master' into tony/neuron-plugin
2015-12-25 10:24:55 -08:00
Anthony Thibault
84260192fb
Set up controller poses to match hifi standard skeleton
...
Neuron plugin in fills in the gap (thumb1) with identity.
Updated neuronAvatar script to work with new controller pose names.
2015-12-25 09:57:50 -08:00
Anthony Thibault
8b979b67ee
neruonAvatar.js: now sets rotations in correct frame.
...
The rotations from the neuron are effectively in world space and are deltas
from the default pose.
There still is an issue with the thumb, due to the missing joint from the Neuron.
The Neuron only has 3 thumb joints, not 4.
2015-12-24 17:16:49 -08:00
Anthony J. Thibault
c44f69b370
WIP checkpoint
...
Changed euler angle compisition based on experiments in maya.
Also, the neuronAvatar.js attempts to transform the neuron input quaternions into
a pose relative to the avatar's default pose, but doesn't it doesn't work.
2015-12-23 17:13:52 -08:00
Anthony J. Thibault
6afe3bae5e
Copy Neuron joints into controller poses
...
This makes the accessible for controller mapping and to JavaScript.
Added 'neuronAvatar.js' as an example of reading joints from the neuron and setting them
on the avatar. NOTE: the rotations are currently in the wrong coordinate frame.
2015-12-22 17:21:33 -08:00
Brad Hefta-Gaub
68c6cae4f3
fix warning
2015-12-22 17:21:25 -08:00
Brad Hefta-Gaub
298e4d0f83
Merge pull request #6726 from jherico/legacy_oculus
...
Legacy oculus work
2015-12-22 11:02:37 -08:00
Bradley Austin Davis
79d8b20637
Simulating Oculus interaction on legacy platforms
2015-12-22 10:09:45 -08:00
Bradley Austin Davis
e0e1ae43f5
Fixing legacy oculus plugin
2015-12-22 09:28:38 -08:00
Brad Hefta-Gaub
eff830ad4b
fix crash on mac when sixense DLL can't be loaded
2015-12-22 01:03:23 -08:00
Anthony J. Thibault
0459479c2b
NeuronPlugin: Added external project for Neuron SDK
...
Now builds on windows with actual Neuron SDK.
Can to TCP server on localhost, and receive joint data.
Will debug draw joint 6, (left foot?)
2015-12-21 18:30:15 -08:00
Anthony J. Thibault
dcde640acd
Stub Perception Neuron input plugin
2015-12-21 10:06:36 -08:00
samcake
41525a7c4d
Merge branch 'master' of https://github.com/highfidelity/hifi into graphicsMaster
2015-12-18 16:20:41 -08:00
Andrew Meadows
4e76e9e50b
prevent nan values in measure of angularVelocity
2015-12-18 13:51:14 -08:00
samcake
dff4327f7d
Merge branch 'master' of https://github.com/highfidelity/hifi into graphicsMaster
2015-12-18 13:18:30 -08:00
Andrew Meadows
d6541e9ee7
angular velocity is a vector, not a quaternion
2015-12-18 11:06:58 -08:00
samcake
a50b14dfae
Merging with upstream graphics
2015-12-14 18:18:39 -08:00
Brad Davis
98263f0c0d
Moving sdl2 to external plugin
2015-12-10 14:56:41 -08:00
Brad Hefta-Gaub
e133bd867a
Merge pull request #6600 from jherico/aeryn-sixense
...
Moving Sixense to external plugin
2015-12-10 13:33:17 -08:00
Brad Davis
645695d5d5
Moving sixense to external plugin
2015-12-10 10:44:23 -08:00
Howard Stearns
83078b9d8c
Merge branch 'master' of https://github.com/highfidelity/hifi into correct-target-frame-rate
2015-12-10 08:44:08 -08:00
Bradley Austin Davis
1644bda908
Migrate to latest Oculus SDK (0.8)
2015-12-09 17:32:11 -08:00
Bradley Austin Davis
fd5fb3096f
Disabling OpenVR plugin
2015-12-09 17:31:53 -08:00
Brad Davis
978d39b7f4
Moving OpenVR to external plugin and updating to latest version
2015-12-09 16:20:24 -08:00
Howard Stearns
acb43e18d0
coding standards
2015-12-09 15:54:49 -08:00
Howard Stearns
dd2d040253
Merge branch 'fix-sync-period-calc' into correct-target-frame-rate
2015-12-09 15:43:43 -08:00
howard-stearns
1d65cbce88
Remove unneeded getTargetFramePeriod and isVSynchronized.
2015-12-08 18:08:57 -08:00
Bradley Austin Davis
e77f2e8ac4
Pass correct frame index into Oculus SDK
2015-12-08 16:49:50 -08:00
Howard Stearns
fa0ad1fe4d
Merge branch 'master' of https://github.com/highfidelity/hifi into correct-target-frame-rate
2015-12-04 16:12:22 -08:00
Brad Davis
90ef7c6bf7
Disabling 0.5 Oculus plugin (Mac / Linux) for now
2015-12-04 10:28:20 -08:00
Brad Davis
60aa93c38c
Fixing menu items in display plugins
2015-12-04 10:28:19 -08:00
Brad Davis
7262a10e62
Refactoring present thread / GL base plugin for saner context management
2015-12-04 10:28:18 -08:00
Brad Davis
b9ace94ff1
Prototyping threaded present
2015-12-04 10:28:16 -08:00
Brad Hefta-Gaub
d9a1563396
Merge pull request #6152 from sethalves/parents
...
Parents
2015-12-04 10:26:57 -08:00
Atlante45
07387ab8c0
Fix most OpenGL warnings
2015-12-04 10:01:43 -08:00
Howard Stearns
d51785a259
Merge branch 'master' of https://github.com/highfidelity/hifi into correct-target-frame-rate
2015-12-03 17:28:32 -08:00
Howard Stearns
a989b926b0
isVSynchronized, and proper override declarations.
2015-12-03 11:28:26 -08:00
Howard Stearns
8ae05d8490
Plugins target frame rate and period.
2015-12-02 16:40:41 -08:00
Brad Davis
0023c034c4
Fixing naming of GL classes
2015-11-30 18:27:03 -08:00
Seth Alves
a9669531ae
quiet a warning
2015-11-21 11:53:16 -08:00
Seth Alves
4646c0c103
unmangle merge
2015-11-21 10:49:31 -08:00
U-GAPOS\andrew
28e349f421
remeasure sensor after recentering
2015-11-19 10:43:40 -08:00
Stephen Birarda
46c8d7b3f8
fix for release build undeclared identifier
2015-11-17 12:32:45 -08:00
Brad Davis
4dec31d524
Fix crash in Oculus simulator
2015-11-04 13:20:47 -08:00
Seth Alves
c381da24a7
get interface building on my linux box
2015-11-02 10:42:06 -08:00
Brad Hefta-Gaub
92bcd9ca9e
make oculus plugin use static glew
2015-11-01 15:48:01 -08:00
Brad Hefta-Gaub
b9d60e803b
fix mac warning
2015-11-01 15:13:28 -08:00
Brad Davis
1e47a53603
Fixing mac oculus crash
2015-11-01 14:34:03 -08:00
Brad Davis
cfb2fd1523
Support for runtime plugins (DLLs)
2015-11-01 11:12:12 -08:00