Commit Graph

671 Commits

Author SHA1 Message Date
Schmarni
515807e56a chore: build with optimization in debug builds
Signed-off-by: Schmarni <marnistromer@gmail.com>
2025-07-22 23:52:55 +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
9569f591ac Merge pull request #190 from Schmarni-Dev/vk_exts
allow manually defining additional vulkan extensions
2025-07-20 21:09:13 +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
a5e3fb2580 Merge pull request #189 from Schmarni-Dev/non_default_wait_frame_system
allow for custom wait_frame system
2025-07-01 23:34:00 +02:00
Schmarni
f0fd9a3086 feat: allow for setting a custom wait_frame system, used by advanced applications
Signed-off-by: Schmarni <marnistromer@gmail.com>
2025-06-07 04:13:37 +02:00
Schmarni
7a30bb2b52 Merge pull request #187 from Schmarni-Dev/fix_example
move bevy_xr_utils example i forgot to move
2025-05-02 18:06:21 +02:00
Schmarni
753e0da9de fix: move bevy_xr_utils example i forgot to move
Signed-off-by: Schmarni <marnistromer@gmail.com>
2025-05-02 18:03:08 +02:00
Schmarni
36dbffb89f Merge pull request #186 from Schmarni-Dev/release_0.3.0
chore: bump version number
2025-05-02 17:59:15 +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
dd0ff50db9 chore: bump version number
Signed-off-by: Schmarni <marnistromer@gmail.com>
2025-05-02 17:46:55 +02:00
Schmarni
e43837f914 Merge pull request #185 from Schmarni-Dev/move_hand_debug_gizmos
move hand debug gizmos into bevy_mod_xr
2025-05-02 17:45:04 +02:00
Schmarni
bdfdb0d94a refactor: move xr_utils examples into bevy_xr_utils
Signed-off-by: Schmarni <marnistromer@gmail.com>
2025-05-02 17:43:02 +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
681f00c42d Merge pull request #184 from Schmarni-Dev/xr_space_sync_set
XrSpaceSyncSet and OxrSessionConfig
2025-05-02 17:00:31 +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
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
84a69ea1ae Merge pull request #178 from awtterpip/bevy-0.16
0.16 support
2025-04-26 16:19:23 +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
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
9f6f5c0711 Merge pull request #183 from Schmarni-Dev/better_oxr_events
make OpenXR event handlers completely safe! (no unsafe!)
2025-04-26 00:11:58 +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
5c041e9565 Merge pull request #182 from Schmarni-Dev/release_0.2.1
chore: bump version to 0.2.1
2025-04-09 22:39:39 +02:00
Schmarni
c1320facd3 chore: bump version to 0.2.1
Signed-off-by: Schmarni <marnistromer@gmail.com>
2025-04-09 19:46:29 +02:00
Schmarni
8747b139d3 Merge pull request #181 from PJB3005/25-03-17-fix-cascades-2
Fix directional light shadows
2025-03-20 10:44:21 +01: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
b1a55985c1 Merge pull request #177 from Schmarni-Dev/publish
update version numbers
2025-03-06 20:13:07 +01:00
Schmarni
472677435a update version numbers
Signed-off-by: Schmarni <marnistromer@gmail.com>
2025-03-06 06:41:57 +01:00
Schmarni
235bafac16 Merge pull request #176 from Schmarni-Dev/fix_3d_scene_example
fix 3d_scene example on runtimes that aren't WiVRn
2025-02-20 21:18:15 +01:00
Schmarni
463109aa12 fix 3d_scene example on runtimes that aren't WiVRn
Signed-off-by: Schmarni <marnistromer@gmail.com>
2025-02-20 21:16:29 +01:00
Schmarni
a1f2b3f517 Merge pull request #175 from Schmarni-Dev/session_restart_event
add XrSessionDestroyedEvent
2025-02-20 20:58:35 +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
23da8847f1 Merge pull request #174 from Schmarni-Dev/proper_wgpu_init
More correct wgpu init
2025-02-10 01:07:21 +01:00
Schmarni
4d11fa405a fix: do a more proper wgpu init, use adapter features and limits
Signed-off-by: Schmarni <marnistromer@gmail.com>
2025-02-09 03:47:46 +01:00
Schmarni
e8f46847bf Merge pull request #173 from Schmarni-Dev/create_views_in_created
init views in XrSessionCreated schedule and add wgpu feature
2025-02-05 19:45:45 +01:00
Schmarni
63f4592c93 add CLEAR_TEXTURE wgpu feature
Signed-off-by: Schmarni <marnistromer@gmail.com>
2025-02-05 19:15:03 +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
Piper
dcdf362efa Merge pull request #172 from awtterpip/update_camera_texture_view
Update camera texture view
2025-01-28 19:42:49 -06:00
awtterpip
0b61473f38 add option to auto spawn cameras 2025-01-28 12:08:46 -06:00
awtterpip
5f79f083bf auto update texture view 2025-01-28 12:03:50 -06:00
Schmarni
02ca015db9 Merge pull request #171 from Schmarni-Dev/pbr
only add systems that depend on pbr when the PbrPlugin is added
2025-01-17 06:14:27 +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
40e9fed513 Merge pull request #170 from pdiaz/main
Ensure that it also works using Meta XR Simulator in macOS
2025-01-15 02:25:13 +01:00
Schmarni
fae2e8f6fd Merge pull request #168 from HammerCar/main
Update the Android example to use NativeActivity instead of GameActivity
2025-01-15 00:32:57 +01:00
Pedro Diaz
b40f788a41 Ensure that Bevy works using Meta XR Simulator in macOS when using a patched MoltenVK's SPIRV-Cross. 2025-01-14 23:25:11 +01:00
Schmarni
53f1a552fb Merge pull request #169 from Schmarni-Dev/wgpu_feature_fix
enable wgpu device feature needed for bevy
2025-01-13 13:00:28 +01:00