
You could get the depth back inverting the computations. You can recover the color like this : float depth = (red(px) / 255f) * 3000f + 300 So the depth (in millimeters) is packed between 0 and 255 (a color amount in processing) and the same on the 3 channels. The depth values in the PImage is like this: byte dValue = (byte) ((d - 300.0F) / 3000.0F * 255.0F) I just put it so we can see something interesting.
Spout processing for mac install#
You can follow the quickstart guide on the forum, install the library, your camera have fun ! To uninstall Spout without using 3rd party tool, you can adopt the conventional means. Manual Approaches to Uninstall Spout on Mac. Throw in some interactive content from TouchDesigner, Max or Unity while you are at it. Create graphics in Processing, mix them in Resolume and projection map them with Mad Mapper.

I just created a simple demo with both color and depth streams here. Osx Uninstaller is featured with intuitive interface, streamlined process and powerful engine, which enable all-level users to easily and fully delet Spout from the Mac. Using Spout you can send video between applications like Resolume, Max, Processing, MadMapper, TouchDesigner and more.
Spout processing for mac drivers#
You can use it by downloading the PapARt library, set it to use the OpenNI2 drivers and you could get the RGB, IR and depth streams. I suppose it would be better to stream down from the library to spout, but you can work with what I did already. I plan to work on video stream but it is not really implemented yet… Yes it is now ready and working and tested on Linux - Windows and OSX just a week ago. If all else fails - there’s C++ library + JNA.option. Will use the most stable libraries (must not crash on random cable disconnects, remain stable without restarting application 24/7). Once I’ll have the camera - I’ll check both your suggestion and official SDK libraries, samples. That’s what I meant by “would be an awesome shortcut”. Already adapting code to be compatible as we wait for the camera delivery Having a processing library to access raw data would just mean I won’t need to worry about camera initialization, reconnecting and data acquisition part as processing libraries are usually prepared for easy setup in “setup()” and instant access to data in “draw()”. Was using “ j4k2” to gather data from Kinect 2.Īnd now… RIP kinect 2 by Microsoft. This is a result of the way Spout pushes screen data into Resolume- it copies the pixels from the Processing sketch into the Spout plug-in using video. Haven’t upgraded to v3 yet, as initial tests (right after v3 release) were a bit… unstable and there wasn’t any urgent need for it. Insta exiting windowClosing listener in PApplet removed and replaced by my own one during initialization, so I can create as many PApplets as I want on as many threads as I want.


About Processing part - I use it as a library for drawing and dependencies in my Java applications.
