Basic Physics Engine - Stage Edge Collision, with rebound / Gravity and Friction
-
Yep. xyz for head, neck, l-shoulder, r-shoulder, l-elbow, r-elbow, l-hand, r-hand, torso, l-hip, r-hip, l-knee, r-knee, l-foot, r-foot. That's the 'basic' skeleton from NIMate1. NIMate2 adds in finger joints and a few other bits n' bobs.
-
Thats great, thanx.
-
Here you go... as you can see, typical stick figure configuration & semi-typical usage. Zip file contains patch, user actor from elsewhere on the forums, & .3ds objects for the 3D dummy. 96ffb8-archive.zip
-
@skulpture - after spending 2 nights trying to get the processing sketches going with naff all success other than the first step, I finally stumbled across a forum post by the author of the article, which eventually led me to this: https://github.com/msp/CANKinectPhysics
Updated for Processing 2.11 - Just tested it, and works perfectly once you've got the necessary libraries in place:- blobDetection
- box2d_processing
- SimpleOpenNI
- toxiclibscore*
- toxiclibs_p5*
- verletphysics*
- volumeutils*
- colorutils*
- audioutils*
* - part of ToxicLibs020 which you'll have to download from https://bitbucket.org/postspectacular/toxiclibs/downloads/, and shunt the folders above from within the download into the libraries folder in Documents/Processing (if you're using everything from default locations).IMPORTANT: You MUST be using Processing 2.x, not 3.x!! -
PS: If you haven't discovered KVL_Kinect_tracker_v20 it's worth a look. Allows you to subtract layers from the Kinect Depth Image, and output the resultant blobs for the target depth (i.e.: that where the body is) via OSC.
I've tried it but it appears flakey on my MBP... locks up after 30 seconds or so - I suspect this is due to USB3 and the app not being updated to limit the bandwidth to USB2, so if you've got a _non-USB3_ MBPro, this _should_ work to get a body outline into Izzy that can drive a pile of shapes actors or similar. (I'll remember to bring my 2011 MBPro home from work at some point to test this theory). -
KVL! OMG! Love it.
-
@Skulpture - Kinect Interactive Curtain in Processing 2, with Syphon Output & adjustable Depth Threshold (see next post)
https://www.youtube.com/watch?v=u7s_dlXzR_I -
oops - missed tilt/down out 4f0e4a-kinectfabric.zip
-
@marci this is amazing!
-
I got this working! Very cool.
Syphon wouldn't work though - got some errors I did understand. -
That's cos you're running it in Processing 3. Syphon is broken in Processing 3. Stick with Processing 2.2.1 and Syphon works fine...
-
Ah yes. But that no problem really. Really cool effect :)
-
Watch yonder Dropbox folder - I'll be plonking various Izzy & Processing Kinecty experiments in there as I'm titting about with stuff...
https://www.dropbox.com/sh/020sx4fwvlcvj6j/AACN4grZ-jviW43yWn47G__9a?dl=0 -
Will do thanks.
-
Got them. Cheers @marci You da man!
-
@Skulpture No probs d00d - there's some explanatory notes o'er in yonder thread - http://troikatronix.com/community/#/discussion/2347/motion-tracking-through-isadora - like I said over there - all WIP, none anywhere near finished. More just demos of what we can do thru Processing.