Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
HoloLensハンズオン(セットアップ) 2018年2月版
Search
HoloLab
March 06, 2018
Programming
130
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
HoloLensハンズオン(セットアップ) 2018年2月版
HoloLab
March 06, 2018
More Decks by HoloLab
See All by HoloLab
2021年のふりかえり / hololab-2021
hololab
1
1.9k
日本建築学会 情報シンポ2021 / AIJISA 2021
hololab
1
300
AR/VR/MRと3次元/BIMの取り組みご紹介 / SPAR2021
hololab
0
300
HoloLensで変わる行動のカタチ / Tech-on MeetUp Online 7
hololab
0
780
XR Kaigi 2021 ホロラボでのHoloLens 2アプリ 開発事例紹介 / XR Kaigi 2021
hololab
0
2.5k
HoloLensコミュニティ HoloMagiciansのご紹介 / DevRel Japan CONFERENCE
hololab
0
160
Azure Remote Renderingを活用した mixpace Remote Renderingのご紹介 / msdd2021 mrr
hololab
0
2.1k
第8回 全日本コンピュータビジョン勉強会 / Japan CV
hololab
0
1.2k
リモートワークの課題をモブワークで解決する試み / Scrum Fest Osaka
hololab
1
2.8k
Other Decks in Programming
See All in Programming
ハーネス設計入門 〜 基礎知識の整理から実務へのステップアップ 〜
kinopeee
28
32k
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
170
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
150
Next.js: The final boss of Web Performance
guaca
0
250
すこし踏み込む CancellationToken
htkym
2
1.7k
SalesForceを内製化!? ~ HR事業を支える顧客管理基盤のインフラを大公開 ~
oku053
0
180
golang-bob.pdf
iwatsukayura
0
130
複雑なUIコンポーネントとの ⻑い付き合い⽅:波及するバグからテスト戦略を経て、安全な再設計へ
mixplace
0
410
Vue Fes Japan の “作る側”に関わってみて
naokihaba
0
160
Agentic Software Factoryに、すごく賢いIF文を。 / super smart IF statement into the Agentic Software Factory.
rkaga
8
2.2k
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
1.2k
AmebaブログはKMPから卒業します
kmars0605
0
180
Featured
See All Featured
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
The Pragmatic Product Professional
lauravandoore
37
7.5k
sira's awesome portfolio website redesign presentation
elsirapls
0
450
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
850
Reflections from 52 weeks, 52 projects
jeffersonlam
356
22k
Designing for Timeless Needs
cassininazir
1
530
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
460
The SEO identity crisis: Don't let AI make you average
varn
0
590
The SEO Collaboration Effect
kristinabergwall1
1
590
Test your architecture with Archunit
thirion
2
2.4k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
440
How to make the Groovebox
asonas
2
2.5k
Transcript
HoloLensアプリ開発環境 セットアップ Unity 2017.2.0f3, Visual Studio 2017 15.5.6対応 最終更新日 2018/02/13
株式会社ホロラボ HoloLab Inc.
事前準備 • HoloLens実機 • HoloLensに[Holographic Remoting]アプリをインストール • HoloLensのストアからアクセスした場合のみインストールできます • 開発PC
• Windows 10(Home/Pro) • Unity 2017.2.0f3(固定)のインストール(Personal可) • アーカイブページからダウンロードします。 • 必須項目:Windows Store .NET Scripting Backend • Visual Studio 2017 15.5.6 以降のインストール(Community可) • MSDNサブスクリプションや「Visual Studio Dev Essentials」から取得します。 • 必須項目:ユニバーサル Windows アプリ開発ツール • MixedRealityToolkitのダウンロード • HoloToolkit-Unity-2017.2.1.0 • Unityのバージョンに合ったMRTKバージョンを選択します HoloLab Inc.
注意事項 • 当日に環境で詰まらないように、一度実機動作までおこなって みてください(このスライドの最後まで実施すればOK) HoloLab Inc.
1.Unityのインストール HoloLab Inc.
Unityのインストール(1) 1. インストーラからインストールを進めます。
Unityのインストール(2) 1. インストールするコンポーネントの選択で「 Windows Store .NET Scripting Backend 」を選択します。
2.Visual Studioのインストール HoloLab Inc.
Visual Studioのインストール(1) 1. インストーラからインストールを進めます。
Visual Studioのインストール(2) 1. ワークロードで [ユニバーサル Windows プラットフォーム開発] にチェックします。 2. この画面が見つからない場合
には、Visual Studioインス トール後に [コントロール パネル] – [プロ グラム] – [プログラムのアン インストール] – [Visual Studio 2017] – [変更] をクリックし表示します。
Visual Studioのインストール(3) 1. ワークロードで [Unityによるゲーム開発] にチェックします。
Visual Studioのインストール(4) 1. オプションの [Unity 2017.2 64 ビット エディター] のチェックを外します。
4.ビルドまでを確認 HoloLab Inc.
Unityプロジェクトの作成(1) 1. Unityを起動し[New]をクリックします。
Unityプロジェクトの作成(2) 1. プロジェクト名を入力しま す。 2. プロジェクトのフォルダを 選択します。 3. 3Dにチェックします。 4.
[Create Project]をクリック します。
Unityプロジェクトの作成(3) Unity Editor の更新ウィンドウ が表示された場合: 1. [Skip new version] をク
リックします。
Unityプロジェクトの作成(4) プロジェクトが作成されました。
1. メニューの [Edit|Preferences] から [Unity Preferences] を開きます。 2. [External Tools]
の [External Script Editor] が [Visual Studio 2017] になっていることを確認します。 スクリプトエディターの確認(1)
シーンの保存(1) 1. メニューの [File | Save Scenes]または [Ctrl+S] でシーンを保存します。
1. メニューの [File | Build Settings] または [Shift+Ctrl+B] で Build
Settings 画面を表示します。 2. [Add Open Scenes] ボタンで先ほど保存したシーンを追加します。 3. “Platform” で [Universal Windows Platform] を選択します。 • この項目がない場合は Unity の “Windows Store .NET Scripting Backend” がインストールされていない可能性があり ます。「Unityのインストール」の項を再度確認してください。 4. [Switch Platform] ボタンを押します。 • [Universal Windows Platform] に Unity アイコンが移動します。 5. “Target device” を [HoloLens] にします。 6. “SDK” を [Latest installed] にします。 • (2018/2/13 現在) 10.0.16299.0 が選択されます。 UWP出力の確認(1)
1. “Build Settings” 画面の [Player Settings] を押します。 2. “Inspector” の
“Other Settings” にある “Scripting Backend” が [.NET] であることを確認します。 UWP出力の確認(2)
UWP出力の確認(3) 1. “Build Settings” 画面の [Build] ボタンを押すと “フォルダの選択” ダイアログが表示されます。 2.
[新しいフォルダー] ボタンからフォルダーを作成し “UWP” とつけます。 3. [フォルダーの選択ボタン] ボタンを押します。
UWP出力の確認(4) 1. UWP 出力が開始されます。 2. UWP フォルダに Visual Studio 用のファイルが作成されます。
• ファイルが作成されない場合は、Visual Studioの [ユニバーサル Windows プラットフォーム開発] が インストールされていない可能性があります。「2.Visual Studioのインストール」を再度確認してください。
Visual Studioでのビルド(1) 1. UWP フォルダ内に作成された “.sln ファイル” を Visual Studio
で開きます。
Visual Studioでのビルド(2) 1. Windows 10が開発者モードになっていない場合は、開発者モードへの変更を促されます。
Visual Studioでのビルド(3) 1. ビルド設定を [Release] 、[x86] 、[Device] に設定します。
Visual Studioでのビルド(4) 1. メニューの [ビルド | ソリューションのビルド] または [Shift+Ctrl+B] でビルドを行います。
2. ビルドが正常終了すればOKです。
Visual Studioでのビルド(5) 1. [Device] ボタンを押して実行します。HoloLens 実機がない場合には [ローカルコンピューター] にします。 • HoloLens
を PC に USB 接続しておく必要があります。
Visual Studioでのビルド(6) 1. 初回のみVisual StudioとHoloLensでペアリングを求められます。 2. HoloLens側でペアリング用のコードの表示方法は下記動画を参照してください。 https://www.youtube.com/watch?v=JzzjKo0Aqk0&feature=youtu.be
Visual Studioでのビルド(7) 1. HoloLens上でアプリが起動すればOKです。 • 設定を行っていないでの、2Dの画面が表示されます。
Visual Studioでのビルド(8) 1. “マイコードのみに関する警告” ウィンドウが表示される場合は [デバッグの続行] をクリックして進めてくだ さい。
5.MixedRealityToolkitの取得 HoloLab Inc.
MixedRealityToolkitの取得 1. https://github.com/Microsoft/MixedRealityToolkit-Unity/releases/tag/2017.2.1.0 から [HoloToolkit-Unity-2017.2.1.0.unitypackage] をダウンロードします。
HoloLab Inc. http://hololab.co.jp/