Unity Web Cam Sample

by Sushisushi-sandesu
+

Sample project for displaying webcam image in Unity.

( Updated 2 hours ago )

UnityWebCamSample (Updated)

How to use the code

The first 4 steps are exactly the same as written in the "instructions on setting up development environment" issue:

  1. Download and install Unity 5.1.2 for Mac at Unity Downloads.
  2. Go to Oculus Developer Downloads. Download and install
    1. For Runtime, download Oculus Runtime for OS X V0.5.0.1-beta here;
    2. For SDK, download Oculus SDK for OS X 0.5.0.1-beta here;
    3. Now we don't need to download "Engine Integration" since Leep Motion SDK comes with one.
  3. Download and install Leap Motion SDK for OSX
  4. Install Unity, Oculus SDK and Runtime.

  1. After the installation of Unity. Clone this repository
    $ git clone https://github.com/Sushisushi-sandesu/UnityWebCamSample
    $ cd UnityWebCamSample
  1. Open Unity. At the welcome window, click "Open Other".
  2. Switch to the cloned projects directory, then click "open".
  3. Now, since the Leap Motion's assets are excluded from the repo, we need to download the assets. Go to "Asset Store", search for "Leap Motion Core Assets", then click "import". When asked to update the APIs, click "I made a backup. Go ahead".
  4. Now the project should be able to build.