Commit Graph
44 Commits
Author SHA1 Message Date
Patrick Nicolas f32d6f4710 Drop support for XR_FB_FOVEATION 2026-03-02 10:54:45 +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 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 3afed5549e Remove unused argument 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 33a5bf7494 More fine grained locking of vulkan queues when loading a ktx texture 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 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 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 cc5990a513 Run spirv-opt when compiling shaders 2025-09-04 17:06:19 +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 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
Guillaume Meunier 1d9db26a6b Clip the rays instead of shrinking them 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 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 9cceaac648 clang-format 2024-03-30 17:00:34 +01:00
Guillaume Meunier f49dd88b77 Handle visibility flag correctly in the scene renderer 2024-03-30 13:44:51 +01:00
Guillaume Meunier 889f1ad5e6 Show hand models, refactor the scene renderer 2024-03-30 13:44:49 +01:00
Patrick Nicolas cf054dda64 Fix GPU time display in lobby 2024-03-30 13:37:08 +01:00
Guillaume Meunier 41ca634cd3 Make the growable descriptor pool not use exceptions for flow control 2024-02-18 12:22:32 +01:00
Guillaume Meunier 51ab6cfa79 Remove warnings 2024-02-18 09:03:46 +01:00
Guillaume Meunier 0a7f830249 Refactor image_loader 2024-02-18 09:03:46 +01:00
Guillaume Meunier 2e53f91f93 Add performance metrics plot 2024-02-18 09:03:46 +01:00
Guillaume Meunier 2df3595a86 Use 8 bit default textures instead of float 2024-02-18 09:03:46 +01:00
Guillaume Meunier 7ab68210f6 Refactor image_loader 2024-02-18 09:03:46 +01:00
Patrick Nicolas df394ec079 Make vk_allocator a singleton 2024-02-07 18:25:54 +01:00
Guillaume Meunier 388f90e6c9 Rename scene_object -> node, translation -> position, rotation -> orientation 2024-02-04 11:23:32 +01:00
Guillaume Meunier b27145f468 Put the GUI and the controllers in other composition layers 2024-02-04 11:23:30 +01:00
Guillaume Meunier d84095e1ea Basic GUI 2024-01-28 11:33:35 +01:00
Guillaume Meunier a7bd88aa6c Basic lighting 2024-01-28 11:33:35 +01:00
Guillaume Meunier 7ee4e9a4d2 Fix missing UBO in default material 2024-01-28 11:33:34 +01:00
Guillaume Meunier 7c80357434 Add scene_data::find_material function 2024-01-28 11:33:34 +01:00
Guillaume Meunier 11b5d501b8 Only expose the image view for textures in the scene data 2024-01-28 11:33:34 +01:00
Guillaume Meunier 6976281322 Fix destruction order to avoid memory leaks reported by VMA 2024-01-28 11:33:33 +01:00
Guillaume Meunier 1ce83568eb Add pipeline cache 2024-01-28 11:33:32 +01:00
Guillaume Meunier 95d1020559 Add rendering engine 2024-01-28 11:33:32 +01:00
Guillaume Meunier cf14f9bd8b RAIIfy vulkan 2024-01-07 11:45:07 +01:00
Guillaume Meunier f431543b47 Move client/src/* to client/* 2022-11-17 08:25:25 +01:00