栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 游戏开发 > 其他

XR的锚点Anchor系统

其他 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

XR的锚点Anchor系统

XR的锚点Anchor系统,对iOS的ARkit和HoloLens的本地空间锚点的添加、保存、读取,序列化,锚点同步进行讲解和应用。

演示视频:

XR锚点功能讲解_哔哩哔哩_bilibili

课程链接:

XR锚点系统ARkit/HoloLens Anchor讲解--其他视频教程-移动开发-CSDN程序员研修院

 已同步至MR高级教程

https://download.csdn.net/course/detail/29068

Anchor锚点概念

XR anchor subsystem | AR Subsystems | 4.2.2

锚点:跟踪物理环境中的特定姿势(位置和方向),锚点添加后物体不能被移动,有助于优化该锚点周围区域的跟踪精度,使虚拟对象相对于现实世界保持在原位,它的姿势由底层 AR 框架自动更新。

支持平台:iOS(ARkit)、Android(ARcore)、HoloLens、MagicLeap

Anchor作用


1、锚定对象:
确保对象在空间中保持相同的位置和方向,防止对象
出现漂移。
2、锚点持久化:
通过保存锚点到本地,加载该锚点实现还原该锚点在
该物理空间中的位置和方向。
设置虚拟物体和环境的位置关系(比如:AR/MR展
厅应用)
3、空间同步:
通过同步锚点数据使多个设备在同一空间中生成相同
的锚点,可以进行多人交互

AR Foundation 

https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@5.0/manual/index.htmlUnity-Technologies/arfoundation-samples
https://github.com/Unity-Technologies/arfoundation-samples

 Package Manager

ARkit

MR旧版本 

MR新版本

 XR Settings

ARkit锚点


ARAnchor
https://developer.apple.com/documentation/arkit/arworldmap
锚点存储 ARWorldMap
https://developer.apple.com/documentation/arkit/data_management/saving_and_loading_world_data
https://developer.apple.com/documentation/arkit/aranchor
 


HoloLens 锚点 (Unity2020.1以下 Windows Mixed Reality)

https://docs.unity3d.com/ru/2019.4/ScriptReference/XR.WSA.WorldAnchor.htmlHoloLens WorldAnchor

https://docs.microsoft.com/zh-cn/windows/mixed-reality/develop/unity/persistence-in-unity 

锚点存储 WorldAnchorStore
WorldAnchorTransferBatch同步HoloLens设备之间的空间坐标
https://docs.unity3d.com/2019.2/Documentation/Manual/windowsholographic-anchorsharing.html


HoloLens 锚点 (Unity2020.1以上 OpenXR )


HoloLens XRAnchor
https://github.com/microsoft/OpenXR-Unity-MixedReality-Samples

设置 XR 配置 - Mixed Reality | Microsoft Docs

Packages

com.microsoft.mixedreality.openxr

com.microsoft.mixedreality.toolkit.examples

com.microsoft.mixedreality.toolkit.extensions

com.microsoft.mixedreality.toolkit.foundation

com.microsoft.mixedreality.toolkit.standardassets


锚点存储 XRAnchorStore

 Microsoft.MixedReality.OpenXR

其他


Azure Spatial Anchors
https://docs.microsoft.com/zh-cn/azure/spatial-anchors/overview
ARCore
https://developers.google.com/ar/develop

Supported devices
https://developers.google.com/ar/devices
Enable ARCore
https://developers.google.com/ar/develop/unity-arf/enable-arcore
Cloud Anchor
https://developers.google.com/ar/develop/unity-arf/cloud-anchors/overview

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/906477.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号