Commit graph

12 commits

Author SHA1 Message Date
Ada
a2dd909ce2 xrNoHandTracking option, tweak offsets for non-vive controllers 2025-05-02 17:02:22 +10:00
Ada
81996aaeb7 OpenXR hand tracking 2025-05-01 17:19:24 +10:00
Ada
23364f05f8 Use Odyssey controller extension, might fix? 2025-04-14 01:54:10 +10:00
Ada
d4d46cdbe8 Use OpenXR 1.0, some runtimes don't support 1.1 yet 2025-04-05 23:04:59 +10:00
Ada
9cf3c748ca Input cleanup, game rate fix 2025-04-02 02:41:08 +10:00
Ada
36768b6b88 DeferredFrameTransform: Hack to get lighting working properly in VR
Somewhere, the eye view transform is being applied twice. For now,
this hack with applying an inverse view transform corrects the bugged
lighting in the XR branch.
2025-04-01 09:04:46 +10:00
Ada
fedd4c8c1c OpenXrContext: Don't try and fail to initialize on Wayland 2025-04-01 09:04:46 +10:00
Ada
cedc5be526 OpenXrInputPlugin: User-friendly input actions
Replaces the raw controller button inputs with named OpenXR actions.
There's a lot of engine components that expect raw controller inputs
like the VR teleport script. Those will have to be refactored later,
but for now this works well enough and is perfectly usable. A small
issue I've hit is the LY input working for the teleport script,
but not for smooth locomotion. I've hacked around this by having
the "walk" action bound both to LX/LY and to the Translate actions.
It's a bit janky for teleports, but it's functional.

TODO: Feedback on intuitive bindings for other controller types besides
just the HTC Vive controllers.
2025-04-01 09:04:46 +10:00
HifiExperiments
c8557f5c78 OpenXr: Platform improvements.
Add missing includes on Windows.
Include GLX only on Linux.

Move openxr_platform.h include to OpenXrContext.h. To make this
possible, certain names from GLX/X11 need to be undefined in order to be
now includable in OpenXrInput.h.

Add Overte e.V. copyright.

Co-authored-by: Lubosz Sarnecki <lubosz@gmail.com>
2025-04-01 09:04:46 +10:00
Lubosz Sarnecki
7abc7be287 OpenXrContext: Add Windows platform and bindings. 2025-04-01 09:04:46 +10:00
Lubosz Sarnecki
be3e12b18c OpenXrContext: Improve errors when runtime is not available. 2025-04-01 09:04:46 +10:00
Lubosz Sarnecki
473bd4d64e plugins: Add OpenXR plugin.
Add OpenXrDisplayPlugin and OpenXrInputPlugin.
Add controller bindings for the Valve Index controller.
2025-04-01 09:04:46 +10:00