Code Monkey home page Code Monkey logo

k4a-vfx's Introduction

k4a-vfx

budge

gif

About

Azure Kinectの点群をUnity Visual Effect Graphで使うサンプルプロジェクト。
表現の幅を考えてHDRPを採用しています。動作にはGPUを積んだWindwosデスクトップPCが推奨です。

Tested Environment

環境
OS Windows 10 Home
Unity 2019.4.16
Render Pipeline HDRP 7.3.1
Azure Kinect Sensor SDK 1.4.1
GPU NVIDIA GeForce GTX 1060 3GB

Dependency

以下のNuGetパッケージに含まれるDLLを使用しています。 プロジェクトを実行する際にセットアップが必要になります(後述)。

package version
Microsoft.Azure.Kinect.Sensor 1.4.1
System.Memory 4.5.3
System.Numerics.Vector 4.5.0
System.Runtime.CompilerServices.Unsafe 4.6.0
System.Buffers 4.5.1

UPM(Unity Package Manafger)経由で以下のパッケージをインポートしています。

Package version
Unity Recorder 2.5.2
UniTask 2.0.73

Setup & Usage

プロジェクトのセットアップには以下の二通りの方法があります。 Unityで開く前にどちらかの方法でセットアップを済ませておくと効率的だと思います。

Using Visual Studio

リポジトリを適当なディレクトリへclone後、ソリューションファイル(k4a-vfx.sln)VisualStudioで開きます。 ソリューションファイルが見つからない場合は、Unityでプロジェクトを開いてから、メニューバーのAssets->Open C# ProjectからVisual Studioを開きます。 そしたらソリューションウィンドウのソリューションを右クリックして「nugetパッケージを復元」を選択し、Visual Studioを閉じます。

img

最後にmovePackages.batを実行し、Unityプロジェクトを開きます。

Using NuGet CLI

プロジェクトのルートディレクトリで以下のコマンドを実行します。

# install nuget packages
$ nuget install packages.config -o ./External/Packages

# copy dlls from nuget packages
$ ./movePackages.bat

そのあとにUnityプロジェクトを開きます。

Contact

何かございましたら、にー兄さんまでご連絡ください。

k4a-vfx's People

Contributors

drumath2237 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.