├── Docs └── Joint+Mapping.xlsx ├── 3rd Party ├── VrpnNet │ ├── x64 │ │ ├── Debug │ │ │ └── VrpnNet.dll │ │ └── Release │ │ │ └── VrpnNet.dll │ └── x86 │ │ ├── Debug │ │ └── VrpnNet.dll │ │ └── Release │ │ └── VrpnNet.dll └── EigenWrapper │ ├── x64 │ ├── Debug │ │ ├── EigenWrapper.dll │ │ └── NativeEigenWrapper.dll │ └── Release │ │ ├── EigenWrapper.dll │ │ └── NativeEigenWrapper.dll │ └── x86 │ ├── Debug │ ├── EigenWrapper.dll │ └── NativeEigenWrapper.dll │ └── Release │ ├── EigenWrapper.dll │ └── NativeEigenWrapper.dll ├── KinectWithVRServer ├── Joint Mapping.xlsx ├── Shaders │ ├── NoScalingEffect │ │ ├── NoScalingEffect.ps │ │ ├── NoScalingEffect.fx │ │ └── NoScalingEffectWrapper.cs │ ├── ColorDepthEffect │ │ ├── ColorDepthEffect.ps │ │ ├── ColorDepthEffect.fx │ │ └── ColorDepthEffectWrapper.cs │ ├── ColorScaleEffect │ │ ├── ColorScaleEffect.ps │ │ ├── ColorScaleEffect.fx │ │ └── ColorScaleEffectWrapper.cs │ └── DepthScalingEffect │ │ ├── DepthScalingEffect.ps │ │ ├── DepthScalingEffect.fx │ │ └── DepthScalingEffectWrapper.cs ├── app.config ├── Properties │ ├── Settings.settings │ ├── Settings.Designer.cs │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ └── Resources.resx ├── KinectV1Wrapper │ ├── KV1SettingsControl.xaml │ ├── KV1SdkTest.cs │ ├── KV1StatusHelper.cs │ ├── KV1SettingsControl.xaml.cs │ └── KV1Core.cs ├── KinectV2Wrapper │ ├── KV2SettingsControl.xaml │ ├── KV2SdkTest.cs │ ├── KV2StatusHelper.cs │ ├── KV2SettingsControl.xaml.cs │ ├── KV2Core.cs │ └── KV2Settings.cs ├── NetworkKinectWrapper │ ├── NKSettingsControl.xaml │ ├── NKAddDialog.xaml │ ├── NKSettingsControl.xaml.cs │ ├── NKAddDialog.xaml.cs │ ├── NKSettings.cs │ └── NKCore.cs ├── App.xaml ├── NativeInterop.cs ├── VerifyDLLs.cs ├── ConcurrentSkeletonCollection.cs ├── FeedbackCore.cs ├── ConsoleUI.cs ├── App.xaml.cs └── GestureRecognition │ ├── KMeans.cs │ └── GestureSettingsUserControl.xaml ├── KinectBase ├── IKinectSkeletonControl.cs ├── IKinectSettings.cs ├── Properties │ └── AssemblyInfo.cs ├── IKinectSettingsControl.cs ├── IKinectCore.cs ├── Enums.cs └── KinectBase.csproj ├── KinectV1Core ├── Properties │ └── AssemblyInfo.cs ├── KinectV1SkeletonControl.xaml.cs ├── KinectV1SkeletonControl.xaml ├── KinectV1StatusHelper.cs ├── AdvancedColorWindow.xaml └── KinectV1Core.csproj ├── KinectV2Core ├── Properties │ └── AssemblyInfo.cs ├── KinectV2SkeletonControl.xaml.cs ├── KinectV2SkeletonControl.xaml ├── KinectV2Settings.cs ├── KinectV2Core.csproj └── KinectV2StatusHelper.cs ├── NetworkKinectCore ├── Properties │ └── AssemblyInfo.cs ├── NetworkKinectCore.csproj ├── NetworkKinectSettings.cs └── NetworkKinectSettingsControl.xaml ├── Readme.md ├── .gitignore └── KinectWithVRServer.sln /Docs/Joint+Mapping.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vancegroup/KVR/HEAD/Docs/Joint+Mapping.xlsx -------------------------------------------------------------------------------- /3rd Party/VrpnNet/x64/Debug/VrpnNet.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vancegroup/KVR/HEAD/3rd Party/VrpnNet/x64/Debug/VrpnNet.dll -------------------------------------------------------------------------------- /3rd Party/VrpnNet/x86/Debug/VrpnNet.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vancegroup/KVR/HEAD/3rd Party/VrpnNet/x86/Debug/VrpnNet.dll -------------------------------------------------------------------------------- /KinectWithVRServer/Joint Mapping.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vancegroup/KVR/HEAD/KinectWithVRServer/Joint Mapping.xlsx -------------------------------------------------------------------------------- /3rd Party/VrpnNet/x64/Release/VrpnNet.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vancegroup/KVR/HEAD/3rd Party/VrpnNet/x64/Release/VrpnNet.dll -------------------------------------------------------------------------------- /3rd Party/VrpnNet/x86/Release/VrpnNet.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vancegroup/KVR/HEAD/3rd Party/VrpnNet/x86/Release/VrpnNet.dll -------------------------------------------------------------------------------- /3rd Party/EigenWrapper/x64/Debug/EigenWrapper.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vancegroup/KVR/HEAD/3rd Party/EigenWrapper/x64/Debug/EigenWrapper.dll -------------------------------------------------------------------------------- /3rd Party/EigenWrapper/x86/Debug/EigenWrapper.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vancegroup/KVR/HEAD/3rd Party/EigenWrapper/x86/Debug/EigenWrapper.dll -------------------------------------------------------------------------------- /3rd Party/EigenWrapper/x64/Release/EigenWrapper.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vancegroup/KVR/HEAD/3rd Party/EigenWrapper/x64/Release/EigenWrapper.dll -------------------------------------------------------------------------------- /3rd Party/EigenWrapper/x86/Release/EigenWrapper.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vancegroup/KVR/HEAD/3rd Party/EigenWrapper/x86/Release/EigenWrapper.dll -------------------------------------------------------------------------------- /3rd Party/EigenWrapper/x64/Debug/NativeEigenWrapper.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vancegroup/KVR/HEAD/3rd Party/EigenWrapper/x64/Debug/NativeEigenWrapper.dll -------------------------------------------------------------------------------- /3rd Party/EigenWrapper/x86/Debug/NativeEigenWrapper.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vancegroup/KVR/HEAD/3rd Party/EigenWrapper/x86/Debug/NativeEigenWrapper.dll -------------------------------------------------------------------------------- /3rd Party/EigenWrapper/x64/Release/NativeEigenWrapper.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vancegroup/KVR/HEAD/3rd Party/EigenWrapper/x64/Release/NativeEigenWrapper.dll -------------------------------------------------------------------------------- /3rd Party/EigenWrapper/x86/Release/NativeEigenWrapper.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vancegroup/KVR/HEAD/3rd Party/EigenWrapper/x86/Release/NativeEigenWrapper.dll -------------------------------------------------------------------------------- /KinectWithVRServer/Shaders/NoScalingEffect/NoScalingEffect.ps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vancegroup/KVR/HEAD/KinectWithVRServer/Shaders/NoScalingEffect/NoScalingEffect.ps -------------------------------------------------------------------------------- /KinectWithVRServer/Shaders/ColorDepthEffect/ColorDepthEffect.ps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vancegroup/KVR/HEAD/KinectWithVRServer/Shaders/ColorDepthEffect/ColorDepthEffect.ps -------------------------------------------------------------------------------- /KinectWithVRServer/Shaders/ColorScaleEffect/ColorScaleEffect.ps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vancegroup/KVR/HEAD/KinectWithVRServer/Shaders/ColorScaleEffect/ColorScaleEffect.ps -------------------------------------------------------------------------------- /KinectWithVRServer/Shaders/DepthScalingEffect/DepthScalingEffect.ps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vancegroup/KVR/HEAD/KinectWithVRServer/Shaders/DepthScalingEffect/DepthScalingEffect.ps -------------------------------------------------------------------------------- /KinectWithVRServer/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /KinectWithVRServer/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /KinectBase/IKinectSkeletonControl.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace KinectBase 8 | { 9 | public interface IKinectSkeletonControl 10 | { 11 | int? kinectID { get; } 12 | KinectVersion version { get; } 13 | string uniqueKinectID { get; } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /KinectWithVRServer/Shaders/NoScalingEffect/NoScalingEffect.fx: -------------------------------------------------------------------------------- 1 | sampler2D input : register(s0); 2 | 3 | float4 main(float2 uv : TEXCOORD) : COLOR 4 | { 5 | //Get the original pixel color 6 | float4 inColor = tex2D(input, uv); 7 | 8 | //Unpack the data and convert to 16-bit grayscale 9 | float temp = (inColor.g * 255.0 + inColor.b) / 256.0; 10 | temp = clamp(temp, 0, 1); 11 | 12 | //We aren't doing any shading in this case, so just return the original image color 13 | return float4(temp, temp, temp, 1.0); 14 | } -------------------------------------------------------------------------------- /KinectWithVRServer/Shaders/DepthScalingEffect/DepthScalingEffect.fx: -------------------------------------------------------------------------------- 1 | sampler2D input : register(s0); 2 | float minimum : register(c0); 3 | float maximum : register(c1); 4 | 5 | float4 main(float2 uv : TEXCOORD) : COLOR 6 | { 7 | float4 inColor = tex2D(input, uv); 8 | 9 | //Unpack the data and convert to 16-bit grayscale 10 | float temp = (inColor.g * 255.0 + inColor.b) / 256.0; 11 | 12 | //Scale the image so it fills the full range 13 | float range = maximum - minimum; 14 | float temp2 = clamp((temp - minimum) / range, 0, 1); 15 | 16 | return float4(temp2, temp2, temp2, 1.0); 17 | } -------------------------------------------------------------------------------- /KinectWithVRServer/KinectV1Wrapper/KV1SettingsControl.xaml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /KinectWithVRServer/KinectV2Wrapper/KV2SettingsControl.xaml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /KinectWithVRServer/NetworkKinectWrapper/NKSettingsControl.xaml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /KinectWithVRServer/KinectV2Wrapper/KV2SdkTest.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using KinectV2Core; 7 | 8 | namespace KinectWithVRServer.KinectV2Wrapper 9 | { 10 | internal class KV2SdkTest 11 | { 12 | internal static bool IsSDKWorking() 13 | { 14 | bool SDKWorks = false; 15 | 16 | try 17 | { 18 | KinectV2StatusHelper.TestKinectSDK(); 19 | SDKWorks = true; 20 | } 21 | catch { } 22 | 23 | return SDKWorks; 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /KinectWithVRServer/App.xaml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /KinectWithVRServer/KinectV1Wrapper/KV1SdkTest.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using KinectV1Core; 7 | 8 | namespace KinectWithVRServer.KinectV1Wrapper 9 | { 10 | internal class KV1SdkTest 11 | { 12 | internal static bool IsSDKWorking() 13 | { 14 | bool SDKWorks = false; 15 | 16 | try 17 | { 18 | KinectV1StatusEventArgs[] statuses = KinectV1StatusHelper.GetAllKinectsStatus(); 19 | SDKWorks = true; 20 | } 21 | catch { } 22 | 23 | return SDKWorks; 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /KinectBase/IKinectSettings.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace KinectBase 8 | { 9 | public interface IKinectSettings 10 | { 11 | //All the Kinect cores need these properties so we can figure out what's what 12 | int kinectID { get; set; } 13 | KinectVersion version { get; } 14 | string uniqueKinectID { get; set; } 15 | bool mergeSkeletons { get; set; } 16 | } 17 | 18 | public class KinectSettingsComparer : IComparer 19 | { 20 | public int Compare(IKinectSettings x, IKinectSettings y) 21 | { 22 | return x.kinectID.CompareTo(y.kinectID); 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /KinectWithVRServer/NetworkKinectWrapper/NKAddDialog.xaml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 |