Commit graph

87425 commits

Author SHA1 Message Date
67f90043cf
Merge pull request #1367 from AleziaKurdis/createApp_2025-03_TextEntityLineBreaks
Some checks are pending
Master API-docs CI Build and Deploy / Build and deploy API-docs (push) Waiting to run
Master Doxygen CI Build and Deploy / Build and deploy Doxygen documentation (push) Waiting to run
Create App: Text Entity: Support for line breaks, Replace unlit material entity for shape unlit in selection tool
2025-04-06 19:50:28 +02:00
e0bdffd470
Merge pull request #1382 from Armored-Dragon/fix/ac_scrolling-distance_check
Some checks are pending
Master API-docs CI Build and Deploy / Build and deploy API-docs (push) Waiting to run
Master Doxygen CI Build and Deploy / Build and deploy Doxygen documentation (push) Waiting to run
Fix Armored Chat always scrolling on a new message
2025-04-06 18:59:12 +02:00
22122acab5
Merge pull request #1395 from HifiExperiments/tofu
Some checks are pending
Master API-docs CI Build and Deploy / Build and deploy API-docs (push) Waiting to run
Master Doxygen CI Build and Deploy / Build and deploy Doxygen documentation (push) Waiting to run
show tofu character on missing character
2025-04-06 18:25:25 +02:00
0589252598
Merge pull request #1399 from ada-tv/fix/keyboard-preview-lighting
Fix keyboard preview not being unlit
2025-04-06 18:13:38 +02:00
92aae38733
Merge pull request #1394 from HifiExperiments/bookmarksError
warning when avatar bookmarks JSON is malformed
2025-04-06 18:12:55 +02:00
537462ff37
Merge pull request #1321 from HifiExperiments/lifetime
Some checks are pending
Master API-docs CI Build and Deploy / Build and deploy API-docs (push) Waiting to run
Master Doxygen CI Build and Deploy / Build and deploy Doxygen documentation (push) Waiting to run
fix domain entity lifetime in serverless mode
2025-04-06 14:46:40 +02:00
ef5cc802a9
Merge pull request #1374 from AleziaKurdis/createApp_2025_03_localEntityInList
Some checks are pending
Master API-docs CI Build and Deploy / Build and deploy API-docs (push) Waiting to run
Master Doxygen CI Build and Deploy / Build and deploy Doxygen documentation (push) Waiting to run
Create App: View "Local Entities" in Entity List.
2025-04-06 14:20:12 +02:00
Ada
11ef9fc997 Fix keyboard preview not being unlit 2025-04-06 21:13:16 +10:00
ce86f59437
Merge pull request #1317 from OfficialR3ido101/fix/VR_Mouse_Lock
Some checks are pending
Master API-docs CI Build and Deploy / Build and deploy API-docs (push) Waiting to run
Master Doxygen CI Build and Deploy / Build and deploy Doxygen documentation (push) Waiting to run
Stop VR mouse capture.
2025-04-05 23:33:44 +02:00
a1bd83e8aa Change variable names 2025-04-05 22:56:16 +02:00
OfficialR3ido101
aced56d934 Fixed for review changed vars 2025-04-05 22:09:13 +02:00
OfficialR3ido101
585df97a19 removed useless commented out code and set the correct category for mouse locking in VR 2025-04-05 22:08:57 +02:00
OfficialR3ido101
d343fea626 Stop mouse capturing when in vr 2025-04-05 21:54:03 +02:00
18b6e744a3
Merge pull request #1325 from ada-tv/openxr-input
Some checks are pending
Master API-docs CI Build and Deploy / Build and deploy API-docs (push) Waiting to run
Master Doxygen CI Build and Deploy / Build and deploy Doxygen documentation (push) Waiting to run
MVP OpenXR Support
2025-04-05 15:41:07 +02:00
Ada
d4d46cdbe8 Use OpenXR 1.0, some runtimes don't support 1.1 yet 2025-04-05 23:04:59 +10:00
59373f97fd
Merge pull request #1396 from JulianGro/downgrade-cmake
Some checks are pending
Master API-docs CI Build and Deploy / Build and deploy API-docs (push) Waiting to run
Master Doxygen CI Build and Deploy / Build and deploy Doxygen documentation (push) Waiting to run
Downgrade CMake on Windows Runners.
2025-04-05 14:37:10 +02:00
f6cc8bcc52 Downgrade CMake on Windows Runners. 2025-04-05 13:02:17 +02:00
Ada
8d3a221970 Fix oculus controller path, add index controller bindings 2025-04-05 17:27:30 +10:00
Ada
bfcd52b5dc TODO comments for unimplemented input config functions 2025-04-05 17:20:34 +10:00
HifiExperiments
b201369f73 show tofu character on missing character 2025-04-05 00:12:17 -07:00
HifiExperiments
b8198f20c3 warning when avatar bookmarks JSON is malformed 2025-04-05 00:04:20 -07:00
Ada
d84b306e21 Add launch flag to mutually exclusively enable XR/OpenVR 2025-04-03 03:12:44 +10:00
Ada
9cf3c748ca Input cleanup, game rate fix 2025-04-02 02:41:08 +10:00
Ada
d09a920ad2 Update OpenXR-SDK to 1.1.46 2025-04-01 23:33:49 +10:00
Ada
fafbede819 Remove unused and outdated Index bindings 2025-04-01 09:04:46 +10:00
84055beba1 Add missing namespace 2025-04-01 09:04:46 +10:00
Ada
1b95f97457 OpenXrInputPlugin: Tweak hand offset slightly 2025-04-01 09:04:46 +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
7c3fa5b175 OpenXrInputPlugin: Correct HMD-head bone offset 2025-04-01 09:04:46 +10:00
Ada
167c9c433f OpenXrInputPlugin: Adjust hand and head-to-eyes offsets
Hands are now basically perfect (on Vive controllers, at least,
palm pose/grip surface would really help but it's not well supported)
Head now bends properly at the bottom of the head bone and the HMD view
isn't stuck at the bottom of the head bone.

TODO: The current solution doesn't account for avatar scale or the
actual positions of their eyes. The pull-forward offset for the view
might also be too far, I'll need to get feedback on it.
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
d21dee44fb OpenXrInputPlugin: Oculus touch and WMR controller profiles 2025-04-01 09:04:46 +10:00
Ada
524665f54c Revert OpenVrDisplayPlugin getPlayAreaRect hack 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
Ada
dc3a508051 OpenXrInputPlugin: Make actions more generic
This still isn't ideal and it uses the Vive controller settings,
but this should work on most controllers thanks to OpenXR's built-in
action remapping and standardised button names.
2025-04-01 09:04:46 +10:00
Ada
7ece6e7a0c OpenXrInputPlugin: Hack for Vive controllers
This aught to be replaced with a proper set of XR input profiles,
at the moment this is *just* enough to get hardcoded button inputs
working with the existing Vive controller config.
2025-04-01 09:04:46 +10:00
af00bf5667 Make sure add-apt-repository is available. 2025-04-01 09:04:46 +10:00
Lubosz Sarnecki
2d0db677aa pr_build: Get GCC 13 on Ubuntu using the ppa:ubuntu-toolchain-r/test. 2025-04-01 09:04:46 +10:00
1101a2aeb4 Install missing xcb/glx.h dependency. 2025-04-01 09:04:46 +10:00
Lubosz Sarnecki
760b846bb1 OpenXrDisplayPlugin: Use C++20 std::format. 2025-04-01 09:04:46 +10:00
Lubosz Sarnecki
aa6facf7e6 OpenXrInputPlugin: Use C++20 map iterators. 2025-04-01 09:04:46 +10:00
Lubosz Sarnecki
710da838d8 OpenXr: Use C++20 std::optional. 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
661fe08f08 GLMHelpers: Fix build with C++20 on GCC.
When enabling C++20 the lerp function seems to be redefined on GCC (not
on MSVC), don't redefine it using a CMake definition.
2025-04-01 09:04:46 +10:00
05c6a5e5d7 OpenXr: Enable C++20 for OpenXR plugin.
Enabling it globally causes issue with WebRTC.

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
89ba66c317 OpenXrInputPlugin: Improve haptic feedback mapping. 2025-04-01 09:04:46 +10:00
Lubosz Sarnecki
7e31a1e49b controllers: Improve openxr_index.json mapping. 2025-04-01 09:04:46 +10:00
Lubosz Sarnecki
0505658a39 controllers: openxr: Use actions for walking.
This makes the Y thumbstick axis work.
2025-04-01 09:04:46 +10:00
Lubosz Sarnecki
2db3168612 OpenXrInput: Improve mapping for the Index controller.
* Add thumbstick click and touch.
* Add face and trigger touch.

Use left primary / secondary instead of face button names.
2025-04-01 09:04:46 +10:00