Jump to content

Archived

This topic is now archived and is closed to further replies.

mala

Script To Remove Keys? & Auto Place Nulls In Joint Skeleton

Recommended Posts

Guest

he says it works as long as you use "naming" and not the Hierarchy,but not for me rolleyes.gif

Hey Mala, that's been my experience too.. maybe he got lucky and found mocap files that just work for some reason, but none of the ones I've tried do.

Cheers,

Brian

Share this post


Link to post
  • Topic Author
  • Well Think i've got it sussed now....famous last words!

    As far as the Retarget Tag goes,i did get it to work in the end....think what i was doing wrong was with how i had scaled the target rig...but i'm pretty sure i don't need the Retarget Tag for what i'm doing.

    This morning I used Nebu's plugin to convert 14 bvhfiles to motion source(Nebu thanks so much for this,its sped things up a lot,one final request though,can you rename the plugin "MoSauce" just for a laugh wink.gif )the files i used are from CGspeed.com and are in folder 117,they are mostly breakdance moves,kinda thing i was looking for and they are quite complicated lots of flips and fancy footwork,so seemed like a good way to test the rig.Nebu to match these BVH approx. in size to the CDIK Rig i sent you,Set BVH import scale to 50 in prefs.you'll still have to do a bit of scaling by hand but its close.

    I then built 6 different setups to test these "Motions" on....3 of the setups used the retarget tag and 3 didn't

    1- IKRig +DummySkeleton made from BVHTpose(parent null scaled with Object tool to approx my IKrig)

    2- IKRig +DummySkeleton made from BVHTpose(Parent null scaled as above and repositioning bones to match IKrig)

    3- IKRig +DummySkeleton made by converting joints(from IKrig) to bones(removing extra tip bones and all IK of course)

    On the above setups All MotionSource was applied directly to DummySkeleton.

    4-Same as setup1 above,but with an extra DummySkeleton made from BVHTpose with No Scaling

    5-Same as setup2 above,but with an extra DummySkeleton made from BVHTpose with No Scaling

    6-Same as setup3 above,but with an extra DummySkeleton made from BVHTpose with No Scaling

    On the above setups All MotionSource was applied to the "extra" DummySkeleton this was then Retarget-ed to the other DummySkelton

    Seems a bit over the top i know,but i was getting lost,so thought it was best to just compare all the possible setups.

    Results:

    Setups 3+6,with a DummySkeleton made from the IKRig Joints converted to bones,failed totally but was quite funny...looked like someone dancing with a dead body.

    Setups 1+4 with a DummySkeleton made simply by re-scaling a copy of BVH SkeletonTpose worked,but not great.

    Setups 2+5 with a Dummy skeleton from BVHtpose,rescaled and repositioning some bones worked the best,it followed the originalBVH the closest.

    Having the DummySkeleton with the Retarget tag(Setup4) made no difference what so ever that i can tell.

    The fact that a setup with dummyskeleton made from the BVH tpose,rescaled using Object tool on its parent null and joints carefully re-positioned worked best wasn't that much of surprise,because it's what I did when i started to try this,my problems arose from some of the BVH files at CGspeed.com....So if you are gonna try the same thing,look carefully at the BVH first,it was mainly problems with misaligned or different size Hip and shoulder bones that caused problems.

    Right hopefully i can just get on and make my animation now... :)

    Thanks to you all for helping...

    Cheers,

    mala

    Share this post


    Link to post
    Guest

    Cool, glad you got it sussed anyway. The only issue I'm having now is that I notice if you scale the BVH rig the animation seems to get a bit messed up sometimes, maybe it's down to values being rounded off or something like that. It seems like you don't need the Retarget tag and I've managed to work without it too for my needs but I was looking at this one which could be handy, only 20Euros so I might pick up a copy at some stage if I'm doing a lot of this, but I reckon you could build your own version with xpresso if you put the time in.

    Cheers,

    Brian

    Share this post


    Link to post
  • Topic Author
  • @Brian...yep had a look at that one,but thought it should be possible without it,as for your problem with scaling the BVH messing up the animation,do you mean scaling the bvh that has animation or scaling the non-animated tpose skeleton derived from the original BVH?

    I'm not scaling the animated BVH,just using Nebu's plugin to strip out all the bits i don't need and convert it to motionsource then apply that motionsource to a rescaled(un-animated)BVH skeleton.

    @Scott laugh.gif don't know about anyone else,but my head hasn't stopped spinning for the last few days...maybe i need to fix that head controller...

    Share this post


    Link to post
    Guest

    I found some more free mocap files, of varying quality, including another version of the exercise one that's a little cleaner than the 1st one I used above.

    You have to sign up to download the free ones but a lot of them have preview animations so you can see what youre getting , most of them come in several formats, nearly all are in FBX and BVH. A couple of funny ones further down the list.

    I found one there that works really well with the muscle rig, I'm going to bake it and then hand animate some hand poses and the back muscle morphs and turn this into something for my rigging reel.

    My head got a little wrecked with this too but I'm delighted now I started looking at it (cheers Mala!) as I think this should be a great way to demo the muscle rig.

    The Harvester plugin workflow is working pretty smoothly now, I've transferred several animations to the same rig now with success.

    Cheers,

    Brian

    Share this post


    Link to post
  • Topic Author
  • Looking Good Brian sc018.gif I know you are doing this for showing your muscle rig....but the idea of a muscle man show for skeletons made me--> :)

    Share this post


    Link to post
    Guest

    Yeah it is kind of funny watching him 'flex' his bones.. smile.gif

    Cheers,

    Brian

    Share this post


    Link to post
    Guest

    Thanks Nebu, yeah it might be handy to have to links in the resources section alright.

    I want to concentrate on a model I'm working on for the Gargoyle challenge for a few days but I'll come back to this soon and work on the muscle animation (with the muscles this time!).

    Cheers,

    Brian

    BTW I'll take your typo of my name as a compliment ! wink.gif That one seems to happen quite a lot, not convinced I deserve it though! laugh.gif

    Share this post


    Link to post
    Guest
    This topic is now closed to further replies.

    • Recently Browsing   0 members

      No registered users viewing this page.

    ×
    ×
    • Create New...