LoginSignup
0
0

More than 1 year has passed since last update.

Azure Remote Rendering Showcase セットアップ手順 (2021.11)

Last updated at Posted at 2021-11-11

Overview

Azure Remote Rendering の Showcase アプリセットアップ手順について、
備忘録も兼ねて、書いておきたいと思います。

開発環境

  • Visual Studio 2019
  • Windows SDK 18362 +
  • Unity 2019.4.14f1

手順

(1) Showcase アプリを GitHub からクローンする

以下、コマンドを実行します。

mkdir ARR
cd ARR
git clone https://github.com/Azure/azure-remote-rendering
powershell -ExecutionPolicy RemoteSigned -File azure-remote-rendering\Scripts\DownloadUnityPackages.ps1

※ 最後のコマンドで依存パッケージをダウンロードし、
サブディレクトリを作成します。

(2) Unity で App を開く

以下、フォルダを Unity プロジェクトとして追加します。

フォルダパス : ARR/azure-remote-rendering/Unity/Showcase/App

image.png (45.0 kB)

追加できたら、Unity を立ち上げましょう。

(3) Switch Platform を実行

File > Build Settings ( Ctrl + Shift + B ) を立ち上げ、ターゲットプラットフォームに「Universal Windows Platform (UWP) 」を選択し、Switch Platform ボタンを押します。

image.png (93.8 kB)

(4) SampleScene を開く

ファイルパス : Assets/Scenes/SampleScene

image.png (395.3 kB)

(5) MRTK Configuration を開く

ヒエラルキーウィンドウから「MixedRealityToolkit」を選択

image.png (22.1 kB)

インスペクターウィンドウへ移動し、Extensions タブを選択

image.png (270.7 kB)

RemoteRenderingService configuration 配下の以下項目を入力

Azure Remote Rendering Domain
- Accound Id (アカウントID)
- Accound Domain (アカウントドメイン)
- Account Key (アカウントキー)

もし、独自のモデルを読み込みたい場合は、ARRアセットデータを含む Azure Storage の情報を RemoteRenderingService configuration へ入力

  • Storage Account Name
  • Storage Account Key
  • Storage Model Container

参考文献

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0