Kinect to Isadora
-
Should be no need for terminal... Download the zip from the v2 branch, extract, drag and drop into your processing libraries folder. Done.
-
Wait 30 minutes from the time of this post (as it's still uploading), then go here: https://www.dropbox.com/sh/lyxj60kf0k6jke7/AAAF5MszGamDSuiSP4fgH9t5a?dl=0Into the Libraries folder, and in there you'll find the Syphon folder. Download and stick it in the library folder within your Processing2 sketches folder, replacing any Syphon folder that's already there. Close and reopen Processing, then hit Shift-Cmd-O to open the examples browser, expand Contributed Libraries, find Syphon, open one of it's examples (try SendScreen and SendFrames) and set it running.Now head to Isadora 2.x, throw a syphon receiver actor in a patch, connect it to a projector, set the server (Processing Syphon ::: SendFrames or SendScreen), hit Cmd-G to start the stage and you should see the example turn up in Isadora.You'll then need to add the relevant code (probably from the SendScreen example) into your Kinect Processing sketch.Add..._import codeanticode.syphon.*;__SyphonServer server;_...to the very top of your sketch.Add..._server = new SyphonServer(this, "Processing Syphon");_...to your setup() function.Add..._server.sendScreen();_...to the end of your draw() function. -
Dear All,
We're finalizing the tutorial so we can get it online as quickly as possible. It uses Processing, so you don't need to purchase additional software.In the meantime, I'm going to send a copy to @pritham so he/she (sorry, don't know!) can give it a go.Best Wishes,Mark -
the tutorial is both for mac/win?
-
Yes, it is -- there are some different steps for each OS, but we've covered them both.
-
@Marci, thanks a ton for your support!
Some progress but not there yet. I downloaded the syphon folder and placed it in the processing library where it now shows up in the Java examples when I hit Shift-cmd-O. I opened up SendScreen and it brought the code into processing. I started Isadora and patched in the actors it works!!Now, I tried to get the kinect data into Isadora while using the code you recommend here and it worked!!Thank you so much for your generosity!The modification in the code seemed to work for user3D but not for depthinfrared. Any idea why? -
classcastexception: processing.core.PGraphicsJava2D cannot be cast to processing.opengl.PGraphicsOpenGL
This was the error message in Processing 2 for depthinfrared. -
@Mark, thanks for the tutorial, it seems very comprehensive.
Here's a profile picture to help with gender identification :) -
Am guessing you’re using the JAVA renderer or P2D renderer? You should be using the P3D renderer, as defined by your size() statement in setup().
size(640,480, OPENGL);orsize(640,480,P3D);...either should work (obv use whatever width & height you actually want to use).Have a wander through the posts in this thread: http://troikatronix.com/community/#/discussion/2347/motion-tracking-through-isadoraIt links to some sketches you might find useful to explore interacting with the kinect further. -
@Marci, I will try that out too. Between your help and Marks, i should be able to cover significant ground. I'll be sure to share my explorations here.
Thanks for the link!