Commit Graph
107 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
Patrick Nicolas 1696512385 Update clang-format 2025-10-29 15:30:35 +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 a9ad5195b7 Cache transcoded textures 2025-10-25 10:30:29 +02:00
Guillaume Meunier 7d76367d2c Add progress callback when loading gltf 2025-10-25 10:30:29 +02:00
Guillaume Meunier 1e03b6e672 Avoid global variables for the shader cache 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 7963efc034 Misc renderer improvements:
- Use VK_KHR_multiview
- Compute bounding boxes, use them to sort primitives
- Add shader reflection
- Add debug drawer
2025-10-25 10:25:53 +02:00
Guillaume Meunier 17ac7ab7d9 Use the fragment density map in the lobby 2025-10-25 10:25:53 +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 e0ff42800f Update fastgltf to 0.9.0 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
Guillaume Meunier 60226e5346 Remove empty files 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 cc5990a513 Run spirv-opt when compiling shaders 2025-09-04 17:06:19 +02:00
Patrick Nicolas 87b68aaa7b Prevent negative deltatime in imgui 2025-08-20 22:11:43 +02:00
Patrick Nicolas 1390ade131 Remove application::get_device() 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
Patrick Nicolas c15de9bf27 Automatically name image/buffer allocations 2025-08-16 14:15:29 +02:00
Patrick Nicolas dc04f7edcc Add utility to write specialization constants 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 51b1b3efeb Premultiply alpha when loading images 2025-08-03 10:50:22 +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 8e2719ff30 Update NDK to 28 2025-07-04 23:43:39 +02:00
Patrick Nicolas 02822ba458 Fix loading glyphs for zh_TW 2025-03-07 17:56:03 +01:00
Guillaume Meunier 4c0c47f807 Allow building without downloading libktx 2025-01-15 21:25:35 +01:00
Patrick Nicolas 45412e3389 Fix crash on desktop client 2024-11-06 19:50:44 +01:00
Guillaume Meunier 1d9db26a6b Clip the rays instead of shrinking them 2024-11-01 14:13:58 +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 d96f7f07a1 Add ray from controller 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