具有 Windows Mixed Reality 的基于位置的娱乐Location Based Entertainment with Windows Mixed Reality

在过去几年中,我们在基于地点的娱乐类别中看到了惊人的增长和创新。In the last couple of years, we've seen an incredible amount of growth and innovation in the Location Based Entertainment category. 传统的会场(如主题公园和电影院)已开始提供沉浸式多玩家体验,作为现有搭乘和安装的免费体验。Traditional venues like theme parks and theaters have started offering immersive, multi-player experiences as complimentary experiences to existing rides and installations. 新的操作员和会场为面向大众带来了独特的多 sensorial、多玩家体验。New operators and venues are bringing unique multi-sensorial, multi-player experiences at an attractive price to the masses. 所有这些经验都是通过推送信封来实现混合现实。All of these experiences are pushing the envelope for what’s possible with mixed reality.

本文档是在基于位置的娱乐类别中开始使用 Windows Mixed Reality 的指南。This document is a guide to get started with Windows Mixed Reality in the Location Based Entertainment category. 下面的指南可能还适用于超出娱乐的位置体验,例如培训、产品设计和其他用例。The guidance below may additionally be applicable to location-based experiences beyond entertainment such as training, product design, and other use cases.

工程常见问题Engineering FAQ

硬件Hardware

问: Microsoft 及其合作伙伴提供的可在我的设置中使用的硬件Q: What hardware is available from Microsoft and its partners that I can use in my setup?

答: Microsoft 及其 OEM 合作伙伴提供了一套极具吸引力的设备,可根据需要进行选择。A: Microsoft and its OEM partners offer a compelling portfolio of devices to choose from depending on your needs.

如果你向客户提供的体验需要虚拟现实耳机,HP、Samsung 和 Acer 的市场耳机都非常合适。If the experiences you’re providing to your customers requires a virtual reality headset, in-market headsets from HP, Samsung, and Acer are a great fit. 每个耳机都有其各自的不同属性。Each headset has their own differentiated attributes. 以下各项的详细信息。More details on each below.

HP 回音: 详细信息HP Reverb: Details

Samsung 太空 +: 详细信息Samsung Odyssey+: Details

Acer: 详细信息Acer: Details

如果你的位置专门使用 "查看" 耳机来实现混合或扩充的现实体验,请查看 Microsoft HoloLens 2。If your location specializes in mixed or augmented reality experiences with see-through headsets, check out the Microsoft HoloLens 2.

HoloLens 2: 订购利息HoloLens 2: Pre-order interest

如果你正在试验使用高级计算机视觉、语音和正文跟踪的体验,Azure Kinect 深色的优点非常合适。If you’re experimenting with experiences that use advanced computer vision, speech, and body tracking, the Azure Kinect DK is a good fit.

Azure Kinect: 详细信息Azure Kinect: Details

问:我可以使用哪些背包电脑组合来运行我的电脑-受限 VR 体验?Q: What is the portfolio of backpack PCs I can use to run my PC-tethered VR experiences?

对于电脑受限 VR 体验,我们的 Oem 提供了令人难以置信地选择的背包 Pc。For PC-tethered VR experiences, our OEMs offer an incredible selection of backpack PCs built exactly for that need.

HP 刚刚启动了其 HP VR 背包 G2,这是世界上最强大的可穿戴 PC –为自由漫游体验进行了优化,现在,在内部使用 RTX 2080 GPU 可提高30% 的电量。HP just launched their HP VR backpack G2, the world’s most powerful wearable PC – optimized for free-roam experiences, now with 30% more power with an RTX 2080 GPU inside. 详细信息Details

设置Setup

问:如何更轻松地配置安装并为 LBE 自定义混合现实门户?Q: How can I more easily configure setup and customize the Mixed Reality Portal for LBE?

备注

此功能需要2000.19061.1011.0 或更高版本。This feature requires version 2000.19061.1011.0 or greater.

你可能会发现,你需要对混合现实门户进行更多的自定义,而不是通常通过用于将应用部署到展台或自定义体验的应用使用。You may find that you need more customization of Mixed Reality Portal than is normally available through the app for deploying apps to kiosks or customized experiences. 混合现实门户的最新7月更新支持多个高级设置,你可以通过配置文件进行设置:The latest July update of Mixed Reality Portal supports several advanced settings, which you can set via a configuration file:

允许故障系统检查–在完成安装程序之前,安装过程通常会检查 PC 与 Windows Mixed Reality 的兼容性。Allow failed system checks – normally the setup process checks the PC for compatibility with Windows Mixed Reality before completing setup. 如果存在兼容性问题,则在尝试运行 Windows Mixed Reality 时,绕过兼容性检查可能会导致问题。Bypassing compatibility checks may cause issues when trying to run Windows Mixed Reality if there are compatibility issues.

跳过设备辅助应用– DCA 提供制造商提供的耳机特定的设置步骤,并允许更新耳机固件。Skip Device Companion App – the DCA provides headset-specific setup steps provided by the manufacturer and allows for updating the headset’s firmware.

跳过房间安装-不会提示你创建房间边界,你可以继续在 "固定"/"固定" 模式下直接进入耳机。Skip room setup – instead of being prompted to create a room boundary, you can continue directly into the headset in Seated/Standing mode.

跳过从应用商店安装应用-普通安装程序将安装多个应用商店应用,包括3D 查看器和 Edge 360 查看器加载项。Skip installing apps from the Store - normal setup installs several Store apps including 3D Viewer and the Edge 360 Viewer add-on. 这会跳过这些应用的安装,但可能缺少设备功能。This will skip the install of these apps, but you may be missing device functionality.

全屏显示预览–混合现实门户将默认为在使用耳机时在台式计算机上全屏显示耳机预览。Show preview in full screen – Mixed Reality Portal will default to showing the headset preview in full-screen on the desktop PC while the headset is in use.

隐藏侧面板的新增部分–禁止在启动混合现实门户时展开面板的新新。Hide New for your side panel – prevents the New for your panel from being expanded on launch of Mixed Reality Portal.

配置方式:How to configure:

若要设置这些配置中的任何一种,需要在此目录下创建一个名为 UserConfig.js 的文件: $env \ : localappdata\packages\ Microsoft.MixedReality.Portal_8wekyb3d8bbwe \localstateTo set any of these configurations, you need to create a file called UserConfig.json under this directory: $env:LOCALAPPDATA\Packages\Microsoft.MixedReality.Portal_8wekyb3d8bbwe\LocalState\

对于大多数用户,此内容如下所示: C:\Users <username> \Appdata\local\packages\ microsoft.mixedreality.portal_8wekyb3d8bbwe \ \localstateFor most users, this will look like: C:\Users<username>\AppData\Local\Packages\microsoft.mixedreality.portal_8wekyb3d8bbwe\LocalState\

对于您想要启用的任意设置,JSON 文件的内容应为 "true":The JSON file should have the below contents with “true” set for any of the above settings you want enabled:

{

  "shouldAllowFailedSystemChecks": true,

  "shouldSkipDcaApp": true,

  "shouldSkipRoomSetup": true,

  "shouldSkipStoreAppInstall": true,

  "shouldShowPreviewFullScreen": true,

  "shouldHideEngagementPane": true

}

问:是否有关于配置 playspace 的指导?Q: Is there any guidance on configuring the playspace?

答:配置 playspace 应像使用使用者安装体验一样完成。A: Configuring a playspace should be done as you would with a consumer setup experience. 房间设置过程还将允许您定义房间边界。The Room Setup process will also let you define your room boundaries. 有关配置空间边界的详细信息,请参阅 此处More details on configuring room boundaries can be read here.

如以上文档中所述,最大合理的单个坐标 playspace 是围绕5mx5m 的。As discussed in the above document the maximum reasonable single coordinate playspace is around 5mx5m. 如果要获得更大的区域,可以使用 Windows 全息 API 堆栈中的空间锚功能。If you want to have a larger area, you can make use of the Spatial Anchors capability in the Windows Holographic API stack. 使用此 API 需要在生成的体验中进行自定义工程。Using this API will require custom engineering in the experiences you're producing.

可在 此处阅读有关如何针对不同的空间大小优化内容的更多详细信息。More details on how to optimize your content for different space sizes can be read here.

问:我的空间太大了,在尝试使用边界建立持续的体验时,我遇到了错误。设置大的免费漫游体验应该怎么办?Q: My space is too large and I’m running into errors when I try to set up a Standing experience with boundaries. What should I do to set up my large free-roam experience work?

答:若要设置比 ~ 18x18ft 更大的空间,则无法使用系统提供的边界体验。A: To set up a larger space than ~18x18ft, you can't use the boundary experience provided by the system. 边界系统依赖于单个固定坐标 "锚点",当用户离中心舞台锚点太远时,这会变得不稳定。The boundary systems rely on a single fixed coordinate “anchor”, which can become unstable when a user is too far from the center stage anchor.

你可以设置 "固定" 模式,这种模式不会显示边界,也不会配置阶段边界或 playspace。You can set up “seated” mode, which won't display the boundary or configure a stage bounds or playspace. 需要在应用程序中配置多个空间锚点以引用物理边界区域。You’ll need to configure multiple spatial anchors within the app to reference physical boundary areas.

应用程序开发人员负责显示必要的安全措施,使用户不会与物理环境发生冲突。The application developer is responsible to display necessary safeguards so that users don’t collide with physical surroundings. 这可能是经验或自定义游戏边界视觉对象中的数字背景。These could be digital walls within the experience or a customized game boundary visual.

可在 此处找到有关通过 WMR 设置空间边界的指南。Guidance on setting up the room boundary with WMR can be found here.

问: playspace 的来源是什么?Q: Where is the origin of the playspace?

答: playspace 的来源取决于房间安装体验,更具体地说是在安装过程中按下中心按钮时的 HMD 位置。A: The origin of the playspace is determined by the Room Setup experience, more specifically the HMD position when the Center button is pressed during setup.

多玩家安装MULTI-PLAYER SETUP

问:我在我的场所部署了多玩家体验。Windows Mixed Reality 是否支持?Q: I’m deploying a multi-player experience in at my venue. Is that supported on Windows Mixed Reality?

答:如果你通过我们的预览体验计划选择加入 Windows 20H1 或更高版本,则可以访问用于地图共享的新接口。A: If you opt into the Windows 20H1 or later build via our Insider program, you can access a new interface for map sharing. 此新功能可通过 Windows 设备门户的 " 映射管理器 " 界面获得。This new functionality is available via the Map Manager interface of the Windows Device portal. 若要使用此工具,请执行以下步骤:To use this tool, follow the steps below:

  • 请确保选择加入20H1 或更高版本(2019年9月之后),这意味着使用预览体验计划Make sure you're opted into 20H1 or later - after September 2019, this means using our Insider program
  • 使用以下说明启用 Windows 设备门户 (WDP) Enable the Windows Device Portal (WDP) using these instructions
  • 插入想要从其下载现有映射的 Windows Mixed Reality HMD,或导入新的映射Plug in a Windows Mixed Reality HMD that you wish to either download an existing map from or import a new map
  • 使用在 "设置" 屏幕中提供的 URL,在所选浏览器中导航到 WDP。Navigate to the WDP in your browser of choice using the URL provided in the settings screen.
    • 导航到 "Mixed Reality" 部分,然后选择 "映射管理器"。Once there Navigate to the "Mixed Reality" section and select "Map Manager".
    • 你现在可以使用 "下载" 按钮从计算机导出现有映射。You can now use the "Download" button to export an existing map from the machine.
    • 您可以使用 "上传地图文件" 按钮从上一个导出 (导入地图,) 。You can use the "Upload a map file" button to import a map from a previous export (perhaps on a different machine).
    • 您可以使用 "导入" 使系统能够在此计算机上为此 HMD 使用该映射。You can use "Import" to enable the system to use that map for this HMD on this machine.

备注

以前,可以使用空间数据包装器工具,不过,该工具最初发布为不受支持的功能,现已正式弃用并且在20H1 上不再可用。Previously, it was possible to use the Spatial Data Packager Tool, however, that tool was originally released as unsupported and is now officially deprecated and no longer functional on 20H1. 请改用上文所述的收件箱 地图管理器 工具。Instead, please use the inbox Map Manager tool as described above.

字距TRACKING

问: Windows Mixed Reality 耳机中的跟踪技术是如何工作的?Q: How does the tracking technology in the Windows Mixed Reality headsets work?

混合现实与 HoloLens 共享相同的跟踪技术。Mixed Reality shares the same tracking technology as the HoloLens. 若要详细了解内部输出跟踪系统,请查看 此处的文档。To learn more about the inside-out tracking system, check out the documentation here.

有关更高级的空间映射系统的工作原理的说明,请参阅 此处的说明。For a description of how the higher-level spatial mapping system works you can read our description here.

问:是否有用于获取可靠跟踪卷的最佳实践?Q: Are there any best practices for getting a reliable tracking volume?

为了最好地配置用于跟踪成功的环境,您可以阅读此 文章中的最佳实践。To best configure the environment for tracking success, you can read best practices in this post.

问:在仓库规模空间或要考虑的优化中,是否有任何特定的细微差别?Q: Are there any specific nuances with tracking in warehouse-scale spaces or optimizations to consider?

答:以下做法可帮助获取更可靠的跟踪卷:A: The following practices can help with getting a more reliable tracking volume:

在房间中提供与多个位置重叠的不同功能将有助于跟踪系统获得稳定锁定。Providing different features in the room that overlap at multiple positions will help the tracking system get a solid lock. 请考虑随机绘制 splatters 和阴影,而不是使用纯色等高线样式线条。Think of random paint splatters and hatching rather than using solid contour style lines.

尽可能最大程度地减小区域中的光线的动态范围。Minimize the dynamic range of lighting in your area where possible. 混合现实 HMDs 上的跟踪相机并不是 HDR,AGC (自动) ,而 AEC (自动曝光) 处理不同的照明。The tracking cameras on our Mixed Reality HMDs aren't HDR and have AGC (auto gain) and AEC (auto exposure) going to deal with different lighting. 根据不同的表面效果、图案和对比度,无论是 AGC 还是 AEC,都可以使您完全成为所有白色或黑色房间,这会使您的功能变得相对 "颜色"。Depending on the distribution of surface light, patterns and contrast, either AGC or AEC may conclude you’re in a much all white or black room, which can wash out your features that may be in the opposite “color”. 如果你正在尝试在具有鲜日光的外部窗口的前方拍摄内部图片,并调整了曝光以便查看外的详细信息,则内部的所有内容都是 underexposed 和黑色。If you're trying to take an interior picture in front of an exterior window with bright daylight behind and you adjust exposure so you can see detail outside, then everything on the interior is underexposed and black. 或者,如果在内部设置,则所有外部的内容现在都是 overexposed,所有白色。Or if set for inside, then everything outside is now overexposed and all white.

在房间中的聚光灯 (甚至是在) 的情况下,如果跟踪相机有时原因,这会导致跟踪相机的 AEC/AGC 混乱。Spotlights in a room (even overhead) that are in view if tracking cameras can sometimes be culprits, which confuse the AEC/AGC of the tracking cameras. 平面/散射照明可帮助。Flat/diffused lighting helps.

混合现实云服务和 AZUREMIXED REALITY CLOUD SERVICES AND AZURE

问: Microsoft Azure 如何帮助我的业务规模?Q: How can Microsoft Azure help my business scale?

答:基于 Azure 的现场和远程管理可帮助你的企业进行数据驱动,降低运营成本并在现有和新位置扩展部署。A: Azure based onsite and remote management can help your business be data-driven, reduce operational costs and scale deployment across existing and new locations. Azure 云服务(例如 Azure 存储、Azure Functions、应用服务、Azure 网络和 IOT 中心)可帮助解决以下用例:Azure cloud services such as Azure Storage, Azure Functions, App Service, Azure Networking, and IOT Hub can help with the following use cases:

远程设备部署 & 管理Remote Device Deployment & Management

Real-Time 现场分析Real-Time Onsite Analytics

智能适应性 LBE 游戏Intelligent Adaptable LBE Gameplay

LBE 内容流式处理和部署LBE Content Streaming and Deployment

LBE Player 首选项热度地图LBE Player Preference Heatmap

LBE 预订系统和预订系统LBE Reservation and Booking System

问:我要开发一个空间 MMOG 来部署大量占用空间。有助于管理内容和对象持久性的任何服务?Q: I’m developing a spatial MMOG to deploy over a massive footprint. Any services that help me manage my content and object persistence?

答: Azure 空间锚点是一项新的混合现实服务,可实现通过 HoloLens、iOS 和 Android 设备的多用户、空间丰富的混合现实体验。A: Azure Spatial Anchors is a new Mixed Reality service that enables multi-user, spatially aware mixed reality experiences across HoloLens, iOS, and Android devices. 可在 此处了解有关 Azure 空间定位点的详细信息。You can learn more about Azure Spatial Anchors here.

:.我们的场地专用于多玩家体验,我想将开发时间集中在内容和前端开发上。是否有可帮助我启动或卸载后端开发的产品?Q. Our venue specializes in multi-player experiences and I’d like to focus our development time on content and front-end development. Are there offerings that can help me bootstrap or offload backend development?

答: Azure PlayFab 是适用于现场游戏的完整后端平台。A: Azure PlayFab is a complete backend platform for live games. 可在 此处了解详细信息。You can learn more about it here.

杂项Misc

问:我使用 SteamVR 来部署我的体验。Windows Mixed Reality 是否适用于 SteamVR?Q: I use SteamVR to deploy my experiences. Does Windows Mixed Reality work with SteamVR?

答: SteamVR 的 Windows Mixed Reality 允许用户在 Windows Mixed Reality 沉浸式耳机上运行 SteamVR 体验。A: Windows Mixed Reality for SteamVR allows users to run SteamVR experiences on Windows Mixed Reality immersive headsets. 在此处了解有关 SteamVR 的详细信息。Learn more about SteamVR with WMR here.

支持和社区Support and community

我们提供了一些有用的资源,可帮助你在我们的团队中与行业专家进行合作,获取故障排除支持,并为更广泛的混合现实开发社区提供帮助。We have a few helpful resources to help you engage with subject matter experts on our team, get troubleshooting support, and contribute to the broader mixed reality dev community.

如果遇到任何公开发布功能的问题,请使用反馈中心提交 bug。有关指南,请参阅此 If you run into issues with any publicly released features, file a bug using Feedback Hub.For guidance, refer to this page.

有关 WMR 的其他故障排除帮助,请向我们的客户支持团队提供 支持请求For other troubleshooting help with WMR, file a support request with our customer support team.

加入我们的 HoloDevelopers 时差通道,与混合现实开发人员和主题专家合作: aka.ms/holodevelopersJoin our HoloDevelopers Slack channel to engage with the mixed reality developers and subject matter experts: aka.ms/holodevelopers

Twitter:关注混合现实开发人员关系团队以获取新闻、活动和更新 @MxdRealityDevTwitter: Follow our Mixed Reality Developer Relations team for news, events, and updates @MxdRealityDev

如果你的工作发生在旧金山或周围,则 Microsoft 反应器中始终会出现一些问题。If you happen to be in or around San Francisco, there’s always something going on at the Microsoft Reactor. 此处可以看到我们的事件日历。You can see our calendar of events here.