The Hit-test API is an extension to the WebXR Device API that provides the capability of raycasting into the real world as understood by the underlying XR system. The goal is to provide a simple API that allows apps to place objects in the real world by casting rays that can be evaluated against the underlying platform's understanding of the real world geometry, regardless of how that is implemented (e.g., hit test against detected planes, point clouds, meshes, etc.).
https://groups.google.com/a/chromium.org/d/msg/blink-dev/HYTqcRJu_aU/Dz0QTOGWCgAJThis WebXR module is adding the ability to request hit tests against the world. It is a core feature for AR experiences and has been discussed in the Immersive Web Community Group and Working Group for a while. There is broad interest in this feature and we expect it to be implemented by other browsers in the group. One configuration option is still under discussion and is not going to launch (https://github.com/immersive-web/hit-test/issues/66). There was also a recently opened low risk issue about naming (https://github.com/immersive-web/hit-test/issues/75). Firefox: Public support (https://github.com/immersive-web/hit-test/issues/74#issuecomment-576937422) Response from one of main Mozilla contributors, not an official position from the company.
Edge: Public support (https://github.com/immersive-web/hit-test/issues/74#issuecomment-577067376) Safari: No public signals
Web developers: Positive Libraries such as Model Viewer (https://modelviewer.dev/examples/augmented-reality.html) and A-Frame (https://aframe.io/blog/webxr-ar-module/) have been implementing AR experiences behind experimental flags as it is a commonly requested feature. These experiences are directly (model-viewer) or indirectly (A-Frame) using Hit Tests. This feature is an extension of WebXR Device API. The use of this particular feature does not depend on any other web features, although WebXR-enabled applications will most likely use WebGL. The feature is usable as-is, although it will be more accessible to developers if used through libraries like three.js, <model-viewer>, A-Frame, etc. Some of these APIs already have experimental usage of the API.No This will be supported on platforms where Chrome supports AR. Currently, this is only Android. WebView support is planned. There are no technical restrictions specific to this API preventing it from being implemented on other platforms. The specification itself will be implemented in Blink for all platforms, but the spec text leaves room for the UAs to signal that a particular API depends on the device support. Yes Results: https://wpt.fyi/results/webxr/hit-test?label=experimental&label=master&aligned Tests: https://github.com/web-platform-tests/wpt/tree/master/webxr/hit-test https://bugs.chromium.org/p/chromium/issues/detail?id=833633 https://storage.googleapis.com/chromium-webxr-test/latest.html?target=proposals/phone-ar-hit-test.html https://chromestatus.com/feature/4755348300759040This intent message was generated by Chrome Platform Status.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/8bdc503b-02ef-40f9-af54-27ee65d6fe3c%40chromium.org.
On Thu, Jan 23, 2020 at 4:28 AM Piotr Bialecki <bia...@chromium.org> wrote:It's a shame that the TAG review wasn't filed earlier...
The Hit-test API is an extension to the WebXR Device API that provides the capability of raycasting into the real world as understood by the underlying XR system. The goal is to provide a simple API that allows apps to place objects in the real world by casting rays that can be evaluated against the underlying platform's understanding of the real world geometry, regardless of how that is implemented (e.g., hit test against detected planes, point clouds, meshes, etc.).So, IIUC, this API allows the device to locate physical objects in the user's environment. Is that correct?What's the user's opt-in model to that? The use-case seems critical for AR, but can also reveal information about the user
https://groups.google.com/a/chromium.org/d/msg/blink-dev/HYTqcRJu_aU/Dz0QTOGWCgAJThis WebXR module is adding the ability to request hit tests against the world. It is a core feature for AR experiences and has been discussed in the Immersive Web Community Group and Working Group for a while. There is broad interest in this feature and we expect it to be implemented by other browsers in the group. One configuration option is still under discussion and is not going to launch (https://github.com/immersive-web/hit-test/issues/66). There was also a recently opened low risk issue about naming (https://github.com/immersive-web/hit-test/issues/75). Firefox: Public support (https://github.com/immersive-web/hit-test/issues/74#issuecomment-576937422) Response from one of main Mozilla contributors, not an official position from the company.That's doesn't count as "public support" (but could probably pass as "positive signals")Is there a Mozilla standards position issue open for this?
Edge: Public support (https://github.com/immersive-web/hit-test/issues/74#issuecomment-577067376) Safari: No public signalsDid we reach out? Are they involved in WebXR efforts?
----Web developers: Positive Libraries such as Model Viewer (https://modelviewer.dev/examples/augmented-reality.html) and A-Frame (https://aframe.io/blog/webxr-ar-module/) have been implementing AR experiences behind experimental flags as it is a commonly requested feature. These experiences are directly (model-viewer) or indirectly (A-Frame) using Hit Tests. This feature is an extension of WebXR Device API. The use of this particular feature does not depend on any other web features, although WebXR-enabled applications will most likely use WebGL. The feature is usable as-is, although it will be more accessible to developers if used through libraries like three.js, <model-viewer>, A-Frame, etc. Some of these APIs already have experimental usage of the API.No This will be supported on platforms where Chrome supports AR. Currently, this is only Android. WebView support is planned. There are no technical restrictions specific to this API preventing it from being implemented on other platforms. The specification itself will be implemented in Blink for all platforms, but the spec text leaves room for the UAs to signal that a particular API depends on the device support. Yes Results: https://wpt.fyi/results/webxr/hit-test?label=experimental&label=master&aligned Tests: https://github.com/web-platform-tests/wpt/tree/master/webxr/hit-test https://bugs.chromium.org/p/chromium/issues/detail?id=833633 https://storage.googleapis.com/chromium-webxr-test/latest.html?target=proposals/phone-ar-hit-test.html https://chromestatus.com/feature/4755348300759040This intent message was generated by Chrome Platform Status.
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/8bdc503b-02ef-40f9-af54-27ee65d6fe3c%40chromium.org.
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACj%3DBEiq1Yp%3DWu0ga_VSV2fFB3vbC2YvrLAHybrW2Bo559tmUA%40mail.gmail.com.
On Mon, 27 Jan 2020 at 08:13, Yoav Weiss <yo...@yoav.ws> wrote:On Thu, Jan 23, 2020 at 4:28 AM Piotr Bialecki <bia...@chromium.org> wrote:
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACj%3DBEjCmYz6WGfYzn%2BKqWWY3sW1b6GhCQz7hexOvktJV181SA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGH7WqEE4-MBV-r_9PKL-xhO6jOYo9%3D%3DNiNNTMiZUakvjw6GrA%40mail.gmail.com.