0
0

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.

QuestPassThrough/ パススルーのサンプルを動かす。

Last updated at Posted at 2022-02-02

環境

OS : windows10 pro
Unity 2020.3.27f1 LTS
OculusIntegration v37

注意点

adb shell setprop debug.oculus.experimentalEnabled 1
を、毎回やる必要がある。

QUESTの動画を撮る

Developer hubでできる。
保存場所:C:\Users\xxxx\AppData\Roaming\odh\captures

手順

1.プロジェクト作成
2.[PlayerSetting]-[XR Plugin Management ]
Install XR Plugin Management、AndroidタブからOculusにチェックを入れる。
image.png
image.png

3.[PlayerSetting]-[Player]-[OtherSetting]
[Rendering]-[ColorSpace]をLinearに変更する
[Rendering]-[Graphcis APIs]からVulkanを削除する
image.png

[Identification]-[Minimum API Level]をAndroid6.0以降にする
[Configuration]-[ScriptingBackend]-[IL2CPP]に変更する
[TargetArchitectures]をARM64のみにする

image.png

image.png

この設定をして、switch platformする

4.Oculus Integrationをimportする(重いです)
AvatorとlipSyncはチェック外すと軽くなります。
image.png

このあと、PluginUpgradeなどのダイアログがでる。全部YES更新する。
image.png
image.png
image.png
Unityを再起動をする。

  1. サンプルシーンを開く
    Assets/Oculus/SampleFramework/Usage/AugmentedObjectsを開く
    OVRCameraRigを選択して、OVRManagerでQuest Features > Generalの"Passthrough Capability Enabled"をオンにする
ファイル名 さらにExperimentalの"Experimental Feature Enabled"をオンにして、“Spatial Anchors Support"をEnabledにする ![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/555658/fe236381-ac3c-4699-fbe8-66c4d355bd48.png)

6.QUESTを接続、adbで次のコマンドを打つ。
adb shell setprop debug.oculus.experimentalEnabled 1

ご参考)
https://framesynthesis.jp/tech/unity/oculusquest/

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?