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.
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
Post Details
- Posted
- 8 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/OSVR/commen...