HoloLens开发
来源:互联网 发布:查看cnc程序软件 编辑:程序博客网 时间:2024/06/10 11:35
安装配置
系统要求
64-bit Windows 10 Pro, Enterprise, or Education (The Home edition does not support Hyper-V. Installing the HoloLens Emulator will fail on the Home edition)
64-bit CPU
CPU with 4 cores (or multiple CPU’s with a total of 4 cores)
8 GB of RAM or more- 现已可安装Visual Studio 2015 Update 3。且在安装选项里需要勾选上Windows 10 SDK,如果安装过程中没勾选上也没关系,可以在控制面板里面修复,把它装好。
- 使用Unity进行Hololens的开发,只能使用带有HoloLens Technical Preview后缀版本的Unity,无法使用Unity的其他相关版本,如果要进行除Hololens之外的相关开发(如VR),需要安装双版本的Unity。
In the BIOS, the following features must be supported and enabled:
Hardware-assisted virtualization
Second Level Address Translation (SLAT)
Hardware-based Data Execution Prevention (DEP)
GPU (The emulator might work with an unsupported GPU, but will be significantly slower)
DirectX 11.0 or later
WDDM 1.2 driver or later- 开启Virtualization Technology
如果要使用hololens来进行开发,需要在BIOS中开启Virtualization Technology(VT)虚拟化技术,进入BIOS,选择Configuration选项,开启VT。 - 开启Hyper-V功能
同时还需要在系统中开启Hyper-V功能,win键+I键打开设置面板,进入程序与功能->启动或关闭Windows功能,开启Hyper-V的相关功能。
- 开启Virtualization Technology
相关链接
Install the tools
HoloLens开发手记-配置开发环境 Install the tools
Holograms 100
具体任务官方给出了详细指南,另,辅助如下二
相关链接
Holograms 100
(翻译++)微软Hololens开发教程系列(1): Holograms 100-使用Unity构建第一个全息影像应用
真机与模拟器的调试
- 设置全息应用
- 从Unity中导出的Universa Windows Platform 应用程序默认在所有的Windows 10设备上运行
全息应用程序可将应用的目标设备设置为仅运行在Hololens设备上。 - 在Visual Studio 中,解决方案浏面板,右击Package.appxmainifest 选择 View Code/查看代码
- 查找TargetDeviceFamily,Name=”WindowsUniversal”改为Name=”Windows.Holographic”
- MaxVersionTested=”10.0.10240.0”改为MaxVersionTested=”10.0.10586.0”
- 保存Package.appxmainifest
- 从Unity中导出的Universa Windows Platform 应用程序默认在所有的Windows 10设备上运行
调试
- 在Visual Studio顶部的编译选项工具栏里,将目标从Debug改为Release,平台从ARM改为X86。
- 部署至Hololens模拟器
Visual Studio的编译选项栏,设备选择 HoloLens Emulator
选择Visual Studio 的菜单目录 Debug > Start without debugging.
相关链接
真机配对与调试
Hololens Emulator调试
其他
官方Tutorial
HoloLens-msp的昌伟哥哥
- HoloLens开发
- Hololens开发之HoloLens简介
- HoloLens开发学习笔记(一):HoloLens简介
- Hololens开发入门一:初识Hololens
- HoloLens开发学习笔记(一):HoloLens简介
- hololens模拟器开发
- Hololens开发资料总结
- Hololens开发环境配置
- HoloLens开发入门
- Hololens开发基础知识
- Hololens 开发环境搭建
- Unity Hololens开发教程
- HoloLens开发手记
- HoloLens开发手记
- HoloLens 开发总结
- Microsoft HoloLens开发入门
- Hololens开发(1)
- Hololens开发基础知识
- des算法java模拟实现
- java web
- C++位运算知识点
- linux命令记录,持续更新。
- 在IAR新建CC3200工程所需配置项
- HoloLens开发
- 二维数组中的查找
- TabLayout
- Block和协议
- Hibernate的关联映射(3)-单向1-N关联
- StringUtils源码
- JSP简介
- 客户端
- ARC自动引用计数和分类