-
Notifications
You must be signed in to change notification settings - Fork 39
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
Showing
17 changed files
with
106 additions
and
54 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
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
m_EditorVersion: 2019.2.0f1 | ||
m_EditorVersionWithRevision: 2019.2.0f1 (20c1667945cf) | ||
m_EditorVersion: 2019.2.6f1 | ||
m_EditorVersionWithRevision: 2019.2.6f1 (fe82a0e88406) |
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
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,41 @@ | ||
# Unity Sample | ||
|
||
This sample demonstrate how to work with Sensor and Body data streams from Unity | ||
and how to animate 3D character using body data. | ||
|
||
## Preparations | ||
|
||
Before first opening a Unity project, run `prepare.cmd` from **VS Developer Command Prompt**. | ||
It will build **K4AdotNet** project and copy necessary binaries to Unity project folders. | ||
You may run the script anytime later to update binaries with changes made to **K4AdotNet** library. | ||
|
||
The script assumes that **Azure Kinect Body Tracking SDK** is installed into default location under Program Files. | ||
If it doesn't take place or you want to have portable solution which doesn't depend on presence of Body Tracking SDK on local machine | ||
then copy the following files from `tools` folder of Body Tracking SDK to `Assets\Plugins\K4AdotNet` folder of this plugin: | ||
* `k4abt.dll`, | ||
* `dnn_model_2_0.onnx`, | ||
* `cudnn64_7.dll`, | ||
* `cublas64_100.dll`, | ||
* `cudart64_100.dll`, | ||
* `vcomp140.dll`. | ||
|
||
## Dependencies | ||
|
||
This plugin depends on the following managed and native libraries and data files: | ||
* **K4AdotNet** managed library (see `..\K4AdotNet\bin\Debug\netstandard2.0` or ``..\K4AdotNet\bin\Release\netstandard2.0`` folder): | ||
* `K4AdotNet.dll` | ||
* `K4AdotNet.deps.json` | ||
* native libraries from **Azure Kinect Sensor SDK 1.3.0** (see `..\externals\k4a\windows-desktop\amd64` folder): | ||
* `depthengine_2_0.dll` | ||
* `k4a.dll` | ||
* `k4arecord.dll` | ||
* native libraries and ONNX-file from **Azure Kinect Body Tracking SDK 0.9.4** (you can download and install MSI package from [here](https://docs.microsoft.com/en-us/azure/kinect-dk/body-sdk-download) and find required files in `tools` subdirectory of installation destination directory): | ||
* `k4abt.dll`, | ||
* `dnn_model_2_0.onnx`, | ||
* `cudnn64_7.dll`, | ||
* `cublas64_100.dll`, | ||
* `cudart64_100.dll`, | ||
* `vcomp140.dll`. | ||
|
||
As a rule `prepare.cmd` does the trick, but you can copy all dependencies to `Assets\Plugins\K4AdotNet` folder of this plugin manually. | ||
|
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
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
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
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
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
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
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
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