unity arcore_通过Unity的AR Foundation融合虚拟内容和现实世界,现在支持ARCore Depth API...

unity arcore

Unity’s AR Foundation 4.1 supports Google’s new ARCore Depth API. With the addition of this capability, AR Foundation developers can now deliver experiences that blend digital content with the physical world more realistically than ever before.

Unity的AR Foundation 4.1支持Google的新ARCore深度API。 通过添加此功能,AR Foundation开发人员现在可以提供比以往任何时候都更现实的将数字内容与物理世界融合的体验。

With its extensive feature set and vast reach, Google’s ARCore is one of the most popular and powerful SDKs available to developers of augmented reality (AR) experiences. We have been working closely with Google to ensure Unity users have swift access to newly released ARCore features. The release of the ARCore Depth API is a significant milestone as it enables enhanced understanding of physical surroundings as well as more realistic visuals in AR Foundation-based experiences. 

凭借其广泛的功能集和广泛的影响力,Google的ARCore是增强现实(AR)体验开发人员可以使用的最受欢迎和功能最强大的SDK之一。 我们一直与Google紧密合作,以 确保Unity用户可以快速访问新发布的ARCore功能 。 ARCore深度API的发布是一个重要的里程碑,因为它可以增强对物理环境的了解,以及基于AR Foundation的体验中更逼真的视觉效果。

ARCore can take advantage of multiple types of sensors to generate depth images. On phones with only RGB cameras, ARCore employs depth-from-motion algorithms that compare successive camera images as the phone moves to estimate the distance to every pixel. This method allows for depth data to be available on hundreds of millions of Android phones. And on devices that include a Time of Flight camera, the depth data is even more precise.

ARCore可以利用多种类型的传感器来生成深度图像。 在只有RGB摄像头的手机上,ARCore采用动态深度算法,该算法可以比较手机移动时连续的摄像头图像,以估计到每个像素的距离。 这种方法允许深度数据在数亿部Android手机上可用。 在带有飞行时间相机的设备上,深度数据甚至更加精确。

AR Foundation now includes the following new features:

现在,AR Foundation包括以下新功能:

  • Automatic occlusion

    自动遮挡

  • Access to depth images

    访问深度图像

遮挡变得容易 (Occlusion made easy)

The most obvious effect of ARCore’s depth information is the ability to realistically blend digital content and real-world objects.

ARCore深度信息最明显的效果是能够将数字内容与现实世界对象真实融合。

演示地址

We’ve expanded AR Foundation’s existing support for pass-through video to include per-pixel depth information provided by ARCore so that occlusion “just works” on supported devices. By simply adding the AR Occlusion Manager to the same GameObject that holds the AR Camera and AR Background Renderer components, the depth data is automatically evaluated by the shader to create this blending effect.

我们已经扩展了AR Foundation对直通视频的现有支持,以包括ARCore提供的每像素深度信息,以便遮挡在支持的设备上“有效”。 只需将AR Occlusion Manager添加到包含AR Camera和AR Background Renderer组件的同一个GameObject中,着色器将自动评估深度数据以创建这种混合效果。

When occlusion is combined with AR Foundation’s existing support for ARCore’s Lighting Estimation capabilities, augmented reality apps can achieve almost seamless visual quality.

当遮挡与AR Foundation对ARCore的Lighting Estimation功能的现有支持相结合时,增强现实应用程序可以实现几乎无缝的视觉质量。

使用深度图像与世界互动 (Interact with the world using the depth image)

AR Foundation provides developers convenient access to the same per-pixel depth data it uses for automatic occlusion. Depth data is a powerful tool that allows developers to add rich interactions with the user’s surroundings. For example, the depth data could be used to build a representation of real-world objects that can be fed to Unity’s physics system. This creates the opportunity for digital content to appear to respond to and interact with the physical surroundings.

AR Foundation使开发人员可以方便地访问与自动遮挡相同的每像素深度数据。 深度数据是一个强大的工具,允许开发人员添加与用户周围环境的丰富互动。 例如,深度数据可用于构建可被馈送到Unity物理系统的现实世界对象的表示。 这为数字内容提供了响应物理环境并与之交互的机会。

This capability opens the door to novel AR game experiences such as The SKATRIX by Reality Crisis. This upcoming title leverages the ARCore Depth API to generate meshes that transform the physical surroundings into an AR skatepark.

此功能为新颖的AR游戏体验(如 现实危机 》的SKATRIX)打开了大门 。 即将发布的标题利用了ARCore深度API来生成 将物理环境转换为AR滑板场的 网格 。

演示地址

Having access to the raw depth data gives developers the tools to create unique interactive AR experiences that weren’t previously possible.

可以访问原始深度数据,从而为开发人员提供了工具来创建以前无法实现的独特的交互式AR体验。

今天尝试 (Try it today)

The 4.1 versions of the AR Foundation and ARCore XR Plugin packages contain everything you need to get started and are compatible with Unity 2019 LTS and later. Samples demonstrating how to set up automatic occlusion and depth data are located in AR Foundation Samples on GitHub.

AR FoundationARCore XR插件 包 的4.1版本 包含您入门所需的一切,并且与Unity 2019 LTS及更高版本兼容。 演示如何设置自动遮挡和深度数据的 示例 位于GitHub上的 AR Foundation示例 中。

We’re excited to see the enhanced visuals and rich experiences made possible by the ARCore Depth API. And we look forward to continuing our close collaboration with Google to bring more awesome AR functionality to AR Foundation developers.

我们很高兴看到ARCore Depth API带来了增强的视觉效果和丰富的体验。 我们期待与Google继续紧密合作,为AR Foundation开发人员带来更多出色的AR功能。

For more information please check out Google’s ARCore Depth API announcement and Depth Lab app to see examples of this tech that were made in Unity. Finally, join us on the Unity Handheld AR forums as you try out this latest version of AR Foundation. We’d love to hear about what you’ve created using the new features, and we welcome your feedback.

有关更多信息,请查看Google的ARCore深度API 公告深度实验室应用, 以查看在Unity中制作的该技术的示例。 最后,在 试用最新版的AR Foundation时 ,请加入 Unity Handheld AR论坛 。 我们希望知道您使用新功能创建的内容,我们欢迎您的反馈。

翻译自: https://blogs.unity3d.com/2020/06/25/blend-virtual-content-and-the-real-world-with-unitys-ar-foundation-now-supporting-the-arcore-depth-api/

unity arcore

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值