Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/keijiro/Rsvfx

An example that shows how to connect RealSense depth camera to Unity VFX Graph
https://github.com/keijiro/Rsvfx

realsense unity unity3d vfx

Last synced: about 1 month ago
JSON representation

An example that shows how to connect RealSense depth camera to Unity VFX Graph

Awesome Lists containing this project

README

        

Rsvfx
-----

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

![gif](https://i.imgur.com/K0C80Lf.gif)
![gif](https://i.imgur.com/jBxII0t.gif)

[RealSense]: https://realsense.intel.com/
[Visual Effect Graph]: https://unity.com/visual-effect-graph

System requirements
-------------------

- Unity 2019.2 or later
- Intel RealSense D400 series

How it works
------------

![inspector](https://i.imgur.com/JWEUhXh.png)

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](https://i.imgur.com/mEY3I2d.png)

[PointCloudBaker]: /Assets/Rsvfx/PointCloudBaker.cs

Frequently asked questions
--------------------------

**Is it possible with Azure Kinect?**

There is a project for you. Check out [Akvfx].

[Akvfx]: https://github.com/keijiro/Akvfx

**Which RealSense model fits best?**

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

[Depthkit]: https://www.depthkit.tv/
[Depthkit VFX Graph]: https://twitter.com/Depthkit/status/1099411381751816193
[D415 thread]: https://twitter.com/_kzr/status/1096282551352619008