How to use the Kinect (Microsoft Drivers v. 1.5) with Unity 3D
Here is my current result for fun (The beginning is my own C++ version that doesnt involve unity) in a game where you can throw fireballs:After spending a while developing a little C++ library to use with the Microsoft Kinect Drivers (which Ive been meaning to release), I decided to try to integrate the Kinect functionality into the popular Unity 3D Game Development software.
I was pretty excited after finding the handy CMU package here. However, it only worked with the beta Microsoft SDK and didnt have some of the more advanced functionality that I needed. Im running version 1.5 hacked together a quick DLL and modified some code.
I use the Microsoft Kinect SDK Version 1.5 which I have available for download here.
The DLL source code can be found here in case you want to modify it for a different version.
The DLL itself (needed for the Kinect to work with Unity) can be found here and should be placed in your Microsoft SDK/Kinect folder like below:
C:Program FilesMicrosoft SDKsKinectv1.5AssembliesUnity
The scripts to control a player and receive information from the Kinect can be found here.
They are used the same way as the CMU ones but are slightly modified with a bit more error checking and some extra flags. All you have to do is follow the same instructions on the CMU page linked above which just involves enabling the Kinect and telling the KinectModelControllerV2 where your joints are. The movement flag is still in beta as Im trying to make it so the character can walk around.
I have a version that is entirely in C++ using OpenGL, FreeGlut, my own version of Blepo, and my own development libraries that is previewed in the beginning of the video that can be found here. It is what I do most of my testing in before I port it over to Unity.
Enjoy!
Consider donating to further my tinkering.
Places you can find me
Related Post:
computer
- Take a better selfie with Lily
- Free Lecture The Psychology of Computer Insecurity
- MOOC Research and Innovation
- Calculating Ada The Countess of Computing
- When can Quantum Annealing win
- Creating a templated Binary Search Tree Class in C
- Projecting without a projector sharing your smartphone content onto an arbitrary display
- Will a robot take your job
- Facebook Introduces ‘Hack ’ the programming language of the future
- High Resolution Scary Haunted House Wallpapers for Desktop
- TYBSC IT Sem V Question Papers 2009 Mumbai University
- Home automation update
- Very easy to download youtube videos audio mp3 format
- HD Dark Desktop Background Wallpapers Download
- Launching the Quantum Artificial Intelligence Lab
- Syrias children learn to code with the Raspberry Pi
- Running omxplayer from the command line easily using alias
- Largest collection of Google Logos on the web Set 7
- Collection of SQL queries with Answer and Output Set 2
- Prevent access to specific partition or drive
- Summer Games Learn to Program
- PiAUISuite Update and Voicecommand v3 1
- Sign in to edx org with Google and Facebook and
- Large Scale Machine Learning for Drug Discovery
- Hacker Tricks from Insiders A Threat to ERP Systems
3d
engine
- Berkeley Earth Maps Powered by Google Maps Engine now available in the Google Maps Gallery
- Map of Life A preview of how to evaluate species conservation with Google Earth Engine
- See through the clouds with Earth Engine and Sentinel 1 Data
- Google Flu Trends gets a brand new engine
- 2011 Nissan Murano gets Revised Front Styling Due to New Diesel Engine European Sales Start in September
0 comments:
Post a Comment