Commit Graph
63 Commits
Author SHA1 Message Date
Guillaume Meunier c0dc193247 Stick the index to the closest imgui window, register click only when the finger is 1cm inside the window 2025-11-01 20:58:06 +01:00
Guillaume Meunier cb1d0d7c2c Add a screen to download gltf models 2025-10-25 10:30:29 +02:00
Guillaume Meunier 33a5bf7494 More fine grained locking of vulkan queues when loading a ktx texture 2025-10-25 10:30:29 +02:00
Guillaume Meunier a9f774c67c Use the mapped_file class instead of asset for assets 2025-10-25 10:30:27 +02:00
Guillaume Meunier aad1bb6a1b Misc renderer improvements:
- Reuse renderer and gltf loader between scenes
- Use puish descriptors to simplify the management of descriptor sets in the scene renderer
- Don't keep the imgui swapchain in the scene classes
- Fix alpha blending, add alpha masking
- Fix mipmaps not being used in renderer
- Add cache when loading images and models
- Only premultiply the colours if required
- Add support for gltTF animations

Allow removing an object and its descendants from the scene, allow loading from a memory buffer
2025-10-23 21:39:12 +02:00
Guillaume Meunier e526d572c2 Update ImGui to 1.92.3 2025-10-23 21:39:12 +02:00
Guillaume Meunier be6028982e Update libktx to 4.4.0
- Use UASTC textures instead of ASTC, transcode to ASTC or BC7 at load time
- Add cmake helpers to generate assets, optimize controller models
- Textures are resized to 512x512 and compressed in UASTC
- Always use libktx
2025-10-23 21:39:12 +02:00
Patrick Nicolas 67918b7fe7 Move app launcher out of lobby_gui 2025-09-27 16:53:25 +02:00
Patrick Nicolas b411afb946 Add option to manually set language 2025-09-18 15:50:08 +02:00
Patrick Nicolas 87b68aaa7b Prevent negative deltatime in imgui 2025-08-20 22:11:43 +02:00
Patrick Nicolas a82ee8c038 Remove application::queue_family_index() 2025-08-20 22:11:43 +02:00
Patrick Nicolas bce3e498e8 Fix destruction of textures still in use 2025-08-16 14:15:29 +02:00
Guillaume Meunier 2327eacbeb Synchronize all uses of the command queue 2025-08-04 15:49:42 +02:00
Guillaume Meunier fed26b0675 Improve scrolling with the thumbstick 2025-08-03 10:50:22 +02:00
Guillaume Meunier 02c3da3f9f Use a growable descriptor pool in imgui 2025-08-03 10:50:22 +02:00
Guillaume Meunier 8aca33e0a4 Set imgui textures to clamp to edge 2025-08-03 10:50:22 +02:00
Guillaume Meunier 5435513da2 Allow loading texture from memory buffer for imgui 2025-08-03 10:50:22 +02:00
Guillaume Meunier aa4f9ac265 Add first run screen 2025-07-26 11:29:03 +02:00
Guillaume Meunier c3ec979dde Overrideable foveation center 2025-07-26 11:18:58 +02:00
Guillaume Meunier 794f2e3468 Update imgui 1.91.3 -> 1.92.1 2025-07-26 11:18:58 +02:00
Guillaume Meunier 96083cd02e Add interactable GUI in stream scene 2025-07-26 11:18:58 +02:00
Guillaume Meunier 54f91405a6 Refactor the client GUI 2025-07-26 11:18:58 +02:00
Patrick Nicolas 02822ba458 Fix loading glyphs for zh_TW 2025-03-07 17:56:03 +01:00
Guillaume Meunier c011c18411 Change active controller selection 2024-11-01 14:13:58 +01:00
Guillaume Meunier f8fa4b87a8 Put magic constants in a single file 2024-11-01 14:13:58 +01:00
Guillaume Meunier 8126bb0541 Improve virtual keyboard behaviour when using hand tracking 2024-11-01 14:13:58 +01:00
Guillaume Meunier 33bde8be57 Add debug options:
- Log driver version when starting
- Add debug menu to offset the controller mesh positions/orientations in the lobby
2024-11-01 14:13:58 +01:00
Guillaume Meunier e1ce484c27 Misc UI updates and fixes:
- Vertically center the server name for manually added servers
- Add padding for feature icons
- Use a popup for adding a new server
- Display pointers for both controllers
- Avoid jumps in scrolling when the focused controller changes
- Grab the GUI by the pointed position instead of the center
- Add battery level in lobby
- Use the correct width in the server list if there is a scrollbar
- Make sure the tooltip does not overflow on other layers
- Save the virtual keyboard layout in the config file
- Don't display the IP address for USB connections
- Allow receiving intents when WiVRn is already running
- Add recentering tip
2024-11-01 14:13:58 +01:00
Guillaume Meunier dca3254df9 Add virtual keyboard, GUI to add a server manually 2024-11-01 11:40:33 +01:00
Guillaume Meunier 8e4088280e Dim the main window when a popup is shown 2024-11-01 11:40:33 +01:00
Guillaume Meunier 252b2fd81e Update imgui to 1.91.3
Rework touch handling in lobby GUI

Add imgui patches

Support splitting the imgui viewport/swapchain in different composition layers
2024-11-01 11:40:33 +01:00
Guillaume Meunier 4baff267f6 Add build option to show the Dear Imgui demo window in the headset for debugging 2024-11-01 11:40:33 +01:00
Guillaume Meunier 6c10a9ee95 Ask for XR_FB_composition_layer_depth_test and XR_KHR_composition_layer_depth
Enable depth testing between GUI and lobby

Use reversed-Z, prefer floating point depth buffer
2024-11-01 11:40:33 +01:00
Guillaume Meunier c189737caa Fix the desktop client when using an english locale 2024-09-19 21:43:06 +02:00
Patrick Nicolas e8a13bd1fc Revert "Fix possible memory leak"
This reverts commit cf6bca435e.
2024-07-14 14:51:12 +02:00
Guillaume Meunier cf6bca435e Fix possible memory leak 2024-07-14 14:21:49 +02:00
Guillaume Meunier f0a00ad8b1 Only load required fonts on PC 2024-07-14 14:21:49 +02:00
Guillaume Meunier 9559f968be Fix formatting 2024-06-22 17:35:25 +02:00
Guillaume Meunier 1307115c02 Load several fonts if needed 2024-06-22 17:27:49 +02:00
Guillaume Meunier 5b09661499 Force using UTF-8 encoding in locales, use the correct glyphs for all font sizes 2024-06-21 21:47:26 +02:00
Guillaume Meunier 5e5ff7cf6c Use system font instead of packaging Roboto 2024-06-20 21:24:31 +02:00
Guillaume Meunier 78b26c53fd Automatically generate the glyph range for locales 2024-06-20 21:24:31 +02:00
Guillaume Meunier 55ccb0d34b Add localization support in client 2024-06-08 21:24:06 +02:00
Patrick Nicolas 09c2bf19e5 Maintain distance to controller when recentering 2024-04-13 11:24:50 +02:00
Patrick Nicolas e1a6d4c40a Don't send haptics when focusing with hand 2024-04-12 16:13:31 +02:00
Guillaume Meunier 9cceaac648 clang-format 2024-03-30 17:00:34 +01:00
Guillaume Meunier 2c0b08e089 Select the closest hand to the GUI as active when tracking hands 2024-03-30 13:44:51 +01:00
Guillaume Meunier 4fa63b3cf5 Support hands in GUI 2024-03-30 13:44:51 +01:00
Patrick Nicolas a7f9ac2d74 release swapchain image when done submitting commands 2024-03-04 16:09:40 +01:00
Guillaume Meunier 51ab6cfa79 Remove warnings 2024-02-18 09:03:46 +01:00