Hololens 学习摘要及翻译记录 七 Spatial mapping

阅朗微软官方文档并作出简要记录:

https://developer.microsoft.com/zh-cn/windows/holographic/documentation

个人学习记录,有错误欢迎指出。


HoloLens的六个基本概念之六

Spatial mapping: 空间映射 : https://developer.microsoft.com/zh-cn/windows/holographic/spatial_mapping


1.Spatial mapping provides a detailed representation of real-world surfaces in the environment around the HoloLens, allowing developers to create a convincing mixed reality experience. By merging the real world with the virtual world, an application can make holograms seem real. Applications can also more naturally align with user expectations by providing familiar real-world behaviors and interactions.

空间映射在HoloLens环境中提供了一个精细的真实世界表面的代表物,允许开发者创造一个更加真实的混合现实体验。通过合并真实和虚拟世界,应用能让全息影像看起来更加真实。通过提供更加真实的行为和交互,应用能更加自然的满足使用者的预期。


A.Conceptual overview :概述

1.The two primary object types used for spatial mapping are the 'Spatial Surface Observer' and the 'Spatial Surface'.

空间映射的两个主要对象类型是“空间表面观测者”和“空间表面”。

2.The application provides the Spatial Surface Observer with one or more bounding volumes, to define the regions of space in which the application wishes to receive spatial mapping data. For each of these volumes, spatial mapping will provide the application with a set of Spatial Surfaces.

应用提供一个或多个带有有限空间容器的空间表面观测者,用来定义应用想要接收空间映射数据的区域。空间映射会为每一个容器提供一组空间表面。

3.These volumes may be stationary (in a fixed location with respect to the real world) or they may be attached to the HoloLens (they move, but do not rotate, with the HoloLens as it moves through the environment). Each spatial surface describes real-world surfaces in a small volume of space, represented as a triangle mesh attached to a world-locked spatial coordinate system.

这些容器可能是静止的,也可能随HoloLens一起移动。在容器中每一个空间表面都代表了真实世界的表面,被空间坐标系中的三角网格所表示。

4.As the HoloLens gathers new data about the environment, and as changes to the environment occur, spatial surfaces will appear, disappear and change.

随着HoloLens收集环境中新的数据,环境将会发生改变,空间表面可能会出现,会消失和改变。


B.Common usage scenarios : 通常使用情形


Occlusion : 遮挡。

1.One of the primary uses of spatial mapping surfaces is simply to occlude holograms. This simple behavior has a huge impact on the perceived realism of holograms, helping to create a visceral sense that really inhabit the same physical space as the user.

空间映射的主要功能之一就是用来遮挡全息影像。这个简单的行为对全息影像的真实感有着巨大的影响,遮挡能够让使用者感觉到全息影像同样是真实存在于这个物理空间中的。

2.Occlusion also provides information to the user; when a hologram appears to be occluded by a real-world surface, this provides additional visual feedback as to the spatial location of that hologram in the world. Conversely, occlusion can also usefully hide information from the user; occluding holograms behind walls can reduce visual clutter in an intuitive way. To hide or reveal a hologram, the user merely has to move their head.

遮挡提供信息给使用者。当一个全息影像被真实世界表面所遮挡,它将提供一个可视化的反馈表示全息影像在世界中的位置。相对的,也能够对使用者隐藏信息。遮挡墙后的全息影像是减少视觉混乱最直接的方式。不管是隐藏或显示全息影像,使用者仅仅只要动动他们的头就好了。

3.Occlusion can also be used to prime expectations for a natural user interface based upon familiar physical interactions; if a hologram is occluded by a surface it is because that surface is solid, so the user should expect that the hologram will collide with that surface and not simply pass through it.

遮挡也可以用来满足使用者想要基于真实物理来交互的基本期望。如果全息影像被表面遮挡,那是因为表面是实体的。所以使用者希望全息影像会跟表面有物理碰撞而不是简单的穿过表面。

4.Sometimes, occlusion of holograms is undesirable. If a user needs to be able to interact with a hologram, then they need to be able to see it - even if it is behind a real-world surface. In such cases, it usually makes sense to render such a hologram differently when it is occluded (for example, by reducing its brightness). This way, the user will be able to visually locate the hologram, but they will still be aware that it is behind something.

有时遮挡掉全息影像并非是一个很好的选择。如果使用者想要与全息影像交互,首先他们得看得到对象才行,即使对象是在真实世界表面的后边。如果是这样,常用的方法是当全息影像在表面后边时,就渲染一个不同的全息影像(比如降低它的亮度),来告诉使用者全息影像所在的位置。同时,使用者也依然会认为影像是在这些东西后面的。


Visualization : 具象化

1.Most of the time it is appropriate for spatial surfaces to be invisible; to minimize visual clutter and let the real world speak for itself. However, sometimes it is useful to visualize spatial mapping surfaces directly, despite the fact that their real-world counterparts are already visible.

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值