GithubHelp home page GithubHelp logo

oculusriftdk2extendpreview's Introduction

#OculusRiftDK2ExtendPreview

OculusRift DK2を使ったコンテンツをUnityで作っているとき、「拡張ディスプレイ扱いのDK2側に、今のシーンを全画面表示したい」 ことが良くあります。 そんな感じの事を行うUnityのエディタ拡張スクリプトを先人が書いていた(DK1用)ので、それをアップデートしました。

#Setup

  1. OculusConfiguratiom UtilityでDK2をExtendModeにします。

DK2をメイン画面の右側(複数モニタ環境なら一番右)に配置します

  1. Unity上でAssets→ImportPackage→CustumPackage→ "DK2ExtendPreview.unitypackage"を既存プロジェクトに追加。

#Usage

  1. UnityEditor上でWindow → Rift VR Game Modeをクリック。GameViewが消滅して、RiftModeというウィンドウが出来ていることを確認
  2. RiftModeウィンドウを出したまま、普通にUnity上で再生ボタンを押す
  3. シーン再生中にEscを押すと通常ウィンドウに復帰

#Environment

  • Windows 7-8.1
  • OculusRiftDK2:ExtendMode
  • Unity:4.5.2- 4.6.1
  • OVRSDK 0.4.2-0.4.4
  • OculusRuntime 0.4.2-0.4.4

#Document

解説及び詳細説明 @izm http://izm-11.hatenablog.com/entry/2014/08/13/183846

他の有料アセットとの動作比較及びUnity4.6での動作検証 @cubic9com http://cubic9.com/Devel/OculusRift/Extend%A5%E2%A1%BC%A5%C9%A4%AB%A4%C4Unity%A4%CE%A5%D7%A5%EC%A5%A4%A5%E2%A1%BC%A5%C9%BB%FE%A4%CBRift%C2%A6%A4%CB%C9%BD%BC%A8%A4%B9%A4%EB/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.