Upgrade to Pro — share decks privately, control downloads, hide ads and more …

UE4でOculus Go してみる / OculusGo-For-UE4-And-VTuber-Intro

UE4でOculus Go してみる / OculusGo-For-UE4-And-VTuber-Intro

札幌HoloLens ミートアップ vol.2 ~夏編~にて使用した資料です

shop_0761

July 21, 2018
Tweet

More Decks by shop_0761

Other Decks in Technology

Transcript

  1. 自己紹介 てんちょー Twitter: shop_0761 • UE4 + VRがすきでUnityもする絵ンジニア(?) • 2018/5/16に SHOWROOM

    Tech Labに就職 • 東雲めぐ、まぐろなちゃんあたりをよく見ます
  2. 忘れがちな設定 • Minimum SDK Version: 19 • Target SDK Version:

    19 • Enable Full Screen Immersive on KitKat above devices: True • Configure the Android Manifest for deployment to Oculus Devices: True
  3. 忘れがちな設定 • Minimum SDK Version: 19 • Target SDK Version:

    19 • Enable Full Screen Immersive on KitKat above devices: True • Configure the Android Manifest for deployment to Oculus Devices: True
  4. 設定してない時に起こる症状 • Is Head Mounted Display Enabled == false •

    Get HMD Device Name == null • そもそもトラッキングされない • そもそも描画がおかしい なんでや!!と思って 1人でハマっていた
  5. 参考値 • 60 FPS (minimum required by Oculus Store) ,

    or 72 FPS • 50-100 draw calls per frame • 50,000-100,000 triangles or vertices per frame
  6. Fixed Foveated Rendering (FFR) 固定中心窩(ちゅうしんか)レンダリング Multires は Multi Resolution かな

    目が悪いのかHighにしても よくわからんので Highでもよさそう
  7. Mobile Multi-View / Direct (Multi-View自体はUE4.14~) ※要Shader Recompile Mobile 版の Instance

    Stereo Rendering みたいなもの Directも一緒に有効にすることが推奨されている console output(stat fpsなど) を見るには Debug Canvas Layer を enable に https://developer.oculus.com/documentation/unreal/latest/concepts/unreal-multi-view/
  8. Mobile Multi-View / Direct (Multi-View自体はUE4.14~) ※要Shader Recompile ひょっとしたら真っ暗で見えないかも → Mobile

    HDR を切ると動くかもしれない https://forums.unrealengine.com/development-discussion/vr-ar-development/1483986-oculus-go-multiview-multiview-direct-not-working
  9. Hybrid Monoscopic Rendering (UE4.15~) ※要Shader Recompile 割と前からあるけどあんまり話題にならない気がする子 transparent / additive

    なMaterial は挙動が怪しいので注意 Mobile HDRを無効にして使う http://api.unrealengine.com/JPN/Platforms/VR/MonoFarFieldRendering/
  10. ざっくり要約 • ビルド済みアプリをGoに入れとく • USBでつなぐ && 開発者モードにする • Set ADB

    Path を適切な位置に • アプリ実行 → Start Capture 実質下2つだけで済みそう(済んだ
  11. ざっくり紹介 2D: facerig が多い 3D: Rift + touch / Vive

    + Vive Tracker Neuron / KiLA 便利なやつ Final IK(Unity), Orion (Unity, UE4)