Commit graph

87989 commits

Author SHA1 Message Date
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
Lubosz Sarnecki
d9cd2fd3d5 OpenGlDisplayPlugin: Add possibility to present frames only once.
Don't present frame more than once in OpenXrDisplayPlugin.
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
Lubosz Sarnecki
bb2dd63b99 Application: Improve scoping. 2025-04-01 09:04:46 +10:00
Lubosz Sarnecki
fff2127e66 Application: Maintain orientation of eye offset matrix. 2025-04-01 09:04:46 +10:00
Lubosz Sarnecki
4b9998e53e Context: Maintain orientation of eye offset matrix. 2025-04-01 09:04:46 +10:00
Lubosz Sarnecki
f6d724241c HmdDisplayPlugin: Fix whitespace. 2025-04-01 09:04:46 +10:00
Lubosz Sarnecki
8fcafa32d1 UserInputMapper: Make error an error. 2025-04-01 09:04:46 +10:00
Lubosz Sarnecki
43d56eed85 Camera: Init default values. 2025-04-01 09:04:46 +10:00
Lubosz Sarnecki
3d51b10bcb ports: Add openxr-loader.
Copy from vcpkg repository.
Add OpenXR to hifi-client-deps.
2025-04-01 09:04:46 +10:00
Lubosz Sarnecki
881fbf5641 ports: Add jsoncpp.
The build demands it but it's missing.
Copy from upstream vcpkg repo.

Fixes the following error:
```
Computing installation plan...
error: while looking for jsoncpp:x64-linux:
overte-files/vcpkg/cfe0a2a0/ports/jsoncpp: error: jsoncpp does not exist
```
2025-04-01 09:04:46 +10:00
armored-dragon
d8103eb7dd
Explicitly return false. 2025-03-31 13:06:27 -05:00
armored-dragon
3e397b45a6
Remove lingering javascript file. 2025-03-30 10:43:52 -05:00
armored-dragon
0fa2f039bb
Remove GraphicsSettings.qml 2025-03-30 10:28:17 -05:00
armored-dragon
21a4bf99ee
Made text highlightable.
Added icon to Settings submenu listing.
2025-03-30 09:54:31 -05:00
armored-dragon
f7833fa6b3
Added missing fullscreen monitor selection. 2025-03-30 09:54:30 -05:00
armored-dragon
2fd7c44ac6
Fixed regression? 2025-03-30 09:54:29 -05:00
armored-dragon
096a1d5006
Added missing FPS custom setting. 2025-03-30 09:54:28 -05:00
armored-dragon
aa77ca8924
Add settings.js to default scripts. 2025-03-30 09:54:27 -05:00
armored-dragon
a7d1b2651a
Fixed typo. 2025-03-30 09:54:26 -05:00
armored-dragon
f5585605af
Menu bar item 2025-03-30 09:54:25 -05:00
armored-dragon
1f4d163ed7
Custom Slider. 2025-03-30 09:54:24 -05:00
armored-dragon
db834a88f1
Hide extra settings pages. 2025-03-30 09:54:24 -05:00
armored-dragon
a64f69d145
Number usability adjustments. 2025-03-30 09:54:23 -05:00
armored-dragon
d7401e8e73
Added Numpad enter key support. 2025-03-30 09:54:22 -05:00
armored-dragon
2fcf2d47ed
Fixed stepsize.
Removed floats.
2025-03-30 09:54:21 -05:00
armored-dragon
74235dc6f3
Ensure static width of spinbox. 2025-03-30 09:54:20 -05:00
armored-dragon
7c462ab71c
Custom int inputs. 2025-03-30 09:54:19 -05:00
armored-dragon
97e6271391
Custom ComboBox element. 2025-03-30 09:54:18 -05:00
armored-dragon
c460a582e4
Changed boolean style. 2025-03-30 09:54:17 -05:00
armored-dragon
f0f69eabe6
Fixed scrolling. 2025-03-30 09:54:16 -05:00
armored-dragon
ee93cabdd5
Custom checkboxes 2025-03-30 09:54:15 -05:00
armored-dragon
52d354541e
Added haze setting. 2025-03-30 09:54:14 -05:00
armored-dragon
83b2666fb5
Center container widget.
Replaced homepage with widget.
2025-03-30 09:54:13 -05:00
armored-dragon
7e876fa066
Minor layout fixes. 2025-03-30 09:54:12 -05:00
armored-dragon
2034662233
Added list view for all subcategories.
Split elements into their own widgets.
2025-03-30 09:54:11 -05:00
armored-dragon
983f6e8809
Set settings. 2025-03-30 09:52:33 -05:00
armored-dragon
156a206b4a
Read from settings. 2025-03-30 09:52:32 -05:00
armored-dragon
22be7d1b37
Improved FPS.
Fixed some comments.
2025-03-30 09:52:31 -05:00
armored-dragon
ae198ea1ee
Added basic graphic settings. 2025-03-30 09:52:30 -05:00