FennelFetish
88a9069662
Adds option to disable VR mouse cursor and thus enable the cursor on the desktop.
...
Fixes repeated attachment of mouseImage as scene to gui viewport (because its parent was always null).
2019-04-08 15:17:19 +02:00
Stephen Gold
b2381e8aed
jme3-vr JavaDoc corrections (comments only)
2019-02-26 12:53:57 -08:00
Ali-RS
dae85e1598
Removed unused imports. ( #1020 )
2019-02-11 21:40:32 -08:00
jseinturier
9661d8c747
Updating OpenVR bindings
...
Updated OpenVR JNA binding from 1.0.9 to 1.0.16
Added OpenVR/LWJGL binding using KWJGL 3.2.0
2018-10-05 15:06:37 +02:00
Stephen Gold
f40ba25a56
correct more grammar/spelling errors in comments
2018-02-23 22:20:22 -08:00
Stephen Gold
826908b042
correct more grammar/spelling errors in comments
2018-02-18 20:49:43 -08:00
Stephen Gold
bc624f1f73
correct more typographical errors in comments
2018-02-01 23:39:31 -08:00
Stephen Gold
d17049e8ac
comment corrections in jme3-vr: mostly spelling and grammar
2018-01-16 18:05:34 -08:00
Julien Seinturier
58a9211879
OpenVR 1.0.9 and Occulus Support ( #779 )
...
* Updated OpenVR implementation to 1.0.9
User can specify external OpenVR library to load with
openvr.library.path system property.
Usage: java -Dopenvr.library.name=my_path_to_library MyApp
Removed reference to OCCULUS VR and OpenVR from VRAppstate as this class
is generic and does not have to be linked to specific implementation.
VRMouseManager can be buggous using OSVR or Occulus VR.
Refactored VR implementation packages in order to separate all available
implementation. Modifying or adding implementation should no more impact
other ones.
Renamed some classes in order to be uniform
2017-11-29 17:14:04 +01:00
Rickard Edén
eb6ce4d4b4
Merge pull request #755 from ZNixian/master
...
Prevent double-updating the main scene in VR
2017-10-19 08:11:50 +02:00
Rickard Edén
7c00561a3c
reverting orientation changes.
2017-10-15 11:55:45 +02:00
Rickard Edén
30de635cdf
Changing back orientation quat modification
2017-10-15 11:14:09 +02:00
Rickard Edén
ffed048472
making VRViewManagerOSVR more similar to VRViewManagerOpenVR
2017-10-15 10:22:24 +02:00
Campbell Suter
5273045ddf
Prevent double-updating the main scene in VR
2017-10-14 10:01:42 +13:00
Rickard Edén
22bf08d9e7
Merge pull request #753 from neph1/master
...
added functionality to use front mounted vive camera. 2nd try. Camera is still unstable and can break down between runs. Solution is to restart SteamVR.
2017-10-10 08:40:54 +02:00
Rickard Edén
a65b0ba3af
added functionality to use front mounted vive camera. 2nd try
2017-10-09 09:48:17 +02:00
Rickard Edén
2c044a29c5
Revert "added functionality to use front mounted vive camera"
...
This reverts commit ae7a134f1e8763bf25ecaf894ef3f2136288feda.
2017-10-09 09:26:16 +02:00
Rickard Edén
ae7a134f1e
added functionality to use front mounted vive camera
2017-10-09 09:13:40 +02:00
Campbell Suter
42fd964a22
Un-break VR mouse support for OpenVR
2017-10-07 22:36:32 +13:00
Campbell Suter
63dd46b8a3
Switch OculusVR to logger (from system.println), commenting spree
2017-10-07 22:27:16 +13:00
Campbell Suter
0b37e56bd0
Add recentering support for Oculus Rift, improve associated Javadoc
2017-10-07 21:41:31 +13:00
Campbell Suter
2464dcd17a
Add OculusVRInput
2017-10-07 21:41:31 +13:00
Campbell Suter
c26316d81c
Add Oculus Touch mappings to VRInputType
2017-10-07 21:41:30 +13:00
Campbell Suter
fcccdd75a5
Don't create unnecessary FrameBuffer for OculusVR view manager
2017-10-07 21:41:30 +13:00
Campbell Suter
7b30f69c2a
Fix mirror window displaying blank for Oculus Rift
2017-10-07 21:41:29 +13:00
Campbell Suter
9747c556ff
OculusVR: Use correct coordinate space conversions, looking around now works
2017-10-07 21:41:29 +13:00
Campbell Suter
760277f61d
Make OculusVR.getHMDVectorPoseLeftEye return the HMD relative, not world relative, eye positions.
2017-10-07 21:41:29 +13:00
Campbell Suter
d7fc716065
Oculus: Initialize GUI to prevent startup crashes
2017-10-07 21:41:28 +13:00
Campbell Suter
b6b1687450
OculusVR: Fix eye-texture sizing issue, producing correct FOV
2017-10-07 21:41:28 +13:00
Campbell Suter
da52de7f7f
OculusVR: Get basic projections working (mostly), however, VR cameras still don't work properly
2017-10-07 21:41:27 +13:00
Campbell Suter
b1baa26ea1
Use two smaller textures for OculusVR, rather than a single large one
2017-10-07 21:41:27 +13:00
Campbell Suter
5df7f80c04
Clean up Oculus View Manager update() method
2017-10-07 21:41:27 +13:00
Campbell Suter
563c3eabff
OculusVR: Implement getType and rename eyePoses to hmdRelativeEyePoses
2017-10-07 21:41:26 +13:00
Campbell Suter
3082e63cfd
OculusVR: Implement further tracking methods
2017-10-07 21:41:26 +13:00
Campbell Suter
601ba1cfda
OculusVR: Add basic camera positioning
2017-10-07 21:41:25 +13:00
Campbell Suter
8a3336704a
Move rendering setup from Oculus VRViewManager to OculusVR, and implement cleanup
2017-10-07 21:41:25 +13:00
Campbell Suter
1c975918b1
OculusVR: Call GetPredictedDisplayTime to satasfy SubmitFrame
2017-10-07 21:41:25 +13:00
Campbell Suter
f0b4c13515
Use real, not stub, values in VRViewManagerOculus
2017-10-07 21:41:24 +13:00
Campbell Suter
0844c9da04
Add getters to OculusVR input
2017-10-07 21:41:24 +13:00
Campbell Suter
3ac7888dc0
Add initialization logic to OculusVR input
2017-10-07 21:41:24 +13:00
Campbell Suter
7313abf58d
Setup infrastructure for using LibOVR
2017-10-07 21:41:23 +13:00
Campbell Suter
cf28e81480
Add initial VRViewManagerOculus
2017-10-07 21:41:23 +13:00
Campbell Suter
d96bf2c13e
Add skeleton OculusVR input
2017-10-07 21:41:22 +13:00
Campbell Suter
5fd5939807
Add LWJGL-LibOVR gradle dependency
2017-10-07 21:41:22 +13:00
Campbell Suter
4ce05dd0ca
Add pre-render method to VRViewManager in preparation for adding Oculus
...
Rift support. See
https://hub.jmonkeyengine.org/t/libovr-oculus-rift-support/39427
2017-10-07 21:41:22 +13:00
Alexandr Brui
10bc250db7
Fix of the one parameter of shadows render. ( #688 )
...
* fixed applying the render back faces shadows option during creating a shadow filter.
2017-07-23 17:51:23 +02:00
jseinturier
16b4dade2d
Removing more static references.
2017-04-13 11:37:36 +02:00
jseinturier
2cacf16f69
Conform to... Oh you know what i mean...
2017-04-13 11:13:52 +02:00
jseinturier
0ecd38892c
Conform to master... boring....
2017-04-13 11:12:11 +02:00
jseinturier
9e945462f7
Conforming to last master branch
2017-04-13 10:00:11 +02:00