Commit Graph

161 Commits

Author SHA1 Message Date
Schmarni
5c46060f6a rm pipelined_rendering 2024-02-23 09:07:12 +01:00
Schmarni
01f23e7d8c expose sync pipeline comp, label pipelined rendering as experimental and disable it by default 2024-02-23 06:26:03 +01:00
Charlton Rodda
59ce1f52d1 Default to dxc compiler because fxc is too slow
This does require dxil.dll and dxcompiler.dll to be available,
falling back to fxc if these cannot be found.
Can be overridden by setting the WGPU_DX12_COMPILER
environment variable to "fxc".
2024-02-23 03:26:54 +00:00
Charlton Rodda
91a4f2a544 Dynamically detect D3D12 feature level 2024-02-23 03:26:54 +00:00
Charlton Rodda
7502fc16ea Add error if no backend is enabled 2024-02-23 03:26:54 +00:00
Charlton Rodda
faa0f699e2 Log message consistency 2024-02-23 03:26:54 +00:00
Charlton Rodda
8e0837b8ca Make d3d12 build by default if possible 2024-02-23 03:26:54 +00:00
Charlton Rodda
ff4ff6472a Add runtime backend selection 2024-02-23 03:19:10 +00:00
Charlton Rodda
a4397a5fbb Replace as with .cast() 2024-02-23 03:18:59 +00:00
Charlton Rodda
2f89242f32 Initial implementation of D3D12 2024-02-23 03:18:35 +00:00
Charlton Rodda
f63081906d Copy paste static parts of wgpu format table 2024-02-22 23:16:45 +00:00
Charlton Rodda
65edb06361 Fix Vulkan version message 2024-02-22 22:19:58 +00:00
Schmarni
b183bf72ac allow disabling of pipelined rendering and disable one log in handtracking 2024-02-22 14:43:48 +01:00
Schmarni
4f753b68de fmt 2024-02-22 10:40:53 +01:00
Schmarni
adb8b13675 remove unnecessary log statements 2024-02-22 10:28:34 +01:00
Schmarni
bc6f2639c1 pipelined rendering, quest handtracking fix for examples, choose exiting behaviour, and allow not starting a session at startup 2024-02-22 10:02:50 +01:00
Schmarni
889ee3cc5d session restarting workscargo run --release --example xr! views fixed and late latching for views 2024-02-22 09:12:16 +01:00
Schmarni
3f27c8d362 core dumps on session end 2024-02-22 04:54:04 +01:00
Schmarni
4779993ae2 add prelude 2024-02-20 13:36:05 +01:00
Schmarni
df71c7931d update to bevy 0.13. TODO: fix view weirdness and do a pass over most of xr_input to turn the modules into plugins 2024-02-20 09:15:21 +01:00
Schmarni
a95462b91d pre bevy 0.13 2024-02-20 06:57:06 +01:00
Schmarni
31d7b05b4a handtracking not working on quest 2 v62 2024-02-15 06:04:16 +01:00
Schmarni
3803968b7c clean up passthrough, change hand entity behavior and add cleanup steps to some plugins 2024-02-12 09:05:44 +01:00
Schmarni
ab8a95b7a5 pull main, refactor passthrough 2024-02-05 07:46:52 +01:00
Schmarni
74c0813c48 wip 2024-02-05 02:43:03 +01:00
Schmarni
9704607c8c stuff 2024-02-05 02:27:27 +01:00
Rasmus Hogslätt
71a08798ef Working passthrough for Meta Quest 3 (#66)
* Window is None

* Builds but check manifest

* debug prints

* Started, not passing last "cvt"

* Passthrough works, bevy not visible

* Passthrough working

* Passthrough working

* Working passthrough
2024-01-31 20:05:24 -08:00
Schmarni
5c81f135e7 fix late latching? 2024-01-29 04:17:20 +01:00
Schmarni
1e4db18f84 commit 2024-01-27 04:06:27 +01:00
Schmarni
ac7c1089d9 fixed pipelined rendering on quest 2 2024-01-26 04:35:51 +01:00
Schmarni
9d6d60cbe7 implement simple pipelined rendering 2024-01-25 06:39:44 +01:00
Schmarni
a3c33cb8b6 win + steamvr and quest working, wivrn still broken 2024-01-24 03:46:20 +01:00
Schmarni
bc1985eedd works on quest broken on wivrn 2024-01-24 00:28:53 +01:00
Schmarni
a0ac82b21c borked 2024-01-23 05:46:01 +01:00
Schmarni
6f6948e627 borked 2024-01-23 05:45:48 +01:00
Schmarni
cdeb7bda54 fix android 2024-01-15 05:13:38 +01:00
Schmarni
87fe9093df fix android warning 2024-01-15 05:08:49 +01:00
Schmarni
144e786db9 ready to test 2024-01-14 02:12:49 +01:00
Schmarni
cbf9485bb7 working 2024-01-14 00:15:14 +01:00
Schmarni
aae751bdab changed vulkan init code 2024-01-09 20:34:10 +01:00
Schmarni
b2efa802cb use openxr git version (#62)
* fix problems with get version

* a litle Recentering as a treat?

* commit new Cargo.toml

* re export path null so you don't have to import openxr yourself
2023-12-31 17:30:12 -08:00
Schmarni
65a30cac3c make app close when requested by os and other stuff (#61)
* idk

* mr stuff

* done

* fix windows

* add patches to Readme
2023-12-31 15:35:59 -08:00
Schmarni
fcedb9c0c8 do not compile openxrs for wasm32 (#59) 2023-12-14 22:09:07 -08:00
Schmarni
265696b07d Add Vec2Conv helper and Display warning with message when openxr fails to load (#58)
* add support for Vec2 Actions, slightly changed the way actions are created but no functionality change and changed the get_action_* return result to a custom error

* Whoops

* added warning with error when openxr fails to load and added Vec2Conv helper

* made it possible for the user to spawn OpenXRTrackingRoot
2023-12-13 21:25:17 -08:00
Schmarni
248d160ae5 add support for Vec2 Actions, slightly changed the way actions are created but no functionality change and changed the get_action_* return result to a custom error (#57) 2023-12-11 16:26:55 -08:00
Schmarni
2e492e120c made setup_xr public (#56)
* made setup_xr public

* made the action syncing system public too
2023-12-11 13:07:46 -08:00
Schmarni
900d4fe725 Make ActionType Copy 2023-12-11 19:52:40 +01:00
Schmarni
ae8c5ef185 update XrSetup Scheduling to allow other plugins to run before in Startup 2023-12-11 19:24:33 +01:00
Schmarni
b59e5be083 change type of pretty_name for ActionSets and Actions 2023-12-11 19:22:21 +01:00
Oli Scherer
7947dd097c Enable locomotion to handle arbitrary rotations of the view space (#49)
* Enable locomotion to handle arbitrary rotations of the view space

Previously it assumed that "up" was always the Y axis

* Eliminate jitter

---------

Co-authored-by: Oliver Scherer <github@oli-obk.de>
2023-12-10 00:12:25 -08:00