Microsoft HoloLens 開發(1): 搭建 HoloLens 開發環境


1.硬件配置

  • 64位 Windows 10 專業版, 企業版, or 教育版 (注: 家庭版不支持 Hyper-V 或者 HoloLens emulator)

  • 64位 CPU

  • 4核CPU (或者大於4核的多核CPU)

  • 8GB 內存 或者更多

  • 在BIOS中,必須支持並啟用以下功能:

    • Hardware-assisted virtualization
    • Second Level Address Translation (SLAT)
    • Hardware-based Data Execution Prevention (DEP)
  • GPU 

    • DirectX 11.0 或更高版本

    • WDDM 1.2 驅動程序或更高版本

 

2.相關設置

2.1 開啟虛擬化

功能 AMD 設置 Intel 設置
SLAT (Second Level Address Translation)

NP (Nested Page Tables)

RVI (Rapid Virtualization Indexing)

EPT (Extended Page Tables)
Hardware-assisted virtualization SVM (AMD support for hardware-assisted virtualization) VMX (Intel support for hardware-assisted virtualization)
Data Execution Prevention (DEP) NX (No Execute) XD (Execute Disable)

 

 

 

 

 

 

詳細操作請看:https://docs.microsoft.com/en-us/previous-versions/windows/desktop/apps/jj863509(v=vs.105)

 

2.2 開啟Hyper-V

打開 控制面板 -> 程序 -> 程序和功能 -> 打開和關閉系統功能 ,勾選 Hyper-V

 

3.軟件安裝

3.1 安裝Visual Studio 2017

 Visual Studio 2017 下載地址:https://www.visualstudio.com/zh-hans/downloads/

3.2 安裝HoloLens emulator

HoloLens模擬器 是在沒有實體HoloLens的情況下測試PC上的全息應用程序,並附帶HoloLens開發工具集。

HoloLens上的傳感器通常會讀取人類和環境輸入,而不是使用鍵盤,鼠標或Xbox控制器進行模擬。

HoloLens emulator 下載地址:https://docs.microsoft.com/zh-cn/windows/mixed-reality/hololens-emulator-archive

默認下一步安裝即可,如果沒有啟用Hyper-V安裝會報錯,電腦不支持 emulator 也會報錯。

3.3 安裝Unity

Unity 下載地址:https://unity3d.com/cn/get-unity/download

 

到此我們已經安裝完成 HoloLens 的開發環境,下一章我們將在Unity上創建項目並運行在HoloLens emulator上。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM