Giter VIP home page Giter VIP logo

kinect-vfx-graph's Introduction

Kinect VFX Graph

kinect-vfx-graph

This is an example of how to use the depth camera feed from the Kinect with Unity's VFX Graph. The code in this project is heavily inspired by Rsvfx by Keijiro Takahashi.

Requirements

  • Unity version that support the VFX Graph
  • The Unity package relies on the Kinect for Windows Unity package that can be downloaded separately here.

How to use

Add the Kinect VFX prefab to your scene. In your VFX Graph, use the KinectPointCloudMap render texture as input for a 'Set Position From Map' node. The color data for each depth point is available in the KinectColorMap render texture.

Alternatively you can use the Kinect VFX Mapped prefab instead. This does also depth mapping like the Kinect VFX prefab but the internal workings are different. The positional accurancy should be slightly better but I had better performance with the Kinect VFX prefab.

TODO

  • Improve the positional accuracy of the mapped points.

kinect-vfx-graph's People

Contributors

roelkok avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kinect-vfx-graph's Issues

Kinect Color Map only Black and White?

Hi, I'm trying to get the Kinect Color Map to actually have colors (like in your sample GIF), but it's only black and white, I thought it was a postFX thing but it doesn't solve the issue.

Any parameter I should look into?
I've tried all I could in the Kinect VFX panel (Use color, swapping color maps etc)
Thanks!

Edit: Using Unity 2018.3.10f1

License?

Great work!

Would you mind adding a license?

Thanks

Erratic PointCloudMap

In Unity 2018.3, HDRP, the scene Basic arranges the point in these flat XY planes
basic inspector

While the scene Basic Mapped displays this map, that has a correct volume but is erratic
UqTRid12xF

How can I change the Particles?

How can I change the Particles which is similar to Keijiro's Smrvfx thing? I have your project and was just playing around with it but I'm not sure how to do this?

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.