If you asked me my idea of a good weekend, I doubt I would answer "compiling a Java wrapper around an unsupported C++ library for a device driver, in Windows."
I would probably say something involving lots of shrooms.
But I didn't have any, so I installed Visual Studio instead :(
What I did have was an Asus Xtion Pro, basically a generic version of the original Xbox Kinect. I use it to make shitty art. My "art stack" is as follows:
- Asus Xtion Pro
For real, no language bashing here, but the Jesse that makes rainbow colored gifs of drunk dancing is not the Jesse that wants to worry about pointers.
SimpleOpenNI is the Java wrapper that lets you use OpenNI2 from a Processing app.
Processing 3, bah
SimpleOpenNI is unsupported. GitHub is littered with the carcasses of countless failed imports from its Google Code tomb. The breaking API changes in Processing 3 render SimpleOpenNI incompatible, so it can't be used in conjunection with features specific to Processing 3, such as its sound APIs.
If you use Processing 3 and want to use SimpleOpenNI:
- Locate your Processing Sketchbook location, (it's configurable in the
Preferences window) and the
librariesdirectory in it
- Install SimpleOpenNI through the Processing Sketchbook app.
Sketch > Import Library > Add Library) This will download the incompatible version.
- Download my recompiled SimpleOpenNI.jar.
- Starting in the
librariesdirectory, go to the
SimpleOpenNI/librarysubdirectory and back up the old
- Replace that file with the version you downloaded.