├── DirectXSceneStore ├── Assets │ ├── bounce.wav │ ├── cellceiling.dds │ ├── cellfloor.dds │ ├── cellwall.dds │ ├── credits.txt │ ├── dayceiling.dds │ ├── dayfloor.dds │ ├── daywall.dds │ ├── hit.wav │ ├── mediumTile-sdk.png │ ├── metal_texture.dds │ ├── nightceiling.dds │ ├── nightfloor.dds │ ├── nightwall.dds │ ├── seafloor.dds │ ├── smallTile-phone-sdk.png │ ├── smallTile-windows-sdk.png │ ├── splash-phone-sdk.png │ ├── splash-windows-sdk.png │ ├── squareTile-sdk.png │ ├── storeLogo-sdk.png │ ├── tile-sdk.png │ └── windows-sdk.png ├── Common │ ├── BasicLoader.cpp │ ├── BasicLoader.h │ ├── BasicMath.h │ ├── BasicReaderWriter.cpp │ ├── BasicReaderWriter.h │ ├── BasicShapes.h │ ├── DDSTextureLoader.cpp │ ├── DDSTextureLoader.h │ ├── DeviceResources.cpp │ ├── DeviceResources.h │ ├── DirectXSample.h │ ├── PersistentState.cpp │ └── PersistentState.h ├── DirectXSceneStore.sln ├── DirectXSceneStore.vcxproj ├── DirectXSceneStore.vcxproj.filters ├── GameContent │ ├── Animate.cpp │ ├── Animate.h │ ├── Audio.cpp │ ├── Audio.h │ ├── Camera.cpp │ ├── Camera.h │ ├── ConstantBuffers.h │ ├── ConstantBuffers.hlsli │ ├── Cylinder.cpp │ ├── Cylinder.h │ ├── CylinderMesh.cpp │ ├── CylinderMesh.h │ ├── Face.cpp │ ├── Face.h │ ├── FaceMesh.cpp │ ├── FaceMesh.h │ ├── GameConstants.h │ ├── GameObject.cpp │ ├── GameObject.h │ ├── GameTimer.cpp │ ├── GameTimer.h │ ├── Level.cpp │ ├── Level.h │ ├── Level1.cpp │ ├── Level1.h │ ├── Level2.cpp │ ├── Level2.h │ ├── Level3.cpp │ ├── Level3.h │ ├── Level4.cpp │ ├── Level4.h │ ├── Level5.cpp │ ├── Level5.h │ ├── Level6.cpp │ ├── Level6.h │ ├── Material.cpp │ ├── Material.h │ ├── MediaReader.cpp │ ├── MediaReader.h │ ├── MeshObject.cpp │ ├── MeshObject.h │ ├── MoveLookController.cpp │ ├── MoveLookController.h │ ├── PixelShader.hlsl │ ├── PixelShaderFlat.hlsl │ ├── SoundEffect.cpp │ ├── SoundEffect.h │ ├── Sphere.cpp │ ├── Sphere.h │ ├── SphereMesh.cpp │ ├── SphereMesh.h │ ├── StereoProjection.cpp │ ├── StereoProjection.h │ ├── TargetTexture.cpp │ ├── TargetTexture.h │ ├── VertexShader.hlsl │ ├── VertexShaderFlat.hlsl │ ├── WorldMesh.cpp │ ├── WorldMesh.h │ ├── pch.cpp │ └── pch.h ├── GameHud.cpp ├── GameHud.h ├── GameMain.cpp ├── GameMain.h ├── GameRenderer.cpp ├── GameRenderer.h ├── GameUIConstants.h ├── GameUIControl.h ├── GameUIStyles.xaml ├── MoveLookControllerKinect.cpp ├── MoveLookControllerKinect.h ├── MoveLookControllerXaml.cpp ├── MoveLookControllerXaml.h ├── ProductItem.cpp ├── ProductItem.h ├── ScenePanel.xaml ├── ScenePanel.xaml.cpp ├── ScenePanel.xaml.h ├── Simple3DGame.cpp ├── Simple3DGame.h ├── pch.cpp └── pch.h ├── FinalLibraryZips ├── DirectXSceneStore.zip └── KinectFaceStore.zip ├── Kinect2Sample.Lab1 ├── Kinect2Sample.sln └── Kinect2Sample │ ├── App.xaml │ ├── App.xaml.cs │ ├── Assets │ ├── Logo.scale-100.png │ ├── SmallLogo.scale-100.png │ ├── SplashScreen.scale-100.png │ └── StoreLogo.scale-100.png │ ├── Kinect2Sample.csproj │ ├── Kinect2Sample_TemporaryKey.pfx │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Package.appxmanifest │ └── Properties │ └── AssemblyInfo.cs ├── Kinect2Sample.Lab10 ├── Kinect2Sample.sln └── Kinect2Sample │ ├── App.xaml │ ├── App.xaml.cs │ ├── Assets │ ├── Background.png │ ├── CatEye_left_closed.png │ ├── CatEye_left_open.png │ ├── CatNose.png │ ├── Logo.scale-100.png │ ├── SmallLogo.scale-100.png │ ├── SplashScreen.scale-100.png │ └── StoreLogo.scale-100.png │ ├── BodiesManager.cs │ ├── BodyInfo.cs │ ├── DisplayTypeToVisibilityConverter.cs │ ├── Kinect2Sample.csproj │ ├── Kinect2Sample_TemporaryKey.pfx │ ├── KinectRegionStyles.xaml │ ├── Libraries │ └── x64 │ │ ├── DirectXSceneStore.dll │ │ ├── DirectXSceneStore.pri │ │ ├── DirectXSceneStore.winmd │ │ ├── DirectXSceneStore │ │ ├── Assets │ │ │ ├── bounce.wav │ │ │ ├── cellceiling.dds │ │ │ ├── cellfloor.dds │ │ │ ├── cellwall.dds │ │ │ ├── dayceiling.dds │ │ │ ├── dayfloor.dds │ │ │ ├── daywall.dds │ │ │ ├── hit.wav │ │ │ ├── mediumTile-sdk.png │ │ │ ├── metal_texture.dds │ │ │ ├── nightceiling.dds │ │ │ ├── nightfloor.dds │ │ │ ├── nightwall.dds │ │ │ ├── seafloor.dds │ │ │ ├── smallTile-phone-sdk.png │ │ │ ├── smallTile-windows-sdk.png │ │ │ ├── splash-phone-sdk.png │ │ │ ├── splash-windows-sdk.png │ │ │ ├── squareTile-sdk.png │ │ │ ├── storeLogo-sdk.png │ │ │ ├── tile-sdk.png │ │ │ └── windows-sdk.png │ │ ├── GameUIStyles.xbf │ │ ├── PixelShader.cso │ │ ├── PixelShaderFlat.cso │ │ ├── ScenePanel.xbf │ │ ├── VertexShader.cso │ │ └── VertexShaderFlat.cso │ │ └── KinectFaceStore.dll │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Package.appxmanifest │ └── Properties │ └── AssemblyInfo.cs ├── Kinect2Sample.Lab12 ├── Kinect2Sample.sln └── Kinect2Sample │ ├── App.xaml │ ├── App.xaml.cs │ ├── Assets │ ├── Background.png │ ├── CatEye_left_closed.png │ ├── CatEye_left_open.png │ ├── CatNose.png │ ├── Logo.scale-100.png │ ├── SmallLogo.scale-100.png │ ├── SplashScreen.scale-100.png │ └── StoreLogo.scale-100.png │ ├── BodiesManager.cs │ ├── BodyInfo.cs │ ├── Database │ └── HandsAboveHead.gbd │ ├── DisplayTypeToVisibilityConverter.cs │ ├── GestureDetector.cs │ ├── GestureResultView.cs │ ├── Kinect2Sample.csproj │ ├── Kinect2Sample_TemporaryKey.pfx │ ├── KinectRegionStyles.xaml │ ├── Libraries │ └── x64 │ │ ├── DirectXSceneStore.dll │ │ ├── DirectXSceneStore.pri │ │ ├── DirectXSceneStore.winmd │ │ ├── DirectXSceneStore │ │ ├── Assets │ │ │ ├── bounce.wav │ │ │ ├── cellceiling.dds │ │ │ ├── cellfloor.dds │ │ │ ├── cellwall.dds │ │ │ ├── dayceiling.dds │ │ │ ├── dayfloor.dds │ │ │ ├── daywall.dds │ │ │ ├── hit.wav │ │ │ ├── mediumTile-sdk.png │ │ │ ├── metal_texture.dds │ │ │ ├── nightceiling.dds │ │ │ ├── nightfloor.dds │ │ │ ├── nightwall.dds │ │ │ ├── seafloor.dds │ │ │ ├── smallTile-phone-sdk.png │ │ │ ├── smallTile-windows-sdk.png │ │ │ ├── splash-phone-sdk.png │ │ │ ├── splash-windows-sdk.png │ │ │ ├── squareTile-sdk.png │ │ │ ├── storeLogo-sdk.png │ │ │ ├── tile-sdk.png │ │ │ └── windows-sdk.png │ │ ├── GameUIStyles.xbf │ │ ├── PixelShader.cso │ │ ├── PixelShaderFlat.cso │ │ ├── ScenePanel.xbf │ │ ├── VertexShader.cso │ │ └── VertexShaderFlat.cso │ │ └── KinectFaceStore.dll │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Package.appxmanifest │ └── Properties │ └── AssemblyInfo.cs ├── Kinect2Sample.Lab2 ├── Kinect2Sample.sln └── Kinect2Sample │ ├── App.xaml │ ├── App.xaml.cs │ ├── Assets │ ├── Logo.scale-100.png │ ├── SmallLogo.scale-100.png │ ├── SplashScreen.scale-100.png │ └── StoreLogo.scale-100.png │ ├── Kinect2Sample.csproj │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Package.appxmanifest │ └── Properties │ └── AssemblyInfo.cs ├── Kinect2Sample.Lab3 ├── Kinect2Sample.sln └── Kinect2Sample │ ├── App.xaml │ ├── App.xaml.cs │ ├── Assets │ ├── Logo.scale-100.png │ ├── SmallLogo.scale-100.png │ ├── SplashScreen.scale-100.png │ └── StoreLogo.scale-100.png │ ├── Kinect2Sample.csproj │ ├── Kinect2Sample_TemporaryKey.pfx │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Package.appxmanifest │ └── Properties │ └── AssemblyInfo.cs ├── Kinect2Sample.Lab4 ├── Kinect2Sample.sln └── Kinect2Sample │ ├── App.xaml │ ├── App.xaml.cs │ ├── Assets │ ├── Logo.scale-100.png │ ├── SmallLogo.scale-100.png │ ├── SplashScreen.scale-100.png │ └── StoreLogo.scale-100.png │ ├── Kinect2Sample.csproj │ ├── Kinect2Sample_TemporaryKey.pfx │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Package.appxmanifest │ └── Properties │ └── AssemblyInfo.cs ├── Kinect2Sample.Lab5 ├── Kinect2Sample.sln └── Kinect2Sample │ ├── App.xaml │ ├── App.xaml.cs │ ├── Assets │ ├── Logo.scale-100.png │ ├── SmallLogo.scale-100.png │ ├── SplashScreen.scale-100.png │ └── StoreLogo.scale-100.png │ ├── Kinect2Sample.csproj │ ├── Kinect2Sample_TemporaryKey.pfx │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Package.appxmanifest │ └── Properties │ └── AssemblyInfo.cs ├── Kinect2Sample.Lab6 ├── Kinect2Sample.sln └── Kinect2Sample │ ├── App.xaml │ ├── App.xaml.cs │ ├── Assets │ ├── Logo.scale-100.png │ ├── SmallLogo.scale-100.png │ ├── SplashScreen.scale-100.png │ └── StoreLogo.scale-100.png │ ├── BodiesManager.cs │ ├── BodyInfo.cs │ ├── Kinect2Sample.csproj │ ├── Kinect2Sample_TemporaryKey.pfx │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Package.appxmanifest │ └── Properties │ └── AssemblyInfo.cs ├── Kinect2Sample.Lab7 ├── Kinect2Sample.sln └── Kinect2Sample │ ├── App.xaml │ ├── App.xaml.cs │ ├── Assets │ ├── Background.png │ ├── Logo.scale-100.png │ ├── SmallLogo.scale-100.png │ ├── SplashScreen.scale-100.png │ └── StoreLogo.scale-100.png │ ├── BodiesManager.cs │ ├── BodyInfo.cs │ ├── DisplayTypeToVisibilityConverter.cs │ ├── Kinect2Sample.csproj │ ├── Kinect2Sample_TemporaryKey.pfx │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Package.appxmanifest │ └── Properties │ └── AssemblyInfo.cs ├── Kinect2Sample.Lab8 ├── Kinect2Sample.sln └── Kinect2Sample │ ├── App.xaml │ ├── App.xaml.cs │ ├── Assets │ ├── Background.png │ ├── CatEye_left_closed.png │ ├── CatEye_left_open.png │ ├── CatNose.png │ ├── Logo.scale-100.png │ ├── SmallLogo.scale-100.png │ ├── SplashScreen.scale-100.png │ └── StoreLogo.scale-100.png │ ├── BodiesManager.cs │ ├── BodyInfo.cs │ ├── DisplayTypeToVisibilityConverter.cs │ ├── Kinect2Sample.csproj │ ├── Kinect2Sample_TemporaryKey.pfx │ ├── Libraries │ └── x64 │ │ └── KinectFaceStore.dll │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Package.appxmanifest │ └── Properties │ └── AssemblyInfo.cs ├── Kinect2Sample.Lab9 ├── Kinect2Sample.sln └── Kinect2Sample │ ├── App.xaml │ ├── App.xaml.cs │ ├── Assets │ ├── Background.png │ ├── CatEye_left_closed.png │ ├── CatEye_left_open.png │ ├── CatNose.png │ ├── Logo.scale-100.png │ ├── SmallLogo.scale-100.png │ ├── SplashScreen.scale-100.png │ └── StoreLogo.scale-100.png │ ├── BodiesManager.cs │ ├── BodyInfo.cs │ ├── DisplayTypeToVisibilityConverter.cs │ ├── Kinect2Sample.csproj │ ├── Kinect2Sample_TemporaryKey.pfx │ ├── Libraries │ └── x64 │ │ ├── DirectXSceneStore.dll │ │ ├── DirectXSceneStore.pri │ │ ├── DirectXSceneStore.winmd │ │ ├── DirectXSceneStore │ │ ├── Assets │ │ │ ├── bounce.wav │ │ │ ├── cellceiling.dds │ │ │ ├── cellfloor.dds │ │ │ ├── cellwall.dds │ │ │ ├── dayceiling.dds │ │ │ ├── dayfloor.dds │ │ │ ├── daywall.dds │ │ │ ├── hit.wav │ │ │ ├── mediumTile-sdk.png │ │ │ ├── metal_texture.dds │ │ │ ├── nightceiling.dds │ │ │ ├── nightfloor.dds │ │ │ ├── nightwall.dds │ │ │ ├── seafloor.dds │ │ │ ├── smallTile-phone-sdk.png │ │ │ ├── smallTile-windows-sdk.png │ │ │ ├── splash-phone-sdk.png │ │ │ ├── splash-windows-sdk.png │ │ │ ├── squareTile-sdk.png │ │ │ ├── storeLogo-sdk.png │ │ │ ├── tile-sdk.png │ │ │ └── windows-sdk.png │ │ ├── GameUIStyles.xbf │ │ ├── PixelShader.cso │ │ ├── PixelShaderFlat.cso │ │ ├── ScenePanel.xbf │ │ ├── VertexShader.cso │ │ └── VertexShaderFlat.cso │ │ └── KinectFaceStore.dll │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Package.appxmanifest │ └── Properties │ └── AssemblyInfo.cs ├── Kinect2Sample └── Kinect2Sample │ ├── Kinect2Sample.sln │ └── Kinect2Sample │ ├── App.xaml │ ├── App.xaml.cs │ ├── Assets │ ├── Background.png │ ├── CatEye_left_closed.png │ ├── CatEye_left_open.png │ ├── CatNose.png │ ├── Logo.scale-100.png │ ├── SmallLogo.scale-100.png │ ├── SplashScreen.scale-100.png │ └── StoreLogo.scale-100.png │ ├── BodiesManager.cs │ ├── BodyInfo.cs │ ├── Database │ └── HandsAboveHead.gbd │ ├── DisplayTypeToVisibilityConverter.cs │ ├── GestureDetector.cs │ ├── GestureResultView.cs │ ├── Kinect2Sample.csproj │ ├── Kinect2Sample_TemporaryKey.pfx │ ├── KinectRegionStyles.xaml │ ├── Libraries │ ├── DirectXSceneStore.dll │ ├── DirectXSceneStore.pri │ ├── DirectXSceneStore.winmd │ ├── DirectXSceneStore │ │ ├── Assets │ │ │ ├── bounce.wav │ │ │ ├── cellceiling.dds │ │ │ ├── cellfloor.dds │ │ │ ├── cellwall.dds │ │ │ ├── dayceiling.dds │ │ │ ├── dayfloor.dds │ │ │ ├── daywall.dds │ │ │ ├── hit.wav │ │ │ ├── mediumTile-sdk.png │ │ │ ├── metal_texture.dds │ │ │ ├── nightceiling.dds │ │ │ ├── nightfloor.dds │ │ │ ├── nightwall.dds │ │ │ ├── seafloor.dds │ │ │ ├── smallTile-phone-sdk.png │ │ │ ├── smallTile-windows-sdk.png │ │ │ ├── splash-phone-sdk.png │ │ │ ├── splash-windows-sdk.png │ │ │ ├── squareTile-sdk.png │ │ │ ├── storeLogo-sdk.png │ │ │ ├── tile-sdk.png │ │ │ └── windows-sdk.png │ │ ├── GameUIStyles.xbf │ │ ├── PixelShader.cso │ │ ├── PixelShaderFlat.cso │ │ ├── ScenePanel.xbf │ │ ├── VertexShader.cso │ │ └── VertexShaderFlat.cso │ └── KinectFaceStore.dll │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Package.appxmanifest │ └── Properties │ └── AssemblyInfo.cs ├── Kinect2SampleSpeech └── Kinect2SampleSpeech │ ├── Kinect2SampleSpeech.sln │ └── Kinect2SampleSpeech │ ├── App.xaml │ ├── App.xaml.cs │ ├── Assets │ ├── Logo.scale-100.png │ ├── SmallLogo.scale-100.png │ ├── SplashScreen.scale-100.png │ └── StoreLogo.scale-100.png │ ├── Kinect2SampleSpeech.csproj │ ├── Kinect2SampleSpeech_TemporaryKey.pfx │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Package.appxmanifest │ └── Properties │ └── AssemblyInfo.cs ├── KinectFaceStore ├── FaceManager.cs ├── KinectFacePortable.csproj ├── KinectFacePortable.sln └── Properties │ └── AssemblyInfo.cs ├── LICENSE └── README.md /DirectXSceneStore/Assets/bounce.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/DirectXSceneStore/Assets/bounce.wav -------------------------------------------------------------------------------- /DirectXSceneStore/Assets/cellceiling.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/DirectXSceneStore/Assets/cellceiling.dds -------------------------------------------------------------------------------- /DirectXSceneStore/Assets/cellfloor.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/DirectXSceneStore/Assets/cellfloor.dds -------------------------------------------------------------------------------- /DirectXSceneStore/Assets/cellwall.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/DirectXSceneStore/Assets/cellwall.dds -------------------------------------------------------------------------------- /DirectXSceneStore/Assets/credits.txt: -------------------------------------------------------------------------------- 1 | ============================= 2 | MICROSOFT CORPORATION CREDITS 3 | ============================= 4 | 5 | The Simple3DGame sample uses several texture assets that were obtained 6 | from various sources listed below. 7 | 8 | From http://www.3dmd.net under the terms of the license found at http://www.3dmd.net/license.htm: 9 | metal_texture.dds 10 | oldWood4_nt.dds 11 | These textures were converted from the original files: 12 | seamless_brushed_aluminum_metal_texture.jpeg 13 | oldWood4_nt.jpeg 14 | 15 | From http://www.filterforge.com (Filter Forge, Rawn (RawArt)) 16 | nightfloor.dds 17 | daywall.dds and dayceiling.dds 18 | These textures were converted from the original files: 19 | "Asteroid" http://www.filterforge.com/filters/3215.html 20 | "cloudy sky" http://www.filterforge.com/filters/4213.jpg 21 | 22 | From http://1-background.com (StarFields, Silvia Harmann, http://www.1-art.eu) 23 | nightwall.dds and nightceiling.dds 24 | These textures were converted from the orginal file: 25 | "Starfield" http://1-background.com/images/stars-1/beautiful-blue-stars-fill.jpg 26 | 27 | From http://www.shutterstock.com (Shutterstock; Zsolt Horvath, 2012 licensed under Shutterstock.) 28 | dayfloor.dds 29 | This texture was converted from the original file: 30 | "Grass" http://image.shutterstock.com/display_pic_with_logo/77946/77946,1168953758,1/stock-photo-seamless-tiling-medium-length-grass-texture-part-of-the-seamless-tiling-collection-2496056.jpg 31 | -------------------------------------------------------------------------------- /DirectXSceneStore/Assets/dayceiling.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/DirectXSceneStore/Assets/dayceiling.dds -------------------------------------------------------------------------------- /DirectXSceneStore/Assets/dayfloor.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/DirectXSceneStore/Assets/dayfloor.dds -------------------------------------------------------------------------------- /DirectXSceneStore/Assets/daywall.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/DirectXSceneStore/Assets/daywall.dds -------------------------------------------------------------------------------- /DirectXSceneStore/Assets/hit.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/DirectXSceneStore/Assets/hit.wav -------------------------------------------------------------------------------- /DirectXSceneStore/Assets/mediumTile-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/DirectXSceneStore/Assets/mediumTile-sdk.png -------------------------------------------------------------------------------- /DirectXSceneStore/Assets/metal_texture.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/DirectXSceneStore/Assets/metal_texture.dds -------------------------------------------------------------------------------- /DirectXSceneStore/Assets/nightceiling.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/DirectXSceneStore/Assets/nightceiling.dds -------------------------------------------------------------------------------- /DirectXSceneStore/Assets/nightfloor.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/DirectXSceneStore/Assets/nightfloor.dds -------------------------------------------------------------------------------- /DirectXSceneStore/Assets/nightwall.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/DirectXSceneStore/Assets/nightwall.dds -------------------------------------------------------------------------------- /DirectXSceneStore/Assets/seafloor.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/DirectXSceneStore/Assets/seafloor.dds -------------------------------------------------------------------------------- /DirectXSceneStore/Assets/smallTile-phone-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/DirectXSceneStore/Assets/smallTile-phone-sdk.png -------------------------------------------------------------------------------- /DirectXSceneStore/Assets/smallTile-windows-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/DirectXSceneStore/Assets/smallTile-windows-sdk.png -------------------------------------------------------------------------------- /DirectXSceneStore/Assets/splash-phone-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/DirectXSceneStore/Assets/splash-phone-sdk.png -------------------------------------------------------------------------------- /DirectXSceneStore/Assets/splash-windows-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/DirectXSceneStore/Assets/splash-windows-sdk.png -------------------------------------------------------------------------------- /DirectXSceneStore/Assets/squareTile-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/DirectXSceneStore/Assets/squareTile-sdk.png -------------------------------------------------------------------------------- /DirectXSceneStore/Assets/storeLogo-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/DirectXSceneStore/Assets/storeLogo-sdk.png -------------------------------------------------------------------------------- /DirectXSceneStore/Assets/tile-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/DirectXSceneStore/Assets/tile-sdk.png -------------------------------------------------------------------------------- /DirectXSceneStore/Assets/windows-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/DirectXSceneStore/Assets/windows-sdk.png -------------------------------------------------------------------------------- /DirectXSceneStore/Common/BasicReaderWriter.h: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #pragma once 9 | 10 | #include 11 | 12 | // A simple reader/writer class that provides support for reading and writing 13 | // files on disk. Provides synchronous and asynchronous methods. 14 | ref class BasicReaderWriter 15 | { 16 | private: 17 | Windows::Storage::StorageFolder^ m_location; 18 | 19 | internal: 20 | BasicReaderWriter(); 21 | BasicReaderWriter( 22 | _In_ Windows::Storage::StorageFolder^ folder 23 | ); 24 | 25 | Platform::Array^ ReadData( 26 | _In_ Platform::String^ filename 27 | ); 28 | 29 | concurrency::task^> ReadDataAsync( 30 | _In_ Platform::String^ filename 31 | ); 32 | 33 | uint32 WriteData( 34 | _In_ Platform::String^ filename, 35 | _In_ const Platform::Array^ fileData 36 | ); 37 | 38 | concurrency::task WriteDataAsync( 39 | _In_ Platform::String^ filename, 40 | _In_ const Platform::Array^ fileData 41 | ); 42 | }; 43 | -------------------------------------------------------------------------------- /DirectXSceneStore/Common/DDSTextureLoader.h: -------------------------------------------------------------------------------- 1 | //-------------------------------------------------------------------------------------- 2 | // File: DDSTextureLoader.h 3 | // 4 | // Functions for loading a DDS texture and creating a Direct3D 11 runtime resource for it 5 | // 6 | // Note these functions are useful as a light-weight runtime loader for DDS files. For 7 | // a full-featured DDS file reader, writer, and texture processing pipeline see 8 | // the 'Texconv' sample and the 'DirectXTex' library. 9 | // 10 | // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 11 | // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 12 | // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 13 | // PARTICULAR PURPOSE. 14 | // 15 | // Copyright (c) Microsoft Corporation. All rights reserved. 16 | // 17 | // http://go.microsoft.com/fwlink/?LinkId=248926 18 | // http://go.microsoft.com/fwlink/?LinkId=248929 19 | //-------------------------------------------------------------------------------------- 20 | 21 | #pragma once 22 | 23 | void CreateDDSTextureFromMemory( 24 | _In_ ID3D11Device* d3dDevice, 25 | _In_reads_bytes_(ddsDataSize) const byte* ddsData, 26 | _In_ size_t ddsDataSize, 27 | _Outptr_opt_ ID3D11Resource** texture, 28 | _Outptr_opt_ ID3D11ShaderResourceView** textureView, 29 | _In_ size_t maxsize = 0, 30 | _Out_opt_ D2D1_ALPHA_MODE* alphaMode = nullptr 31 | ); 32 | 33 | void CreateDDSTextureFromMemoryEx( 34 | _In_ ID3D11Device* d3dDevice, 35 | _In_reads_bytes_(ddsDataSize) const uint8_t* ddsData, 36 | _In_ size_t ddsDataSize, 37 | _In_ size_t maxsize, 38 | _In_ D3D11_USAGE usage, 39 | _In_ unsigned int bindFlags, 40 | _In_ unsigned int cpuAccessFlags, 41 | _In_ unsigned int miscFlags, 42 | _In_ bool forceSRGB, 43 | _Outptr_opt_ ID3D11Resource** texture, 44 | _Outptr_opt_ ID3D11ShaderResourceView** textureView, 45 | _Out_opt_ D2D1_ALPHA_MODE* alphaMode = nullptr 46 | ); 47 | -------------------------------------------------------------------------------- /DirectXSceneStore/Common/PersistentState.h: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #pragma once 9 | 10 | // A simple helper class that provides support for saving and loading various 11 | // data types to an IPropertySet. Used by DirectX SDK samples to implement 12 | // process lifetime management (PLM). 13 | ref class PersistentState 14 | { 15 | internal: 16 | void Initialize( 17 | _In_ Windows::Foundation::Collections::IPropertySet^ settingsValues, 18 | _In_ Platform::String^ key 19 | ); 20 | 21 | void SaveBool(Platform::String^ key, bool value); 22 | void SaveInt32(Platform::String^ key, int value); 23 | void SaveSingle(Platform::String^ key, float value); 24 | void SaveXMFLOAT3(Platform::String^ key, DirectX::XMFLOAT3 value); 25 | void SaveString(Platform::String^ key, Platform::String^ string); 26 | 27 | bool LoadBool(Platform::String^ key, bool defaultValue); 28 | int LoadInt32(Platform::String^ key, int defaultValue); 29 | float LoadSingle(Platform::String^ key, float defaultValue); 30 | DirectX::XMFLOAT3 LoadXMFLOAT3(Platform::String^ key, DirectX::XMFLOAT3 defaultValue); 31 | Platform::String^ LoadString(Platform::String^ key, Platform::String^ defaultValue); 32 | 33 | private: 34 | Platform::String^ m_keyName; 35 | Windows::Foundation::Collections::IPropertySet^ m_settingsValues; 36 | }; 37 | -------------------------------------------------------------------------------- /DirectXSceneStore/DirectXSceneStore.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2013 4 | VisualStudioVersion = 12.0.31101.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DirectXSceneStore", "DirectXSceneStore.vcxproj", "{BAEE9C43-2161-4B24-BDEE-A00CEAFF7F09}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|ARM = Debug|ARM 11 | Debug|Win32 = Debug|Win32 12 | Debug|x64 = Debug|x64 13 | Release|ARM = Release|ARM 14 | Release|Win32 = Release|Win32 15 | Release|x64 = Release|x64 16 | EndGlobalSection 17 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 18 | {BAEE9C43-2161-4B24-BDEE-A00CEAFF7F09}.Debug|ARM.ActiveCfg = Debug|ARM 19 | {BAEE9C43-2161-4B24-BDEE-A00CEAFF7F09}.Debug|ARM.Build.0 = Debug|ARM 20 | {BAEE9C43-2161-4B24-BDEE-A00CEAFF7F09}.Debug|Win32.ActiveCfg = Debug|x64 21 | {BAEE9C43-2161-4B24-BDEE-A00CEAFF7F09}.Debug|Win32.Build.0 = Debug|x64 22 | {BAEE9C43-2161-4B24-BDEE-A00CEAFF7F09}.Debug|x64.ActiveCfg = Debug|x64 23 | {BAEE9C43-2161-4B24-BDEE-A00CEAFF7F09}.Debug|x64.Build.0 = Debug|x64 24 | {BAEE9C43-2161-4B24-BDEE-A00CEAFF7F09}.Release|ARM.ActiveCfg = Release|ARM 25 | {BAEE9C43-2161-4B24-BDEE-A00CEAFF7F09}.Release|ARM.Build.0 = Release|ARM 26 | {BAEE9C43-2161-4B24-BDEE-A00CEAFF7F09}.Release|Win32.ActiveCfg = Release|Win32 27 | {BAEE9C43-2161-4B24-BDEE-A00CEAFF7F09}.Release|Win32.Build.0 = Release|Win32 28 | {BAEE9C43-2161-4B24-BDEE-A00CEAFF7F09}.Release|x64.ActiveCfg = Release|x64 29 | {BAEE9C43-2161-4B24-BDEE-A00CEAFF7F09}.Release|x64.Build.0 = Release|x64 30 | EndGlobalSection 31 | GlobalSection(SolutionProperties) = preSolution 32 | HideSolutionNode = FALSE 33 | EndGlobalSection 34 | EndGlobal 35 | -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/Audio.h: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #pragma once 9 | 10 | // Audio: 11 | // This class uses XAudio2 to provide sound output. It creates two 12 | // engines - one for music and the other for sound effects - each as 13 | // a separate mastering voice. 14 | // The SuspendAudio and ResumeAudio methods can be used to stop 15 | // and start all audio playback. 16 | 17 | ref class Audio 18 | { 19 | internal: 20 | Audio(); 21 | 22 | void Initialize(); 23 | void CreateDeviceIndependentResources(); 24 | IXAudio2* MusicEngine(); 25 | IXAudio2* SoundEffectEngine(); 26 | void SuspendAudio(); 27 | void ResumeAudio(); 28 | 29 | protected private: 30 | bool m_audioAvailable; 31 | Microsoft::WRL::ComPtr m_musicEngine; 32 | Microsoft::WRL::ComPtr m_soundEffectEngine; 33 | IXAudio2MasteringVoice* m_musicMasteringVoice; 34 | IXAudio2MasteringVoice* m_soundEffectMasteringVoice; 35 | }; 36 | -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/Camera.h: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #pragma once 9 | 10 | // Camera: 11 | // This class defines the position, orientation and viewing frustum of a camera looking into 12 | // a 3D world. It will generate both the View matrix and Projection matrix. It can also 13 | // provide a pair of Projection matrices to be used when stereoscopic 3D is used. 14 | 15 | ref class Camera 16 | { 17 | internal: 18 | Camera(); 19 | 20 | void SetViewParams(_In_ DirectX::XMFLOAT3 eye, _In_ DirectX::XMFLOAT3 lookAt, _In_ DirectX::XMFLOAT3 up); 21 | void SetProjParams(_In_ float fieldOfView, _In_ float aspectRatio, _In_ float nearPlane, _In_ float farPlane); 22 | 23 | void LookDirection (_In_ DirectX::XMFLOAT3 lookDirection); 24 | void Eye (_In_ DirectX::XMFLOAT3 position); 25 | 26 | DirectX::XMMATRIX View(); 27 | DirectX::XMMATRIX Projection(); 28 | DirectX::XMMATRIX LeftEyeProjection(); 29 | DirectX::XMMATRIX RightEyeProjection(); 30 | DirectX::XMMATRIX World(); 31 | DirectX::XMFLOAT3 Eye(); 32 | DirectX::XMFLOAT3 LookAt(); 33 | DirectX::XMFLOAT3 Up(); 34 | float NearClipPlane(); 35 | float FarClipPlane(); 36 | float Pitch(); 37 | float Yaw(); 38 | 39 | protected private: 40 | DirectX::XMFLOAT4X4 m_viewMatrix; 41 | DirectX::XMFLOAT4X4 m_projectionMatrix; 42 | DirectX::XMFLOAT4X4 m_projectionMatrixLeft; 43 | DirectX::XMFLOAT4X4 m_projectionMatrixRight; 44 | 45 | DirectX::XMFLOAT4X4 m_inverseView; 46 | 47 | DirectX::XMFLOAT3 m_eye; 48 | DirectX::XMFLOAT3 m_lookAt; 49 | DirectX::XMFLOAT3 m_up; 50 | float m_cameraYawAngle; 51 | float m_cameraPitchAngle; 52 | 53 | float m_fieldOfView; 54 | float m_aspectRatio; 55 | float m_nearPlane; 56 | float m_farPlane; 57 | }; 58 | -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/ConstantBuffers.h: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #pragma once 9 | 10 | struct PNTVertex 11 | { 12 | DirectX::XMFLOAT3 position; 13 | DirectX::XMFLOAT3 normal; 14 | DirectX::XMFLOAT2 textureCoordinate; 15 | }; 16 | 17 | static D3D11_INPUT_ELEMENT_DESC PNTVertexLayout[] = 18 | { 19 | {"POSITION", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, 0, D3D11_INPUT_PER_VERTEX_DATA, 0}, 20 | {"NORMAL", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, 12, D3D11_INPUT_PER_VERTEX_DATA, 0}, 21 | {"TEXCOORD", 0, DXGI_FORMAT_R32G32_FLOAT, 0, 24, D3D11_INPUT_PER_VERTEX_DATA, 0}, 22 | }; 23 | 24 | struct ConstantBufferNeverChanges 25 | { 26 | DirectX::XMFLOAT4 lightPosition[4]; 27 | DirectX::XMFLOAT4 lightColor; 28 | }; 29 | 30 | struct ConstantBufferChangeOnResize 31 | { 32 | DirectX::XMFLOAT4X4 projection; 33 | }; 34 | 35 | struct ConstantBufferChangesEveryFrame 36 | { 37 | DirectX::XMFLOAT4X4 view; 38 | }; 39 | 40 | struct ConstantBufferChangesEveryPrim 41 | { 42 | DirectX::XMFLOAT4X4 worldMatrix; 43 | DirectX::XMFLOAT4 meshColor; 44 | DirectX::XMFLOAT4 diffuseColor; 45 | DirectX::XMFLOAT4 specularColor; 46 | float specularPower; 47 | }; 48 | 49 | -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/ConstantBuffers.hlsli: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | Texture2D diffuseTexture : register(t0); 9 | SamplerState linearSampler : register(s0); 10 | 11 | cbuffer ConstantBufferNeverChanges : register(b0) 12 | { 13 | float4 lightPosition[4]; 14 | float4 lightColor; 15 | } 16 | 17 | cbuffer ConstantBufferChangeOnResize : register(b1) 18 | { 19 | matrix projection; 20 | }; 21 | 22 | cbuffer ConstantBufferChangesEveryFrame : register(b2) 23 | { 24 | matrix view; 25 | }; 26 | 27 | cbuffer ConstantBufferChangesEveryPrim : register (b3) 28 | { 29 | matrix world; 30 | float4 meshColor; 31 | float4 diffuseColor; 32 | float4 specularColor; 33 | float specularExponent; 34 | }; 35 | 36 | struct VertextShaderInput 37 | { 38 | float4 position : POSITION; 39 | float4 normal : NORMAL; 40 | float2 textureUV : TEXCOORD0; 41 | }; 42 | 43 | struct PixelShaderInput 44 | { 45 | float4 position : SV_POSITION; 46 | float2 textureUV : TEXCOORD0; 47 | float3 vertexToEye : TEXCOORD1; 48 | float3 normal : TEXCOORD2; 49 | float3 vertexToLight0 : TEXCOORD3; 50 | float3 vertexToLight1 : TEXCOORD4; 51 | float3 vertexToLight2 : TEXCOORD5; 52 | float3 vertexToLight3 : TEXCOORD6; 53 | }; 54 | 55 | struct PixelShaderFlatInput 56 | { 57 | float4 position : SV_POSITION; 58 | float2 textureUV : TEXCOORD0; 59 | float4 diffuseColor : TEXCOORD1; 60 | }; 61 | -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/Cylinder.h: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #pragma once 9 | 10 | // Cylinder: 11 | // This class is a specialization of GameObject that represents a cylinder primitive. 12 | // The cylinder is defined by a vector starting at 'position' and oriented along the 13 | // 'direction' vector. The length of the cylinder is just the length of the 'direction' 14 | // vector. 15 | 16 | #include "GameObject.h" 17 | 18 | ref class Cylinder: public GameObject 19 | { 20 | internal: 21 | Cylinder(); 22 | Cylinder( 23 | DirectX::XMFLOAT3 position, 24 | float radius, 25 | DirectX::XMFLOAT3 direction 26 | ); 27 | 28 | virtual bool IsTouching( 29 | DirectX::XMFLOAT3 point, 30 | float radius, 31 | _Out_ DirectX::XMFLOAT3 *contact, 32 | _Out_ DirectX::XMFLOAT3 *normal 33 | ) override; 34 | 35 | protected: 36 | virtual void UpdatePosition() override; 37 | 38 | private: 39 | void Initialize( 40 | DirectX::XMFLOAT3 position, 41 | float radius, 42 | DirectX::XMFLOAT3 direction 43 | ); 44 | 45 | DirectX::XMFLOAT3 m_axis; 46 | float m_length; 47 | float m_radius; 48 | DirectX::XMFLOAT4X4 m_rotationMatrix; 49 | }; -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/CylinderMesh.h: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #pragma once 9 | 10 | // CylinderMesh: 11 | // This class derives from MeshObject and creates a ID3D11Buffer of 12 | // vertices and indices to represent a canonical cylinder (capped at 13 | // both ends) that is positioned at the origin with a radius of 1.0, 14 | // a height of 1.0 and with its axis in the +Z direction. 15 | 16 | #include "MeshObject.h" 17 | 18 | ref class CylinderMesh: public MeshObject 19 | { 20 | internal: 21 | CylinderMesh(_In_ ID3D11Device *device, uint32 segments); 22 | }; 23 | -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/Face.h: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #pragma once 9 | 10 | // Face: 11 | // This class is a specialization of GameObject that represents a parallelogram primitive. 12 | // The face is defined by three points. It is positioned at 'origin'. The four corners 13 | // of the face are defined at 'origin', 'p1', 'p2' and 'p1' + ('p2' - 'origin'). 14 | 15 | #include "GameObject.h" 16 | 17 | ref class Face: public GameObject 18 | { 19 | internal: 20 | Face(); 21 | Face( 22 | DirectX::XMFLOAT3 origin, 23 | DirectX::XMFLOAT3 p1, 24 | DirectX::XMFLOAT3 p2 25 | ); 26 | 27 | void SetPlane( 28 | DirectX::XMFLOAT3 origin, 29 | DirectX::XMFLOAT3 p1, 30 | DirectX::XMFLOAT3 p2 31 | ); 32 | 33 | virtual bool IsTouching( 34 | DirectX::XMFLOAT3 point, 35 | float radius, 36 | _Out_ DirectX::XMFLOAT3 *contact, 37 | _Out_ DirectX::XMFLOAT3 *normal 38 | ) override; 39 | 40 | protected: 41 | virtual void UpdatePosition() override; 42 | 43 | private: 44 | void UpdateMatrix(); 45 | 46 | DirectX::XMFLOAT3 m_widthVector; 47 | DirectX::XMFLOAT3 m_heightVector; 48 | DirectX::XMFLOAT3 m_normal; 49 | DirectX::XMFLOAT3 m_point[4]; 50 | float m_width; 51 | float m_height; 52 | DirectX::XMFLOAT4X4 m_rotationMatrix; 53 | }; 54 | -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/FaceMesh.cpp: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #include "pch.h" 9 | #include "FaceMesh.h" 10 | #include "Common\DirectXSample.h" 11 | #include "ConstantBuffers.h" 12 | 13 | using namespace Microsoft::WRL; 14 | using namespace DirectX; 15 | 16 | FaceMesh::FaceMesh(_In_ ID3D11Device *device) 17 | { 18 | D3D11_BUFFER_DESC bd = {0}; 19 | D3D11_SUBRESOURCE_DATA initData = {0}; 20 | 21 | PNTVertex target_vertices[] = 22 | { 23 | {XMFLOAT3(0.0f, 0.0f, 0.0f), XMFLOAT3(0.0f, 0.0f, 1.0f), XMFLOAT2(1.0f, 1.0f)}, 24 | {XMFLOAT3(1.0f, 0.0f, 0.0f), XMFLOAT3(0.0f, 0.0f, 1.0f), XMFLOAT2(0.0f, 1.0f)}, 25 | {XMFLOAT3(1.0f, 1.0f, 0.0f), XMFLOAT3(0.0f, 0.0f, 1.0f), XMFLOAT2(0.0f, 0.0f)}, 26 | {XMFLOAT3(0.0f, 1.0f, 0.0f), XMFLOAT3(0.0f, 0.0f, 1.0f), XMFLOAT2(1.0f, 0.0f)} 27 | }; 28 | WORD target_indices[] = 29 | { 30 | 0, 1, 2, 31 | 0, 2, 3, 32 | 0, 2, 1, 33 | 0, 3, 2 34 | }; 35 | 36 | m_vertexCount = 4; 37 | m_indexCount = 12; 38 | 39 | bd.Usage = D3D11_USAGE_DEFAULT; 40 | bd.ByteWidth = sizeof(PNTVertex) * m_vertexCount; 41 | bd.BindFlags = D3D11_BIND_VERTEX_BUFFER; 42 | bd.CPUAccessFlags = 0; 43 | initData.pSysMem = target_vertices; 44 | DX::ThrowIfFailed( 45 | device->CreateBuffer(&bd, &initData, &m_vertexBuffer) 46 | ); 47 | 48 | bd.Usage = D3D11_USAGE_DEFAULT; 49 | bd.ByteWidth = sizeof(WORD) * m_indexCount; 50 | bd.BindFlags = D3D11_BIND_INDEX_BUFFER; 51 | bd.CPUAccessFlags = 0; 52 | initData.pSysMem = target_indices; 53 | DX::ThrowIfFailed( 54 | device->CreateBuffer(&bd, &initData, &m_indexBuffer) 55 | ); 56 | } 57 | -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/FaceMesh.h: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #pragma once 9 | 10 | // FaceMesh: 11 | // This class derives from MeshObject and creates a ID3D11Buffer of 12 | // vertices and indices to represent a canonical face defined as a 13 | // rectangle at the origin extending 1 unit in the +X and 14 | // 1 unit in the +Y direction. 15 | // The face is defined to be two sided, so it is visible from either 16 | // side. 17 | 18 | #include "MeshObject.h" 19 | 20 | ref class FaceMesh: public MeshObject 21 | { 22 | internal: 23 | FaceMesh(_In_ ID3D11Device *device); 24 | }; 25 | -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/GameTimer.h: -------------------------------------------------------------------------------- 1 | /// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #pragma once 9 | 10 | ref class GameTimer 11 | { 12 | internal: 13 | GameTimer(); 14 | 15 | float PlayingTime(); // Return the Elapsed time the Game has been active in seconds since Reset 16 | void PlayingTime(float time); // Set the Elapsed playing time -- used for restarting in the middle of a game 17 | float DeltaTime(); // Return the Delta time between the last two updates 18 | 19 | void Reset(); 20 | void Start(); 21 | void Stop(); 22 | void Update(); 23 | bool Active() { return m_active; }; 24 | 25 | private: 26 | float m_secondsPerCount; // 1.0 / Frequency 27 | float m_deltaTime; 28 | 29 | LARGE_INTEGER m_baseTime; 30 | LARGE_INTEGER m_pausedTime; 31 | LARGE_INTEGER m_stopTime; 32 | LARGE_INTEGER m_previousTime; 33 | LARGE_INTEGER m_currentTime; 34 | 35 | bool m_active; 36 | }; 37 | 38 | -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/Level.cpp: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #include "pch.h" 9 | #include "Level.h" 10 | 11 | //---------------------------------------------------------------------- 12 | 13 | bool Level::Update( 14 | float /* time */, 15 | float /* elapsedTime */, 16 | float /* timeRemaining*/, 17 | std::vector objects 18 | ) 19 | { 20 | int left = 0; 21 | 22 | for (auto object = objects.begin(); object != objects.end(); object++) 23 | { 24 | if ((*object)->Active() && (*object)->Target()) 25 | { 26 | if ((*object)->Hit()) 27 | { 28 | (*object)->Active(false); 29 | } 30 | else 31 | { 32 | left++; 33 | } 34 | } 35 | } 36 | return (left == 0); 37 | } 38 | 39 | //---------------------------------------------------------------------- 40 | 41 | void Level::SaveState(PersistentState^ /* state */) 42 | { 43 | } 44 | 45 | //---------------------------------------------------------------------- 46 | 47 | void Level::LoadState(PersistentState^ /* state */) 48 | { 49 | } 50 | 51 | //---------------------------------------------------------------------- 52 | 53 | Platform::String^ Level::Objective() 54 | { 55 | return m_objective; 56 | } 57 | 58 | //---------------------------------------------------------------------- 59 | 60 | float Level::TimeLimit() 61 | { 62 | return m_timeLimit; 63 | } 64 | 65 | //---------------------------------------------------------------------- -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/Level.h: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #pragma once 9 | 10 | // Level: 11 | // This is an abstract class from which all of the levels of the game are derived. 12 | // Each level potentially overrides up to four methods: 13 | // Initialize - (required) takes a list of objects and enables the objects that 14 | // are active for the level as well as setting their positions and 15 | // any animations associated with the objects. 16 | // Update - this method is called once per time step and is expected to 17 | // determine if the level has been completed. The Level class provides 18 | // a 'standard' Update method which checks each object that is a target 19 | // and disables any active targets that have been hit. It returns true 20 | // once there are no active targets remaining. 21 | // SaveState - method to save any Level specific state. Default is defined as 22 | // not saving any state. 23 | // LoadState - method to restore any Level specific state. Default is defined 24 | // as not restoring any state. 25 | 26 | #include "GameObject.h" 27 | #include "Common\PersistentState.h" 28 | 29 | ref class Level abstract 30 | { 31 | internal: 32 | virtual void Initialize( 33 | std::vector objects 34 | ) = 0; 35 | 36 | virtual bool Update( 37 | float time, 38 | float elapsedTime, 39 | float timeRemaining, 40 | std::vector objects 41 | ); 42 | 43 | virtual void SaveState(PersistentState^ state); 44 | virtual void LoadState(PersistentState^ state); 45 | 46 | Platform::String^ Objective(); 47 | float TimeLimit(); 48 | 49 | protected private: 50 | Platform::String^ m_objective; 51 | float m_timeLimit; 52 | }; 53 | -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/Level1.h: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #pragma once 9 | 10 | // Level1: 11 | // This class defines the first level of the game. There are nine active targets. 12 | // Each of the targets is stationary and can be hit in any order. 13 | 14 | #include "Level.h" 15 | 16 | ref class Level1: public Level 17 | { 18 | internal: 19 | Level1(); 20 | virtual void Initialize(std::vector objects) override; 21 | }; 22 | -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/Level2.h: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #pragma once 9 | 10 | // Level2: 11 | // This class defines the second level of the game. It derives from the 12 | // first level. In this level the targets must be hit in numeric order. 13 | 14 | #include "Level1.h" 15 | 16 | ref class Level2: public Level1 17 | { 18 | internal: 19 | Level2(); 20 | virtual void Initialize(std::vector objects) override; 21 | 22 | virtual bool Update( 23 | float time, 24 | float elapsedTime, 25 | float timeRemaining, 26 | std::vector objects 27 | ) override; 28 | 29 | virtual void SaveState(PersistentState^ state) override; 30 | virtual void LoadState(PersistentState^ state) override; 31 | 32 | private: 33 | int m_nextId; 34 | }; 35 | -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/Level3.h: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #pragma once 9 | 10 | // Level3: 11 | // This class defines the third level of the game. In this level each of the 12 | // nine targets is moving along closed paths and can be hit 13 | // in any order. 14 | 15 | #include "Level.h" 16 | 17 | ref class Level3: public Level 18 | { 19 | internal: 20 | Level3(); 21 | virtual void Initialize(std::vector objects) override; 22 | }; 23 | -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/Level4.h: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #pragma once 9 | 10 | // Level4: 11 | // This class defines the fourth level of the game. It derives from the 12 | // third level. The targets must be hit in numeric order. 13 | 14 | #include "Level3.h" 15 | 16 | ref class Level4: public Level3 17 | { 18 | internal: 19 | Level4(); 20 | virtual void Initialize(std::vector objects) override; 21 | 22 | virtual bool Update( 23 | float time, 24 | float elapsedTime, 25 | float timeRemaining, 26 | std::vector objects 27 | ) override; 28 | 29 | virtual void SaveState(PersistentState^ state) override; 30 | virtual void LoadState(PersistentState^ state) override; 31 | 32 | private: 33 | int m_nextId; 34 | }; 35 | -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/Level5.h: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #pragma once 9 | 10 | // Level5: 11 | // This class defines the fifth level of the game. It derives from the 12 | // third level. This level introduces obstacles that move into place 13 | // during game play. The targets may be hit in any order. 14 | 15 | #include "Level3.h" 16 | 17 | ref class Level5: public Level3 18 | { 19 | internal: 20 | Level5(); 21 | virtual void Initialize(std::vector objects) override; 22 | }; 23 | -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/Level6.cpp: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #include "pch.h" 9 | #include "Level6.h" 10 | 11 | //---------------------------------------------------------------------- 12 | 13 | Level6::Level6() 14 | { 15 | m_timeLimit = 20.0f; 16 | m_objective = "Hit as many moving targets as possible while avoiding the obstacles before time runs out."; 17 | } 18 | 19 | //---------------------------------------------------------------------- 20 | 21 | bool Level6::Update( 22 | float time, 23 | float elapsedTime, 24 | float timeRemaining, 25 | std::vector objects 26 | ) 27 | { 28 | for (auto object = objects.begin(); object != objects.end(); object++) 29 | { 30 | if ((*object)->Active() && (*object)->Target()) 31 | { 32 | if ((*object)->Hit() && ((*object)->HitTime() < (time - 2.0f))) 33 | { 34 | (*object)->Hit(false); 35 | } 36 | } 37 | } 38 | return ((timeRemaining - elapsedTime) <= 0.0f); 39 | } 40 | 41 | //---------------------------------------------------------------------- -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/Level6.h: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #pragma once 9 | 10 | // Level6: 11 | // This class defines the sixth and final level of the game. It derives from the 12 | // fifth level. In this level the targets do not disappear when they are hit. 13 | // The target will stay highlighted for two seconds. As this is the last level 14 | // the only criteria for completion is time expiring. 15 | 16 | #include "Level5.h" 17 | 18 | ref class Level6: public Level5 19 | { 20 | internal: 21 | Level6(); 22 | virtual bool Update( 23 | float time, 24 | float elapsedTime, 25 | float timeRemaining, 26 | std::vector objects 27 | ) override; 28 | }; 29 | -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/Material.cpp: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #include "pch.h" 9 | #include "Material.h" 10 | #include "GameConstants.h" 11 | 12 | using namespace DirectX; 13 | 14 | //-------------------------------------------------------------------------------- 15 | 16 | Material::Material( 17 | XMFLOAT4 meshColor, 18 | XMFLOAT4 diffuseColor, 19 | XMFLOAT4 specularColor, 20 | float specularExponent, 21 | _In_ ID3D11ShaderResourceView* textureResourceView, 22 | _In_ ID3D11VertexShader* vertexShader, 23 | _In_ ID3D11PixelShader* pixelShader 24 | ) 25 | { 26 | m_meshColor = meshColor; 27 | m_diffuseColor = diffuseColor; 28 | m_specularColor = specularColor; 29 | m_specularExponent = specularExponent; 30 | 31 | m_vertexShader = vertexShader; 32 | m_pixelShader = pixelShader; 33 | m_textureRV = textureResourceView; 34 | } 35 | 36 | //-------------------------------------------------------------------------------- 37 | 38 | void Material::RenderSetup( 39 | _In_ ID3D11DeviceContext* context, 40 | _Inout_ ConstantBufferChangesEveryPrim* constantBuffer 41 | ) 42 | { 43 | constantBuffer->meshColor = m_meshColor; 44 | constantBuffer->specularColor = m_specularColor; 45 | constantBuffer->specularPower = m_specularExponent; 46 | constantBuffer->diffuseColor = m_diffuseColor; 47 | 48 | context->PSSetShaderResources(0, 1, m_textureRV.GetAddressOf()); 49 | context->VSSetShader(m_vertexShader.Get(), nullptr, 0); 50 | context->PSSetShader(m_pixelShader.Get(), nullptr, 0); 51 | } -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/Material.h: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #pragma once 9 | 10 | // Material: 11 | // This class maintains the properties that represent how an object will 12 | // look when it is rendered. This includes the color of the object, the 13 | // texture used to render the object, and the vertex and pixel shader that 14 | // should be used for rendering. 15 | // The RenderSetup method sets the appropriate values into the constantBuffer 16 | // and calls the appropriate D3D11 context methods to set up the rendering pipeline 17 | // in the graphics hardware. 18 | 19 | #include "ConstantBuffers.h" 20 | 21 | ref class Material 22 | { 23 | internal: 24 | Material( 25 | DirectX::XMFLOAT4 meshColor, 26 | DirectX::XMFLOAT4 diffuseColor, 27 | DirectX::XMFLOAT4 specularColor, 28 | float specularExponent, 29 | _In_ ID3D11ShaderResourceView* textureResourceView, 30 | _In_ ID3D11VertexShader* vertexShader, 31 | _In_ ID3D11PixelShader* pixelShader 32 | ); 33 | 34 | void RenderSetup( 35 | _In_ ID3D11DeviceContext* context, 36 | _Inout_ ConstantBufferChangesEveryPrim* constantBuffer 37 | ); 38 | 39 | void SetTexture(_In_ ID3D11ShaderResourceView* textureResourceView) 40 | { 41 | m_textureRV = textureResourceView; 42 | } 43 | 44 | protected private: 45 | DirectX::XMFLOAT4 m_meshColor; 46 | DirectX::XMFLOAT4 m_diffuseColor; 47 | DirectX::XMFLOAT4 m_hitColor; 48 | DirectX::XMFLOAT4 m_specularColor; 49 | float m_specularExponent; 50 | 51 | Microsoft::WRL::ComPtr m_vertexShader; 52 | Microsoft::WRL::ComPtr m_pixelShader; 53 | Microsoft::WRL::ComPtr m_textureRV; 54 | }; 55 | -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/MediaReader.h: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #pragma once 9 | 10 | // MediaReader: 11 | // This is a helper class for the SoundEffect class. It reads small audio files 12 | // synchronously from the package installed folder and returns sound data as a 13 | // byte array. 14 | 15 | ref class MediaReader 16 | { 17 | internal: 18 | MediaReader(); 19 | 20 | Platform::Array^ LoadMedia(_In_ Platform::String^ filename); 21 | WAVEFORMATEX* GetOutputWaveFormatEx(); 22 | 23 | protected private: 24 | Windows::Storage::StorageFolder^ m_installedLocation; 25 | Platform::String^ m_installedLocationPath; 26 | WAVEFORMATEX m_waveFormat; 27 | }; 28 | -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/MeshObject.cpp: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #include "pch.h" 9 | #include "MeshObject.h" 10 | #include "Common\DirectXSample.h" 11 | #include "ConstantBuffers.h" 12 | 13 | using namespace Microsoft::WRL; 14 | using namespace DirectX; 15 | 16 | MeshObject::MeshObject(): 17 | m_vertexCount(0), 18 | m_indexCount(0) 19 | { 20 | } 21 | 22 | //-------------------------------------------------------------------------------- 23 | 24 | void MeshObject::Render(_In_ ID3D11DeviceContext *context) 25 | { 26 | uint32 stride = sizeof(PNTVertex); 27 | uint32 offset = 0; 28 | 29 | context->IASetVertexBuffers(0, 1, m_vertexBuffer.GetAddressOf(), &stride, &offset); 30 | context->IASetIndexBuffer(m_indexBuffer.Get(), DXGI_FORMAT_R16_UINT, 0); 31 | context->IASetPrimitiveTopology(D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST); 32 | context->DrawIndexed(m_indexCount, 0, 0); 33 | } 34 | 35 | //-------------------------------------------------------------------------------- 36 | -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/MeshObject.h: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #pragma once 9 | 10 | // MeshObject: 11 | // This class is the generic (abstract) representation of D3D11 Indexed triangle 12 | // list. Each of the derived classes is just the constructor for the specific 13 | // geometry primitive. This abstract class does not place any requirements on 14 | // the format of the geometry directly. 15 | // The primary method of the MeshObject is Render. The default implementation 16 | // just sets the IndexBuffer, VertexBuffer and topology to a TriangleList and 17 | // makes a DrawIndexed call on the context. It assumes all other state has 18 | // already been set on the context. 19 | 20 | ref class MeshObject abstract 21 | { 22 | internal: 23 | MeshObject(); 24 | 25 | virtual void Render(_In_ ID3D11DeviceContext *context); 26 | 27 | protected private: 28 | Microsoft::WRL::ComPtr m_vertexBuffer; 29 | Microsoft::WRL::ComPtr m_indexBuffer; 30 | int m_vertexCount; 31 | int m_indexCount; 32 | }; 33 | -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/PixelShader.hlsl: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #include "ConstantBuffers.hlsli" 9 | 10 | float4 main(PixelShaderInput input) : SV_Target 11 | { 12 | float diffuseLuminance = 13 | max(0.0f, dot(input.normal, input.vertexToLight0)) + 14 | max(0.0f, dot(input.normal, input.vertexToLight1)) + 15 | max(0.0f, dot(input.normal, input.vertexToLight2)) + 16 | max(0.0f, dot(input.normal, input.vertexToLight3)); 17 | 18 | // Normalize view space vertex-to-eye 19 | input.vertexToEye = normalize(input.vertexToEye); 20 | 21 | float specularLuminance = 1.0f; 22 | 23 | float4 specular; 24 | specular = specularColor * specularLuminance * 0.5f; 25 | 26 | return diffuseTexture.Sample(linearSampler, input.textureUV) * diffuseColor * diffuseLuminance * 0.5f + specular; 27 | } 28 | -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/PixelShaderFlat.hlsl: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #include "ConstantBuffers.hlsli" 9 | 10 | float4 main(PixelShaderFlatInput input) : SV_Target 11 | { 12 | return diffuseTexture.Sample(linearSampler, input.textureUV) * input.diffuseColor; 13 | } 14 | -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/SoundEffect.h: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #pragma once 9 | 10 | // SoundEffect: 11 | // This class plays a sound using XAudio2. It uses a mastering voice provided 12 | // from the Audio class. The sound data can be read from disk using the MediaReader 13 | // class. 14 | 15 | ref class SoundEffect 16 | { 17 | internal: 18 | SoundEffect(); 19 | 20 | void Initialize( 21 | _In_ IXAudio2* masteringEngine, 22 | _In_ WAVEFORMATEX* sourceFormat, 23 | _In_ Platform::Array^ soundData 24 | ); 25 | 26 | void PlaySound(_In_ float volume); 27 | 28 | protected private: 29 | bool m_audioAvailable; 30 | IXAudio2SourceVoice* m_sourceVoice; 31 | Platform::Array^ m_soundData; 32 | }; 33 | -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/Sphere.h: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #pragma once 9 | 10 | // Sphere: 11 | // This class is a specialization of GameObject that represents a sphere primitive. 12 | // The sphere is defined by a 'position' and radius. 13 | 14 | #include "GameObject.h" 15 | 16 | ref class Sphere: public GameObject 17 | { 18 | internal: 19 | Sphere(); 20 | Sphere(DirectX::XMFLOAT3 pos, float radius); 21 | 22 | void Position(DirectX::XMFLOAT3 position); 23 | void Position(DirectX::XMVECTOR position); 24 | void Radius(float radius); 25 | float Radius(); 26 | 27 | virtual bool IsTouching( 28 | DirectX::XMFLOAT3 point, 29 | float radius, 30 | _Out_ DirectX::XMFLOAT3 *contact, 31 | _Out_ DirectX::XMFLOAT3 *normal 32 | ) override; 33 | 34 | private: 35 | void Update(); 36 | 37 | float m_radius; 38 | }; 39 | 40 | 41 | __forceinline void Sphere::Position(DirectX::XMFLOAT3 position) 42 | { 43 | m_position = position; 44 | Update(); 45 | } 46 | 47 | __forceinline void Sphere::Position(DirectX::XMVECTOR position) 48 | { 49 | DirectX::XMStoreFloat3(&m_position, position); 50 | Update(); 51 | } 52 | 53 | __forceinline void Sphere::Radius(float radius) 54 | { 55 | m_radius = radius; 56 | Update(); 57 | } 58 | 59 | __forceinline float Sphere::Radius() 60 | { 61 | return m_radius; 62 | } -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/SphereMesh.h: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #pragma once 9 | 10 | // SphereMesh: 11 | // This class derives from MeshObject and creates a ID3D11Buffer of 12 | // vertices and indices to represent a canonical sphere that is 13 | // positioned at the origin with a radius of 1.0. 14 | 15 | #include "MeshObject.h" 16 | 17 | ref class SphereMesh: public MeshObject 18 | { 19 | internal: 20 | SphereMesh(_In_ ID3D11Device *device, uint32 segments); 21 | }; 22 | -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/StereoProjection.h: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #pragma once 9 | 10 | typedef struct STEREO_PARAMETERS 11 | { 12 | float viewerDistanceInches; 13 | float displaySizeInches; 14 | float pixelResolutionWidth; 15 | float pixelResolutionHeight; 16 | float stereoSeparationFactor; 17 | float stereoExaggerationFactor; 18 | } STEREO_PARAMETERS; 19 | 20 | // Enumeration for stereo channels (left and right). 21 | typedef enum class STEREO_CHANNEL 22 | { 23 | LEFT = 0, 24 | RIGHT 25 | } STEREO_CHANNEL; 26 | 27 | // Enumeration for stereo mode (normal or inverted). 28 | typedef enum class STEREO_MODE 29 | { 30 | NORMAL = 0, 31 | INVERTED, 32 | } STEREO_MODE; 33 | 34 | void StereoCreateDefaultParameters(_Out_ STEREO_PARAMETERS* pStereoParameters); 35 | 36 | DirectX::XMMATRIX MatrixStereoProjectionFovLH( 37 | _In_opt_ const STEREO_PARAMETERS* stereoParameters, 38 | STEREO_CHANNEL channel, 39 | float fovAngleY, 40 | float aspectHByW, 41 | float nearZ, 42 | float farZ, 43 | STEREO_MODE stereoMode 44 | ); 45 | 46 | -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/VertexShader.hlsl: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #include "ConstantBuffers.hlsli" 9 | 10 | PixelShaderInput main(VertextShaderInput input) 11 | { 12 | PixelShaderInput output = (PixelShaderInput)0; 13 | 14 | output.position = mul(mul(mul(input.position, world), view), projection); 15 | output.textureUV = input.textureUV; 16 | 17 | // compute view space normal 18 | output.normal = normalize (mul(mul(input.normal.xyz, (float3x3)world), (float3x3)view)); 19 | 20 | // Vertex pos in view space (normalize in pixel shader) 21 | output.vertexToEye = -mul(mul(input.position, world), view).xyz; 22 | 23 | // Compute view space vertex to light vectors (normalized) 24 | output.vertexToLight0 = normalize(mul(lightPosition[0], view ).xyz + output.vertexToEye); 25 | output.vertexToLight1 = normalize(mul(lightPosition[1], view ).xyz + output.vertexToEye); 26 | output.vertexToLight2 = normalize(mul(lightPosition[2], view ).xyz + output.vertexToEye); 27 | output.vertexToLight3 = normalize(mul(lightPosition[3], view ).xyz + output.vertexToEye); 28 | 29 | return output; 30 | } -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/VertexShaderFlat.hlsl: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #include "ConstantBuffers.hlsli" 9 | 10 | PixelShaderFlatInput main(VertextShaderInput input) 11 | { 12 | PixelShaderFlatInput output = (PixelShaderFlatInput)0; 13 | 14 | output.position = mul(mul(mul(input.position, world), view), projection); 15 | output.textureUV = input.textureUV; 16 | 17 | // compute view space normal 18 | float3 normal = normalize (mul(mul(input.normal.xyz, (float3x3)world), (float3x3)view)); 19 | 20 | // Vertex pos in view space (normalize in pixel shader) 21 | float3 vertexToEye = -mul(mul(input.position, world), view).xyz; 22 | 23 | // Compute view space vertex to light vectors (normalized) 24 | float3 vertexToLight0 = normalize(mul(lightPosition[0], view ).xyz + vertexToEye); 25 | float3 vertexToLight1 = normalize(mul(lightPosition[1], view ).xyz + vertexToEye); 26 | float3 vertexToLight2 = normalize(mul(lightPosition[2], view ).xyz + vertexToEye); 27 | float3 vertexToLight3 = normalize(mul(lightPosition[3], view ).xyz + vertexToEye); 28 | 29 | output.diffuseColor = diffuseColor * 30 | (max(0.0f, dot(normal, vertexToLight0)) + 31 | max(0.0f, dot(normal, vertexToLight1)) + 32 | max(0.0f, dot(normal, vertexToLight2)) + 33 | max(0.0f, dot(normal, vertexToLight3))) * 0.5f; 34 | 35 | return output; 36 | } -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/WorldMesh.h: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #pragma once 9 | 10 | #include "MeshObject.h" 11 | 12 | // WorldCeilingMesh: 13 | // This class derives from MeshObject and creates a ID3D11Buffer of 14 | // vertices and indices to represent the ceiling of the bounding cube 15 | // of the world. 16 | // The vertices are defined by a position, a normal and a single 17 | // 2D texture coordinate. 18 | 19 | ref class WorldCeilingMesh: public MeshObject 20 | { 21 | internal: 22 | WorldCeilingMesh(_In_ ID3D11Device *device); 23 | }; 24 | 25 | // WorldFloorMesh: 26 | // This class derives from MeshObject and creates a ID3D11Buffer of 27 | // vertices and indices to represent the floor of the bounding cube 28 | // of the world. 29 | 30 | ref class WorldFloorMesh: public MeshObject 31 | { 32 | internal: 33 | WorldFloorMesh(_In_ ID3D11Device *device); 34 | }; 35 | 36 | // WorldWallsMesh: 37 | // This class derives from MeshObject and creates a ID3D11Buffer of 38 | // vertices and indices to represent the walls of the bounding cube 39 | // of the world. 40 | 41 | ref class WorldWallsMesh: public MeshObject 42 | { 43 | internal: 44 | WorldWallsMesh(_In_ ID3D11Device *device); 45 | }; 46 | -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/pch.cpp: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #include "pch.h" 9 | -------------------------------------------------------------------------------- /DirectXSceneStore/GameContent/pch.h: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #pragma once 9 | 10 | #include 11 | #include 12 | #include 13 | #include 14 | #include 15 | #include 16 | #include 17 | #include 18 | 19 | #include 20 | #include 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | 27 | #include 28 | #include 29 | #include 30 | 31 | #include 32 | #include 33 | #include 34 | 35 | -------------------------------------------------------------------------------- /DirectXSceneStore/GameUIConstants.h: -------------------------------------------------------------------------------- 1 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 2 | //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 3 | //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 4 | //// PARTICULAR PURPOSE. 5 | //// 6 | //// Copyright (c) Microsoft Corporation. All rights reserved 7 | 8 | #pragma once 9 | 10 | // ** Store Version *** 11 | namespace GameInfoOverlayConstant 12 | { 13 | static const float Width = 750.0f; 14 | static const float Height = 380.0f; 15 | static const float TitlePointSize = 32.0f; 16 | static const float TitleHeight = 50.0f; 17 | static const float Separator = 10.0f; 18 | static const float BodyPointSize = 24.0f; 19 | static const float ActionHeight = 40.0f; 20 | static const float TopMargin = 50.0f; 21 | static const float SideMargin = 50.0f; 22 | static const float BottomMargin = 5.0f; 23 | }; 24 | 25 | namespace GameConstants 26 | { 27 | static const float CrossHairHalfSize = 20.0f; 28 | static const float HudSafeWidth = 300.0f; 29 | static const float HudRightOffset = 250.0f; 30 | static const float HudTopOffset = 50.0f; 31 | static const float Margin = 5.0f; 32 | static const float HudBodyPointSize = 24.0f; 33 | static const float HudTitleHeaderPointSize = 16.0f; 34 | static const float HudTitleBodyPointSize = 36.0f; 35 | static const float HudLicensePointSize = 20.0f; 36 | 37 | static const float TouchRectangleSize = 300.0f; 38 | static const float MinPlayableWidth = 512.0f; 39 | }; 40 | -------------------------------------------------------------------------------- /DirectXSceneStore/MoveLookControllerKinect.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | #include "MoveLookControllerKinect.h" 3 | 4 | 5 | MoveLookController^ MoveLookControllerKinect::Create() 6 | { 7 | auto p = ref new MoveLookControllerKinect(); 8 | return static_cast(p); 9 | } 10 | 11 | MoveLookControllerKinect::MoveLookControllerKinect() 12 | { 13 | 14 | } 15 | 16 | 17 | -------------------------------------------------------------------------------- /DirectXSceneStore/MoveLookControllerKinect.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "GameContent\MoveLookController.h" 3 | ref class MoveLookControllerKinect : public MoveLookController 4 | { 5 | public: 6 | 7 | internal: 8 | static MoveLookController^ Create(); 9 | 10 | private: 11 | MoveLookControllerKinect(); 12 | 13 | }; 14 | 15 | -------------------------------------------------------------------------------- /DirectXSceneStore/ScenePanel.xaml.h: -------------------------------------------------------------------------------- 1 | // 2 | // ScenePanel.xaml.h 3 | // Declaration of the ScenePanel class 4 | // 5 | 6 | #pragma once 7 | 8 | #include "ScenePanel.g.h" 9 | #include "Common\DeviceResources.h" 10 | #include "GameMain.h" 11 | #include "ProductItem.h" 12 | 13 | namespace DirectXSceneStore 14 | { 15 | [Windows::Foundation::Metadata::WebHostHidden] 16 | public ref class ScenePanel sealed : IGameUIControl 17 | { 18 | public: 19 | ScenePanel(); 20 | 21 | void OnSuspending(); 22 | void OnResuming(); 23 | 24 | // Exposing control methods 25 | void SetYawPitch(float yaw, float pitch); 26 | void Fire(); 27 | 28 | // IGameUIControl methods. 29 | virtual void SetAction(GameInfoOverlayCommand action); 30 | virtual void SetGameLoading(); 31 | virtual void SetGameStats(int maxLevel, int hitCount, int shotCount); 32 | virtual void SetGameOver(bool win, int maxLevel, int hitCount, int shotCount, int highScore); 33 | virtual void SetLevelStart(int level, Platform::String^ objective, float timeLimit, float bonusTime); 34 | virtual void SetPause(int level, int hitCount, int shotCount, float timeRemaining); 35 | virtual void ShowTooSmall(); 36 | virtual void HideTooSmall(); 37 | virtual void HideGameInfoOverlay(); 38 | virtual void ShowGameInfoOverlay(); 39 | 40 | private: 41 | std::shared_ptr m_deviceResources; 42 | std::unique_ptr m_main; 43 | bool m_playActive; 44 | 45 | void OnGameInfoOverlayTapped(Object^ sender, Windows::UI::Xaml::Input::TappedRoutedEventArgs^ args); 46 | 47 | void OnChangeBackgroundButtonClicked(Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ args); 48 | 49 | void OnCompositionScaleChanged(Windows::UI::Xaml::Controls::SwapChainPanel ^sender, Platform::Object ^args); 50 | void OnSwapChainPanelSizeChanged(Platform::Object^ sender, Windows::UI::Xaml::SizeChangedEventArgs^ e); 51 | }; 52 | } 53 | -------------------------------------------------------------------------------- /DirectXSceneStore/pch.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // pch.cpp 3 | // Include the standard header and generate the precompiled header. 4 | // 5 | 6 | #include "pch.h" 7 | -------------------------------------------------------------------------------- /DirectXSceneStore/pch.h: -------------------------------------------------------------------------------- 1 | // 2 | // pch.h 3 | // Header for standard system include files. 4 | // 5 | 6 | #pragma once 7 | 8 | 9 | #include 10 | #include 11 | #include 12 | #include 13 | #include 14 | #include 15 | #include 16 | #include 17 | 18 | #include 19 | #include 20 | 21 | #include 22 | #include 23 | #include 24 | #include 25 | 26 | #include 27 | #include 28 | #include 29 | 30 | #include 31 | #include 32 | #include 33 | #include -------------------------------------------------------------------------------- /FinalLibraryZips/DirectXSceneStore.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/FinalLibraryZips/DirectXSceneStore.zip -------------------------------------------------------------------------------- /FinalLibraryZips/KinectFaceStore.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/FinalLibraryZips/KinectFaceStore.zip -------------------------------------------------------------------------------- /Kinect2Sample.Lab1/Kinect2Sample.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2013 4 | VisualStudioVersion = 12.0.31101.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Kinect2Sample", "Kinect2Sample\Kinect2Sample.csproj", "{10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x64.ActiveCfg = Debug|x64 17 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x64.Build.0 = Debug|x64 18 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x64.Deploy.0 = Debug|x64 19 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x86.ActiveCfg = Debug|x86 20 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x86.Build.0 = Debug|x86 21 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x86.Deploy.0 = Debug|x86 22 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x64.ActiveCfg = Release|x64 23 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x64.Build.0 = Release|x64 24 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x64.Deploy.0 = Release|x64 25 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x86.ActiveCfg = Release|x86 26 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x86.Build.0 = Release|x86 27 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x86.Deploy.0 = Release|x86 28 | EndGlobalSection 29 | GlobalSection(SolutionProperties) = preSolution 30 | HideSolutionNode = FALSE 31 | EndGlobalSection 32 | EndGlobal 33 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab1/Kinect2Sample/App.xaml: -------------------------------------------------------------------------------- 1 |  6 | 7 | 8 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab1/Kinect2Sample/Assets/Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab1/Kinect2Sample/Assets/Logo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab1/Kinect2Sample/Assets/SmallLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab1/Kinect2Sample/Assets/SmallLogo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab1/Kinect2Sample/Assets/SplashScreen.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab1/Kinect2Sample/Assets/SplashScreen.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab1/Kinect2Sample/Assets/StoreLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab1/Kinect2Sample/Assets/StoreLogo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab1/Kinect2Sample/Kinect2Sample_TemporaryKey.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab1/Kinect2Sample/Kinect2Sample_TemporaryKey.pfx -------------------------------------------------------------------------------- /Kinect2Sample.Lab1/Kinect2Sample/MainPage.xaml: -------------------------------------------------------------------------------- 1 |  9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab1/Kinect2Sample/MainPage.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Runtime.InteropServices.WindowsRuntime; 6 | using Windows.Foundation; 7 | using Windows.Foundation.Collections; 8 | using Windows.UI.Xaml; 9 | using Windows.UI.Xaml.Controls; 10 | using Windows.UI.Xaml.Controls.Primitives; 11 | using Windows.UI.Xaml.Data; 12 | using Windows.UI.Xaml.Input; 13 | using Windows.UI.Xaml.Media; 14 | using Windows.UI.Xaml.Navigation; 15 | using WindowsPreview.Kinect; 16 | 17 | namespace Kinect2Sample 18 | { 19 | 20 | public sealed partial class MainPage : Page 21 | { 22 | 23 | private KinectSensor kinectSensor = null; 24 | 25 | public MainPage() 26 | { 27 | // one sensor is currently supported 28 | this.kinectSensor = KinectSensor.GetDefault(); 29 | 30 | // open the sensor 31 | this.kinectSensor.Open(); 32 | 33 | this.InitializeComponent(); 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab1/Kinect2Sample/Package.appxmanifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Kinect2Sample 6 | Jesse 7 | Assets\StoreLogo.png 8 | 9 | 10 | 6.3.0 11 | 6.3.0 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab1/Kinect2Sample/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Kinect2Sample")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Kinect2Sample")] 13 | [assembly: AssemblyCopyright("Copyright © 2014")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Version information for an assembly consists of the following four values: 18 | // 19 | // Major Version 20 | // Minor Version 21 | // Build Number 22 | // Revision 23 | // 24 | // You can specify all the values or you can default the Build and Revision Numbers 25 | // by using the '*' as shown below: 26 | // [assembly: AssemblyVersion("1.0.*")] 27 | [assembly: AssemblyVersion("1.0.0.0")] 28 | [assembly: AssemblyFileVersion("1.0.0.0")] 29 | [assembly: ComVisible(false)] -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2013 4 | VisualStudioVersion = 12.0.31101.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Kinect2Sample", "Kinect2Sample\Kinect2Sample.csproj", "{10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x64.ActiveCfg = Debug|x64 17 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x64.Build.0 = Debug|x64 18 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x64.Deploy.0 = Debug|x64 19 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x86.ActiveCfg = Debug|x64 20 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x64.ActiveCfg = Release|x64 21 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x64.Build.0 = Release|x64 22 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x64.Deploy.0 = Release|x64 23 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x86.ActiveCfg = Release|x64 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/App.xaml: -------------------------------------------------------------------------------- 1 |  6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Assets/Background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Assets/Background.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Assets/CatEye_left_closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Assets/CatEye_left_closed.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Assets/CatEye_left_open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Assets/CatEye_left_open.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Assets/CatNose.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Assets/CatNose.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Assets/Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Assets/Logo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Assets/SmallLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Assets/SmallLogo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Assets/SplashScreen.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Assets/SplashScreen.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Assets/StoreLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Assets/StoreLogo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/DisplayTypeToVisibilityConverter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using Windows.UI.Xaml; 7 | using Windows.UI.Xaml.Data; 8 | 9 | namespace Kinect2Sample 10 | { 11 | class DisplayTypeToVisibilityConverter :IValueConverter 12 | { 13 | public object Convert(object value, Type targetType, object parameter, string language) 14 | { 15 | String boundString = Enum.GetName(typeof(DisplayFrameType), value); 16 | String matchString = (String)parameter; 17 | 18 | if (String.Equals(boundString, matchString)) 19 | { 20 | return Visibility.Visible; 21 | } 22 | else 23 | { 24 | return Visibility.Collapsed; 25 | } 26 | } 27 | 28 | public object ConvertBack(object value, Type targetType, object parameter, string language) 29 | { 30 | throw new NotImplementedException(); 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Kinect2Sample_TemporaryKey.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Kinect2Sample_TemporaryKey.pfx -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore.dll -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore.pri: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore.pri -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore.winmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore.winmd -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/bounce.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/bounce.wav -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/cellceiling.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/cellceiling.dds -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/cellfloor.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/cellfloor.dds -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/cellwall.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/cellwall.dds -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/dayceiling.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/dayceiling.dds -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/dayfloor.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/dayfloor.dds -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/daywall.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/daywall.dds -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/hit.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/hit.wav -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/mediumTile-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/mediumTile-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/metal_texture.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/metal_texture.dds -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/nightceiling.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/nightceiling.dds -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/nightfloor.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/nightfloor.dds -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/nightwall.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/nightwall.dds -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/seafloor.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/seafloor.dds -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/smallTile-phone-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/smallTile-phone-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/smallTile-windows-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/smallTile-windows-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/splash-phone-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/splash-phone-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/splash-windows-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/splash-windows-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/squareTile-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/squareTile-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/storeLogo-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/storeLogo-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/tile-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/tile-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/windows-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/windows-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/GameUIStyles.xbf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/GameUIStyles.xbf -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/PixelShader.cso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/PixelShader.cso -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/PixelShaderFlat.cso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/PixelShaderFlat.cso -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/ScenePanel.xbf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/ScenePanel.xbf -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/VertexShader.cso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/VertexShader.cso -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/VertexShaderFlat.cso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/DirectXSceneStore/VertexShaderFlat.cso -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/KinectFaceStore.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab10/Kinect2Sample/Libraries/x64/KinectFaceStore.dll -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Package.appxmanifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Kinect2Sample 6 | Jesse 7 | Assets\StoreLogo.png 8 | 9 | 10 | 6.3.0 11 | 6.3.0 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab10/Kinect2Sample/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Kinect2Sample")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Kinect2Sample")] 13 | [assembly: AssemblyCopyright("Copyright © 2014")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Version information for an assembly consists of the following four values: 18 | // 19 | // Major Version 20 | // Minor Version 21 | // Build Number 22 | // Revision 23 | // 24 | // You can specify all the values or you can default the Build and Revision Numbers 25 | // by using the '*' as shown below: 26 | // [assembly: AssemblyVersion("1.0.*")] 27 | [assembly: AssemblyVersion("1.0.0.0")] 28 | [assembly: AssemblyFileVersion("1.0.0.0")] 29 | [assembly: ComVisible(false)] -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2013 4 | VisualStudioVersion = 12.0.31101.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Kinect2Sample", "Kinect2Sample\Kinect2Sample.csproj", "{10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x64.ActiveCfg = Debug|x64 17 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x64.Build.0 = Debug|x64 18 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x64.Deploy.0 = Debug|x64 19 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x86.ActiveCfg = Debug|x64 20 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x64.ActiveCfg = Release|x64 21 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x64.Build.0 = Release|x64 22 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x64.Deploy.0 = Release|x64 23 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x86.ActiveCfg = Release|x64 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/App.xaml: -------------------------------------------------------------------------------- 1 |  6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Assets/Background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Assets/Background.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Assets/CatEye_left_closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Assets/CatEye_left_closed.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Assets/CatEye_left_open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Assets/CatEye_left_open.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Assets/CatNose.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Assets/CatNose.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Assets/Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Assets/Logo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Assets/SmallLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Assets/SmallLogo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Assets/SplashScreen.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Assets/SplashScreen.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Assets/StoreLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Assets/StoreLogo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Database/HandsAboveHead.gbd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Database/HandsAboveHead.gbd -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/DisplayTypeToVisibilityConverter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using Windows.UI.Xaml; 7 | using Windows.UI.Xaml.Data; 8 | 9 | namespace Kinect2Sample 10 | { 11 | class DisplayTypeToVisibilityConverter :IValueConverter 12 | { 13 | public object Convert(object value, Type targetType, object parameter, string language) 14 | { 15 | String boundString = Enum.GetName(typeof(DisplayFrameType), value); 16 | String matchString = (String)parameter; 17 | 18 | if (String.Equals(boundString, matchString)) 19 | { 20 | return Visibility.Visible; 21 | } 22 | else 23 | { 24 | return Visibility.Collapsed; 25 | } 26 | } 27 | 28 | public object ConvertBack(object value, Type targetType, object parameter, string language) 29 | { 30 | throw new NotImplementedException(); 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Kinect2Sample_TemporaryKey.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Kinect2Sample_TemporaryKey.pfx -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore.dll -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore.pri: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore.pri -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore.winmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore.winmd -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/bounce.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/bounce.wav -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/cellceiling.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/cellceiling.dds -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/cellfloor.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/cellfloor.dds -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/cellwall.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/cellwall.dds -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/dayceiling.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/dayceiling.dds -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/dayfloor.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/dayfloor.dds -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/daywall.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/daywall.dds -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/hit.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/hit.wav -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/mediumTile-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/mediumTile-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/metal_texture.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/metal_texture.dds -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/nightceiling.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/nightceiling.dds -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/nightfloor.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/nightfloor.dds -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/nightwall.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/nightwall.dds -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/seafloor.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/seafloor.dds -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/smallTile-phone-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/smallTile-phone-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/smallTile-windows-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/smallTile-windows-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/splash-phone-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/splash-phone-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/splash-windows-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/splash-windows-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/squareTile-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/squareTile-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/storeLogo-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/storeLogo-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/tile-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/tile-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/windows-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/windows-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/GameUIStyles.xbf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/GameUIStyles.xbf -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/PixelShader.cso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/PixelShader.cso -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/PixelShaderFlat.cso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/PixelShaderFlat.cso -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/ScenePanel.xbf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/ScenePanel.xbf -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/VertexShader.cso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/VertexShader.cso -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/VertexShaderFlat.cso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/DirectXSceneStore/VertexShaderFlat.cso -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/KinectFaceStore.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab12/Kinect2Sample/Libraries/x64/KinectFaceStore.dll -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Package.appxmanifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Kinect2Sample 6 | Jesse 7 | Assets\StoreLogo.png 8 | 9 | 10 | 6.3.0 11 | 6.3.0 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab12/Kinect2Sample/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Kinect2Sample")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Kinect2Sample")] 13 | [assembly: AssemblyCopyright("Copyright © 2014")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Version information for an assembly consists of the following four values: 18 | // 19 | // Major Version 20 | // Minor Version 21 | // Build Number 22 | // Revision 23 | // 24 | // You can specify all the values or you can default the Build and Revision Numbers 25 | // by using the '*' as shown below: 26 | // [assembly: AssemblyVersion("1.0.*")] 27 | [assembly: AssemblyVersion("1.0.0.0")] 28 | [assembly: AssemblyFileVersion("1.0.0.0")] 29 | [assembly: ComVisible(false)] -------------------------------------------------------------------------------- /Kinect2Sample.Lab2/Kinect2Sample/App.xaml: -------------------------------------------------------------------------------- 1 |  6 | 7 | 8 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab2/Kinect2Sample/Assets/Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab2/Kinect2Sample/Assets/Logo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab2/Kinect2Sample/Assets/SmallLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab2/Kinect2Sample/Assets/SmallLogo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab2/Kinect2Sample/Assets/SplashScreen.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab2/Kinect2Sample/Assets/SplashScreen.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab2/Kinect2Sample/Assets/StoreLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab2/Kinect2Sample/Assets/StoreLogo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab2/Kinect2Sample/MainPage.xaml: -------------------------------------------------------------------------------- 1 |  9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 19 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab2/Kinect2Sample/Package.appxmanifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Kinect2Sample 6 | Jesse 7 | Assets\StoreLogo.png 8 | 9 | 10 | 6.3.0 11 | 6.3.0 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab2/Kinect2Sample/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Kinect2Sample")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Kinect2Sample")] 13 | [assembly: AssemblyCopyright("Copyright © 2014")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Version information for an assembly consists of the following four values: 18 | // 19 | // Major Version 20 | // Minor Version 21 | // Build Number 22 | // Revision 23 | // 24 | // You can specify all the values or you can default the Build and Revision Numbers 25 | // by using the '*' as shown below: 26 | // [assembly: AssemblyVersion("1.0.*")] 27 | [assembly: AssemblyVersion("1.0.0.0")] 28 | [assembly: AssemblyFileVersion("1.0.0.0")] 29 | [assembly: ComVisible(false)] -------------------------------------------------------------------------------- /Kinect2Sample.Lab3/Kinect2Sample.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2013 4 | VisualStudioVersion = 12.0.31101.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Kinect2Sample", "Kinect2Sample\Kinect2Sample.csproj", "{10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x64.ActiveCfg = Debug|x64 17 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x64.Build.0 = Debug|x64 18 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x64.Deploy.0 = Debug|x64 19 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x86.ActiveCfg = Debug|x86 20 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x86.Build.0 = Debug|x86 21 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x86.Deploy.0 = Debug|x86 22 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x64.ActiveCfg = Release|x64 23 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x64.Build.0 = Release|x64 24 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x64.Deploy.0 = Release|x64 25 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x86.ActiveCfg = Release|x86 26 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x86.Build.0 = Release|x86 27 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x86.Deploy.0 = Release|x86 28 | EndGlobalSection 29 | GlobalSection(SolutionProperties) = preSolution 30 | HideSolutionNode = FALSE 31 | EndGlobalSection 32 | EndGlobal 33 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab3/Kinect2Sample/App.xaml: -------------------------------------------------------------------------------- 1 |  6 | 7 | 8 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab3/Kinect2Sample/Assets/Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab3/Kinect2Sample/Assets/Logo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab3/Kinect2Sample/Assets/SmallLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab3/Kinect2Sample/Assets/SmallLogo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab3/Kinect2Sample/Assets/SplashScreen.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab3/Kinect2Sample/Assets/SplashScreen.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab3/Kinect2Sample/Assets/StoreLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab3/Kinect2Sample/Assets/StoreLogo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab3/Kinect2Sample/Kinect2Sample_TemporaryKey.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab3/Kinect2Sample/Kinect2Sample_TemporaryKey.pfx -------------------------------------------------------------------------------- /Kinect2Sample.Lab3/Kinect2Sample/Package.appxmanifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Kinect2Sample 6 | Jesse 7 | Assets\StoreLogo.png 8 | 9 | 10 | 6.3.0 11 | 6.3.0 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab3/Kinect2Sample/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Kinect2Sample")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Kinect2Sample")] 13 | [assembly: AssemblyCopyright("Copyright © 2014")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Version information for an assembly consists of the following four values: 18 | // 19 | // Major Version 20 | // Minor Version 21 | // Build Number 22 | // Revision 23 | // 24 | // You can specify all the values or you can default the Build and Revision Numbers 25 | // by using the '*' as shown below: 26 | // [assembly: AssemblyVersion("1.0.*")] 27 | [assembly: AssemblyVersion("1.0.0.0")] 28 | [assembly: AssemblyFileVersion("1.0.0.0")] 29 | [assembly: ComVisible(false)] -------------------------------------------------------------------------------- /Kinect2Sample.Lab4/Kinect2Sample.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2013 4 | VisualStudioVersion = 12.0.31101.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Kinect2Sample", "Kinect2Sample\Kinect2Sample.csproj", "{10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x64.ActiveCfg = Debug|x64 17 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x64.Build.0 = Debug|x64 18 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x64.Deploy.0 = Debug|x64 19 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x86.ActiveCfg = Debug|x86 20 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x86.Build.0 = Debug|x86 21 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x86.Deploy.0 = Debug|x86 22 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x64.ActiveCfg = Release|x64 23 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x64.Build.0 = Release|x64 24 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x64.Deploy.0 = Release|x64 25 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x86.ActiveCfg = Release|x86 26 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x86.Build.0 = Release|x86 27 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x86.Deploy.0 = Release|x86 28 | EndGlobalSection 29 | GlobalSection(SolutionProperties) = preSolution 30 | HideSolutionNode = FALSE 31 | EndGlobalSection 32 | EndGlobal 33 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab4/Kinect2Sample/App.xaml: -------------------------------------------------------------------------------- 1 |  6 | 7 | 8 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab4/Kinect2Sample/Assets/Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab4/Kinect2Sample/Assets/Logo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab4/Kinect2Sample/Assets/SmallLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab4/Kinect2Sample/Assets/SmallLogo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab4/Kinect2Sample/Assets/SplashScreen.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab4/Kinect2Sample/Assets/SplashScreen.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab4/Kinect2Sample/Assets/StoreLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab4/Kinect2Sample/Assets/StoreLogo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab4/Kinect2Sample/Kinect2Sample_TemporaryKey.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab4/Kinect2Sample/Kinect2Sample_TemporaryKey.pfx -------------------------------------------------------------------------------- /Kinect2Sample.Lab4/Kinect2Sample/Package.appxmanifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Kinect2Sample 6 | Jesse 7 | Assets\StoreLogo.png 8 | 9 | 10 | 6.3.0 11 | 6.3.0 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab4/Kinect2Sample/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Kinect2Sample")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Kinect2Sample")] 13 | [assembly: AssemblyCopyright("Copyright © 2014")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Version information for an assembly consists of the following four values: 18 | // 19 | // Major Version 20 | // Minor Version 21 | // Build Number 22 | // Revision 23 | // 24 | // You can specify all the values or you can default the Build and Revision Numbers 25 | // by using the '*' as shown below: 26 | // [assembly: AssemblyVersion("1.0.*")] 27 | [assembly: AssemblyVersion("1.0.0.0")] 28 | [assembly: AssemblyFileVersion("1.0.0.0")] 29 | [assembly: ComVisible(false)] -------------------------------------------------------------------------------- /Kinect2Sample.Lab5/Kinect2Sample.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2013 4 | VisualStudioVersion = 12.0.31101.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Kinect2Sample", "Kinect2Sample\Kinect2Sample.csproj", "{10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x64.ActiveCfg = Debug|x64 17 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x64.Build.0 = Debug|x64 18 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x64.Deploy.0 = Debug|x64 19 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x86.ActiveCfg = Debug|x86 20 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x86.Build.0 = Debug|x86 21 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x86.Deploy.0 = Debug|x86 22 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x64.ActiveCfg = Release|x64 23 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x64.Build.0 = Release|x64 24 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x64.Deploy.0 = Release|x64 25 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x86.ActiveCfg = Release|x86 26 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x86.Build.0 = Release|x86 27 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x86.Deploy.0 = Release|x86 28 | EndGlobalSection 29 | GlobalSection(SolutionProperties) = preSolution 30 | HideSolutionNode = FALSE 31 | EndGlobalSection 32 | EndGlobal 33 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab5/Kinect2Sample/App.xaml: -------------------------------------------------------------------------------- 1 |  6 | 7 | 8 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab5/Kinect2Sample/Assets/Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab5/Kinect2Sample/Assets/Logo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab5/Kinect2Sample/Assets/SmallLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab5/Kinect2Sample/Assets/SmallLogo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab5/Kinect2Sample/Assets/SplashScreen.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab5/Kinect2Sample/Assets/SplashScreen.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab5/Kinect2Sample/Assets/StoreLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab5/Kinect2Sample/Assets/StoreLogo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab5/Kinect2Sample/Kinect2Sample_TemporaryKey.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab5/Kinect2Sample/Kinect2Sample_TemporaryKey.pfx -------------------------------------------------------------------------------- /Kinect2Sample.Lab5/Kinect2Sample/Package.appxmanifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Kinect2Sample 6 | Jesse 7 | Assets\StoreLogo.png 8 | 9 | 10 | 6.3.0 11 | 6.3.0 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab5/Kinect2Sample/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Kinect2Sample")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Kinect2Sample")] 13 | [assembly: AssemblyCopyright("Copyright © 2014")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Version information for an assembly consists of the following four values: 18 | // 19 | // Major Version 20 | // Minor Version 21 | // Build Number 22 | // Revision 23 | // 24 | // You can specify all the values or you can default the Build and Revision Numbers 25 | // by using the '*' as shown below: 26 | // [assembly: AssemblyVersion("1.0.*")] 27 | [assembly: AssemblyVersion("1.0.0.0")] 28 | [assembly: AssemblyFileVersion("1.0.0.0")] 29 | [assembly: ComVisible(false)] -------------------------------------------------------------------------------- /Kinect2Sample.Lab6/Kinect2Sample.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2013 4 | VisualStudioVersion = 12.0.31101.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Kinect2Sample", "Kinect2Sample\Kinect2Sample.csproj", "{10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x64.ActiveCfg = Debug|x64 17 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x64.Build.0 = Debug|x64 18 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x64.Deploy.0 = Debug|x64 19 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x86.ActiveCfg = Debug|x86 20 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x86.Build.0 = Debug|x86 21 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x86.Deploy.0 = Debug|x86 22 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x64.ActiveCfg = Release|x64 23 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x64.Build.0 = Release|x64 24 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x64.Deploy.0 = Release|x64 25 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x86.ActiveCfg = Release|x86 26 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x86.Build.0 = Release|x86 27 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x86.Deploy.0 = Release|x86 28 | EndGlobalSection 29 | GlobalSection(SolutionProperties) = preSolution 30 | HideSolutionNode = FALSE 31 | EndGlobalSection 32 | EndGlobal 33 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab6/Kinect2Sample/App.xaml: -------------------------------------------------------------------------------- 1 |  6 | 7 | 8 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab6/Kinect2Sample/Assets/Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab6/Kinect2Sample/Assets/Logo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab6/Kinect2Sample/Assets/SmallLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab6/Kinect2Sample/Assets/SmallLogo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab6/Kinect2Sample/Assets/SplashScreen.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab6/Kinect2Sample/Assets/SplashScreen.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab6/Kinect2Sample/Assets/StoreLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab6/Kinect2Sample/Assets/StoreLogo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab6/Kinect2Sample/Kinect2Sample_TemporaryKey.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab6/Kinect2Sample/Kinect2Sample_TemporaryKey.pfx -------------------------------------------------------------------------------- /Kinect2Sample.Lab6/Kinect2Sample/Package.appxmanifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Kinect2Sample 6 | Jesse 7 | Assets\StoreLogo.png 8 | 9 | 10 | 6.3.0 11 | 6.3.0 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab6/Kinect2Sample/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Kinect2Sample")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Kinect2Sample")] 13 | [assembly: AssemblyCopyright("Copyright © 2014")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Version information for an assembly consists of the following four values: 18 | // 19 | // Major Version 20 | // Minor Version 21 | // Build Number 22 | // Revision 23 | // 24 | // You can specify all the values or you can default the Build and Revision Numbers 25 | // by using the '*' as shown below: 26 | // [assembly: AssemblyVersion("1.0.*")] 27 | [assembly: AssemblyVersion("1.0.0.0")] 28 | [assembly: AssemblyFileVersion("1.0.0.0")] 29 | [assembly: ComVisible(false)] -------------------------------------------------------------------------------- /Kinect2Sample.Lab7/Kinect2Sample.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2013 4 | VisualStudioVersion = 12.0.31101.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Kinect2Sample", "Kinect2Sample\Kinect2Sample.csproj", "{10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x64.ActiveCfg = Debug|x64 17 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x64.Build.0 = Debug|x64 18 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x64.Deploy.0 = Debug|x64 19 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x86.ActiveCfg = Debug|x86 20 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x86.Build.0 = Debug|x86 21 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x86.Deploy.0 = Debug|x86 22 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x64.ActiveCfg = Release|x64 23 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x64.Build.0 = Release|x64 24 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x64.Deploy.0 = Release|x64 25 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x86.ActiveCfg = Release|x86 26 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x86.Build.0 = Release|x86 27 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x86.Deploy.0 = Release|x86 28 | EndGlobalSection 29 | GlobalSection(SolutionProperties) = preSolution 30 | HideSolutionNode = FALSE 31 | EndGlobalSection 32 | EndGlobal 33 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab7/Kinect2Sample/App.xaml: -------------------------------------------------------------------------------- 1 |  6 | 7 | 8 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab7/Kinect2Sample/Assets/Background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab7/Kinect2Sample/Assets/Background.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab7/Kinect2Sample/Assets/Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab7/Kinect2Sample/Assets/Logo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab7/Kinect2Sample/Assets/SmallLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab7/Kinect2Sample/Assets/SmallLogo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab7/Kinect2Sample/Assets/SplashScreen.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab7/Kinect2Sample/Assets/SplashScreen.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab7/Kinect2Sample/Assets/StoreLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab7/Kinect2Sample/Assets/StoreLogo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab7/Kinect2Sample/DisplayTypeToVisibilityConverter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using Windows.UI.Xaml; 7 | using Windows.UI.Xaml.Data; 8 | 9 | namespace Kinect2Sample 10 | { 11 | class DisplayTypeToVisibilityConverter :IValueConverter 12 | { 13 | public object Convert(object value, Type targetType, object parameter, string language) 14 | { 15 | String boundString = Enum.GetName(typeof(DisplayFrameType), value); 16 | String matchString = (String)parameter; 17 | 18 | if (String.Equals(boundString, matchString)) 19 | { 20 | return Visibility.Visible; 21 | } 22 | else 23 | { 24 | return Visibility.Collapsed; 25 | } 26 | } 27 | 28 | public object ConvertBack(object value, Type targetType, object parameter, string language) 29 | { 30 | throw new NotImplementedException(); 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab7/Kinect2Sample/Kinect2Sample_TemporaryKey.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab7/Kinect2Sample/Kinect2Sample_TemporaryKey.pfx -------------------------------------------------------------------------------- /Kinect2Sample.Lab7/Kinect2Sample/Package.appxmanifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Kinect2Sample 6 | Jesse 7 | Assets\StoreLogo.png 8 | 9 | 10 | 6.3.0 11 | 6.3.0 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab7/Kinect2Sample/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Kinect2Sample")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Kinect2Sample")] 13 | [assembly: AssemblyCopyright("Copyright © 2014")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Version information for an assembly consists of the following four values: 18 | // 19 | // Major Version 20 | // Minor Version 21 | // Build Number 22 | // Revision 23 | // 24 | // You can specify all the values or you can default the Build and Revision Numbers 25 | // by using the '*' as shown below: 26 | // [assembly: AssemblyVersion("1.0.*")] 27 | [assembly: AssemblyVersion("1.0.0.0")] 28 | [assembly: AssemblyFileVersion("1.0.0.0")] 29 | [assembly: ComVisible(false)] -------------------------------------------------------------------------------- /Kinect2Sample.Lab8/Kinect2Sample.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2013 4 | VisualStudioVersion = 12.0.31101.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Kinect2Sample", "Kinect2Sample\Kinect2Sample.csproj", "{10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x64.ActiveCfg = Debug|x64 17 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x64.Build.0 = Debug|x64 18 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x64.Deploy.0 = Debug|x64 19 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x86.ActiveCfg = Debug|x64 20 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x64.ActiveCfg = Release|x64 21 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x64.Build.0 = Release|x64 22 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x64.Deploy.0 = Release|x64 23 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x86.ActiveCfg = Release|x64 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab8/Kinect2Sample/App.xaml: -------------------------------------------------------------------------------- 1 |  6 | 7 | 8 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab8/Kinect2Sample/Assets/Background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab8/Kinect2Sample/Assets/Background.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab8/Kinect2Sample/Assets/CatEye_left_closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab8/Kinect2Sample/Assets/CatEye_left_closed.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab8/Kinect2Sample/Assets/CatEye_left_open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab8/Kinect2Sample/Assets/CatEye_left_open.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab8/Kinect2Sample/Assets/CatNose.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab8/Kinect2Sample/Assets/CatNose.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab8/Kinect2Sample/Assets/Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab8/Kinect2Sample/Assets/Logo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab8/Kinect2Sample/Assets/SmallLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab8/Kinect2Sample/Assets/SmallLogo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab8/Kinect2Sample/Assets/SplashScreen.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab8/Kinect2Sample/Assets/SplashScreen.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab8/Kinect2Sample/Assets/StoreLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab8/Kinect2Sample/Assets/StoreLogo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab8/Kinect2Sample/DisplayTypeToVisibilityConverter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using Windows.UI.Xaml; 7 | using Windows.UI.Xaml.Data; 8 | 9 | namespace Kinect2Sample 10 | { 11 | class DisplayTypeToVisibilityConverter :IValueConverter 12 | { 13 | public object Convert(object value, Type targetType, object parameter, string language) 14 | { 15 | String boundString = Enum.GetName(typeof(DisplayFrameType), value); 16 | String matchString = (String)parameter; 17 | 18 | if (String.Equals(boundString, matchString)) 19 | { 20 | return Visibility.Visible; 21 | } 22 | else 23 | { 24 | return Visibility.Collapsed; 25 | } 26 | } 27 | 28 | public object ConvertBack(object value, Type targetType, object parameter, string language) 29 | { 30 | throw new NotImplementedException(); 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab8/Kinect2Sample/Kinect2Sample_TemporaryKey.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab8/Kinect2Sample/Kinect2Sample_TemporaryKey.pfx -------------------------------------------------------------------------------- /Kinect2Sample.Lab8/Kinect2Sample/Libraries/x64/KinectFaceStore.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab8/Kinect2Sample/Libraries/x64/KinectFaceStore.dll -------------------------------------------------------------------------------- /Kinect2Sample.Lab8/Kinect2Sample/Package.appxmanifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Kinect2Sample 6 | Jesse 7 | Assets\StoreLogo.png 8 | 9 | 10 | 6.3.0 11 | 6.3.0 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab8/Kinect2Sample/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Kinect2Sample")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Kinect2Sample")] 13 | [assembly: AssemblyCopyright("Copyright © 2014")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Version information for an assembly consists of the following four values: 18 | // 19 | // Major Version 20 | // Minor Version 21 | // Build Number 22 | // Revision 23 | // 24 | // You can specify all the values or you can default the Build and Revision Numbers 25 | // by using the '*' as shown below: 26 | // [assembly: AssemblyVersion("1.0.*")] 27 | [assembly: AssemblyVersion("1.0.0.0")] 28 | [assembly: AssemblyFileVersion("1.0.0.0")] 29 | [assembly: ComVisible(false)] -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2013 4 | VisualStudioVersion = 12.0.31101.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Kinect2Sample", "Kinect2Sample\Kinect2Sample.csproj", "{10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x64.ActiveCfg = Debug|x64 17 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x64.Build.0 = Debug|x64 18 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x64.Deploy.0 = Debug|x64 19 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Debug|x86.ActiveCfg = Debug|x64 20 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x64.ActiveCfg = Release|x64 21 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x64.Build.0 = Release|x64 22 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x64.Deploy.0 = Release|x64 23 | {10FF1E4E-A8B9-46C6-A0C3-C7BADF94941F}.Release|x86.ActiveCfg = Release|x64 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/App.xaml: -------------------------------------------------------------------------------- 1 |  6 | 7 | 8 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Assets/Background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Assets/Background.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Assets/CatEye_left_closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Assets/CatEye_left_closed.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Assets/CatEye_left_open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Assets/CatEye_left_open.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Assets/CatNose.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Assets/CatNose.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Assets/Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Assets/Logo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Assets/SmallLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Assets/SmallLogo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Assets/SplashScreen.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Assets/SplashScreen.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Assets/StoreLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Assets/StoreLogo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/DisplayTypeToVisibilityConverter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using Windows.UI.Xaml; 7 | using Windows.UI.Xaml.Data; 8 | 9 | namespace Kinect2Sample 10 | { 11 | class DisplayTypeToVisibilityConverter :IValueConverter 12 | { 13 | public object Convert(object value, Type targetType, object parameter, string language) 14 | { 15 | String boundString = Enum.GetName(typeof(DisplayFrameType), value); 16 | String matchString = (String)parameter; 17 | 18 | if (String.Equals(boundString, matchString)) 19 | { 20 | return Visibility.Visible; 21 | } 22 | else 23 | { 24 | return Visibility.Collapsed; 25 | } 26 | } 27 | 28 | public object ConvertBack(object value, Type targetType, object parameter, string language) 29 | { 30 | throw new NotImplementedException(); 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Kinect2Sample_TemporaryKey.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Kinect2Sample_TemporaryKey.pfx -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore.dll -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore.pri: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore.pri -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore.winmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore.winmd -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/bounce.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/bounce.wav -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/cellceiling.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/cellceiling.dds -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/cellfloor.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/cellfloor.dds -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/cellwall.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/cellwall.dds -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/dayceiling.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/dayceiling.dds -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/dayfloor.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/dayfloor.dds -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/daywall.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/daywall.dds -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/hit.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/hit.wav -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/mediumTile-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/mediumTile-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/metal_texture.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/metal_texture.dds -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/nightceiling.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/nightceiling.dds -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/nightfloor.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/nightfloor.dds -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/nightwall.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/nightwall.dds -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/seafloor.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/seafloor.dds -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/smallTile-phone-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/smallTile-phone-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/smallTile-windows-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/smallTile-windows-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/splash-phone-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/splash-phone-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/splash-windows-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/splash-windows-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/squareTile-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/squareTile-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/storeLogo-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/storeLogo-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/tile-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/tile-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/windows-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/Assets/windows-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/GameUIStyles.xbf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/GameUIStyles.xbf -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/PixelShader.cso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/PixelShader.cso -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/PixelShaderFlat.cso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/PixelShaderFlat.cso -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/ScenePanel.xbf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/ScenePanel.xbf -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/VertexShader.cso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/VertexShader.cso -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/VertexShaderFlat.cso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/DirectXSceneStore/VertexShaderFlat.cso -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/KinectFaceStore.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample.Lab9/Kinect2Sample/Libraries/x64/KinectFaceStore.dll -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Package.appxmanifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Kinect2Sample 6 | Jesse 7 | Assets\StoreLogo.png 8 | 9 | 10 | 6.3.0 11 | 6.3.0 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Kinect2Sample.Lab9/Kinect2Sample/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Kinect2Sample")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Kinect2Sample")] 13 | [assembly: AssemblyCopyright("Copyright © 2014")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Version information for an assembly consists of the following four values: 18 | // 19 | // Major Version 20 | // Minor Version 21 | // Build Number 22 | // Revision 23 | // 24 | // You can specify all the values or you can default the Build and Revision Numbers 25 | // by using the '*' as shown below: 26 | // [assembly: AssemblyVersion("1.0.*")] 27 | [assembly: AssemblyVersion("1.0.0.0")] 28 | [assembly: AssemblyFileVersion("1.0.0.0")] 29 | [assembly: ComVisible(false)] -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/App.xaml: -------------------------------------------------------------------------------- 1 |  6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Assets/Background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Assets/Background.png -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Assets/CatEye_left_closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Assets/CatEye_left_closed.png -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Assets/CatEye_left_open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Assets/CatEye_left_open.png -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Assets/CatNose.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Assets/CatNose.png -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Assets/Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Assets/Logo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Assets/SmallLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Assets/SmallLogo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Assets/SplashScreen.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Assets/SplashScreen.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Assets/StoreLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Assets/StoreLogo.scale-100.png -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Database/HandsAboveHead.gbd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Database/HandsAboveHead.gbd -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/DisplayTypeToVisibilityConverter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using Windows.UI.Xaml; 7 | using Windows.UI.Xaml.Data; 8 | 9 | namespace Kinect2Sample 10 | { 11 | class DisplayTypeToVisibilityConverter :IValueConverter 12 | { 13 | public object Convert(object value, Type targetType, object parameter, string language) 14 | { 15 | String boundString = Enum.GetName(typeof(DisplayFrameType), value); 16 | String matchString = (String)parameter; 17 | 18 | if (String.Equals(boundString, matchString)) 19 | { 20 | return Visibility.Visible; 21 | } 22 | else 23 | { 24 | return Visibility.Collapsed; 25 | } 26 | } 27 | 28 | public object ConvertBack(object value, Type targetType, object parameter, string language) 29 | { 30 | throw new NotImplementedException(); 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Kinect2Sample_TemporaryKey.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Kinect2Sample_TemporaryKey.pfx -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore.dll -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore.pri: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore.pri -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore.winmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore.winmd -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/bounce.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/bounce.wav -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/cellceiling.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/cellceiling.dds -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/cellfloor.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/cellfloor.dds -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/cellwall.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/cellwall.dds -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/dayceiling.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/dayceiling.dds -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/dayfloor.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/dayfloor.dds -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/daywall.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/daywall.dds -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/hit.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/hit.wav -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/mediumTile-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/mediumTile-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/metal_texture.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/metal_texture.dds -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/nightceiling.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/nightceiling.dds -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/nightfloor.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/nightfloor.dds -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/nightwall.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/nightwall.dds -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/seafloor.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/seafloor.dds -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/smallTile-phone-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/smallTile-phone-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/smallTile-windows-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/smallTile-windows-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/splash-phone-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/splash-phone-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/splash-windows-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/splash-windows-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/squareTile-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/squareTile-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/storeLogo-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/storeLogo-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/tile-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/tile-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/windows-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/Assets/windows-sdk.png -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/GameUIStyles.xbf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/GameUIStyles.xbf -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/PixelShader.cso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/PixelShader.cso -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/PixelShaderFlat.cso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/PixelShaderFlat.cso -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/ScenePanel.xbf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/ScenePanel.xbf -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/VertexShader.cso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/VertexShader.cso -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/VertexShaderFlat.cso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/DirectXSceneStore/VertexShaderFlat.cso -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/KinectFaceStore.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2Sample/Kinect2Sample/Kinect2Sample/Libraries/KinectFaceStore.dll -------------------------------------------------------------------------------- /Kinect2Sample/Kinect2Sample/Kinect2Sample/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Kinect2Sample")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Kinect2Sample")] 13 | [assembly: AssemblyCopyright("Copyright © 2014")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Version information for an assembly consists of the following four values: 18 | // 19 | // Major Version 20 | // Minor Version 21 | // Build Number 22 | // Revision 23 | // 24 | // You can specify all the values or you can default the Build and Revision Numbers 25 | // by using the '*' as shown below: 26 | // [assembly: AssemblyVersion("1.0.*")] 27 | [assembly: AssemblyVersion("1.0.0.0")] 28 | [assembly: AssemblyFileVersion("1.0.0.0")] 29 | [assembly: ComVisible(false)] -------------------------------------------------------------------------------- /Kinect2SampleSpeech/Kinect2SampleSpeech/Kinect2SampleSpeech.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2013 4 | VisualStudioVersion = 12.0.31101.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Kinect2SampleSpeech", "Kinect2SampleSpeech\Kinect2SampleSpeech.csproj", "{C0661BEF-6F7F-4179-BD18-69381D0CEF77}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {C0661BEF-6F7F-4179-BD18-69381D0CEF77}.Debug|x64.ActiveCfg = Debug|x64 17 | {C0661BEF-6F7F-4179-BD18-69381D0CEF77}.Debug|x64.Build.0 = Debug|x64 18 | {C0661BEF-6F7F-4179-BD18-69381D0CEF77}.Debug|x64.Deploy.0 = Debug|x64 19 | {C0661BEF-6F7F-4179-BD18-69381D0CEF77}.Debug|x86.ActiveCfg = Debug|x64 20 | {C0661BEF-6F7F-4179-BD18-69381D0CEF77}.Release|x64.ActiveCfg = Release|x64 21 | {C0661BEF-6F7F-4179-BD18-69381D0CEF77}.Release|x64.Build.0 = Release|x64 22 | {C0661BEF-6F7F-4179-BD18-69381D0CEF77}.Release|x64.Deploy.0 = Release|x64 23 | {C0661BEF-6F7F-4179-BD18-69381D0CEF77}.Release|x86.ActiveCfg = Release|x64 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /Kinect2SampleSpeech/Kinect2SampleSpeech/Kinect2SampleSpeech/App.xaml: -------------------------------------------------------------------------------- 1 |  6 | 7 | 8 | -------------------------------------------------------------------------------- /Kinect2SampleSpeech/Kinect2SampleSpeech/Kinect2SampleSpeech/Assets/Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2SampleSpeech/Kinect2SampleSpeech/Kinect2SampleSpeech/Assets/Logo.scale-100.png -------------------------------------------------------------------------------- /Kinect2SampleSpeech/Kinect2SampleSpeech/Kinect2SampleSpeech/Assets/SmallLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2SampleSpeech/Kinect2SampleSpeech/Kinect2SampleSpeech/Assets/SmallLogo.scale-100.png -------------------------------------------------------------------------------- /Kinect2SampleSpeech/Kinect2SampleSpeech/Kinect2SampleSpeech/Assets/SplashScreen.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2SampleSpeech/Kinect2SampleSpeech/Kinect2SampleSpeech/Assets/SplashScreen.scale-100.png -------------------------------------------------------------------------------- /Kinect2SampleSpeech/Kinect2SampleSpeech/Kinect2SampleSpeech/Assets/StoreLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2SampleSpeech/Kinect2SampleSpeech/Kinect2SampleSpeech/Assets/StoreLogo.scale-100.png -------------------------------------------------------------------------------- /Kinect2SampleSpeech/Kinect2SampleSpeech/Kinect2SampleSpeech/Kinect2SampleSpeech_TemporaryKey.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kinect/tutorial/19021ff50e0b42dced87298c8ca4cd6f6540592f/Kinect2SampleSpeech/Kinect2SampleSpeech/Kinect2SampleSpeech/Kinect2SampleSpeech_TemporaryKey.pfx -------------------------------------------------------------------------------- /Kinect2SampleSpeech/Kinect2SampleSpeech/Kinect2SampleSpeech/MainPage.xaml: -------------------------------------------------------------------------------- 1 |  9 | 10 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /Kinect2SampleSpeech/Kinect2SampleSpeech/Kinect2SampleSpeech/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Kinect2SampleSpeech")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Kinect2SampleSpeech")] 13 | [assembly: AssemblyCopyright("Copyright © 2015")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Version information for an assembly consists of the following four values: 18 | // 19 | // Major Version 20 | // Minor Version 21 | // Build Number 22 | // Revision 23 | // 24 | // You can specify all the values or you can default the Build and Revision Numbers 25 | // by using the '*' as shown below: 26 | // [assembly: AssemblyVersion("1.0.*")] 27 | [assembly: AssemblyVersion("1.0.0.0")] 28 | [assembly: AssemblyFileVersion("1.0.0.0")] 29 | [assembly: ComVisible(false)] -------------------------------------------------------------------------------- /KinectFaceStore/KinectFacePortable.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2013 4 | VisualStudioVersion = 12.0.31101.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KinectFacePortable", "KinectFacePortable.csproj", "{9E3D02BA-2BF7-44FB-B257-FCF6919A18CE}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Release|x64 = Release|x64 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {9E3D02BA-2BF7-44FB-B257-FCF6919A18CE}.Debug|x64.ActiveCfg = Debug|x64 15 | {9E3D02BA-2BF7-44FB-B257-FCF6919A18CE}.Debug|x64.Build.0 = Debug|x64 16 | {9E3D02BA-2BF7-44FB-B257-FCF6919A18CE}.Release|x64.ActiveCfg = Release|x64 17 | {9E3D02BA-2BF7-44FB-B257-FCF6919A18CE}.Release|x64.Build.0 = Release|x64 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /KinectFaceStore/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Resources; 2 | using System.Reflection; 3 | using System.Runtime.CompilerServices; 4 | using System.Runtime.InteropServices; 5 | 6 | // General Information about an assembly is controlled through the following 7 | // set of attributes. Change these attribute values to modify the information 8 | // associated with an assembly. 9 | [assembly: AssemblyTitle("KinectFaceStore")] 10 | [assembly: AssemblyDescription("")] 11 | [assembly: AssemblyConfiguration("")] 12 | [assembly: AssemblyCompany("")] 13 | [assembly: AssemblyProduct("KinectFaceStore")] 14 | [assembly: AssemblyCopyright("Copyright © 2015")] 15 | [assembly: AssemblyTrademark("")] 16 | [assembly: AssemblyCulture("")] 17 | [assembly: NeutralResourcesLanguage("en")] 18 | 19 | // Version information for an assembly consists of the following four values: 20 | // 21 | // Major Version 22 | // Minor Version 23 | // Build Number 24 | // Revision 25 | // 26 | // You can specify all the values or you can default the Build and Revision Numbers 27 | // by using the '*' as shown below: 28 | // [assembly: AssemblyVersion("1.0.*")] 29 | [assembly: AssemblyVersion("1.0.0.0")] 30 | [assembly: AssemblyFileVersion("1.0.0.0")] 31 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Kinect 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Tutorial 2 | Tutorial on the v2 Kinect platform 3 | 4 | Want to jump straight to the tutorial? Go to http://kinect.github.io/tutorial 5 | 6 | #Complete CodeBase 7 | This is the accompanying complete codebase and resulting app from the Kinect 2 tutorials. 8 | 9 | To see the tutorials, visit the gh-pages branch which contains all the documentations to complete this app yourself. 10 | 11 | The other branch "labs" is considered the release branch and each lab links to a release in that branch which contains 12 | the project at that stage in the series. 13 | 14 | Please use the issue tracking on this page to give any feedback or if you have any questions. 15 | 16 | ## We hope you enjoy the labs! 17 | --------------------------------------------------------------------------------