Animata anyone?

James Charlton's icon

So there's lots on the web refering to using animata with MAX. But noting specific about how to communicate between them. Anyone got some pointers or even a sample patch? Would save me a lot of time. Thanks

James

akee-rf's icon

ello,

yea easy, its using osc :)

look on the forum for osc to find how to send osc message from max ;)

good luck

MIB's icon
James Charlton's icon

Thanks for those pointers - great all good.

Posting the relevant contents to make life easier for others.

FORMATTING THE OSC MESSAGES

All incoming messages to Animata must be sent through port 7110. The “name” in the message refers to the name of the joint, bone or layer.

Moving a joint, x and y are float values:
/joint name x y

Control the length of a bone, value is a float between 0 and 1:
/anibone name value

Switch on and off a layer, on_off is 0 or 1:
/layervis name on_off

Set the transparency of the layer, value is a float between 0 and 1:
/layeralpha name value

The next two messages require the svn version:

Moving a layer, x and y are the position coordinates as float values:
/layerpos name x y

Moving a layer, x and y control the speed that the layer is moving:
/layerdeltapos name x y

Sending from Animata

There is also an option to send OSC messages from Animata. For this you need the SVN version. It simply works by clicking on the small OSC tick box on the Skeleton tab. The messages are sent through port 7111. The message format is: /joint name x y

Very basic patch to control 2 joints.

Max Patch
Copy patch and select New From Clipboard in Max.

akee-rf's icon

ello,

/layervis messge doesn't work for me, you get it working??

James Charlton's icon

No cant make any of the layer messages work! Checked on originalhamsters.com and they say this about PD -

"I was able to get all of the messages working except /layervis. I believe this is because Animata is very picky and is looking for real boolean values and Pure Data is sending integers when sending 0 or 1. This was just fixed by the Kitchen Budabest guys. The /layervis message works now. "

further down they say

"The /layervis doesn’t work here either. This was fixed in the svn version (>36)."

that maybe the problem - not sure what version im running but guess its not the snv as I cant see osc send box in the skeleton window.

Download it and try! Let me know how you get on.