6607 Commits

Author SHA1 Message Date
Campbell Suter
5273045ddf
Prevent double-updating the main scene in VR 2017-10-14 10:01:42 +13:00
javasabr
ec121f025f simplified version. 2017-10-13 08:08:55 +02:00
javasabr
b9e3788ffa fixed NPE when you try to remove an unused asset loader. 2017-10-13 08:08:55 +02: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
c460593000 Merge pull request #752 from ZNixian/master
Add Oculus Rift support
2017-10-10 07:47:40 +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
Nehon
54061124a9 glTF: Fixed animation data interpolation, also renamed AnimData to TrackData to match JME paradigm. 2017-10-08 20:50:59 +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
Rémy Bouquet
132b0abc50 glTF Properly ignore morph animation until they are supported 2017-10-07 10:27:03 +02:00
Alexandr Brui
556e3de1c0 fixed asset linked node to reuse shared data between loaded models. (#739)
* fixed asset linked node to reuse shared data between loaded models.
* updated implementation of binary loader.
2017-10-01 20:48:38 -04:00
Stephen Gold
94e828f92e Merge pull request #750 from stephengold/master
fix issue #749: NPE in CollideIgnoreTransformTest
2017-10-01 00:22:37 -07:00
Stephen Gold
2632c3227c fix issue #749: NPE in CollideIgnoreTransformTest 2017-10-01 00:12:43 -07:00
Nehon
db23985f92 glTf: proper animation data padding when transforms are given as sparse arrays 2017-09-30 15:34:53 +02:00
Stephen Gold
082fea969e Merge pull request #748 from stephengold/master
FlyByCamera: comments, annotations, & imports; address GitHub issue #697
2017-09-27 23:24:46 -07:00
Stephen Gold
083f21d6a2 FlyByCamera: comments, annotations, & imports; address GitHub issue #697 2017-09-27 21:26:59 -07:00
Stephen Gold
0137670487 Merge pull request #746 from stephengold/master
Geometry: set worldTransform to identity if ignoreTranform is true
2017-09-27 12:22:38 -07:00
Nehon
3f99c80109 glTF: properly close opened stream and avoid caching them.
Fixed an issue when an animation track didn't have any translation or scale entries
2017-09-27 10:00:49 +02:00
Nehon
c17c3e9605 Remove leftover sys err 2017-09-24 16:02:45 +02:00
Rémy Bouquet
7b2f1094b1 Gltf fix data reading 2017-09-24 15:55:46 +02:00
Stephen Gold
8a5da0eb0e Geometry: set worldTransform to identity if ignoreTranform is true 2017-09-23 14:36:01 -07:00
Kirill Vainer
ad2a9e6230 Revert "Resolving issue in ticket #661. Creating skelton debugger that allows bones to be extended in any direction instead of only the Y direction. (#681)"
This reverts commit 989c7926df8d1bccb635b97f55da7c05bfad60ad.
2017-09-22 13:51:49 -04:00
Stephen Gold
3b5248766e Merge pull request #745 from stephengold/master
testcase & fix for issue #744: collideWith() versus setIgnoreTransform()
2017-09-22 10:19:33 -07:00