Commit Graph
123 Commits
Author SHA1 Message Date
Patrick Nicolas 155281b282 Fix some distortion errors
Difference between encoded size and useful size of the image was
improperly used, which is especially visible when foveation is used
2024-02-04 21:24:19 +01:00
Patrick Nicolas 8b09124eed Send feedback after image was presented 2024-02-04 19:18:54 +01:00
Guillaume Meunier 20416aedf2 GUI: changed the main window 2024-02-04 11:23:32 +01:00
Guillaume Meunier 388f90e6c9 Rename scene_object -> node, translation -> position, rotation -> orientation 2024-02-04 11:23:32 +01:00
Guillaume Meunier 5ad82e7fa1 Only load images that are used and not the fallback images if they are not needed 2024-02-04 11:23:32 +01:00
Guillaume Meunier dcde2e358e Add support for compressed textures 2024-02-04 11:23:31 +01:00
Guillaume Meunier 4fc51964c3 Move GUI window 2024-02-04 11:23:31 +01:00
Guillaume Meunier e1d6a895dc Handle command buffers and fences correcctly for imgui 2024-02-04 11:23:31 +01:00
Guillaume Meunier ac1c3fe14b Join threads before cleaning the stream thread 2024-02-04 11:23:31 +01:00
Guillaume Meunier d277d93041 Fix image count in imgui_impl for VkBuffers cycling 2024-02-04 11:23:30 +01:00
Guillaume Meunier 4d44be7175 Add environment variable to autoconnect to any server 2024-02-04 11:23:30 +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 224370ecab Cleanup includes 2024-02-04 11:23:30 +01:00
Guillaume Meunier 15123dc06b Use custom async() 2024-02-04 11:23:29 +01:00
Guillaume Meunier e012c33c59 Put Dear ImGui source code in the same target as wivrn in CMakeLists 2024-02-04 11:23:29 +01:00
Guillaume Meunier fe25cd3cf0 Asynchronous connection 2024-02-04 11:23:29 +01:00
Guillaume Meunier 47253b0049 Remove the lobby from the GPU when the stream starts, remove the remove button for autodetected servers, fix connection to autodetected servers 2024-02-04 11:23:29 +01:00
Patrick Nicolas 1569051da4 Send feedback packets when image is not blitted 2024-02-03 17:51:49 +01:00
Patrick Nicolas 6f29061ace Set refresh rate on client 2024-02-03 10:05:54 +01:00
Guillaume Meunier d5e289607f Avoid enumerating sources twice 2024-01-30 20:26:08 +01:00
Guillaume Meunier 33fea3f6b6 Ignore errors when enumerating action sources, fixed input paths for HTC Vive Focus 3 2024-01-30 20:26:07 +01:00
Guillaume Meunier a2126f3e28 Add interaction profile and glTF models for HTC Vive Focus 3 2024-01-30 20:26:07 +01:00
Guillaume Meunier be90ad98f5 Remove debug tooltip, don't show the autoconnect checkbox for manually added servers 2024-01-28 11:33:36 +01:00
Guillaume Meunier f4e67017d6 Only show the pointer when it hovers a window 2024-01-28 11:33:36 +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 6de91ad837 Give each scene its XrActionSet 2024-01-28 11:33:35 +01:00
Guillaume Meunier 705d16cd4e Allow named vulkan allocations 2024-01-28 11:33:35 +01:00
Guillaume Meunier c086f58bec Added inputs in imgui 2024-01-28 11:33:34 +01:00
Guillaume Meunier 8dbd47c859 GUI demo 2024-01-28 11:33:34 +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 9132e3040e Remove superfluous poll_actions 2024-01-28 11:33:33 +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 c0c0371dbc Remove useless code, add queue_family_index in scene class 2024-01-28 11:33:33 +01:00
Guillaume Meunier 48bb19111b Add getters for queue, physical device, vulkan instance 2024-01-28 11:33:33 +01:00
Guillaume Meunier 1ce83568eb Add pipeline cache 2024-01-28 11:33:32 +01:00
Guillaume Meunier d0047d6da5 Wait for fence before reusing the command buffer, create the command pool with the eResetCommandBuffer flag 2024-01-28 11:33:32 +01:00
Guillaume Meunier 20c5ad3d0e Add controller models 2024-01-28 11:33:32 +01:00
Guillaume Meunier 95d1020559 Add rendering engine 2024-01-28 11:33:32 +01:00
Guillaume Meunier 3b4d50f707 More templates and more designated initializers 2024-01-28 11:33:31 +01:00
Guillaume Meunier 3a5eb04ace cleanup scene class 2024-01-28 11:33:31 +01:00
Guillaume Meunier 90be180d9f Replace tinygltf with fastgltf 2024-01-28 11:33:31 +01:00
Guillaume Meunier d5e1165ff4 Add Dear ImGui 2024-01-28 11:33:31 +01:00
Guillaume Meunier 891ff81c4f Get the configuration directory path during initialization 2024-01-28 11:33:30 +01:00
Guillaume Meunier 0b19a346b5 Only suggest bindings for interaction profiles that are supported by the runtime 2024-01-20 14:51:37 +01:00
Guillaume Meunier 69560dba65 Fix xr::details::enumerate<char> 2024-01-20 13:43:59 +01:00
Guillaume Meunier 7f6523fcc0 Rewrite application::read_action functions 2024-01-18 22:38:52 +01:00
Guillaume Meunier 90501ad463 Rework interaction profile handling 2024-01-18 17:07:19 +01:00