这是indexloc提供的服务,不要输入任何密码
Skip to content
forked from keijiro/Rsvfx

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

License

Notifications You must be signed in to change notification settings

yasuda0404/Rsvfx

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%