Replies: 2 comments 3 replies
-
I've kinda had it in the back of my mind that data from Related to FB's spatial anchors, so far I've mostly been looking at the MSFT anchors! But I am planning on getting to the FB ones as well. I'm designing an API that will hopefully encompass most of the anchor-like concepts in OpenXR, but that may mean it won't include some more fringe vendor-specific features. I'd love to know what functionality of the FB anchors you're interested in, and how you might be planning to use them! Details like that may help inform where exactly the API goes, and what it contains in the end :) I am hoping to get the anchor API into this release, but it is turning out to be one of the more complicated public interfaces I've designed. And I don't love shipping complicated APIs for people :D So we'll see. |
Beta Was this translation helpful? Give feedback.
-
Would it be cool if I took a stab at surfacing |
Beta Was this translation helpful? Give feedback.
-
Hey!
So I was taking a look at implementing the OpenXR extension XR_FB_spatial_entity in StereoKit's C# layer (https://github.com/jackdaus/FBSpatialEntityDotNet). I seem to have hooked up all the function pointers, but it looks like Meta took an async approach with their spatial anchors. In order to access the results of these function calls, we need to tap into the xrPollEvent function.
Maybe it makes sense to make the xrPollEvent method available in SK's Backend.OpenXR? Not sure how much work it would be, or if it really makes sense... I see in the OpenXR docs it says of xrPollEvent,
So I imagine this would cause issues if both StereoKit and the client app call xrPollEvent. Since in that case, one process would consume an event from the queue and the other process would never pick up on the that event.
Anyways, I see you made a lot of progress on SK's spatial anchor API! So maybe at this point it makes the most sense to just implement the FB spatial anchors in the StereoKitC layer and avoid the complexities associated with surfacing xrPollEvent in the Backend.OpenXR API.
(If you're not planning on doing the FB anchor implementation soon, I could try to take a stab at it! My work might not be up to par to merge into the SK repo, but it could at least be a good learning experience for me 😊)
Beta Was this translation helpful? Give feedback.
All reactions