12
14

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

OculusQuest2(Quest1)でパススルー

Last updated at Posted at 2021-08-15

0.背景

OculusQuest2に試験的機能として
ビデオパススルーが試験実装されました。
動かすまで地雷踏みまくったので
2021.8.16現在での個人的忘備録も兼ねたこれが最短かもしれない導入方法。

1.環境準備

・unity2020.1.17f1(unity2020.3LTSでも確認)
・上記unityインストール時にAndroidサポート一式※▽収納開いて確認すること!!
・OculusQuest2(v31)、Quest1でも可能らしい(未検証)
・adbが使える前提

2.設定

1.Androidにスイッチプラットフォーム
2.playersettingから
 ・カラーをGammaからLinner
 ・mono2からIL2CPP
 ・vulkan削除
 ・ARM64にチェック
 ・showSplushImageにチェック(unitypro,plusの場合)
 ・XR-manegementのOculusにチェック

3.OculusIntegration 31導入

1.アセットストアからOculusIntegration31をインポート
※インポート後にアップグレードなど聞かれるので良しなに

4.ビルド

1.sampleframework/passthoughから適当なシーンを開く
(ARシーンが分かりやすくお勧め)
2.OVRCamera→Experienceにチェック
→passthoughCallibrationチェック
→passthroughにチェック
3.ビルド
※XRmanegimentがねえよとか言われるかもなので
パッケージマネージャから入れる

5.Quest2にインストール&Quest環境設定

・adb shell setprop debug.oculus.experimentalEnabled 1
※Quest2を起動するたびにこのコマンドが必要です。

6.遊ぶ

12
14
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
12
14

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?