Commit Graph

100 Commits

Author SHA1 Message Date
Schmarni
7c57e8facd actually use the spans we create
Signed-off-by: Schmarni <marnistromer@gmail.com>
2025-01-01 03:36:56 +01:00
Schmarni
8e4d5d8dd0 update to bevy release, fix event support and update extension list
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-12-01 23:20:19 +01:00
Schmarni
307bba3323 more required components and other stuff
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-12-01 23:15:31 +01:00
Schmarni
a04ebb8426 add XrTracker component that auto parents the entity to the XrTrackingRoot, XrSpace requires XrTracker
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-12-01 23:15:31 +01:00
Schmarni
4c415d066a remove XrCameraBundle, use required components and component hooks instead
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-12-01 23:15:31 +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
81b65c4718 move spawn_hand_bones from openxr to xr and add spawn handtracker command
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-10-21 22:30:50 +02:00
Schmarni
ac972dd475 implement xr flags for hands
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-10-19 00:33:22 +02:00
Schmarni
20f8c47aba add space flags to bevy_mod_xr
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-10-19 00:22:10 +02: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
6a58673605 clear space flags when handtracking data gathering fails
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-09-30 04:38:05 +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
a1eaba3f43 make extensions public
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-07-17 19:10:12 +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
ForTehLose
ce02151114 Merge branch 'webxr-refactor' into spatial_existence 2024-06-28 13:21:08 -04:00
Schmarni
bd33adb47f fix crash when running without an openxr runtime
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-06-28 16:14:02 +02:00
Schmarni
7abed765a5 only try to sync the space poses when the session is running
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-06-27 03:09:47 +02:00
Schmarni
75a8c32a9d add into_openxr_space and add a few comments
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-06-27 02:10:53 +02:00
Schmarni
08cdd232fc improve space cleanup
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-06-27 00:32:15 +02:00
Schmarni
b7c4a05482 remove XrSpatialTransform in favor of making XrSpace a Component and adding XrSpatialOffset
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-06-27 00:32:15 +02:00
Schmarni
6003cc7ac6 add new XrSpace and impl that
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-06-27 00:32:03 +02:00
Schmarni
006e2c1da3 add missing overlay plugin file
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-06-25 19:24:45 +02: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
dd4e6047e0 Merge pull request #120 from Schmarni-Dev/next_chain_base
Add Next Pointer Chain Infrastructure
2024-06-22 20:14:59 +02:00
ForTehLose
0172444f0c Merge pull request #119 from awtterpip/transform_utils
Transform utils
2024-06-19 09:03:37 -04:00
Schmarni
581cbbb9ef add next pointer chain infrastructure
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-06-15 13:25:38 +02:00
Jay Christy
8ecebb7d2c added transform utils for snapping to position and rotation 2024-06-11 13:17:16 -04:00
Schmarni
34d44349b8 fix system ordering
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-06-10 12:41:37 +02:00
Schmarni
6ebcd7df99 change set name to begin with Oxr
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-06-10 12:01:48 +02:00
Schmarni
3109618bb7 Readd action set sync SystemSet
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-06-10 11:55:10 +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
810ed1eeed make pipelined rendering disabled by default 2024-06-02 22:31:58 -05:00
awtterpip
32fa13b4fd add compatibility for both pipelined and unpipelined 2024-06-02 19:30:12 -05:00
awtterpip
41399d83a9 move wait frame to after render app finishes 2024-06-02 18:16:22 -05:00
awtterpip
eddff879c4 disable pipelined rendering by default 2024-06-02 16:01:29 -05: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