当前位置:网站首页>[AR Foundation] AR Session Origin
[AR Foundation] AR Session Origin
2022-07-22 01:28:00 【Goodbye!】
AR Session Origin中组件的作用是将可跟踪对象(如平面和特征 点)姿态信息转换为Unity场景中的最终位置、方向和比例。因为AR设 备由Session管理,因此其获取的姿态信息在Session Space(会话空间)中。这是一个相对于AR Session初始化时的非标度空间,因此AR Session Origin执行一次坐标空间变换,将其变换到Unity坐标空间.
AR Session Origin对象有一个子对象AR Camera,AR Camera默认 挂载Tracked Pose Driver(在AR Foundation3.0以后,Tracked Pose Driver组件已 被AR Pose Driver取代)、AR Camera Manager、AR Camera Background组件。
Tracked Pose Driver组件的主要作用是将Unity中的场景摄像机与设备的真实摄像机对齐,即根据设备真实摄像机的位置与方向来调 整Unity中的场景摄像机姿态。
可跟踪对象:在AR Foundation中,平面(Plane)、特征点云(Point Cloud)、参考点(Reference Point)、跟踪图像(Tracked Image)、环境探头(Environment Probe)、人脸(Face)、3D物体 (Tracked Object)、共享参与者(ARParticipant)这8类对象称为 可跟踪对象(trackables),也就是说AR Foundation目前可以实时地 跟踪处理这8类对象。
为方便管理各类可跟踪对象,AR Foundation为每一类可跟踪对象 都建立了一个对应的管理器(Manager),一种管理器只管理对应的一 类可跟踪对象,这种设计大大提高了灵活性,可以非常方便地添加或 者删除每类管理器,从而达到只对特定可跟踪对象进行处理的目的。 另外,这8类管理器在界面及功能设计上非常相似,包括事件及API接口,掌握一类管理器的用法就可以类推到其他管理器的操作上,因此 极大地方便了开发人员操作。
需要特别注意的是,可跟踪对象管理器只能挂载在AR Session Origin一个对象上,这是因为AR Session Origin定义了Session空间 与Unity空间的转换关系,可跟踪对象管理器需要利用Session原点及 转换关系才能将可跟踪对象定位在Unity空间中的正确位置。
边栏推荐
- MFC obtains cfindreplacedialog control messages by registering window information
- QProcess类
- Solve the inexplicable restart problem of win10
- Install Wamp with Tencent ECs, which shows that MySQL cannot be connected
- 刚考完 热的 PCA 国家证书 考了个满分丢。 公司不敢B出来 怕被 下面NB的公司锤。。
- MySql集群之一主多从架构(三)
- In order not to be "dumped" during the journey to the cloud, the enterprise vitality of cloud service providers is the key
- UDS诊断服务的会话层和寻址方式
- 力扣(LeetCode)202. 快乐数(2022.07.21)
- 深度学习-神经网络-循环神经网络(一):RNN(Recurrent Neural Network,循环神经网络;1990年)
猜你喜欢
Utilisation et cas de regexp pour les déclarations MySQL
Deep learning neural network cyclic neural network (I): RNN (recurrent neural network; 1990)
6、学习MySQL 删除数据库
Checking the wide IP range of SPF records will undermine the security of e-mail
Internet Download Manager老牌下载器最佳的电脑下载工具
三星提出XFormer | 超越MobileViT、DeiT、MobileNet等模型
Swoole-TCP服务器
代码规范的一些经验
Leetcode 215: the kth largest element in the array
【Pingtunnel工具教程】利用ICMP隧道技术进行ICMP封装穿透防火墙
随机推荐
【Pingtunnel工具教程】利用ICMP隧道技术进行ICMP封装穿透防火墙
Install Wamp with Tencent ECs, which shows that MySQL cannot be connected
检查SPF记录 宽泛的IP范围会破坏电子邮件的安全性
[server data recovery] data recovery case of a Huawei server raid6
109. 有序链表转换二叉搜索树 ●●
AOSP ~ Camera - RK HAL3 ( 一 )
OS8-基于资源的优先级反转和优先级天花板协议
Helm --set usage examples and basic usage commands sorting
顺序表与链表(顺序表)
[deep learning] Yolo to VOC VOC to Yolo
2022年低压电工考试模拟100题及模拟考试
2022 crane driver (bridge crane only) examination question bank and answers
【Cicadaplayer】Release无法断点调试的问题
Special analysis of China's third-party payment market in 2022
三星提出XFormer | 超越MobileViT、DeiT、MobileNet等模型
HCIA-R&S自用笔记(14)RIP协议
C#接口基础知识重构
2022r1 fast opening pressure vessel operation test and simulation test
Spoole TCP server
One of MySQL clusters, master-slave architecture (3)