Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

14
Leap Motion PinchDraw Demo Compiled for OSVR with Bonus Features
Post Flair (click to view more posts with a particular flair)
Post Body

Yesterday it was pointed out that there weren't really any playable demos for OSVR with Leap Motion.

So last night I started working on compiling the standard Leap Motion PinchDraw demo with the OSVR ClientKit.

I borrowed some code from my main Leap Motion project to add buttons that let you change the drawing color with a palette that sits in front of you. The square button on the side of this palette erases all drawings.

On the right, there is another set of buttons that change the background scene (all from the Unity Asset Store.)

Note that this was thrown together extremely quickly and is likely to contain glitches. The scene change especially is hacked together; I will later change the backgrounds more efficiently rather than loading and unloading Unity scenes. If head tracking disappears on scene change, restart the app. The button collision is also super janky and will be updated. I'm hoping to at some point add an undo feature, an option to select handedness (so that you can choose to only draw with one hand at a time and use the other for options) and the ability to walk around so you can view your drawings in full 3D.

Also note that you will probably want to disable positional tracking; if your hand gets in the way of your camera it will mess up your drawing, and even if it doesn't any jitter/coasting will be frustrating while trying to draw.

Screenshot: http://imgur.com/ZTBwbC6


Most recent download link:

https://drive.google.com/open?id=0B8CpkaBtOe3wcmVkZFlaN1BsYm8

Author
Account Strength
90%
Account Age
13 years
Verified Email
Yes
Verified Flair
No
Total Karma
3,218
Link Karma
162
Comment Karma
3,056
Profile updated: 5 days ago
Posts updated: 8 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
8 years ago