Hi Alistair, thanks for the quick reply. And for OSCkinnection, of course :)
I'm running Snow Leopard 10.6.8 on my Mac.
Also, I'd like to share some more info with you, hoping it may help:
I was using Synapse, and now OSCkinnection, because you BOTH deliver easy to manipulate OSC messages, which allows me to get the skeleton joints into Flash.
Yes, Synapse sends joints positions x, y, z BUT it needs keepalives (or stops sending the info) and it also needs the Psi pose.
It is achieved using a few bridges: Synapse -> OSCulator -> NETLab toolkit -> Flash.
Before Christmas, I was sharing that info with the developers of each of these softwares, and aside from Ryan (Synapse), the other two (Camille and Philip) were so kind as to change their softwares to better fit what I was building ;)
Now, OSCulator can accept up to 128 variables, and the NETLab widgets (in Flash) can read an OSC message as an array, instead of using a single widget for each variable.
I was able to adapt my OSCulator setup to work with OSCkinnection in less than 10'. So PLEASE, keep your messages structure and AVOID OSCeleton's one!!
The setup is as follows:
- OSCkinnection runs
- OSCulator listens on port 10000. It converts each message to a variable (skelly/head/X -> var0, skelly/head/Y -> var1 ... skelly/tors/Z -> var44) and then, when any activity is detected on telekinesis/orbred/Z -> REROUTE /skeleton/var0, var1 ... var44 to port 2202. I chose an "unused" message from OSCkinnection 'cos it's clearer for me.
- NETLab Hub runs in the background
- The NETLab AnalogIn widget is inside my flash file. It listens to port 2202 and reads the array values for "skeleton" (variables 0 to 44). Then, in AS3 I split them back into x, y, z values for each joint (a MC) and set its x and y position, as well as its scale (representing the z value)
But my article there is out of date. I wrote it when OSCulator accepted only a few variables and the NETLab widgets a single one per widget.
So, besides that, I'm attaching the OSCulator file I used with OSCkinnection, as well as the Fla file (with NETLab's widget included). You'd still need to download OSCulator and NETLAb toolkit. And remember: it only works on Flash CS5.5 (but Philip promised he'd adapt the widget to CS4)
===
After all that looong speech :) I hope it may be of some help to you, as well as your software is really helping me. Aside form the arbitrary delays in calibration, hehe
But, PLEASE, keep your OSC messages structure as SEPARATED messages. I insist that OSCulator "logic" is... well, not that much logic.
Thanks again, and best luck!