-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
osotnych
committed
Aug 11, 2017
1 parent
6fa8539
commit 54e5420
Showing
204 changed files
with
11,828 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
On the client side one has to send the global joint positions: | ||
|
||
EXAMPLE: | ||
|
||
//global variables and include mongoose library (the library available in the root of the folder) | ||
#include "CWebSocketServer.hpp" | ||
|
||
Common::CWebSocketServer m_WSTransceiver; | ||
*************************************** | ||
//somewhere in the code updating/sending the joint positions for the WoodenMan | ||
*************************************** | ||
std::stringstream wss; | ||
auto& Joints = m_skeleton->getJoints(); //getting the joints | ||
for (int ijk = 0; ijk < Joints.size(); ++ijk) | ||
{ | ||
auto Pos3D = Joints[ijk]->getGlobalPosition(); | ||
wss << Pos3D[0] << ", " << Pos3D[1] << ", " << Pos3D[2]; | ||
if (ijk != (Joints.size() - 1)) | ||
wss << ", "; | ||
} | ||
m_WSTransceiver.SendData(wss.str()); | ||
**************************************** | ||
|
||
|
||
The order of joints defined in the WoodenMan\WoodenMan\Assets\runLiveVNect.cs | ||
|
||
After building the main project WoodenMan, one can run the WoodenMan.exe. | ||
Before sending anything to the WoodenMan, one has to start the WoodenMan.exe beforehand. | ||
Only after that he or she can start the client.exe (your program) which will send the joint positions. |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,165 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProductVersion>10.0.20506</ProductVersion> | ||
<SchemaVersion>2.0</SchemaVersion> | ||
<RootNamespace></RootNamespace> | ||
<ProjectGuid>{21BF2D74-B8F0-DEB9-D14A-AE125C749E62}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<AssemblyName>Assembly-CSharp-Editor</AssemblyName> | ||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<BaseDirectory>Assets</BaseDirectory> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>Temp\bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE;UNITY_5_3_OR_NEWER;UNITY_5_4_OR_NEWER;UNITY_5_5_OR_NEWER;UNITY_5_5_1;UNITY_5_5;UNITY_5;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_DUCK_TYPING;ENABLE_GENERICS;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_SPRITERENDERER_FLIPPING;ENABLE_SPRITES;ENABLE_TERRAIN;ENABLE_RAKNET;ENABLE_UNET;ENABLE_LZMA;ENABLE_UNITYEVENTS;ENABLE_WEBCAM;ENABLE_WWW;ENABLE_CLOUD_SERVICES_COLLAB;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_HUB;ENABLE_CLOUD_PROJECT_ID;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_METRICS;ENABLE_EDITOR_METRICS_CACHING;INCLUDE_DYNAMIC_GI;INCLUDE_GI;PLATFORM_SUPPORTS_MONO;RENDER_SOFTWARE_CURSOR;INCLUDE_PUBNUB;ENABLE_PLAYMODE_TESTS_RUNNER;ENABLE_SCRIPTING_NEW_CSHARP_COMPILER;UNITY_STANDALONE_WIN;UNITY_STANDALONE;ENABLE_SUBSTANCE;ENABLE_RUNTIME_GI;ENABLE_MOVIES;ENABLE_NETWORK;ENABLE_CRUNCH_TEXTURE_COMPRESSION;ENABLE_UNITYWEBREQUEST;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_CRASH_REPORTING;ENABLE_EVENT_QUEUE;ENABLE_CLUSTERINPUT;ENABLE_VIDEO;ENABLE_VR;ENABLE_WEBSOCKET_HOST;ENABLE_MONO;ENABLE_PROFILER;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_32;UNITY_EDITOR_WIN;UNITY_TEAM_LICENSE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<NoWarn>0169</NoWarn> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>Temp\bin\Release\</OutputPath> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<NoWarn>0169</NoWarn> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="System" /> | ||
<Reference Include="System.XML" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="System.Runtime.Serialization" /> | ||
<Reference Include="System.Xml.Linq" /> | ||
<Reference Include="UnityEngine"> | ||
<HintPath>C:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEngine.dll</HintPath> | ||
</Reference> | ||
<Reference Include="UnityEditor"> | ||
<HintPath>C:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEditor.dll</HintPath> | ||
</Reference> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="Assets\GoogleVR\Demos\Editor\DemoInputManagerEditor.cs" /> | ||
<Compile Include="Assets\GoogleVR\Editor\GvrAudioListenerEditor.cs" /> | ||
<Compile Include="Assets\GoogleVR\Editor\GvrAudioRoomEditor.cs" /> | ||
<Compile Include="Assets\GoogleVR\Editor\GvrAudioSoundfieldEditor.cs" /> | ||
<Compile Include="Assets\GoogleVR\Editor\GvrAudioSourceEditor.cs" /> | ||
<Compile Include="Assets\GoogleVR\Editor\GvrCompatibilityChecker.cs" /> | ||
<Compile Include="Assets\GoogleVR\Legacy\Editor\GvrGazeEditor.cs" /> | ||
<Compile Include="Assets\GoogleVR\Legacy\Editor\GvrMenu.cs" /> | ||
<Compile Include="Assets\GoogleVR\Legacy\Editor\GvrViewerEditor.cs" /> | ||
<Compile Include="Assets\GoogleVR\Legacy\Editor\StereoControllerEditor.cs" /> | ||
<Compile Include="Assets\websocket-sharp for Unity\Editor\Chat.cs" /> | ||
<Compile Include="Assets\websocket-sharp for Unity\Editor\Echo.cs" /> | ||
<Compile Include="Assets\websocket-sharp for Unity\Editor\MenuExtension.cs" /> | ||
<Compile Include="Assets\websocket-sharp for Unity\Editor\ServerMonitor.cs" /> | ||
<None Include="Assets\GoogleVR\Distortion\GvrDistortion.cginc" /> | ||
<None Include="Assets\websocket-sharp for Unity\Plugins\websocket-sharp.xml" /> | ||
<None Include="Assets\Plugins\Android\AndroidManifest.xml" /> | ||
<None Include="Assets\StreamingAssets\VNECTFormat.txt" /> | ||
<None Include="Assets\GoogleVR\Demos\Shaders\VideoDemo\VideoDemoInsideShader.shader" /> | ||
<None Include="Assets\GoogleVR\Shaders\GvrUIOverlayFont.shader" /> | ||
<None Include="Assets\Mannequin_Doll\ReadMe.txt" /> | ||
<None Include="Assets\GoogleVR\Legacy\Resources\UnlitTexture.shader" /> | ||
<None Include="Assets\Plugins\Android\proguard-gvr.txt" /> | ||
<None Include="Assets\GoogleVR\Shaders\GvrAdditiveOverlay.shader" /> | ||
<None Include="Assets\GoogleVR\Demos\Environment\DemoEnvUnlitGrayscale.shader" /> | ||
<None Include="Assets\StreamingAssets\KFWFormat.txt" /> | ||
<None Include="Assets\GoogleVR\Shaders\GvrUnlitTransparentOverlay.shader" /> | ||
<None Include="Assets\GoogleVR\Shaders\GvrUnlitTransparentOverlayColor.shader" /> | ||
<None Include="Assets\GoogleVR\Demos\Shaders\GVRDemo\GVRDemoAmbientOcclusion.shader" /> | ||
<None Include="Assets\GoogleVR\Shaders\GvrUnlitTextureOverlay.shader" /> | ||
<None Include="Assets\StreamingAssets\Football_2.txt" /> | ||
<None Include="Assets\Plugins\Android\AndroidManifest-Daydream.xml" /> | ||
<None Include="Assets\GoogleVR\Demos\Shaders\GVRDemo\GVRDemoUnlitGrayscaleToColor.shader" /> | ||
<None Include="Assets\GoogleVR\Shaders\GvrReticleShader.shader" /> | ||
<None Include="Assets\StreamingAssets\DRotunda.txt" /> | ||
<None Include="Assets\GoogleVR\Shaders\GvrUIOverlay.shader" /> | ||
<None Include="Assets\Plugins\Android\AndroidManifest-Cardboard.xml" /> | ||
<None Include="Assets\GoogleVR\Legacy\Resources\SolidColor.shader" /> | ||
<None Include="Assets\StreamingAssets\DCorridor_KFW.txt" /> | ||
<None Include="Assets\GoogleVR\Shaders\GvrUnityCompatibility.cginc" /> | ||
<None Include="Assets\StreamingAssets\DCorridor_VNECT.txt" /> | ||
<None Include="Assets\GoogleVR\Demos\Shaders\VideoDemo\VideoDemoStereoShader.shader" /> | ||
<Reference Include="UnityEditor.Advertisements"> | ||
<HintPath>C:/Program Files (x86)/Unity/Editor/Data/UnityExtensions/Unity/Advertisements/Editor/UnityEditor.Advertisements.dll</HintPath> | ||
</Reference> | ||
<Reference Include="nunit.framework"> | ||
<HintPath>C:/Program Files (x86)/Unity/Editor/Data/UnityExtensions/Unity/EditorTestsRunner/Editor/nunit.framework.dll</HintPath> | ||
</Reference> | ||
<Reference Include="UnityEditor.EditorTestsRunner"> | ||
<HintPath>C:/Program Files (x86)/Unity/Editor/Data/UnityExtensions/Unity/EditorTestsRunner/Editor/UnityEditor.EditorTestsRunner.dll</HintPath> | ||
</Reference> | ||
<Reference Include="UnityEngine.UI"> | ||
<HintPath>C:/Program Files (x86)/Unity/Editor/Data/UnityExtensions/Unity/GUISystem/UnityEngine.UI.dll</HintPath> | ||
</Reference> | ||
<Reference Include="UnityEditor.UI"> | ||
<HintPath>C:/Program Files (x86)/Unity/Editor/Data/UnityExtensions/Unity/GUISystem/Editor/UnityEditor.UI.dll</HintPath> | ||
</Reference> | ||
<Reference Include="UnityEngine.Networking"> | ||
<HintPath>C:/Program Files (x86)/Unity/Editor/Data/UnityExtensions/Unity/Networking/UnityEngine.Networking.dll</HintPath> | ||
</Reference> | ||
<Reference Include="UnityEditor.Networking"> | ||
<HintPath>C:/Program Files (x86)/Unity/Editor/Data/UnityExtensions/Unity/Networking/Editor/UnityEditor.Networking.dll</HintPath> | ||
</Reference> | ||
<Reference Include="UnityEditor.PlaymodeTestsRunner"> | ||
<HintPath>C:/Program Files (x86)/Unity/Editor/Data/UnityExtensions/Unity/PlaymodeTestsRunner/Editor/UnityEditor.PlaymodeTestsRunner.dll</HintPath> | ||
</Reference> | ||
<Reference Include="UnityEngine.PlaymodeTestsRunner"> | ||
<HintPath>C:/Program Files (x86)/Unity/Editor/Data/UnityExtensions/Unity/PlaymodeTestsRunner/UnityEngine.PlaymodeTestsRunner.dll</HintPath> | ||
</Reference> | ||
<Reference Include="UnityEditor.TreeEditor"> | ||
<HintPath>C:/Program Files (x86)/Unity/Editor/Data/UnityExtensions/Unity/TreeEditor/Editor/UnityEditor.TreeEditor.dll</HintPath> | ||
</Reference> | ||
<Reference Include="UnityEngine.Analytics"> | ||
<HintPath>C:/Program Files (x86)/Unity/Editor/Data/UnityExtensions/Unity/UnityAnalytics/UnityEngine.Analytics.dll</HintPath> | ||
</Reference> | ||
<Reference Include="UnityEditor.Analytics"> | ||
<HintPath>C:/Program Files (x86)/Unity/Editor/Data/UnityExtensions/Unity/UnityAnalytics/Editor/UnityEditor.Analytics.dll</HintPath> | ||
</Reference> | ||
<Reference Include="UnityEditor.HoloLens"> | ||
<HintPath>C:/Program Files (x86)/Unity/Editor/Data/UnityExtensions/Unity/UnityHoloLens/Editor/UnityEditor.HoloLens.dll</HintPath> | ||
</Reference> | ||
<Reference Include="UnityEngine.HoloLens"> | ||
<HintPath>C:/Program Files (x86)/Unity/Editor/Data/UnityExtensions/Unity/UnityHoloLens/RuntimeEditor/UnityEngine.HoloLens.dll</HintPath> | ||
</Reference> | ||
<Reference Include="UnityEditor.VR"> | ||
<HintPath>C:/Program Files (x86)/Unity/Editor/Data/UnityExtensions/Unity/UnityVR/Editor/UnityEditor.VR.dll</HintPath> | ||
</Reference> | ||
<Reference Include="UnityEngine.VR"> | ||
<HintPath>C:/Program Files (x86)/Unity/Editor/Data/UnityExtensions/Unity/UnityVR/RuntimeEditor/UnityEngine.VR.dll</HintPath> | ||
</Reference> | ||
<Reference Include="Google.ProtocolBuffers"> | ||
<HintPath>E:/Projects/WoodenMan/WoodenMan/Assets/Plugins/Google.ProtocolBuffers.dll</HintPath> | ||
</Reference> | ||
<Reference Include="websocket-sharp"> | ||
<HintPath>E:/Projects/WoodenMan/WoodenMan/Assets/websocket-sharp for Unity/Plugins/websocket-sharp.dll</HintPath> | ||
</Reference> | ||
<Reference Include="UnityEditor.Graphs"> | ||
<HintPath>C:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEditor.Graphs.dll</HintPath> | ||
</Reference> | ||
<Reference Include="UnityEditor.WindowsStandalone.Extensions"> | ||
<HintPath>C:/Program Files (x86)/Unity/Editor/Data/PlaybackEngines/windowsstandalonesupport/UnityEditor.WindowsStandalone.Extensions.dll</HintPath> | ||
</Reference> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="Assembly-CSharp.csproj"> | ||
<Project>{BCD6B305-16C4-A9F1-0477-3906BB35D6FF}</Project> <Name>Assembly-CSharp</Name> </ProjectReference> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
|
||
</Project> |
Oops, something went wrong.