Commit graph

15 commits

Author SHA1 Message Date
Lubosz Sarnecki
80c7b8f993 OpenXrContext: Add Windows platform and bindings. (Untested) 2024-05-25 13:20:34 +02:00
Lubosz Sarnecki
7b1bbb6b2d OpenXrInputPlugin: Improve haptic feedback mapping. 2024-05-25 13:20:34 +02:00
Lubosz Sarnecki
a2a1fca274 OpenXrInputPlugin: Fix hand orientation.
Use same orientation as OpenVR plugin.
2024-05-25 13:20:34 +02:00
Lubosz Sarnecki
3be716cb05 OpenXrInputPlugin: Use left primary / secondary instead of face button names. 2024-05-25 13:20:34 +02:00
Lubosz Sarnecki
e38f8bea34 OpenXrDisplayPlugin: Head pose is fixed now, update comment, refactor. 2024-05-25 13:20:34 +02:00
Lubosz Sarnecki
3ca1d5f14b OpenXrDisplayPlugin: Run frame cycle on both threads.
Add synchronization.
Move xrWaitFrame and xrBeginFrame into beginFrameRender.
2024-05-25 13:20:34 +02:00
Lubosz Sarnecki
ae5c1d8d00 OpenGlDisplayPlugin: Add possibility to present frames only once.
Don't present frame more than once in OpenXrDisplayPlugin.
2024-05-25 13:20:34 +02:00
Lubosz Sarnecki
479b1aa6da OpenXrDisplayPlugin: Write layer poses as early as possible. 2024-05-25 13:20:34 +02:00
Lubosz Sarnecki
385b33f6d2 OpenXrDisplayPlugin: Move swapchain aquire to hmdPresent. 2024-05-25 13:20:34 +02:00
Lubosz Sarnecki
dfe92064b9 context: Improve errors when runtime is not available. 2024-05-25 13:20:34 +02:00
Lubosz Sarnecki
e1f2551e30 OpenXrInput: comment debug output. 2024-05-25 13:20:34 +02:00
Lubosz Sarnecki
7f4a489945 OpenXrInput: Map more Index controller.
* Add thumbstick click and touch.

* Add face and trigger touch.
2024-05-25 13:20:34 +02:00
Lubosz Sarnecki
5cf56caf81 OpenXrInput: Rotate head and refactor sensor to avatar calculation. 2024-05-25 13:20:34 +02:00
Lubosz Sarnecki
7ae59eb5dc OpenXrDisplayPlugin: Use view space eye positions.
Use view orientation for eye offset.
2024-05-25 13:20:34 +02:00
Lubosz Sarnecki
86a71b589b plugins: Add OpenXR plugin.
Add OpenXrDisplayPlugin and OpenXrInputPlugin.
Add controller bindings for the Valve Index controller.
2024-05-25 13:20:34 +02:00