Oculus DK2 and Leap Motion VR Demo

Hey check out my latest VR demo using the Oculus Rift DK2 with the leap motion for hand tracking in VR:

You can download the binaries and try it out for yourself! At the moment there is a bug that stops the leap service after the program runs, so I’ve included a batch file you can run to restart the service. It will probably work with a DK1 or DK2, though I’ve only tested it with the DK2 Rift. The rift should be set up in extended mode as the secondary display for this project to work. If everything looks “inside out”, change the line:

culling = back

to be:

culling = front

In the file vrgame.properties in the Content folder. You can also run the demo in non-vr mode by editing the settings in this file

The demo is coded in C++ using my custom engine (BGE). Source code can be downloaded from my git repo by running the following command:

git clone https://github.com/skooter500/BGE

You also need to get the Dependencies and unzip them into the Solution folder so your directory structure for the project should be:

Untitled

5 thoughts on “Oculus DK2 and Leap Motion VR Demo

  1. eirepreneur

    Great stuff Bryan. Our DK1 is definitely feeling a bit outdated at this stage and we’re impatiently waiting on the DK2. Is it a massive difference?

    By the way, there’s a newly formed Virtual Reality meetup group in Dublin called 3Dcamp. First event will be soon. It’d be great to see you there.

    Reply
  2. connan

    Hi Bryan, got my LM today and wanted to try your demo with my DK2 but unfortunately the binary download seems to be broken. Any suggestions?

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s