Kinect 4 Windows v2.0 Plugin

Hello,

Here’s a quick step by step on how to compile the plugin.

Requirements :
-Windows 8.1 64 bits. The Kinect For Windows SDK 2.0 DOES NOT work on Windows 7.
-Kinect For Windows SDK 2.0 : http://www.microsoft.com/en-us/download/details.aspx?id=43661 : BE CAREFUL. Microsoft pushed a new version (1409) mid-september and you need it.
-USB 3.0. And only a few controllers are recognized such as Intel’s or Renesas’
-Kinect For Windows 2
-Visual 2013
-June 2010 DX Runtime : http://www.microsoft.com/en-us/download/details.aspx?id=8109

Once everything is installed, plug Kinect and launch the Kinect Samples Browser.
Look for Body Basics D2D and click on run. If your skeleton does not appear while you’re in front of Kinect, it means your Kinect is not working.
It’s no use to move further.

Now to compile :

I - You already have the sources of the engine
1)Get Lion’s plugin from his GitHub : https://github.com/lion03/UE4-K4W-Plugin/tree/KinectV2Plugin-4.4
2)Copy the folder KinectV2 from the folder Engine/Plugins into your own folder Engine/Plugins. If you already had a previous version, delete the entire existing KinectV2 folder first.
3)Run the batch “GenerateProjectFiles.bat”. It will parse all the news files and update the solution
4)Choose the Development configuration and the x64 platform
5)Build
6)Copy Kinect20.VisualGestureBuilder.dll from C:\Program Files\Microsoft SDKs\Kinect\v2.0-PublicPreview1409\Redist\VGB\x64 into …\GitHub\UnrealEngine\Engine\Binaries\Win64

II - You don’t have the sources of the engine
1)It’s going to be faster to use Lion’s entire branch so get it from GitHub :
https://github.com/lion03/UE4-K4W-Plugin/tree/KinectV2Plugin-4.4
2)Download the two dependencies :
https://github.com/EpicGames/UnrealEngine/releases/download/4.4.0-release/Required_1of2.
and
https://github.com/EpicGames/UnrealEngine/releases/download/4.4.0-release/Required_2of2.
3)Unzip them where you placed the sources.
4)Run the batch GenerateProjectFiles.bat. It will generate the solution.
5)Open the solution with VS2013
6)Choose the Development configuration and the x64 platform
7)Build
8)Your custom build of UE will be located in Engine\Binaries\Win64
9)Copy Kinect20.VisualGestureBuilder.dll from C:\Program Files\Microsoft SDKs\Kinect\v2.0-PublicPreview1409\Redist\VGB\x64 into Engine\Binaries\Win64