wgpu-openxr-example
wgpu-openxr-example copied to clipboard
a barebones example of how to integrate OpenXR with wgpu (Vulkan-only)
# Error logs ``` Error [GENERAL | xrCreateInstance | OpenXR-Loader] : ApiLayerInterface::LoadApiLayers - failed to find layer XR_APILAYER_LUNARG_core_validation Error [GENERAL | xrCreateInstance | OpenXR-Loader] : Failed loading layer information Error...
I've had no luck with Manjaro Linux nor Windows 10, using an HTC Vive and SteamVR; am about to try using Monado. "`desktop`" mode works and renders, but "`xr`" and...
When running on linux removing `static` from the openxr crate was necesscary, along with that, adding `ash::extensions::khr::Swapchain::name()` to the DeviceCreateInfo and removing it from `extensions` was necessary to get it...
This is strictly not possible right now, as the official linkage between WebGPU and WebXR has not landed. However, it may still be possible by copying the output from WebGPU...
I'm trying to run the example with `cargo run -- xr` and am getting this error: ``` PS C:\Users\efsub\source\repos\wgpu-openxr-example> $env:RUST_BACKTRACE=1; cargo run -- xr Finished dev [unoptimized + debuginfo] target(s)...
This is probably due to RAII freeing resources in the wrong order, but I've run out of time to fix up my debugger and track this down.
With the increasing prevalence of standalone Android headsets, it's important to have this compile and work on the major headsets (Quest 2, Pico 4, Lynx R-1, etc) to ensure that...
I've bodged the transform from OpenXR space to wgpu space: ```rust let xr_rotation = { let o = pose.orientation; Quat::from_rotation_x(180.0f32.to_radians()) * glam::quat(o.w, o.z, o.y, o.x) }; let xr_translation = glam::vec3(-pose.position.x,...