Commit Graph

348 Commits

Author SHA1 Message Date
Schmarni
76cb11dad2 Merge pull request #68 from Schmarni-Dev/runtime_sessions
Allow XR Session starting and stopping at runtime, add pipelined rendering and fix on platforms without fb passthrough
2024-02-22 11:27:30 +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
db5539cfd9 removed weird file 2024-01-23 06:10:01 +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
53af86b073 Merge pull request #64 from Schmarni-Dev/fix-android-warning
fix android jni warning
2024-01-15 07:27:35 +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
45f5d8c461 Merge pull request #55 from Schmarni-Dev/action_updates
Small Changes to make Creating Crates that interact with the action system easier
2023-12-11 20:29:11 +01: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
e0c9d88767 fixed version conflict (#53)
* 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
2023-12-09 15:07:25 -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
Malek
d9ebd5bf0c Merge pull request #47 from aMySour/patch-1
Update Cargo.toml to change bevy_openxr to bevy_oxr in GitHub link
2023-12-02 13:14:37 -08:00
asour
7d7fdb61e9 Update Cargo.toml to change bevy_openxr to bevy_oxr in GitHub link 2023-11-22 08:05:09 -04:00
Malek
1cf866324b Merge pull request #46 from ForTehLose/optionalControllers
Optional controllers
2023-11-21 11:43:47 -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