Motion tracking w bone rig?

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

chucky
Posts: 4650
Joined: Sun Jan 28, 2007 4:24 am

Post by chucky »

Not all good news guys, I tried this on a slightly grander scale, with two legs and arms , spine and the whole thing, I don't have the full version yet so posting examples is only ok for very short bursts (screen cap gif).

Although my first test EDIT: ( which I have not posted) was a simple and effective affair, I'm now not sure about how great it is on a full rig yet.
I definitely have some results that are really cool, especially as the foreshortening of the bones can result in some very natural body/head turn tricks.
Unfortunately the mocap starts to crap out when several targets and bones are in use.
The secondary target doesn't always 'grab' the bone's rotation.

Maybe I have done something wrong, like starting from other than the first frame or not laying out bones/targets in a correct hierarchy.

Advice to anyone trying this out, use good quality high rez video with clearly defined markers- hopefully multi coloured. The poorer the video the poorer the cap will be, and therefore the more adjustments you will have to make to the targets.

As for the bones..... I'm not sure why they flick around and change length and rotation in error, but if you get some of these symptoms just have a quick glance at the timeline graph and you will see some interesting artefacts. Sometimes the translation ' jitters' are easy to eliminate on the graph. Have a look.
Some the errors are (in the case of the bones) are hard to tweak as keys are laid down on every frame. Smoothing or some kind of pixel/angle tolerance could smooth that out.

A bitter-sweet experiment- mostly sweet... :)
Last edited by chucky on Thu Jun 11, 2009 11:24 pm, edited 1 time in total.
User avatar
heyvern
Posts: 7035
Joined: Fri Sep 02, 2005 4:49 am

Post by heyvern »

mkelley wrote:Now, we'll have to preserve the parent bone ID but doesn't the new scripting allow for that kind of data storage?
No, I don't think so but I've been so busy with other stuff I haven't had time to stick my brain inside the new scripting and rub it around to gain new knowledge...

... uh... that is how you guys learn stuff right? You rub your brain on things so the knowledge gets in faster? Or am I the only one who does that? ;)

-vern
chucky
Posts: 4650
Joined: Sun Jan 28, 2007 4:24 am

Post by chucky »

Image
OK so I haven't built the model properly but here's a mocap test, all the body movement is mocapped.
I have noticed the rotational values seem to double and cause that spinning effect much like the old bone lock glitch,this is most obvious when viewing keys in the graph.
If only I was asked to beta this feature.....sigh. :?
User avatar
slowtiger
Posts: 6081
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Post by slowtiger »

That's ... amazing. Could you post one still of the motion source?
User avatar
madrobot
Posts: 667
Joined: Mon Apr 07, 2008 3:07 pm

Post by madrobot »

Wow.

That looks pretty good for a test Chuck.

(Plus I had no idea you had such bodacious moves.)

So the rotational issue you're talking about, did you go in and correct it?
Or is it there in this file, and doesn't show in the render?

The dynamics on the hair really works haha.

re: beta testing, I agree. I think it's great that Vern was on it, but having the whole posse of yourself, Wes, mkelley, genete, slowtiger and probably one or two others who have slipped my mind would have been in the best interests of ASpro users for sure. Imagine what that might have looked like!

Still, we'll see how we go...
Patmals
Posts: 551
Joined: Tue Aug 08, 2006 7:19 am
Location: Nagoya-shi, Japan

Post by Patmals »

That looks really cool, Chucky!

Please show us how you acheived this;)
User avatar
madrobot
Posts: 667
Joined: Mon Apr 07, 2008 3:07 pm

Post by madrobot »

I'd be interested to know what measures you took to record the source video. Dark clothes against white wall? What light? Tracking objects?
chucky
Posts: 4650
Joined: Sun Jan 28, 2007 4:24 am

Post by chucky »

the source video could have been better,
I captured through vegas pro using my wbcam for want of something better.
I used masking tape in bands around main joints and targets, I just wore what I had on which was on the dark side(wheez), and the lighting was totally insufficiant, it was already evening.
I did ajust the contrast in vegas and added a gradient filter which looked a bit like predator vision just to highl;ight the markers.

If I did this whole process properly with good lighting and dark BG , I'm thinking multicoloured reflective markers will make the mocap targeting quicker and more reliable.
Of course when the elbow for example goes behind the body, I had to cut a huge hole through my stomache to see through to the back.

That was messy and I've got to say, really smarted. :wink:

I will post some more details regarding timeline issues etc tonight when I get home.
User avatar
Mikdog
Posts: 1901
Joined: Tue Jul 05, 2005 3:51 pm
Location: South Africa
Contact:

Post by Mikdog »

Dude. This looks awesome. I'm gonna watch his thread closely. Very cool, guy ;) A simple tut on how you set the bones and layers up would be super duper.
chucky
Posts: 4650
Joined: Sun Jan 28, 2007 4:24 am

Post by chucky »

...............Image.........................Image
Yes , yes very silly, you can stop laughing now, if you are can.
And no there is no 'krumping' take, that I will admit to.
Ideally as I said before good lighting, dark/mid tone backdrop and various coloured reflective targets would make targeting faster and cleaner.
Also target placement especially around the feet could have been better.
I have been tracking one target at a time ATM so as not to get in a tangle.
A cool feature is that you can use the same source many times and track indidual parts as the bones will track targets on any number of video tracks.
Make sure the bones you want to control are all parent bones as their children won't be able to track.

Give it a shot, we could work together to find the best system for this.

Image

This is the rotational jump that causes ' bone flipping', although an undesirable outcome, this can be fixed by dragging the keys in question to be in line with its corresponding keys. I'm not sure what causes this, hopefully we can find a solution that will reduce the need for this tweeking, it is one of the things does interupt the process somewhat.

Image

I think a script might be able to smooth all these keyframes, but it would have to be descriminating.

There are a couple of other small issues which I won't delve into just yet, these are still early days and I keep finding ways to avoid them.
More soon. :)
User avatar
realsnake
Posts: 274
Joined: Fri Oct 05, 2007 8:03 pm
Location: timing&

Post by realsnake »

whoa super cool, i had no idea what exactly is tracking point tool and its uses, haven't used any video editor like after effect before.
:shock: :shock: :shock: :shock: :shock: :shock: :shock: :shock:

EDIT: This is another form of motion capture in 2D, instead of rotoscoping and tracing over videos
User avatar
dreeko13
Posts: 187
Joined: Fri Oct 13, 2006 8:29 am
Contact:

Post by dreeko13 »

i think what is needed here is a mocap bones tutorial for dummies cause this has so much potential

with a mocap from a close up video of a mouth talking (with lips marked at the corners and middle upper and lower) then , we would have instant lipsyncing!!
User avatar
windstormer
Posts: 40
Joined: Wed May 27, 2009 3:36 am

Post by windstormer »

Perfect! I'll start experimenting now. These is really just one of the features that makes this software rock!
chucky
Posts: 4650
Joined: Sun Jan 28, 2007 4:24 am

Post by chucky »

I think this post has long outgrown the 'how do I' but I'll continue anyway.

Here's a face motion capture test, interesting experiment but a bit unweildy.

Huge Orange Head

It all works well but it got a bit slow as the mouth movement was too subtle.
I had to use controlled bones with amped values to exaggerate the movements.

I think mocap is going to be generall better for gross body movements.
The facials a better just with the pose sliders- much quicker and more maleable.
It may , however be good for more realistic characters, I may have a look into that.
User avatar
realsnake
Posts: 274
Joined: Fri Oct 05, 2007 8:03 pm
Location: timing&

Post by realsnake »

whoa super duper cool :lol:
Post Reply