FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Topics & Contributions
   Responsive Form, Games
(Moderator: REAS)
   motion capture...
« Previous topic | Next topic »

Pages: 1 2 
   Author  Topic: motion capture...  (Read 5813 times)
TomC

WWW
motion capture...
« on: Nov 20th, 2003, 2:17am »

Hmm... I should have been doing my VRML coursework, but I found this page of sample motion capture
data...
http://www.accad.ohio-state.edu/mocap/mocap_data.htm
 
So, vaguely inspired by a recent demo given by Ruth Gibson of Igloo (www.igloo.org.uk), I knocked up these applets...
 
http://www.tom-carden.co.uk/p5/dancer/applet/
 
http://www.tom-carden.co.uk/p5/blurry_dancer/applet/
 
They're both about 750k, due to the data file, and the second one's a bit slow on a Celeron 433, but you get the idea.  Any thoughts?
 
Update: should have mentioned that you need to drag (left-right) on the first one to get it to move.
 
Update II: erm, added some smoothing (so it's 'responsive' now, I guess)...
 
http://www.tom-carden.co.uk/p5/morph_dancer/applet/
« Last Edit: Nov 20th, 2003, 2:37am by TomC »  
Koenie

170825270170825270koeniedesign WWW Email
Re: motion capture...
« Reply #1 on: Nov 20th, 2003, 3:34pm »

That's really sweet! In the first applet, you should add lines between the cubes, for a more skeleton-like figure.
 
Koenie
 

http://koeniedesign.com
TomC-guest
Guest
Email
Re: motion capture...
« Reply #2 on: Nov 20th, 2003, 4:25pm »

Yep, but I'm not sure what point is what
 
I'm working on it.  Take a look at the data sets and see if you can figure it out?
 
TomC-guest
Guest
Email
Re: motion capture...
« Reply #3 on: Nov 20th, 2003, 4:28pm »

See, all there is is the point names?
 
C7, CLAV, LANK, LBHD, LBWT, LELB, LFHD...
 
Some of them are guessable (LANK = left ankle) but I haven't managed to guess them all.  When I do, it's be "ankle bone's connected to the leg bone..." time
 
Any mocap experts out there care to lend a hand?
 
vent

WWW
Re: motion capture...
« Reply #4 on: Nov 20th, 2003, 5:51pm »

This is quite interesting. I'll have to take a look a the data file when I get a chance. Have you seen this?
 
http://www.vectorlounge.com/04_amsterdam/jam/wireframe.html
 
« Last Edit: Nov 20th, 2003, 5:52pm by vent »  

http://www.shapevent.com/
elout

12747371274737 WWW
Re: motion capture...
« Reply #5 on: Nov 20th, 2003, 7:13pm »

I always wanted to do something with motiontracking,
found on this site also some motiondata (bvh-files)
 
http://acabar.cafwap.net/~zier/anim/
 
TomC

WWW
Re: motion capture...
« Reply #6 on: Nov 20th, 2003, 11:37pm »

Found some definitions... bless Google
 
http://www.accad.ohio-state.edu/~varadara/Diva/HumanRTKm.mkr
 
TomC

WWW
Re: motion capture...
« Reply #7 on: Nov 21st, 2003, 1:19am »

And talking to myself again, here's an attempt at joining the dots...
 
http://www.tom-carden.co.uk/p5/morph_dancer_skeleton/applet
 
Not sure what to do about the rogue points on this one - could correct bad lines in the data set but I kind of like it this way.
 
I also dug around and implemented the zbuffer fix for playing with 3d and noBackground() on my blurry one...
 
http://www.tom-carden.co.uk/p5/colour_blur_dancer/applet
 
Koenie

170825270170825270koeniedesign WWW Email
Re: motion capture...
« Reply #8 on: Nov 23rd, 2003, 2:29pm »

I made my own little implementation of the motion capture data files. The skeleton lines are those found in the file http://www.accad.ohio-state.edu/~varadara/Diva/HumanRTKm.mkr . Thanks a lot to TomC and Martin for code and help. May take some time to load due to the huge data files.
 
http://koeniedesign.com/motion/
 
Koenie
 

http://koeniedesign.com
TomC

WWW
Re: motion capture...
« Reply #9 on: Nov 23rd, 2003, 9:08pm »

Nice horizon... and a neat way of getting the lines in.  I'm going to try and map the points to a nicer model soon.
 
One thing, wouldn't cacheing these lines outside of the loop() improve the speed a little?
 
Code:

    int i = Integer.parseInt((String)name.get(splitStrings(d[n])[0]));
    int j = Integer.parseInt((String)name.get(splitStrings(d[n])[1]));

 
The aforementioned VRML beckons, otherwise I'd try it myself.
 
Koenie

170825270170825270koeniedesign WWW Email
Re: motion capture...
« Reply #10 on: Nov 24th, 2003, 4:21pm »

I guess that would be possible, but that takes a long time to load I guess. BTW, I was thinking about creating some kind of 3D model around the skeleton, because 3D animation uses the skeleton-like animation stuff.
 
Koenie
 

http://koeniedesign.com
elout

12747371274737 WWW
Re: motion capture...
« Reply #11 on: Nov 25th, 2003, 10:33pm »

Seen 'lola rennt' rencently ((and the hulk)); anyway..
 
http://www.xs4all.nl/~elout/proce55ing/mocap05/index.html
 
 
holzer
Guest
Email
Re: motion capture...
« Reply #12 on: Nov 26th, 2003, 11:46am »

has anyone played res on the ps2 - the third (or forth) level has a boss just like your running man
 
Koenie

170825270170825270koeniedesign WWW Email
Re: motion capture...
« Reply #13 on: Nov 26th, 2003, 4:36pm »

Is res the game in which you are a whiteline rabbit running across a white line which varies with the music?
 
Koenie
 

http://koeniedesign.com
holzer
Guest
Email
Re: motion capture...
« Reply #14 on: Nov 26th, 2003, 5:17pm »

Its actually called 'Rez', my mistake.
 
Heres a link:
 
http://www.sega.com/games/post_gamegame.jhtml?PRODID=843
 
click on the screenshot viewer, and goto picture 9, u can see a red blocky runner. thats the boss for that level - it continually runs through the corridor (you've got to attack all the blocks it is made from). It also morphs and attacks - this section is one of the graphical highlights of the game.
 
Its PS2 only, but if you can get a chance to have a look at it its worth it (especially in the context of this section).
 
Pages: 1 2 

« Previous topic | Next topic »