Git Product home page Git Product logo

cardboardvr-leap's Introduction

CardboardVR-Leap

Unity project demonstrating VR using TrinusVR + OpenTrack Redirect, plus Leap Orion (for Oculus) for hand tracking.

This works great for testing VR/AR experiences without expensive hardware (looking at you Oculus).

UDP receiver, Head tracking script, and example scene is forked from: https://github.com/marcteys/unityFaceTracking

Setup and Debugging

  1. Install TrinusVR on your desktop and Android device: http://trinusvr.com/
  2. Open the Unity project and import the core leap assets: https://developer.leapmotion.com/unity?id=unity5-core-assets
  3. Open the MainScene
  4. Start TrinusVR, load the configuration file TrackingConfig\TrinusVR\default.cfg
  5. Adjust inversion and sensitivity settings, and ensure Sensor Output is set to OpenTrack Redirect
  6. Start TrinusVR app on the Android device, and connect the desktop application
  7. Build & Run!

Implementing Head Tracking

To implement head tracking in an existing project, simply add the Client script to your scene, then the FaceTrackMovement script to your camera.

Implementing Leap Hand Tracking

Add the Leap VR Camera Control script to your camera, then add the LeapSpace prefab as a child to your camera (or simply copy it from one of the example scenes).

Troubleshooting

If you start the demo by looking at the ground or sky, adjust the Yaw Compensation in the FaceTracking script. You may also need to adjust the inversion and sensitivity in TrinusVR's Sensors tab.

cardboardvr-leap's People

Contributors

lkuich avatar

Watchers

 avatar

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.