Home Technical Talk

Adding Jaw bone to biped in 3ds max

polycounter lvl 9
Offline / Send Message
barnesy polycounter lvl 9
Hey guys ,

Here is a character that I have been rigging. It was decided to add a jaw bone but for some reason whenever I try and assign any weighting to the bone it goes all weird and stretches, as you can see in the pic. I have tried collapsing the stack and starting again but that makes it so that the envelopes etc don't line up and you end up getting a crazy effect on the rest of the character, although the jaw seems to work when that happens :s

jaw-1.jpg

Any help or suggestions on this would be greatly appreciated, thanks for reading :)

Replies

  • monster
    Options
    Offline / Send Message
    monster polycounter
    I can tell be the shape of the bone in the screenshot that it's been non-uniform scaled. Scaling is bad for bones. (Not for Biped though.)

    Remove the bone from the skin modifier, delete it. Make a new bone, and don't ever scale it. (Instead of a bone object you can use a Biped Ponytail bone, or a Biped Xtra bone. That's what I would do to make transferring animations easier.)

    Make sure the reference frame in the Advanced Parameters of the skin is set to frame 0, and that frame zero all the bones are in the correct bind pose positions.
  • Valandar
    Options
    Offline / Send Message
    Valandar polycounter lvl 18
    If you're using Biped, yeah, use a Ponytail bone for the mouth.
  • spacefrog
    Options
    Offline / Send Message
    spacefrog polycounter lvl 15
    Valandar wrote: »
    If you're using Biped, yeah, use a Ponytail bone for the mouth.

    That's a clever idea, never thought of this by myself...
    On the other hand i never had problems using a headlinked hierarchy using standard bones for the facial rig in biped
  • Mark Dygert
    Options
    Offline / Send Message
    Use Main Menu > Animation > Bone Tools, if you need to reposition bones or change their size. Scale is an inherited property just like position and rotation and when you skin something to a bone that has been scaled, that scale transfers. 99% of the time that messes everything up.

    Also before you apply skin to your mesh, select all of the bones/biped that you will be skinning to, hold alt, right click, and choose set skin pose. This will help skin and the bones/biped understand the basic reference pose. It helps smooth out other issues that are bound to pop up and leave you scratching your head.
    spacefrog wrote: »
    That's a clever idea, never thought of this by myself...
    On the other hand i never had problems using a headlinked hierarchy using standard bones for the facial rig in biped
    It becomes a bit more complicated to save/load and mix animations when you start attaching non-biped systems. Biped can save and load things that are attached to it, but tries to replace them if they already exist in the scene and that often screws up skin. Instead you end up managing them seperately as a seperate object and tracks inside of Motion Mixer. It isn't impossible, just for something this simple it helps to keep it all in the biped system so you only load/save one system.
  • spacefrog
    Options
    Offline / Send Message
    spacefrog polycounter lvl 15
    Also before you apply skin to your mesh, select all of the bones/biped that you will be skinning to, hold alt, right click, and choose set skin pose. This will help skin and the bones/biped understand the basic reference pose. It helps smooth out other issues that are bound to pop up and leave you scratching your head.

    I'm not quite sure, but is'nt that the same as toggling the "always deform" checkbox in Skin's advanced rollout off and on again after bone adjustments, while the timeline is at the reference frame ? I have the suspection that the "set skin pose" command is just doing that internally

    PS:
    Out of curiosity i rechecked the Skin source code in the SDK samples.
    ( I already dealt with it in the past http://forums.cgsociety.org/showthread.php?f=6&t=1056953 ).
    Funny thing is that skin does'nt contain a single reference to the whole SkinPose mechanism (which is a Node related thing). So i doubt that Skinpose does really anything for skin. Skin has the Reference frame setting in the advanced rollout, and i think it's there where it get's all the bone reference transforms from...
    Also the docs are rather general, but it looks like Skinpose is only there to store a set of transforms (similar to "Freeze Transform") . Skin itself does nothing with Skinpose as it seems...
  • monster
    Options
    Offline / Send Message
    monster polycounter
    The Skin Pose (which is always a good idea to set before skinning) is just a bookmarked transform than you can always return to. But I'm not sure the Skin modifier uses it for anything.

    http://docs.autodesk.com/3DSMAX/15/ENU/MAXScript-Help/index.html?url=files/GUID-CF42632D-E10A-4C98-92F0-1FE949A80298.htm,topicNumber=d30e254215

    The Skin modifier contains a Bone Bind Transform per bone (skinUtils.SetBoneBindTM) independent of the Skin Pose.

    http://docs.autodesk.com/3DSMAX/15/ENU/MAXScript-Help/index.html?url=files/GUID-0820AA26-920F-434D-A6BC-E8B6B57F54AC.htm,topicNumber=d30e424689

    Unchecking "Always Deform" lets you manipulate the Bone Bind Transform.
  • Mark Dygert
    Options
    Offline / Send Message
    I was never really sure if Skin used it or not and never looked into it, thanks for the links!

    I make use of the "assume skin pose" while animating just to get pieces back to a clear starting place.

    It also seemed to help keep the biped clavicles in place, where before I started doing that they would apply a universal rotation of 5-15% up or down to all animations, when toggling in and out of figure mode, it wouldn't happen every time but it happened enough to be annoying. I'm not sure if set skin pose was what fixed it or not or if they did something else to biped, but I haven't had it happen in 1-2 years. So I cross my chickens feet and refresh the salt circle around my desk before applying skin :poly131:

    I REALLY wish biped had a mode like "bone edit mode" or like CAT when you're aligning joints where you can move the joint instead of having to scale and rotate it. For a while I was starting off with a CAT rig, then using a script that would create a biped around the CAT but it stopped working accurately when they introduced knuckle bones.
  • spacefrog
    Options
    Offline / Send Message
    spacefrog polycounter lvl 15
    I REALLY wish biped had a mode like "bone edit mode" or like CAT when you're aligning joints where you can move the joint instead of having to scale and rotate it.

    Strange thing is , Biped has it already something similar to that, but for Knee and Ellbow joints only ( Rubberband mode )
  • Mark Dygert
    Options
    Offline / Send Message
    spacefrog wrote: »
    Strange thing is , Biped has it already something similar to that, but for Knee and Ellbow joints only ( Rubberband mode )
    It's there in theory but in practical application it just doesn't work the same.

    Here is the positioning of CAT, which is the same as any custom bone rig.
    CAT_Elbow.gif

    Biped rubberband mode has you select the joint higher up to move the position of the lower. If you want to move the elbow you select the bicep which has its pivot not in the elbow but at the end of the clavicle. Making snapping the elbow to a specific point (like above) impossible. If you grab the forearm you get the right pivot but it moves the whole hand around.

    BipElbow.gif
    So the best you can do in biped rubberband mode is to kind of wrangle one point at the shoulder that never moves but causes the lower joint to slide around hopefully into roughly the right spot. You're left just kind of hunting around hoping it lines up, and the elbow and the knees are the only joints it works on?

    Mind you I prefer biped to CAT when animating. FK/IK switching and managing two separate rigs with blending is completely retarded, so I stick to biped which handles it all very nicely but that doesn't mean that CAT doesn't have some other great features.
  • monster
    Options
    Offline / Send Message
    monster polycounter
    Not to go off topic, but I will, how do you create these GIFs so quickly? I use Photoshop's animation panel, but that's not exactly fast.
  • Mark Dygert
    Options
    Offline / Send Message
    The CAT gif is from an old example I had sitting around in my dropbox, the biped one was fairly easy to crank out.

    Two ways...
    1) render a viewport preview to AVI, and import that as layers into photoshop, then the animate panel has a "make frames from layers" option. Some newer versions of photoshop might be missing this import option or do it through automate or open.

    2) Screenshot, paste, screenshot, paste wash rinse repeat. "make frames from layers" (its in the options fly out just under the close X in the upper right of the animation panel).
  • pixeldamage
    Options
    Offline / Send Message
    pixeldamage polycounter lvl 14
    Really old thread so I'm sure most of you all know it now - but I use Giphy on my desktop for capturing stuff almost daily to share with colleagues (we work online via Slack) and it's super fast and convenient for capturing gifs (even from d3d/ogl viewports) (sorry to be off topic too)
Sign In or Register to comment.