Commit Graph

67 Commits

Author SHA1 Message Date
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
Teemu Rautavalta
6ce4b22b16 Update the Android example to use NativeActivity instead of GameActivity 2025-01-05 02:35:31 +02:00
Schmarni
177da5c10d fix tracking_utils example
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-12-21 02:32:04 +01:00
Schmarni
f2706b1416 pull main branch
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-12-19 16:58:00 +01:00
ForTehLose
c0be012b9d moved default bindings for tracking utils into a pub function for prototyping, while I work on better solution 2024-12-04 13:51:43 -05:00
Schmarni
2c75a298a3 remove bevy rc workaround
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-12-01 23:20:23 +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
7320ae8dac update to bevy 0.15 rc
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-12-01 23:15:31 +01: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
702745a3b1 Merge pull request #153 from awtterpip/common_tracked_entities
Common tracked entities utils
2024-09-03 22:13:04 -04:00
ForTehLose
ac1364f4a6 renamed public components 2024-09-03 20:13:49 -04:00
ForTehLose
aa4e5d333b renamed a few things 2024-09-03 15:33:30 -04:00
ForTehLose
b16b559c94 renamed example 2024-09-03 15:32:39 -04:00
ForTehLose
1f016501f3 small fixes 2024-09-03 15:20:13 -04:00
ForTehLose
f30c590cc7 refactored grips as well 2024-09-03 15:13:08 -04:00
ForTehLose
fa9b797610 refactor stage, hmd, and local floor 2024-09-03 14:52:49 -04:00
ForTehLose
d0f2b01a06 added an emulated local floor 2024-09-03 14:05:45 -04:00
ForTehLose
6aadf5bd3e copied work from actions 2024-09-03 13:13:00 -04:00
Schmarni
cfdb6189ac add build script to auto download khronos loader for android
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-07-28 01:58:08 +02:00
Schmarni
2e1a25f6e4 add pico support
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-07-28 00:35:15 +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
2adbe06f89 fix windows and android example
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-07-10 15:32: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
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
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
3c88b0812d add overlay example
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-06-25 19:25:06 +02:00
Jay Christy
8ecebb7d2c added transform utils for snapping to position and rotation 2024-06-11 13:17:16 -04:00
Jay Christy
8807b5f927 working on examples of transform utilities 2024-06-07 13:58:05 -04: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
be23326859 make materials unlit 2024-06-02 22:31:38 -05: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
Jay Christy
dd24b95264 changed to ambient light for better performance 2024-05-30 23:47:07 -04:00
ForTehLose
f479ddb70f Merge branch 'webxr-refactor' into example_actions 2024-05-30 22:31:01 -04:00
Malek
0f9ccf7f04 Refactor quest perf fix (#111)
* cargo fmt and removed the unessecary examples.

* fixed android logging errors and moved waitframe to fix perf on quest and fixed android example perf by turning off msaa
2024-05-29 16:57:08 -07:00
MalekiRe
ec16d9a254 cargo fmt and removed the unessecary examples. 2024-05-29 16:32:35 -07:00
Jay Christy
d428bd0fd8 refactor 2024-05-23 13:56:10 -04:00
Jay Christy
1e3034cbab first set of renames 2024-05-23 13:18:39 -04:00
Jay Christy
0ca8907057 flight is HMD based 2024-05-23 13:14:48 -04:00
Jay Christy
468610c26e movement happens but is wrong, its global 2024-05-22 23:45:55 -04:00
Jay Christy
99b11eb675 got vectors working 2024-05-22 23:18:23 -04:00