flash - rkn14

Experiment : Kinect / OpenNI + Flash/AIR + Sion

8 avril 2012

A short experiment for making music with a Kinect sensor.
Project and source code are available on OpenNI Arena website.

Share on Twitter
Aucun commentaire »

Salsa Pumpkin : a small stage3D demo using away3D 4, BVH and Physics

1 novembre 2011

Here is a small stage3D demo of using flash stage3D, Away3D 4, BVH motion capture file format, Away Physics.

Just give some sweets to the lonely pumpkin to make it dance salsa :)

See my previous post for the source code of the AS3 BVH Parser.

 

Click here to view the demo.

Hope you like !

Share on Twitter
Aucun commentaire »

Flash as3 Bvh Parser

Flash Bvh ParserThis is a small contribution that would be usefull to those who want to play with motion capture in flash.

BvhParser is an AS3 class that will... parse BVH files !

Just give the text content of a BVH file to the BvhParser and it will return coordinates and rotations of each bone for each frame of the animation.

Click here to wiew the demo.

Download the Bvh Parser source code.


This is (quickly) how to use it :

_bvh = new BvhParser();
_bvh.parse(_bvhStr);
 
_bvh.gotoFrame(1);
_update();
private function _update():void
{
	for each(var bone : BvhBone in _bvh.bones)
	{
		trace(bone.Xposition, bone.Yposition, bone.Zposition);
		trace(bone.Xrotation, bone.Yrotation, bone.Zrotation);
	}
}
Share on Twitter
Aucun commentaire »