Home Technical Talk

3ds max >> motion capture and freeform animation

polycounter lvl 12
Offline / Send Message
Anushka polycounter lvl 12
Hello everybody again! :)

I need to know how can I import (load) mocap animation into a biped that already has animation (freeform) without losing that freeform animation??
Cause when a mocap is loaded into the biped, what happens is that the total amount of frames that exists in the mocap overlapps the existing animation on the timeline...
How can I control in which frame the mocap will be placed without erasing and overlapping what I already have in my scene??

Thanks :poly142:

Replies

  • Mark Dygert
    Motion Mixer. This lets you overlay different tracks of animation and blend them together. You create a mix of all the tracks and then apply that to your biped.

    You might need to first load the mocap onto a biped and then save out a .bip file from the biped menu. I'm not sure what other formats Motion Mixer imports besides .bip for biped objects.
  • Anushka
    Offline / Send Message
    Anushka polycounter lvl 12
    Vig wrote: »
    Motion Mixer. This lets you overlay different tracks of animation and blend them together. You create a mix of all the tracks and then apply that to your biped.

    You might need to first load the mocap onto a biped and then save out a .bip file from the biped menu. I'm not sure what other formats Motion Mixer imports besides .bip for biped objects.


    thanks Vig!!

    I'll try that out tomorrow! ;)
  • MoP
    Offline / Send Message
    MoP polycounter lvl 18
    Get a room guys! ;)

    Vig is the most helpful man alive...
  • Anushka
    Offline / Send Message
    Anushka polycounter lvl 12
    LOL!
    yes, he is :)
  • Anushka
    Offline / Send Message
    Anushka polycounter lvl 12
    Hello there!! I've tried to get things moving with motion mixer, but honestly, through max's help I can't undertand how that works.... do you know any good tutorial (video) that I could see??
    One other thing, I'm animating my biped with quaternion curves, using only FK animation, but I can´t see the animation curves of the bip01... what's wrong? :\
  • Mark Dygert
    While in mixer mode (little egg beater in biped menu) there are no curves or keys to edit, at least none that relate to what you see in the motion mixer. You'll have to create a mixdown and apply that to the biped, then exit mixer mode before you can edit the keys and curves on mixer animation. There could be keys already on the biped but they are just dead animation that gets overwritten once you mix and apply it to the biped.

    Only what is in motion mixer will be applied. If you have keys on the biped that you want added to the mix you'll have to save it out and add it to motion mixer.

    The tutorial in help is pretty good, probably about as good as it gets anywhere online. Make sure to use F1 and Help > Tutorials > Character Animation Tutorials > Biped Quickstart > Combining Motions with the Motion Mixer
    It walks you through up until you need to mix and apply. You don't always need a transition clip but they're helpful when blending from one motion to another, like walk/run/idle, walk to walk crouch bla bla bla...


    To mix: SAVE your 3dsmax file, then right click the biped label in motion mixer (bip01 normally) and click "compute mixdown" the default settings are normally fine.

    To Apply it: SAVE your 3dsmax file, then right click the newly created mixdown track, and choose copy to biped. You can then turn off mixer mode and edit the keys/curves as normal.

    You can filter out the motion of pieces like arms and legs even the root node, on a per trackgroup basis. This is handy when you need to do a bunch of walk cycles but the character might be holding different weapons.

    To filter, right click the trackgroup name (All) and choose filter. If you want to combine two set of filtered animations like the legs from one animation with the torso of another, you need two track groups with the filters set accordingly.

    You MIGHT be able to have one trackgroup and filter out specific pieces and it will mix with the animation keys that are already on the biped (but haven't been added to the motion mixer) but this is inviting trouble and prone to crash.
  • Anushka
    Offline / Send Message
    Anushka polycounter lvl 12
    Hi Vig!

    about the motion mixer, I just read the help files on that, but I will check out the tutorial you mentioned, thanks!
    when I was talking about the animation curves on the bip01, I wasn't talking about that on motion mixer, but on the normal freeform animation mode... Why aren't the curves appearing on the curve editor? With the right transform selected and all that... Even If I switch it to quaternion mode, still doesn't appear... :S
    I need tweaking on that!!
  • Anushka
    Offline / Send Message
    Anushka polycounter lvl 12
    Anushka wrote: »
    H
    One other thing, I'm animating my biped with quaternion curves, using only FK animation, but I can´t see the animation curves of the bip01

    UPS! I mean, euler curves here! with the tangents (which I love :P)
  • Mark Dygert
    Make sure you're in the biped work bench, there is no telling what you'll get in the standard curve editor, probably garbage.

    If you're in the workbench be careful of the biped piece your clicked on and what curve its set to. If you've selected a hand or a foot and you're on the Position Curve, only the planted keys will show up with no curves, only dotted lines.
    WorkBenchPlantedKeys.jpg
    If it looks like this, its normal. You can't really edit the position of hands and feet unless they are planted in the world. But you should be able to access their rotation curves normally.
  • Anushka
    Offline / Send Message
    Anushka polycounter lvl 12
    life saver, Vig!!!! :D
    workbench, that's what I was missing.... Much better then curve editor, thanks!!
    just one more thing.... Why do some keys do not have tangents when ALL of my biped links are on euler mode?? And, how can I distinguish translation curves from rotation ones, except for the axis which is distinguished by color??
  • Mark Dygert
    Inside workbench there is a drop down menu at the top center, it allows you to select the different types of curves that are displayed. By transition I assume you mean position?

    In the upper right corner you can filter out XYZ curves if there is too much overlap and you want to work on just one curve. There are times (and this is a bug) you need two curves on the screen in order to select anything, its super annoying, they know about it it should be fixed next version.

    The curves are always using local pivot values, so if you set your viewport gizmo to local you'll be able to see the gizmo correctly as it relates to the curves. If you have it set to view or world then the gizmo is going to point different directions and it will be a bitch of a time trying to figure out which curve is what.
  • Anushka
    Offline / Send Message
    Anushka polycounter lvl 12
    Vig wrote: »
    Make sure you're in the biped work bench, there is no telling what you'll get in the standard curve editor, probably garbage.

    If you're in the workbench be careful of the biped piece your clicked on and what curve its set to. If you've selected a hand or a foot and you're on the Position Curve, only the planted keys will show up with no curves, only dotted lines.

    I don't have any planted keys cause I'm using FK animation only... so they should all appear there.
    And what about my missing bip01 animation curves? I have animation on it, but still can't see the curves on the workbench...
  • Mark Dygert
    Ahh good, planted keys are quick but man can they cause trouble.

    The bip01 is a special case, you need to click the "controllers tab" to get at its rotation (turning), horizontal and vertical tracks. There are a lot of weird reasons why they did this I can get into them but its crazy boring...
  • Anushka
    Offline / Send Message
    Anushka polycounter lvl 12
    Vig wrote: »
    Inside workbench there is a drop down menu at the top center, it allows you to select the different types of curves that are displayed. By transition I assume you mean position?

    YES, yes, yes!!! The dropdown menu , choosing, pos curves, showed the missing curves on my bip01! Thank you sooo much for pointing that out... :D
    Vig wrote: »
    The curves are always using local pivot values, so if you set your viewport gizmo to local you'll be able to see the gizmo correctly as it relates to the curves. If you have it set to view or world then the gizmo is going to point different directions and it will be a bitch of a time trying to figure out which curve is what.

    this last paragraph I didn't understood... related to what, some missing tangents?? Cause i haven't changed the pivot... Not sure I even know how to do that.:shifty:
  • Mark Dygert
    The max viewport gizmo is kind of weird. There is a drop down in the main toolbar that allows you set the viewport pivot to local space. What this allows you to do, is see on the bone in the viewport which axis is doing what.

    If its set to anything else but local and you rotate it on X it might move on Y and Z in the curve editor, but with it set to local, if you move it on X, it only moves on X.

    3dsmaxLocalWorldPivot.jpg
    It lets me interact a little easier in the viewport. I rotate the gizmo in the viewport and spend less time nudging a curve around trying to get the object into position. It saves a little bit of time and lets you interact with specific curves in the viewport.

    Since the curves you're editing are local space, it just helps to have the viewport gizmo set to the same thing.
  • Anushka
    Offline / Send Message
    Anushka polycounter lvl 12
    ok :D understood, or at least I think!! I had it on 'view' mode, seems to be the same as 'world', but really on local I see the 'true' axis on which is going to be moved or rotated., right?

    Only one question remaining yet:

    about the missing tangents on some keys?? As I said, my whole biped is on EULER mode, and all the animation is being made only with rotation of the links (FK). Why (on the curve editor and on workbench) some keys don't have tangents although there is a animation curve between those keys??
  • Mark Dygert
    Anushka wrote: »
    ok :D understood, or at least I think!! I had it on 'view' mode, seems to be the same as 'world', but really on local I see the 'true' axis on which is going to be moved or rotated., right?
    Yep you got it =)
    Anushka wrote: »
    Only one question remaining yet:

    about the missing tangents on some keys?? As I said, my whole biped is on EULER mode, and all the animation is being made only with rotation of the links (FK). Why (on the curve editor and on workbench) some keys don't have tangents although there is a animation curve between those keys??
    I would probably need to see a screen shot of the workbench to say for certain.

    It depends on the curve you're looking at and the biped object you have selected. If its hands and feet and you're on Position, it will show dotted line curves. White dotted line curves are behind the scenes curves and should be ignored. I think they're IK curves and only active when you plant a key.

    But yea would have to see the workbench to be sure.
  • Anushka
    Offline / Send Message
    Anushka polycounter lvl 12
    damn!! Am I being dumb or the 'insert image' button only lets you out in an online image??
  • Mark Dygert
    yep, the boards don't upload, they only link to images that are already online. I personally like dropbox, drag a file into the dropbox folder, right click and copy public link, paste and you're done. And it syncs files across computers which is nice.
  • Anushka
    Offline / Send Message
    Anushka polycounter lvl 12
    yep, sounds cool! installing it now ;)
  • Anushka
    Offline / Send Message
    Anushka polycounter lvl 12
  • Mark Dygert
    Ahh that's because the tangents are set to something like smooth, fast or slow. To get the handles you want, select the offending keys and click the button to the far left "Auto".

    3dsmaxTangents.jpg
    From left to right:

    Auto: Each handle effects the other, good at getting rid of pops. It tries to give you a smooth curve.

    Custom: This allows each handle to be manipulated independently, it breaks your curve. Instead of clicking the button you can also hold shift when manipulating a Auto Tangent and it will break it into a custom tangent.

    Fast:
    Gives the curve a sharp peak. No handles.

    Slow: Gives the curve a wide bell shape. No handles.

    Step: This will carry one key until it encounters another one, then it will pop/step to the next one. This is great for blocking out pose to pose animation, and blocking in your timing. No handles.

    Linear: This flattens out curves by drawing a straight line from one key to another. No handles.

    Smooth: This attempts to give you as evenly smoothed out curves as possible. No handles.
  • Anushka
    Offline / Send Message
    Anushka polycounter lvl 12
    ah-ah!! Maya is much more simple to animate, you always have tangents, period. Even if they are set to slow or linear or whatever...
    I'll keep that in mind about max, thanks Vig! :)
  • Mark Dygert
    Yea threw me for a loop also when I first started using the curve editor in 3dsmax, heh. Back then biped only had quaternion curves, shudder that was another nightmare... Slowly but surely its getting better but it feels like its happening at a slugs pace.

    Anywho...

    I think those few keys ended up set to slow because that is what your default curve is set to. Down in the lower right corner of the main menu between Set Key and Key Filters is the default curve button, this looks to be set to slow, so any keys you created would default to slow.
  • Anushka
    Offline / Send Message
    Anushka polycounter lvl 12
    Today I tried to change the default key to the free tangents one, and it was definetely that what I was missing... ;) thanks!
    And by the way, do you have any list of the different colors of the keys and why they are so different between animations modes, or why does that happen? Cause I find it a bit confusing to have all those keys with different colors, surely they mean something that I am missing... :)
Sign In or Register to comment.