Software Archive
Read-only legacy content
17061 Discussions

A guide to building in Unity a simplified version of the 'Send Message' hand-tracking sample program

MartyG
Honored Contributor III
664 Views

Hi everyone,

My company has written a new guide to using the RealSense camera in Unity.  This time, we use the 'TrackingAction' script to build from scratch a simplified version of the 'Send Message' SDK program sample that leaves out the messaging part and focuses just on the hand-tracking function and moving an object around the screen with hand motions.

http://sambiglyon.org/?q=node/1308

- Marty

0 Kudos
5 Replies
Colleen_C_Intel
Employee
664 Views

Thanks again Marty!  We love your contributions.  I've added this to your initial (yellow sticky at top of posts) message and to the Unity Tips and Tricks blog. 

0 Kudos
MartyG
Honored Contributor III
664 Views

Thanks so much, Colleen - I appreciate it very much!

0 Kudos
MartyG
Honored Contributor III
664 Views

A second chapter has been added to the guide today that shows how to use the 'TrackingAction' script to create a basic model of a movable and bendable two-section finger.

0 Kudos
Richard_F_2
Beginner
664 Views

Just wanted to chime in that you can get the SDK working with the free version of Unity.  I followed the instructions from this blog post: http://ericeastwood.com/blog/17/unity-and-dlls-c-managed-and-c-unmanaged and got it working.  Mostly.  It will not work in the editor, you have to build the application and copy the DLL like it mentions in the post, but it does work.  I've tested the gestures extensively without issues (beyond swipe being a jerk and not working reliably anywhere) and started doing some verbal command testing as well.

The big thing to keep in mind is that you have to rebuild the RealSense DLLs to target .Net 3.5.  If you leave them at the target of 4.0 bad things happen.  I'll try to come up with a comprehensive tutorial later this week.

0 Kudos
MartyG
Honored Contributor III
664 Views

Awesome, Richard, thanks!  

It reminds me of how mirror reflections (e.g a reflection of an avatar standing in front of a mirror) are a feature of Unity Pro, yet someone worked out how to produce a similar effect using the free version and sold it on the Unity Asset Store for about $10.  Necessity is definitely the mother of invention!  :)

0 Kudos
Reply