-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebXR Image Tracking #2574
WebXR Image Tracking #2574
Conversation
This is a great contribution and really appreciated! I don't think Playcanvas would have WebXR support at the level it is today without Maksims PRs. This also made me think, what would happen if we don't have Maksims available tomorrow for one reason or another? Is there anyone else in the team, who would be able to take over the support of experimental API to make sure the main branch doesn't break after the API changes? Would it make sense to move WebXR to own branch, until WebXR API is stable or perhaps implement only approved API? |
Good concerns @LeXXik, although, not planning to go anywhere ;) Also, WebXR core API is stable, although there are various API extensions are delivered as separate specs. They should be evaluated on individual basis. I'm actually planning to potentially change current way of session start, where developer have to specify which APIs he want optionally to enable, that way when starting XR session, it will be barebones, with options to make it more feature rich. |
Implements experimental draft extension for WebXR Image Tracking: https://github.com/immersive-web/marker-tracking/blob/main/explainer.md
This API is a subject to change, until spec is more solid.
It is available in Chrome for Android 89, with enabled chrome://flags#webxr-incubations flag.
Image Tracking allows to provide few images and their widths, and then track them in real world even if their positions change, tracking will assume that actively tracked images can move in real world.
New APIs:
Test project:
https://playcanvas.com/project/739875/overview/ar-image-tracking
In order to test, fork project, and replace example images with desired ones.
Video:
https://twitter.com/mrmaxm/status/1330232934192853003
I confirm I have signed the Contributor License Agreement.