Hololens開發初級 系列 1-安裝開發環境
官方
//本文是對上面文章的簡單翻譯及實踐記錄, 英文OK的話,直接去看官網更好。 目錄
1 作業系統和硬體要求 2 開發環境清單 3 作業系統 4 Visual studio 2017 Community 5 安裝 HoloLens Emulator 6 Unity5.6 7 Vuforia
1 作業系統和硬體要求
開發推薦PC硬體設定 處理器 Intel Desktop i7 (6+ Core) 或者 AMD Ryzen 7 1700 (6 Core, 12 threads) GPU NVIDIA GTX 980/1060, AMD Radeon RX 480 (2GB) 及更高支援DX12 的 GPU WDDM 2.2 driver Thermal Design Power: 15W or greater Display Headset connectors: 1x available graphics display port for headset (HDMI 1.4 or DisplayPort 1.2 for 60Hz headsets, HDMI 2.0 or DisplayPort 1.2 for 90Hz headsets) Resolution: SVGA (800x600) or greater Bit depth: 32 bits of color per pixel 記憶體: >16 GB 硬碟: >10 GB 可用空間。 串連性: USB:USB (USB 3.0 Type-A) Note: USB must supply a minimum of 900mA Bluetooth 4.0 (for accessory connectivity)
HoloLens 模擬器 系統需求 64-bit Windows 10 Pro, Enterprise, or Education (The Home edition does not support Hyper-V or the HoloLens emulator) 64-bit CPU CPU with 4 cores (or multiple CPU’s with a total of 4 cores) 8 GB of RAM or more 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 確認Hyper-V啟用
控制台->程式->程式和功能->啟用或關閉Windows功能->”Hyper-V”選中
2 開發環境清單
1 作業系統
64-bit Windows 10 Pro, Enterprise, or Education(The Home edition does not support Hyper-V or the HoloLens emulator)
下載安裝Window10 - https://www.microsoft.com/zh-cn/software-download/windows10 2 Visual studio 2017 Community
下載:https://developer.microsoft.com/en-us/windows/downloads
安裝時需要勾選如下2項:
Universal Windows Platform development
Game Development with Unity 3 安裝 HoloLens Emulator
下載安裝:http://go.microsoft.com/fwlink/?LinkID=823018
VisualStudio 2017 需要修改註冊表
//如果安裝過程中間卡住了, 你可以先停掉安裝,先去修改註冊表,然後再繼續安裝。
Add or locate this key: HKLM\SOFTWARE\ Microsoft\Analog
Add a REG_SZ value in that key with name: “OverrideHoloLensSDKPrerequisites”, and value: “TRUE”
If you are on an x64 version of Windows, Add or locate this key: HKLM\SOFTWARE\Wow6432Node\Microsoft\Analog Add a REG_SZ value in that key with name: “OverrideHoloLensSDKPrerequisites”, and value: “TRUE” 4 Unity5.6
下載安裝:https://store.unity.com/download
//另有文章專門介紹unity安裝 5 Vuforia
Vuforia是一款AR物體識別引擎,Vuforia把AR引擎作為一個package供Unity開發人員使用,這邊先下載下來,後續會用到。
下載Vuforia for Unity:https://developer.vuforia.com/downloads/sdk 6 HoloToolKit
HoloToolKit是快速建立HoloGraphic Project的工具,提供了很多開發中用到的工具,Holotoolkit作為一個package供Unity開發人員使用,這邊先下載下來,後續會用到。
下載:https://github.com/Microsoft/HoloToolkit-Unity/releases