Commit Graph

130 Commits

Author SHA1 Message Date
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
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
Schmarni
786fb4fe9f fixed controllers (#54)
* basics done? now to the fun part: changing the ENTIRE lib to work with xr and non xr

* updated stuff and renamed file

* actually add the renamed file into git lol :3

* made lib fallback to flat when no runtime is found but can't compile with default settings under those circumstances

* Update Cargo.toml

* fixed version conflict

* ununcommented the action sync system and changed other small stuff
2023-12-09 15:36:01 -08:00
Schmarni
28008f7964 Fallback to flat when no oxr runtime is found (#51)
* basics done? now to the fun part: changing the ENTIRE lib to work with xr and non xr

* updated stuff and renamed file

* actually add the renamed file into git lol :3

* made lib fallback to flat when no runtime is found but can't compile with default settings under those circumstances
2023-12-08 21:09:48 -08:00
Jay Christy
b2f28a9753 fixed some debug gizmos 2023-11-21 13:59:43 -05:00
Jay Christy
c4c8308d34 more fixin 2023-11-21 13:54:09 -05:00
Jay Christy
e2b506181a xr controller update now handles no controller entities 2023-11-21 13:43:01 -05:00
Jay Christy
47a5aa0daa updates to check for controller entities in emulated hand tracking 2023-11-21 13:34:23 -05:00
Schmarni
f47375b97d Made Thumb Way less aggressive when touching using hand pose emulation 2023-11-20 19:24:11 +01:00
Schmarni
4fae7f4e7c removed unused workaround 2023-11-17 00:06:55 +01:00
Schmarni
200be97846 Small cleanup, and moved hand.rs to hands/common.rs 2023-11-16 21:26:49 +01:00
Schmarni
fe15e89acd slight cleanup 2023-11-16 06:27:20 +01:00
Schmarni
5b443c3b35 Done 2023-11-16 06:09:36 +01:00
Schmarni
851c7b7587 fixed merge conflicts 2023-11-16 03:09:42 +01:00
Schmarni
53ba18c157 commit xr_input module 2023-11-16 02:52:27 +01:00
Schmarni
86a7bf7317 make hands default back to Handtracking if the extension is available 2023-11-14 02:45:29 +01:00
Schmarni
e5363acac9 finnish everything 2023-11-14 02:32:57 +01:00
Schmarni
74e4e0c3b7 Updated Oculus controller to use the 2023-11-10 21:57:01 +01:00
Schmarni
ca15cb7cda Updated Oculus controller to use the 2023-11-10 21:56:03 +01:00
Schmarni
1db2cb2dd7 Finallygit add src/xr_input/actions.rs src/xr_input/mod.rs 2023-11-10 13:38:40 +01:00
Jay Christy
c93127f24c fixed a few things 2023-11-08 15:02:49 -05:00
Jay Christy
966df736d7 also change the resource based on ext 2023-11-08 14:27:53 -05:00
Jay Christy
de0807d308 only add hand resource if we support the ext 2023-11-08 14:21:03 -05:00
Schmarni
c488e1feb6 lets not brake the code 2023-11-08 02:49:07 +01:00
Schmarni
ef9e20b7d5 minimal clean up 2023-11-08 02:47:10 +01:00
Schmarni
e401554c97 removed unnecessary openxr extension 2023-11-08 02:42:18 +01:00
Schmarni
979c2fdd40 copied src from Schmarni-Dev/bevy_openxr:demo 2023-11-08 02:38:56 +01:00
Schmarni
e20c38c5db stuff 2023-11-08 02:31:11 +01:00
Malek
e1fb77b941 Merge pull request #29 from DanielQuick/ignore-panic-when-removing-headset
Ignore end_frame error
2023-11-07 11:58:33 -08:00
DanielQuick
19f4741cef warn instead of ignoring error 2023-11-07 13:46:44 -06:00
DanielQuick
42adcea19e ignore end_frame error 2023-11-07 11:29:16 -06:00
Schmarni
78b0c39228 Merge branch 'hand_refactor' into demo 2023-11-07 03:51:19 +01:00
Schmarni
2ad718c633 Merge pull request #2 from awtterpip/main
pull stuff from main
2023-11-07 03:21:31 +01:00