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
bb58cfb8df
fix(bevy_mod_xr): add gizmos feature
...
Signed-off-by: Schmarni <marnistromer@gmail.com >
2025-05-02 17:53:47 +02:00
Schmarni
db60629401
refactor: move hand debug gizmos into bevy_mod_xr
...
Signed-off-by: Schmarni <marnistromer@gmail.com >
2025-05-02 17:40:53 +02:00
Schmarni
4074d4be7c
refactor: move OxrSpaceSyncSet into bevy_mod_xr and put locate_hands in the new XrSpaceSyncSet
...
Signed-off-by: Schmarni <marnistromer@gmail.com >
2025-05-02 14:58:54 +02:00
Schmarni
fd1809ecc6
refactor: further cleanup
...
Signed-off-by: Schmarni <marnistromer@gmail.com >
2025-04-26 16:10:20 +02:00
Schmarni
6284d4bf31
refactor: cleanup for bevy 0.16
...
Signed-off-by: Schmarni <marnistromer@gmail.com >
2025-04-26 14:25:54 +02:00
Malek
4528529417
0.16 support
2025-04-26 01:00:21 +02:00
PJB3005
1957518b0f
Fix directional light shadows: take two
...
This PR aims to do the same as #180 , but hopefully without making future WebXR compat more annoying.
get_frustum_corners() is now implemented properly, directly from the projection matrix. I believe it should work with the existing OpenXR code, but I cannot test this with any WebXR implementations with "sheared projection matrices", because I am continuing to doubt whether that even exists.
I also added unit tests, which involved a decent amount of code shuffling regardless. The original implementation from #180 is left in as a control in the test code.
2025-03-18 00:44:28 +01: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
8a3719a019
use XrSessionCreated schedule to init the Views
...
Signed-off-by: Schmarni <marnistromer@gmail.com >
2025-02-05 19:00:00 +01:00
Schmarni
6d515f3ae9
only add systems that depend on pbr when the PbrPlugin is added
...
Signed-off-by: Schmarni <marnistromer@gmail.com >
2025-01-17 05:45:01 +01:00
Schmarni
8042fbdc6a
prevent crash that i can't explain when not using default plugins
...
Signed-off-by: Schmarni <marnistromer@gmail.com >
2024-12-29 23:26:06 +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
da659899d4
add simple ci and allow annoying lints
...
Signed-off-by: Schmarni <marnistromer@gmail.com >
2024-10-21 23:18:30 +02: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
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
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
ForTehLose
0e6330d313
added system for cascading shadow maps
2024-08-16 16:12:34 -04: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
bcfe78b880
add READMEs
...
Signed-off-by: Schmarni <marnistromer@gmail.com >
2024-07-05 03:51:11 +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
770ce00e32
remove unnedded macro crate and make bevy_xr_utils compile for wasm
...
Signed-off-by: Schmarni <marnistromer@gmail.com >
2024-07-04 20:38:25 +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
Schmarni
e65573124b
rename crates
...
Signed-off-by: Schmarni <marnistromer@gmail.com >
2024-07-04 19:41:56 +02:00
awtterpip
3264bb9605
correct pipelining
2024-07-03 19:37:40 -05: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
71716c36cc
pull webxr-refactor and make needed changes
...
Signed-off-by: Schmarni <marnistromer@gmail.com >
2024-06-04 23:28:02 +02: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
5f5fd152bb
add resource to disable auto session creation and change autocreation to disable itself after the each autocreation
...
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
ForTehLose
f479ddb70f
Merge branch 'webxr-refactor' into example_actions
2024-05-30 22:31:01 -04:00
Malek
35725eaa8b
Refactor hands ( #110 )
...
* cargo fmt and removed the unessecary examples.
* added left and right hand components for each bone as well as the hand tracker.
2024-05-29 16:55:40 -07:00
MalekiRe
ec16d9a254
cargo fmt and removed the unessecary examples.
2024-05-29 16:32:35 -07:00
Jay Christy
f472b46a2c
added docs and fixed comments
2024-05-26 15:23:13 -04:00
Jay Christy
0edf8cf9fe
more changes
2024-05-22 22:38:38 -04:00
Schmarni
063aef7fb5
add support for hand tracking and configurable reference spaces
2024-05-07 03:34:10 +02:00
Schmarni
9cb237e88f
fix status_changed_to, added OxrSuggestActionBindings event to app and fixed scheduling for run_action_binding_sugestion
...
Signed-off-by: Schmarni <marnistromer@gmail.com >
2024-04-29 18:49:07 +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
awtterpip
d98b9a4455
Revert "move to single crate for webxr and openxr"
...
This reverts commit 5e769ef52b .
2024-04-18 16:30:18 -05:00
awtterpip
5e769ef52b
move to single crate for webxr and openxr
2024-04-15 18:13:17 -05:00