Hi i am tracking a person’s joint data using the kinect and jit.openni and i am trying to assign each joint coordinate a different jit.gl.plato shape.
I know hot to give all the joints one shape and I also know how to give each joint a shape individually. But i need there to be a degree of randomness in the shapes of a person’s joints.
I was thinking that as soon as a joint appears in the scene "bang" assign random shape…the problem is that the joint data keeps on sending "bang" messages because it is always appearing in the scene.
How can i translate a flow of "bang" messages as ONE "bang" message??
the object onebang and others like it might meet your needs.
However, I suspect the approach your taking might be better served by instead focusing on the events which report users being seen and lost. There are unique events for those and you could act on them rather than on the joints themselves which will appear on every bang you send to jit.openni.
I thought that was my best bet too…i used the event new_user which sends one bang message every time a new user enters the scene. When this occurred a random shape was assigned to all of the participant’s joints but I need a random shape assigned to each of the participant’s joints…
C74 RSS Feed | © Copyright Cycling '74