madsbuvi
3347cdfe30
Fixed recentering adjusting the player's orientation. Cell changes should now retain the proper orientation. Added support for seated play.
2021-02-28 16:01:03 +01:00
madsbuvi
8671611ed5
Improved swapchain format handling.
2021-01-25 22:46:08 +01:00
madsbuvi
11a3961d65
Merge remote-tracking branch 'remotes/origin/directx_swapchains' into openxr_vr_geometryshader_feature_branch
2021-01-01 19:50:52 +01:00
madsbuvi
6ed89f9141
Support for DirectX swapchains.
2020-12-31 21:08:24 +01:00
Mads Buvik Sandvei
b98b4db4c1
Merge remote-tracking branch 'remotes/origin/multiview_test_branch' into openxr_vr_geometryshader_feature_branch
2020-12-09 21:11:53 +01:00
Mads Buvik Sandvei
acdce6e0d0
Refactored OpenXRSwapchainImpl to use two private objects that instantiate a swapchain, instead of instantiating two swapchains directly. Added handling of runtime failures in xrAcquireSwapchain(), xrWaitSwapchain(), and xrReleaseSwapchain().
2020-11-22 15:23:11 +01:00
Mads Buvik Sandvei
4f8f0cc8ac
Merge branch 'master' of https://gitlab.com/madsbuvi/openmw into openxr_vr
2020-10-22 20:39:53 +02:00
Mads Buvik Sandvei
6425749b7e
More accurate interpretation of openxr session states
2020-10-18 14:22:03 +02:00
Mads Buvik Sandvei
cf20faff21
Option to make use of XR_EXT_debug_utils if available
2020-10-17 21:11:31 +02:00
Mads Buvik Sandvei
c3a312f80d
Squashed commit of the following:
...
commit d8564b8e501c98fa2e3cde582b8d06d7c78ba6ce
Author: Mads Buvik Sandvei <madssandvei@protonmail.com>
Date: Fri Oct 16 23:43:39 2020 +0200
bad assignment
commit 84f66e4bf1050ce8a316a27f8b10dc2243e35406
Author: Mads Buvik Sandvei <madssandvei@protonmail.com>
Date: Fri Oct 16 21:08:27 2020 +0200
Removed the approach of abstracting xr paths with enums. It is not turning out to be useful. Use the explicit paths instead. Added some default bindings for most currently available controllers, except the xbox controller.
commit ae525d0a239c087a7344528634a078e0812af66d
Author: Mads Buvik Sandvei <madssandvei@protonmail.com>
Date: Fri Oct 16 21:05:37 2020 +0200
Cleaned up openxr extensions code. Upgraded openxr to version 1.0.12 to enable support for certain controllers.
commit 2d71a5ecbf699c59f1fcdbebcad867fd28552929
Author: Mads Buvik Sandvei <madssandvei@protonmail.com>
Date: Thu Sep 24 22:18:25 2020 +0200
simple_controller
2020-10-17 12:33:46 +02:00
Mads Buvik Sandvei
c136ae682e
SteamVR compatibility (Lack of depth formats). Cleanup of deprecated oculus workarounds in vrsession.cpp.
2020-08-02 12:34:46 +02:00
Mads Buvik Sandvei
9e16e592e8
steady clock prediction was not quite right
2020-07-25 12:28:52 +02:00
Mads Buvik Sandvei
5e729a0e82
Improved XR event processing logic. Particularly, handling session stop/start in a more predictable, less crashy manner. Added disabling of rendering when XR session is not running.
2020-07-21 12:28:39 +02:00
Mads Buvik Sandvei
e0b51af395
Sharing shadow maps across eyes.
...
Does not yet expand frustum.
2020-07-20 13:03:48 +00:00
Mads Buvik Sandvei
47b7837d7c
Make use of the layer depth extension
2020-07-15 23:17:16 +02:00
Mads Buvik Sandvei
91de6392ca
More refactoring / cleanup. Code policies.
2020-06-26 23:02:48 +02:00
Mads Buvik Sandvei
df45ee1690
More refactoring/cleanup
2020-06-24 21:26:11 +02:00
Mads Buvik Sandvei
1cf97fd7ad
lots of refactoring and some commenting
2020-06-21 23:40:07 +02:00
Mads Buvik Sandvei
8f38f0536c
Separate GLRC for OpenXR to ensure uncontested access.
...
Safety check on predictions to police that they are made only once per frame.
2020-06-02 21:46:22 +02:00
Mads Buvik Sandvei
480ce82217
Fixed performance issues related to xr synchronization as well as osg pipelining. Some code refactoring / cleanup.
2020-05-24 18:00:42 +02:00
Mads Buvik Sandvei
288530510d
Some cleanup. Fixed problems arising from latest merge (refactoring).
2020-05-21 01:01:15 +02:00
Mads Buvik Sandvei
eab8326841
Vismasked moved to SceneUtil in merge, fixed references.
2020-03-30 02:04:27 +02:00
Mads Buvik Sandvei
49e0c6f17b
Basic hand tracking.
2020-02-14 22:11:19 +01:00
Mads Buvik Sandvei
14039e5e25
Predictions work perfectly with this. Committing that and clean up later.
2020-02-02 13:12:53 +01:00
Mads Buvik Sandvei
951879240c
Simplified render timing by separating rendering from the openxr swapchain, and instead blitting and submitting separately
2020-01-26 20:06:47 +01:00
Mads Buvik Sandvei
51125d4f3e
Improved frame pose prediction by barriering slave access as well. Slaves were updating on either the old frame timing or new by chance, causing jittery tracking. Accounted for morrowind's unit length (1 unit = 64 yards)
2020-01-25 14:27:13 +01:00
Mads Buvik Sandvei
2accdc4441
Split view into worldview and menu, for ease of layer management. Basic pose management.
2020-01-24 00:14:23 +01:00
Mads Buvik Sandvei
2778775070
First commit. Wrote an osgviewer, achieved display.
2020-01-10 00:10:09 +01:00