Commit Graph

205 Commits

Author SHA1 Message Date
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
1feab741b6 fix merge artifacts i missed
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-06-27 03:02:29 +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
3c88b0812d add overlay example
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-06-25 19:25:06 +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
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
810ed1eeed make pipelined rendering disabled by default 2024-06-02 22:31:58 -05:00
awtterpip
be23326859 make materials unlit 2024-06-02 22:31:38 -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
dd1293c0fc fix compile errors after rebase
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-05-31 11:19:13 +02: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
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
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
tito
a9b062425b add 'vulkan-portability' feature to wgpu when target family is unix (#101) 2024-05-29 23:53:55 -07: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
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
6feb3de9fb push left hand bones as children of root as well 2024-05-23 14:16:29 -04:00
Jay Christy
b4762aa7e0 yay formatting 2024-05-23 14:04:34 -04:00
Jay Christy
bd3fbeb0c2 more formatting 2024-05-23 14:04:01 -04:00
Jay Christy
99a52dac1e formatting 2024-05-23 14:03:23 -04:00
Jay Christy
870cb57a99 removed uneeded changes 2024-05-23 14:02:20 -04: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