Code Monkey home page Code Monkey logo

rsvfx's Introduction

Rsvfx

Rsvfx is an example that shows how to connect an Intel RealSense depth camera to a Unity Visual Effect Graph.

gif gif

System requirements

  • Unity 2019.1 or later
  • Intel RealSense D400 series
  • Git (required for importing external packages)

This repository only contains Windows and Linux versions of the RealSense plugin binaries. For macOS, the plugin binary must be installed separately.

This project uses Git support on Package Manager to import external packages. To use the functionality, Git must be installed to the system. See the forum thread for futher details.

How it works

inspector

The PointCloudBaker component converts a point cloud stream sent from a RealSense device into two dynamically animated attribute maps: position map and color map. These maps can be used in the "Set Position/Color from Map" blocks in a VFX graph, in the same way as attribute maps imported from a point cache file.

blocks

Frequently asked questions

Is it possible with Kinect v2?

It's technically possible but requires a lot of changes to the PointCloudBaker component. I personally am not very motivated to support it because it's a discontinued product, and a successor product (Azure Kinect) is coming. Instead, I'd recommend following Depthkit. The developer seems to be trying VFX Graph support with Depthkit.

Which RealSense model fits best?

I personally recommend D415 because it gives the best sample density in the current models. Please see this thread for further information.

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.