Commit Graph

47 Commits

Author SHA1 Message Date
Schmarni
0a98204124 chore: update to rust edition 2024
Signed-off-by: Schmarni <marnistromer@gmail.com>
2025-10-19 17:14:35 +02:00
Schmarni
eb3ec03d91 feat: update to bevy 0.17 and use individual bevy crates
Signed-off-by: Schmarni <marnistromer@gmail.com>
2025-10-19 16:13:59 +02:00
Schmarni
aff7bd7d4b refactor(openxr): remove OxrInteractionProfileChanged, App::add_oxr_event_handler should be used instead
Signed-off-by: Schmarni <marnistromer@gmail.com>
2025-07-22 23:52:55 +02:00
Schmarni
62cf605f4a refactor(openxr): make environment blend modes a completely runtime feature, like it should and remove the fb_passthrough plugin from the default oxr plugins as quests now support blendmode based passthrough
Signed-off-by: Schmarni <marnistromer@gmail.com>
2025-07-21 02:55:21 +02:00
Schmarni
a60db3da6c feat: allow manually defining additional vulkan extensions
Signed-off-by: Schmarni <marnistromer@gmail.com>
2025-07-10 00:48:40 +02:00
Schmarni
7bc9789358 refactor: rename OxrGraphicsInfo -> OxrCurrentSessionConfig
Signed-off-by: Schmarni <marnistromer@gmail.com>
2025-05-02 16:50:38 +02:00
Schmarni
be6a053b55 refactor: create OxrSessionConfig and make that the only way to configure things like BlendModes
Signed-off-by: Schmarni <marnistromer@gmail.com>
2025-05-02 16:43:39 +02:00
Schmarni
fd1809ecc6 refactor: further cleanup
Signed-off-by: Schmarni <marnistromer@gmail.com>
2025-04-26 16:10:20 +02:00
Malek
ae54de3db9 fixed things up for proper 0.16 release 2025-04-26 01:02:50 +02:00
Malek
4528529417 0.16 support 2025-04-26 01:00:21 +02:00
Schmarni
3a59ba1257 make OpenXR event handlers completely safe! (no more unsafe at all in there)
Signed-off-by: Schmarni <marnistromer@gmail.com>
2025-04-11 21:08:06 +02:00
Schmarni
010c1d8e16 feat: add XrSessionDestroyedEvent to allow crate consumers to react to the destruction to, for example, start another session
Signed-off-by: Schmarni <marnistromer@gmail.com>
2025-02-10 03:24:39 +01:00
Schmarni
336c40d555 switch all spans to debug_spans
Signed-off-by: Schmarni <marnistromer@gmail.com>
2025-01-01 03:38:46 +01:00
Schmarni
7c57e8facd actually use the spans we create
Signed-off-by: Schmarni <marnistromer@gmail.com>
2025-01-01 03:36:56 +01:00
Schmarni
7320ae8dac update to bevy 0.15 rc
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-12-01 23:15:31 +01:00
Schmarni
bc0c1c472b make OxrEvent less unsound
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-11-30 01:16:17 +01:00
Schmarni
5239700eca feat: implement event handlers for OpenXR events so that plugins can handle events without needing to modify bevy_mod_openxr
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-11-29 23:45:02 +01:00
Schmarni
616bfff672 add openxr specific session running and available conditions
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-10-18 23:43:39 +02:00
Schmarni
bd5afffca5 cleanup 2 electric boogaloo
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-09-05 21:05:07 +02:00
Schmarni
ff08bcaa8a cleanup
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-09-05 21:02:52 +02:00
Schmarni
60cf52056d fix session destroying and move to atomic bool instead of a flag resource
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-09-05 20:38:33 +02:00
Schmarni
f281266447 add interaction profile changed event, support velocities and expose Space(Location/Velocity)Flags as components
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-07-22 00:01:59 +02:00
Schmarni
45fc44db5c rename some schedules and fix comments
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-07-15 19:03:11 +02:00
Schmarni
1eed718860 partialy revert the scheduling changes and fix non xr crash
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-07-12 08:20:50 +02:00
Schmarni
81779bd76e update to bevy 0.14
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-07-05 03:19:02 +02:00
Schmarni
b6f69eecd9 finish renaming and move HandBoneEntities to bevy_mod_xr
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-07-04 20:22:45 +02:00
awtterpip
3264bb9605 correct pipelining 2024-07-03 19:37:40 -05:00
Schmarni
cde28677a0 add enabled extension and implement overlay plugin
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-06-25 19:15:27 +02:00
Schmarni
0a7f692a35 add session creation next chain infrastructure
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-06-24 23:09:58 +02:00
Schmarni
c455c77fed pull changes from webxr-refactor
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-06-05 00:32:38 +02:00
Schmarni
71716c36cc pull webxr-refactor and make needed changes
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-06-04 23:28:02 +02:00
awtterpip
a0099bc4a7 working pipelined rendering 2024-06-02 05:23:02 -05:00
awtterpip
e17262ab46 fixed judder 2024-06-02 04:57:44 -05:00
Schmarni
0e2a5dbf66 merge both Exit schedules, fix reference space living after the session exits in the render world and general cleanup
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-05-31 11:12:48 +02:00
Schmarni
40c767c2d2 remove point light from sessions example and other small changes
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-05-31 11:12:48 +02:00
Schmarni
546202fdfa works but destroys the session manually because one space somewhere survives session exit
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-05-31 11:12:48 +02:00
Schmarni
31c1daf2d4 session ending works but segfaults on my machine
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-05-31 11:12:48 +02:00
Schmarni
fb9ec378c8 change scheduling
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-05-31 11:12:48 +02:00
Schmarni
764da56d50 add centeral actionset syncing
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-05-15 22:33:00 +02:00
Schmarni
cd5ab90733 make OxrInitPlugin impl Default with the values from add_xr_plugin and made the ref_space_type public for the OxrReferenceSpacePlugin
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-05-08 19:11:17 +02:00
Schmarni
44e909a4e1 fix pcvr 2024-05-08 05:42:18 +02:00
Schmarni
063aef7fb5 add support for hand tracking and configurable reference spaces 2024-05-07 03:34:10 +02:00
Schmarni
27871ccd0b add a system to suggest action bindings and a system to attach action sets to the session 2024-04-29 02:41:51 +02:00
LogicFan
f78207d572 fix android "null pointer dereference" 2024-04-20 08:19:57 -04:00
awtterpip
afdb046ba8 finished renaming types 2024-04-18 17:28:53 -05:00
awtterpip
e2f7f840a9 renamed types and fixed errors 2024-04-18 17:26:36 -05:00
awtterpip
f585c9e2dc cleaned up code and created webxr crate 2024-04-18 17:06:56 -05:00