TL;博士;
Google 的新AR 动物在网络上看起来好像是 AR(如AR.js或8thWall),但实际上是原生ARCore应用程序。诡计是浏览器中的一个链接(实际上是一个带有非常模糊的事件处理程序链的按钮)会启动ARCore 应用程序本身,而不会提示用户安装任何东西。谷歌是如何做到这一点的?我也想做。
细节
最近谷歌推出了一项搜索功能,允许用户通过单击搜索信息卡中的链接在 AR 中查看动物。
这是真正的平面感应、SLAM 跟踪 AR,无需标记。在我自己的手机(运行 Android 9 的 Pixel 2)上查看示例,位置和角度保真度令人印象深刻。我可以移动手机,四处走动,老虎的脚(例如)保持在几英寸内。同样,AR 对象具有出色的视觉稳定性,避免了困扰我所见过的大多数基于标记的 AR.js 应用程序的抖动,或者我在 8th Wall 的非标记 示例中看到的平庸的对象锚定。
作为一名致力于通过网络交付 AR 的开发人员,我非常好奇他们是如何取得如此高质量的结果。他们是否拥有比 THREE.js / ARKit / AR.js 开源项目更优越的专有技术?
不。使用笔记本电脑上的 USB 远程检查我的手机,加上一些间接线索,调试到老虎示例,我得出的结论是它们看起来很好,因为它们不是 Web AR,而是使用 ARCore 的原生 AR。谷歌不知何故导致用户的手机加载原生 ARCore 应用程序(系统日志显示 ARCore 本身正在作为应用程序启动)而没有任何安装提示。尝试切换到另一个应用程序会导致 AR 应用程序自动关闭,从而使其难以调试或检查。
Google 自己的 ARCore 文档通常暗示您需要将应用程序发布到 Play 商店才能真正将支持 ARCore 的软件交付给用户。那么,有谁知道谷歌是如何做他们在这里做的事情的?
所有图片都是我的原创作品
信息卡链接:
提示向 ARCore 授予应用权限:
ARCore 刚刚被使用: