Commit Graph
135 Commits
Author SHA1 Message Date
EasonZxp 6a72c537c2 Add FB hand mesh support with GLB fallback (#934)
Use the XR_FB_HAND_TRACKING_MESH extension to render hand models when supported,
and fall back to the bundled GLB hand models otherwise. This fixes incorrect hand
model rendering on PFDM MR device, Have tested with PFDM MR V4.5.0 version.
2026-05-26 09:40:37 +02:00
Patrick Nicolas 6859db7c34 Add image() accessor in xr::swapchain 2026-03-02 10:57:46 +01:00
Patrick Nicolas f32d6f4710 Drop support for XR_FB_FOVEATION 2026-03-02 10:54:45 +01:00
Patrick Nicolas ce3e54b2d0 default app_launcher destructor 2026-03-02 10:15:52 +01:00
Guillaume Meunier 1158afdad5 Clip the imgui layers to only the useful part 2026-02-13 17:26:53 +01:00
Guillaume Meunier b5d4f67860 Put the tooltips in a different layer 2026-02-13 17:26:53 +01:00
Guillaume Meunier 067d3a7679 Store the name of custom shaders in the glTF file 2026-02-13 17:15:21 +01:00
Guillaume Meunier fc5f0b9c6c Tweak pointer appearance 2026-02-13 17:15:21 +01:00
Guillaume Meunier 17bae9459a Use custom clipping to clip controller rays 2026-02-13 17:15:21 +01:00
Guillaume Meunier bb6280a9c3 Add ray trail 2026-02-13 17:15:21 +01:00
Guillaume Meunier a1dad6962c Allow passing extra data to the vertex/fragment shader 2026-02-13 17:15:21 +01:00
Guillaume Meunier b34aa59876 Use inplace_vector in scene.cpp 2026-02-13 15:42:51 +01:00
Sapphire bb92a5e388 Fix possible client abort on startup 2026-02-04 18:26:25 -06:00
Patrick Nicolas 6afa5fc67f Add -ffast-math 2026-01-30 21:10:08 +01:00
Guillaume Meunier 06ad530e2f Use vertex colors, use normal maps 2025-12-15 19:00:23 +01:00
Guillaume Meunier f12ebe14bc Fix assertion failure when reading controller state for imgui 2025-12-04 08:50:51 +01:00
Guillaume Meunier e51d653bd7 Add the picked glTF model to the model list, create a screenshot 2025-12-02 19:57:11 +01:00
Guillaume Meunier 3afed5549e Remove unused argument 2025-12-02 19:57:11 +01:00
Guillaume Meunier 6317d77dba Remove unused includes 2025-12-02 19:57:11 +01:00
Guillaume Meunier f99fb8fa18 Add support for KHR_texture_transform 2025-12-02 19:57:11 +01:00
Guillaume Meunier ab82fb5866 Add proper support for 8 bit indices 2025-12-02 19:57:11 +01:00
Patrick Nicolas 98bb0c56c5 Activate controllers by scrolling 2025-11-17 19:53:56 +01:00
Guillaume Meunier f5f917dfe0 Update dependencies 2025-11-16 14:34:59 +01:00
Guillaume Meunier 33e8016048 Add fading between hand interaction profile and hand tracking 2025-11-15 23:09:23 +01:00
Patrick Nicolas c12d16ef86 use palm for close/far threshold 2025-11-13 21:48:10 +01:00
Patrick Nicolas 4edac2143f Remove some unused fields 2025-11-13 21:48:10 +01:00
Patrick Nicolas 3e8a78002e Switch between poke and pointer interaction in lobby 2025-11-13 21:48:10 +01:00
Guillaume Meunier 39d50479b1 Tweak some numbers 2025-11-08 11:15:46 +01:00
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