NavHeader
journalHeader
Showing posts with label Rigging. Show all posts
Showing posts with label Rigging. Show all posts

Tuesday, January 11, 2011

Thinkin bout spines...

Python training is coming along well. At least Bokser hasn't gotten the switch out yet. Started into classes yesterday and they're pretty amazing. Progress is humming along on the "skeleton" of bbThingamarig. Bokser must have  had a late night and I have no new python assignments for the morning so in the meantime I thought some r&d would be fitting.

So spines are tricky things. For starters, I'm not thrilled with Morphy's current spine as I've said before and it's one of my major issues with the rig as a whole. That's something I plan on rectifying. And how!

In keeping with Master Schleifer's instruction, the first thing to do is to think. Why don't I like morphy's spine, how it might be better, and look at some other spines out there.

  • Pivots - for starters my pivots are off. I had a version at the end for the testers that was much better but it was gonna add a good bit of work to roll in and I'd rather just do it from scratch.
  • Reverse spine - I've been playing with a prototype spine from my good friend Scott Englert that uses it and it's an intriguing concept
  • Extra channels - another buddy, Tony Bonilla asked for an extra rotation transform on the cog to deal with spins so that's something I wanna do as well.
  • FK/IK blend or more of a mode system - Some rigs go for a strictly fk/ik spine (TSM comes to mind) with a switch while others go for a more hybrid approach (which Morphy's current rig is). At this point I'm leaning towards one or the other with snapping between the two but I'm definitely open to suggestion
  • Ribbon spine - Seen this bandied about some so I'm lookin into this as well courtesy of Aaron Holly's "Rigging for Feature Animation"
  • Any further suggestions for things to look into?
Also, made some homemade mushroom soup this weekend that was the base of some tasty strogganoff which I'm fixin to have for lunch. Just thought the internets would like to know that.

Thursday, July 1, 2010

Eye Rig of Doom!

But first, a little Morphy update...




Quick range of motion test on the 80% complete facial rig. Still have some pose polishing to work on but I'm pretty happy with the base controls.

So getting the intial moveable scalable eye rig working wasn't too hard until I wanted to have a master eye IK control .

Master Eye IK control, I shake my fist at you!

Picked this up and left it numerous times after getting frustrated with it. However, this morning, things finally came together. Heirarchy of the transformable, moveable eye rig. The basis for the rig is Scott Englerts fk/ik eye rig. Anywhere there's a "left" item, a "right" item is assumed to be as well. These are my notes so I can make sure everything is connected right on the other side....
  • EyeRig_grp - this is the top group that contain all of the eye rig elements.
    • Parent Constraint -  target - left_eyeorb_skin_jnt
    • Scale Constraint -  target left_eyeorb_skin_jnt
    • eyeRigAttributeHolder - empty transform node with a ton of attributes connected. Holds attributes for Scott's eye rig as well as the eyelid rig
    • eyeIKMeasurements_grp - group containing all of the measurement elements to position the individual eye IK controls when the face is transformed. It is a template that helps us get the initial positions from which all subsequent offsets happen
      • eyeIKMaster_loc - Simulates the position of the eye_masterIK_anim control using the exact same constraint setup.
        • Parent Constraint - two targets - eye_left_rig_grp and eye_right_rig_grp
      • masterLeftIkDeformPos_loc - this is the startpoint for the distance node that measures how far out we need to push the ik_eye_left_anim_grp to be where it needs to be when the face is deformed
        • Parent Constraint - eyeIKMaster_loc
      • eyeIK_leftDeformPos_loc - end point for this sides measurement node
        • Parent Constraint - eyeIK_left_loc
      • masterIKToEyeIK_left_dist - distance node using the start and end point listed above. Get's our distance to later plug into the individual eye's offset when the eye postion and scale are deformed
    • eye_masterIK_Pos_grp - hold's the master IK control and the stuff necessary to move it where it needs to be when the face is deformed
      • Parent Constraint - two targets - eye_left_rig_grp and eye_right_rig_grp
      • eye_masterIK_anim_grp
        • eye_masterIK_anim - The master IK anim control that moves both eye IK anim controls with it
          • eyeIK_left_anim_grp
            • Connection - masterIKToEyeIK_left_dist.distance >>> eyeIK_left_anim_grp.tx
            • eyeIK_left_anim - Individual eye IK control 
              • Aim Constraint - target left_eyeorb_skin_jnt
    • eye_left_rig_grp - All the rest of the rig stuff for the individual eye
      • eyeIK_left_loc - positioned where the original eyeFK_left_anim position is
      • eye_left_IK_UpVector_loc - positioned above the eyeball to act as a Y up object for the eye's aim constraint 
      • eyeFK_left_anim_grp - 
        • eyeFK_left_anim - Individual eye FK Joystick type control
          • Limits - .tx and .ty only open channels and both clamped to -1 to 1
      • eye_left_orient_grp - holds the meat of Scott's rig
        • eye_left_FKOrient_loc - "Joystick driven" eye rotation
          • Expression - 
eye_left_FKOrient_loc.rotateX = eyeFK_left_anim.translateY * -eyeRigAttributeHolder.eye_left_UpDn;
eye_left_FKOrient_loc.rotateY = eyeFK_left_anim.translateX * eyeRigAttributeHolder.eye_left_LeftRight;
          • eye_left_IKOrient_loc - Aims at the individual eye's IK control
            • Aim Constraint - (.rx and .ry only) Targets eyeIK_left_anim
              • Up object is eye_left_IK_UpVector_loc (who is located above the eyeball to simulate Y up when the head spins around)
          • eye_left_Orient_loc - "End result" locator which the eye is constrained to
            • Orient Constraint - Targets - eye_left_FKOrient_loc & eye_left_IKOrient_loc
              • Weights are expression driven - 
    eye_left_Orient_loc_orientConstraint1.eye_left_FKOrient_locW0 = eye_left_fkikSwitch_anim.translateY;

    eye_left_Orient_loc_orientConstraint1.eye_left_IKOrient_locW1 = 1-eye_left_fkikSwitch_anim.translateY;
          • eye_left_ikPOS_loc - Snapping object for the ik control that's driven by the FK control. Initial position should match the eyeIK_left_anim
            • Parent Constraint - target eye_left_Orient_loc
        • iris_left_anim_grp - Positions the iris/pupil controls to blend between the FK and IK controls
          • Parent Constraint - (maintain position off) - Targets eyeFK_left_anim & eyeIK_left_anim
            • Weights are expression driven to move the iris between the two controls
    iris_left_anim_grp_parentConstraint1.eyeFK_left_animW0 = eye_left_fkikSwitch_anim.translateY;
    iris_left_anim_grp_parentConstraint1.eyeIK_left_animW1 = 1-eye_left_fkikSwitch_anim.translateY;
            • iris_left_anim - .sx only, connected to the iris scale blendshape via expression (.sy and .sz are connected to .sx)
              • pupil_left_anim - .sx only, connected to the pupil scale blendshape via expression (.sy and .sz are connected to .sx)
                • Expression for both -


       if (iris_left_anim.scaleY <=1) {


      eye_left_bsNode.irisShrink_bsGeo = clamp (0,1, 1 -iris_left_anim.scaleY * iris_left_anim.scaleY);
      }
      else {
      eye_left_bsNode.irisShrink_bsGeo = 0;
      }
      if (pupil_left_anim.scaleY <=1) {
      eye_left_bsNode.pupilShrink_bsGeo = clamp (0,1, (1 - pupil_left_anim.scaleY * pupil_left_anim.scaleY));
      }
      else {
      eye_left_bsNode.pupilShrink_bsGeo = 0;
      }
      eye_left_bsNode.irisGrow_bsGeo = clamp (0,1, iris_left_anim.scaleY -1 );
      eye_left_bsNode.pupilGrow_bsGeo = clamp (0,1, pupil_left_anim.scaleY -1);



        Wednesday, June 30, 2010

        On hacking other people's scripts and node spaghetti!

        Here's the current facial setup...

        Trying to keep things simple...:)

        Not quite ready to release an open facial rig beta but been deep in the depths of nodes trying to make things work well.

        So back to hacking things. There's a really sweet script called jsFacialWin (which no one seems to have up currently that I can find for download - it was written by Judd Simantov @ www.cgmuscle.com and looks to be working on his website at present).


        It's a great way to quickly created joystick controls and connect them to blendShapes or attributes driving poses via pretty elegant nodal trees rather than by expressions (which I frankly find to be a pain to edit and deal with)

        Well, what does one do when you want to use this handy dandy connector but don't want to use the joysticks it makes? Great question and one I asked myself last night so I dug in to see what it's actually doing and found  an pretty easy way to high-jack it.

        The first step is to identify what the controls it make are. Their hierarchy is as follows:

        • Transform (group) - this moves the control around and give it it's basis for 0 to one values on all axis
          • Control - this is what the animator moves to drive...whatever
        Easy enough, all my controls had already been set up that way so by looking at the code and errors it threw when trying to load my control as a driver it became clear how things were working. The key is as follows.

        Transform (group)
        1. Name must end with "Grp" - I had been using "_grp" so a simple name change was easy enough
        2. Add a string attribute called "type" 
        3. Look at the jsFacialWin and see which type matches what you want - In my case, my value was "C"
        Control
        1. Should be a 0 to 1, -1 to 0 type control.
        2. Name must end with "CircleCtrl"
        3. Add a string attribute called "name"
        4. Input the name of your control without the "CircleCtrl" in the field
        You should now be able to select your control, hit the "update" button in the jsFacialWin and it should toggle to your control type. Load up your blendshapes or attributes on the right and connect away.

        Now, with that problem solved, it was a simple matter of connecting most of my blendShapes. However I had another problem with my wide shape which I wanted to have very specific values at certain points.


        Man this made by brain hurt trying to figure out. I'm sure better riggers out there would have been able to solve it quickly enough (and probably more efficiently), but this seemed to work okay.


        See, nice and easy:)

        Time to go return the favor and test a new contraint that Scott wrote and after that it's time to revisit the eye rig with the feedback I got.

        Adios!



        Sunday, June 27, 2010

        Morphy Deformation Rig Beta (maya 2009 version)!

        First of all, thanks for the great feedback on the eye rig. There were some great thoughts there on how to make the rig even better. Much appreciated. On to the next...

        So, this is the beta release for Morphy's facial deformation setup. Here's a quick guide...(if you prefer to just jump in without knowing what things are, skip to the disclaimer and download link at the end)


        So, what do we have here?
        • When you open the scene, go ahead and play the timeline. You'll see some quick deformation poses I set so you can get an idea of how things move. There are a series of controls surrounding the face that are being animated.
        • Now, grab the temporary morph joystick and move it around. I made 4 quick morph targets (one of them especially quick but more on that in a sec) and connected them to the control  to make it easy to mess with initially. There is a blendShape node connected to the face that the joystick drives. The four points of the "compass" for the joystick are fat, feminine, SculptMe, and masculine if looking at it starting 'north' and going around the dial clockwise. See how they affect the various deformation poses throughout the timeline. The idea is that part of the customization process will be with the deformation controls and part of it will be via the blendShapes
        • The eyebrows are simply connected via a wrap deformer (please note the polycount on them is quite low). I'm planning on using the same for other customization stuff as well but and open to ideas if you have them.
        • Now to play...
          • There's a quick select set called "qssFaceCustomize" that as all of facial deformation controls in it. I use zooTools set manager to work with Quick select sets and find it to be a very quick workflow. "d" is my hot key and I bring up the menu if I hold it and select my last set if I just hit it once. 
          • Feel free to delete my poses or just add your own after them and see what you can come up with. Start moving them around, scaling them whatever.
          • That SculptMe blendShape is for you to sculpt on without having to add it to the blendshape node though you can feel free to add your own as well on that front.You'll be able to see them if you turn on the layer "MorphTargets"
        • If you want to play with asymmetric facial deformation, open up the expressions editor and comment out or delete my FaceCustomizerExpr and you can just grab those right side joints yourself and break the face to your heart's content.
        • No, the facial rig isn't on this beta. Sorry still working on it:)
        • Yes I know the lids aren't weighted yet on this version
        This is the feedback/input I'm looking for on this beta test:
        • Are there enough deformation controls for you? If you'd like more, where would you like them.
        • Would you like some sort of interface to drive the morphs in the customization phase?
        • Would you like precanned types like the quick pass I've done here or would you like it broken down to nose types, chins in a more area-centric fashion
        • Are you happy with only deforming one side of the face and having it mirror across or would your prefer asymmetric deformation ability? 
        • Do you want to have the morphability when you are animating or would you like a "freeze look" function that pulls out unnecessary nodes and what not for speed's sake?
        • Please email feedback to me (see contact page) with a subject line of  "Making Morphy Moldable".


        -Call for submissions - 
        The final morphy rig will more than likely be limited on the the morphability side for free with a very low cost "honor system" fee for the full blown rig. I'm not 100% on that yet but am leaning that way as a way of justifying continued character making efforts (which I happen to enjoy quite a bit but doesn't exactly pay the bills). So...anyone providing an asset that makes the cut on rig inclusion will 1) get early access to the final rig, 2) get a credit in the release docs as well as the morphy page on my website with a link to your website and 3) not have to pay anything to get it as my way of saying thanks for taking the time to help this endeavor. What am I looking for?
        • Very cool facial morphs - make a really cool nose, chin or something else I haven't even thought of
        • Customization stuff - Now that you have the base head, you have the basis to make beards, mustaches, hair dos, new eyebrows, glasses, new ears, earrings, monocles or whatever you can think of.
        • Textures - the face is fully UV'd. I'd like to have some different skin types for release. Sure I can paint them but 1) I'm not the best texture artist and 2) I'd rather be working on making the rig awesome. Also, if you don't like my uv layout, feel free to redo it and if it's better I'll substitute it
        • Submissions should be sent to me (see contact page for email addy, don't forget to remove spaces) and a subject line of "Mophy shall be mine!" 
        Should you wish to provide something, please make sure the poly count isn't crazy. Look at the ears and eyebrows for an idea of what may not be too much:)

        Disclaimer - Without (much) further ado, here's the rig. I'm gonna ask you don't go take my head and use it for other purposes- especially not until I've released the final character and more specifically not commercial ones. However I can't do anything to stop you should you be inclined to do so other than not do these betas which means working in a vacuum which I find to suck. Yes, that was a pun. Yes, I know it's not as funny to point that out. No, I'm not a comedian. /scene

        Saturday, June 26, 2010

        Can't all you verts just get along?

        Blendshape fun

        So lesson learned here. At some point when I was sculpting Morphy at the end there I lost symmetry and in doing so made getting my blendshape targets symmetrical nigh to impossible. So I spent most of yesterday restoring symmetry to the base mesh and all the subsequent morph targets. Good times. Current count of morphs is 33 without and left right splitting on the main targets. Most of my facial rigs in the past have been bone based so I'm a bit new to the blendshaped facial workflow.

        So new rule is: "When creating a blendshape based facial rig, before beginning to make your final morph targets, CHECK symmetry."

        Should you find yourself in a similar predicament, here's some useful tools in this exercise:

        • Silo - why maya doesn't have a calculate and restore symmetry function is beyond me. If it does and I don't know where it is. Don't hesitate to point out my maya modeling newbish self and laugh (preferably as you tell me where that tool might be).
        • abSymMesh - Check symmetry of targets based off of base mesh and restore it
        • Extractblendshapes - Great little script for exporting all the shapes of a blendshape node to new meshes
        Now I'm SURE there are better ways to do this but here's what worked.
        1. Make head fixed for symmetry.
        2. Hook up all asymmetrical blendshapes to original asymmetrical head (baseHead).
        3. Hook up symmetry head as blendshape to asymmetrical blendshape node
        4. Turn on symmetry head blendshape channel
        5. Manually duplicate the baseHead as you turn on the blendshape channels one by one (while leaving the symmetry head channel on).
        6. Save all of these new exported shapes into a new scene.
        7. Bring in your symmetrical head as your new base head and use abSymMesh to compare the various shapes to the new base head and restore symmetry to them
        8. Use your symmetrical head as your new base and connect your now symmetrical shapes to this head
        9. Delete all the blendshape meshes
        10. Select the symmetrical base head and run Extractblendshapes to get your new final symmetrical blendshapes
        11. Go look in the mirror and say to yourself, "Don't do this again."
        12. Profit.
        Have a nice Saturday all.

        Thursday, June 24, 2010

        On the elegance of remap nodes....

        Typically when I rig I hack the heck out of stuff using expressions and what not. For example, this had been my expression driving lid movement...

        //Left Lid connections
        eyeRigAttributeHolder.blink_center_left = clamp (0,1, -blink_left_anim.translateY);
        eyeRigAttributeHolder.blink_inner_left = clamp (0,1, -blink_left_anim.translateY);
        eyeRigAttributeHolder.blink_outer_left = clamp (0,1, -blink_left_anim.translateY);

        eyeRigAttributeHolder.upperLid_center_left = clamp (-27, 35, -uprLid_left_anim.translateY * 35);
        eyeRigAttributeHolder.upperLid_outer_left = clamp (-25, 25, -outer_uprLid_left_anim.translateY * 25);
        eyeRigAttributeHolder.upperLid_inner_left = clamp (-8, 20, -inner_uprLid_left_anim.translateY * 20);

        eyeRigAttributeHolder.lowerLid_center_left = clamp ( -12, 21, -lwrLid_left_anim.translateY * 21);
        eyeRigAttributeHolder.lowerLid_outer_left = clamp ( -14, 12, -outer_lwrLid_left_anim.translateY * 20);
        eyeRigAttributeHolder.lowerLid_inner_left = clamp ( -5, 12, -inner_lwrLid_left_anim.translateY * 12);

        //adds rotation on the center eyelid skin joints for bend in the eyelid and is then negated by the blink so things seal up
        left_uprLid_skin_jnt.rotateZ = uprLid_left_anim.rotateZ - (uprLid_left_anim.rotateZ * -blink_left_anim.translateY);
        left_lwrLid_skin_jnt.rotateZ = lwrLid_left_anim.rotateZ - (lwrLid_left_anim.rotateZ * -blink_left_anim.translateY);


        //left eyelid group follows the eye
        eyelid_left_rig_grp.rotateY = left_eye_skin_jnt.rotateY * .2;
        uprEyelid_left_rig_grp.rotateX = clamp (-35, 10, left_eye_skin_jnt.rotateX + (eyeRigAttributeHolder.blink_center_left * 35)) ;


        //joint following
        //left_uprFan_jnt.rotateX = left_uprLid_jnt.rotateX * .7;
        //left_outerUprLid_jnt.rotateX = left_uprLid_jnt.rotateX * .7;
        That's a bit of a mess and a major pain to edit for the user and wanting to follow in Shleifer's Animator Friendly rigging principles I looked into a bit of a more elegant solution and learned to love remap nodes in the process.

        So with a bid of elbow grease and heavily modifying Doublestein's eyelid joint setup by adding new attributes and some new doodads everything connects in one nice little script.

        Here's a chunk of that code...
        //connecteding eyelid controls -jb
        //upr
        string $uprLidMovementRemap = `createNode remapValue -n ("remapUprLidMovement"+$location+$side)`;
        setAttr ( $uprLidMovementRemap+".inputMin") -1;
        connectAttr ($uprLidControl+".ty") ($uprLidMovementRemap+".inputValue");
        connectAttr ($uprLidUprLimit) ($uprLidMovementRemap+".outputMax");
        connectAttr ($uprLidLwrLimit) ($uprLidMovementRemap+".outputMin");
        connectAttr ($uprLidMovementRemap+".outValue") ($uprLidMover);

        //lwr
        string $lwrLidMovementRemap = `createNode remapValue -n ("remapLwrLidMovement"+$location+$side)`;
        setAttr ( $lwrLidMovementRemap+".inputMin") -1;
        connectAttr ($lwrLidControl+".ty") ($lwrLidMovementRemap+".inputValue");
        connectAttr ($lwrLidUprLimit) ($lwrLidMovementRemap+".outputMax");
        connectAttr ($lwrLidLwrLimit) ($lwrLidMovementRemap+".outputMin");
        connectAttr ($lwrLidMovementRemap+".outValue") ($lwrLidMover);


        //Blink setup - jb
        string $blinkmdNode = `createNode multiplyDivide -n ("BlinkmdNode"+$location+$side)`;
        connectAttr ($blinkControl+".ty") ($blinkmdNode+".input1X");
        setAttr ($blinkmdNode+".input2X") -1;
        connectAttr ($blinkmdNode+".outputX") ($blinkMover);
        It's also pretty cool in that there's now attributes sitting on a control that you can mess with to tweak the range of the lid movement by the controls. Pretty nifty.

        Now I'd really like to buckle down and learn some python but if I'm gonna finish Morphy anytime soon, it'll have to wait.

        Beta Eye Rig is Maya 2009 safe!

        Found a pretty easy way of getting my weights over when I was playing with some different joint orientations for the eyelid control stuff. It was especially easy since the face was UV'd.  That being said, here is a more compatible version of the beta eye rig for Morphy. I also added a rotation control on the middle eyelid movers for even more flexibility.


        Also wanted to mention what I neglected to earlier. I'm using my good friend Scott Engert's eye setup and John Doublestein's eyelid method (with some extra stuff on it). I updated his (awesome) script to be able to account for multiple eyelid joints and if anyone wants that I'll ping him and see if he minds. 

        Time for bed. Tomorrow I'm moving back to the rest of the face while I wait for some feedback on this.

        Tuesday, June 15, 2010

        Can't leave well enough alone...

        This is quick down and dirty test as proof of concept to see how the facial feature morphing will work with the actual pose blendshapes. Yes, the shapes need a lot of polish. The generics coming from Face Machine are doing some funky stuff under the lower lip and on the upper as well in the smile. For the most part I'm thinking it's gonna work great and I have plans as to how the user will be able to move the eyes, brow and mouth that I have yet to implement.



        In the above, all are a referenced animated "rig" which I then turned on the whole face morph on the faces on the left and right.

        So yeah, I messed the snot out of the head playing with planes of the face and what not. There's things I like about the new one and things I don't. The hope is that the customization will be able to get to a wide variety of looks. One issue is for the maximum flexibilty, the base has to be a bit more boring than I'd hoped. Pretty happy with how it's moving aside from the brow. Really prefer the the amount of movement I was getting in the first range of motion I posted last week.

        Thanks to David Bokser on the feedback and the ideas for how to be able to do a blendshape rig vs a joint based one (which I had been leaning towards).

        Other stuff I've been playing with:

        • Iris/Pupil variation - played with bout a joint based system and morph based one. Ended up going with the morph based one to make scaling easier and for the customization stuff I was wanting to do.
        • Attaching eyebrows/beards, etc  - Looking like just a wrap deformer is gonna work on this front
        • Moving facial features - planning on using a heirarchy of "mover joints" with good natural fall off.
        • Big facial morphs - like in the above vid - I made a "girlish" morph as well as a more "manly" one. I'm trying to think through if it would be better to have a couple of those or go wild and break it down to nose big/small, head variations, etc or if people would prefer just to have a hook up to do their own customizations. Any thoughts would be appreciated.
        In other news, the bass were hitting the buzz bait like champs on Saturday. Not so much on Sunday.

        Thursday, June 10, 2010

        Morphy Facial ROM v01



        Trying to be better about keeping notes at the behest of Jason via Animator Friendly Rigging. Been using Google notebook so I have my notes wherever I am workin. If it's useful to anyone to see process or my idiocy, I'll be happy to post em:)


        Here's the ones from today...

        Completed
        • First pass of poses in the face machine
        • Finally happy with sculpt of head
        • Another pass of 060_010_010 - hoping to be final
        To fix on face machine setup:
        • Look at Skull deformation geometry - brow is sliding past where it should
        • Make some new attempts on smile crease placer to get better deformation
        • Note - will have to manually create eye crease shape as TFM doesn't have controls to get to close to it
        To fix on head model (v03):
        • Lip corners need work  - reference Stop Staring chapter for better layout ideas
        • Model mouth interior
        • Shrink teeth size to match geometry shift made in Rom file
        Questions/Ideas
        • Model or scrounge some teeth (Perok, Henry?)
        • Don't forget - grab hand and leg fixes from last body rig version
        • Possibly make version of head with eyelids closed to see if better shapes are possible out of TFM
        • Tracking teeth placement  - instead of including teeth in deformed geometry look into rivot type contraint to follow a couple of faces that are fully influence by the jaw. Could potentially create empty groups for folks to put whatever teeth geometry in for replacement.
        • Should eyebrows be apart of deformation mesh....?

        Also, here's the latest version of that last GC shot - put in a bit more polish over the past few days....part of me would like to go back and polish some of my early GC shots but I think I'll work on Morphy to get a character other that a Garden city one on my reel:)

        To the Face Machine!

        He looks kinda like that old horror movie "pinhead" character with all the things stickin out his face...

        So I've been resculpting the face umpteen thousand times over the past few days. I'm finally pretty close to what I want so I'm gonna throw it into Face Machine to see how it's deforming. It's a pretty sweet app for checking a head deformation. Half hour of setup and you can pretty much get any pose you want out of it. Something isn't working well? Well go back and fix the model, rerun the rig maker and you have an updated look at how things are blendshaping up. I'd think about using it for the actual facial rig but 1) it's a bit heavy and 2) users have to have special nodes installed.

        At first glance, Face Machine is a bit pricey. However for the amount of time it saves me in creating my base set of facial blendshapes I find it well worth the price. I am however, not much a fan of the the cost for their upgrades to new versions of maya. If you're not doing anything more than making the existing plugin work in the new version of Maya just give it to your customers or charge a lot less. It's a bit annoying having to shift back to Maya 2008 to run it. Silo and Zbrush have much more aggreeable upgrade paths.

        My most recent workflow on rigging faces the past few times has been:

        1. Model head.
        2. Put in face machine, setup  and create the face.
        3. Make a referenced range of motion file on the face to see how things are looking.
        4. If I don't like how things are deforming I 1) go back and tweak the model or 2) go to my setup file and move things around if I think it's a pivot issue.
        5. Tweak out the blendshapes in Silo of Maya with some surface sculpting
        6. Use the range of motion file to export my blendshape Obj's
        7. Make my right/left blends in a new file 
        8. Rig things up to my osipa style setup
        9. Profit
        It's been a pretty good workflow over the past few characters I've done. I've actually been really suprised as I was able to use it for Lobstery and Squirrely both and they're not very humanesque. 

        Wednesday, June 2, 2010

        Morphy Update...

        One arm and no legs! At least Tiko had two arms...:)

        Just wrapped up part IIIb of Jason Schleifer's fantastic series. Man my head hurts from all the stuff he's been covering. It gonna take doing it multiple times to really have it sink in. However, Morphy is slowly moving towards animate-ability. 

        The head still isn't final but much closer. Gonna finish up the body rig before finaling the head. at the very least I'm gonna have to remodel his lids and mouth for better edgeloops.

        Some of the few things I learned I'd never tried before in maya:
        • What shape nodes are and how replacing them can do neato things.
        • "cntrl h" to hide stuff 
        • "g" will repeat the last command
        • Writing set driven keys with mel
        • Jason has SO MANY great scripts that will find a permanent place on my personal rigging shelf
        Yup, 6 years with the app and still a newb.

        Say, if any modelers out there wanna help out. I'm gonna need some help creating hair styles, glasses, etc for customization.

        Hope everyone had a great weekend. Had a nice relaxing Monday fishing, hanging with friends, grilling and making some homemade ice cream.

        Here's a sweet short trailer I ran across this morning on the internets. Love the look.



        On to the fingers!

        Monday, May 4, 2009

        Squirrely Bounces into the Wild!

        Version 1.0 is out! Catch him while you can:)

        Squirrely is a free rig for noncommercial use only. I wanted a "ball like" character with a tail to play with for animation tests and Squirrely came into being.

        Features:

        • Body Rigged with The Setup Machine 2
          • Stetchy IK Spine
          • FK/IK Switchable Arms and Legs
          • Limb mirroring
          • Auto/Manual Stretch limbs
          • Character Sets Set up for proper keying
          • Tail/Ear Controls
          • Finger/Toe FK/IK
          • LowRes Proxy Geometryy mode for faster playback
          • Character scaleable via master control
          • Hideable tail via "COG"
          • Face Camera
        • Facial rig
          • Limited yet functional facial rig
          • FK/IK Eye Rig - set up via my good friend Scott Englert's Tutorial
          • Eyelid Tracking/Blinking Control - setup via John Doublestein's Tutorial

        Recommendations:

        • EyeBlend Control transitions between Joystick/look at control for the eyes
        • Use the character sets - one of my nit picks with the setup machine is that the FK/IK swich attributes are located on the COG control. As such, having limited keying sets via selection sets or quickselection sets is a hassle. The characters sets make sure you key all the appropriate attributes
        • FK/IK Arms and Leg switching accessed via the TSM controls
        • Mirroring accessed via TSM Controls

        Requests:

        • I'm not great at shading/texturing. If anyone wants to come up with some slicker stuff you want incorporated, lemme know.
        • Tag animations you do with him as "Squirrely" on YouTube, Vimeo or the like. I'd like to see em.
        • Have fun:)

        Thursday, April 2, 2009

        Blake Rig and Script Jobs...

        note - NOT my rig creation
        Came across a new rig on Highend 3d and it's a pretty good looking rig. So I decided to use it for the lip sync piece I'm fixing to start on. It makes use of script jobs which don't seem to like referencing as the creator notes in the docs on the site. So I did some noodling and figured out how to make it work. If the character is referenced (all nodes prefix option) to "Ch1:", this is how to make the rig work.
        1. Fix the Expression
          • Go to the expression editor
          • Select the "CH1:blake_FKIKSpaceSwitch_scriptNode"
          • Input "CH1:" in the spot provided
        2. Fix the script jobs
          • For each character, you'll need to run this is in the script editor: scriptJob -ac "CH1:blake_L_arm_ikFK_switch.FK_IK_Match" "LArmFKIK"; scriptJob -ac "CH1:blake_R_arm_ikFK_switch.FK_IK_Match" "RArmFKIK"; scriptJob -ac "CH1:blake_L_leg_ikFK_switch.FK_IK_Match" "LLegFKIK"; scriptJob -ac "CH1:blake_R_leg_ikFK_switch.FK_IK_Match" "RLegFKIK"; scriptJob -ac "CH1:blake_L_arm_ikFK_switch.parent" "LArmSpace"; scriptJob -ac "CH1:blake_R_arm_ikFK_switch.parent" "RArmSpace"; scriptJob -ac "CH1:blake_L_leg_ikFK_switch.parent" "LLegSpace"; scriptJob -ac "CH1:blake_R_leg_ikFK_switch.parent" "RLegSpace"; scriptJob -ac "CH1:blake_tie_ikFK_switch.parent" "TieSpace";
        3. Notepad is your friend for additional characters - see Find and Replace
        4. Ran into an issue with referencing that the rig maker was kinda enough to help out with. You'll need to create a new script set to fuction on (Open/Close) and set the name spaces: proc multipleChars() { // prefix for character1 string $character1= "CH1:"; // prefix for character2 string $character2 = "CH2:"; // prefix for character3 string $character3 = "CH3:"; // prefix for character4 string $character4 = "CH4:"; string $a[] = `ls -sl`; if (($a[0] == ($character1+"blake_L_arm_ikFK_switch")) || ($a[0] == ($character1+"blake_R_arm_ikFK_switch")) || ($a[0] == ($character1+"blake_L_leg_ikFK_switch")) || ($a[0] == ($character1+"blake_R_leg_ikFK_switch")) || ($a[0] == ($character1+"blake_tie_ikFK_switch"))) { scriptNode -executeBefore ($character1+"blake_FKIK_SpaceSwitch_scriptNode"); } else if (($a[0] == ($character2+"blake_L_arm_ikFK_switch")) || ($a[0] == ($character2+"blake_R_arm_ikFK_switch")) || ($a[0] == ($character2+"blake_L_leg_ikFK_switch")) || ($a[0] == ($character2+"blake_R_leg_ikFK_switch")) || ($a[0] == ($character2+"blake_tie_ikFK_switch"))) { scriptNode -executeBefore ($character2+"blake_FKIK_SpaceSwitch_scriptNode"); } else if (($a[0] == ($character3+"blake_L_arm_ikFK_switch")) || ($a[0] == ($character3+"blake_R_arm_ikFK_switch")) || ($a[0] == ($character3+"blake_L_leg_ikFK_switch")) || ($a[0] == ($character3+"blake_R_leg_ikFK_switch")) || ($a[0] == ($character3+"blake_tie_ikFK_switch"))) { scriptNode -executeBefore ($character3+"blake_FKIK_SpaceSwitch_scriptNode"); } else if (($a[0] == ($character4+"blake_L_arm_ikFK_switch")) || ($a[0] == ($character4+"blake_R_arm_ikFK_switch")) || ($a[0] == ($character4+"blake_L_leg_ikFK_switch")) || ($a[0] == ($character4+"blake_R_leg_ikFK_switch")) || ($a[0] == ($character4+"blake_tie_ikFK_switch"))) { scriptNode -executeBefore ($character4+"blake_FKIK_SpaceSwitch_scriptNode"); } } scriptJob -killWithScene -e "SelectionChanged" "multipleChars";
        That outa do it. Thanks Jason for the great rig and the help trouble shooting the referencing issue!

        Tuesday, January 6, 2009

        Squirrely Runs in Place

        Did a quick test of Squirrely to test the rig. Nothing fancy. Pretty happy with the rig so far. I'll be changing some of my characters sets, cleaning up repeated and dead nodes and locking things down in general. Maya's doing some weird stuff with mental ray on the scene file. I may just pull the SSS shader and use a reg shader for the release version. Also, wow is Maya more stable on XP than OSX....such a shame:( Note - if you care to actually see the cycle better, you should be able to download it at the Vimeo site. They sure do make adding video easy...

        Thursday, February 7, 2008

        Testing a new Autorigging system...

        A classical pose...for a troll...?

        Note - This'll prolly be the last update on Olaf for a bit. Some major forks in the road are quickly approaching - 1) I'm getting married in a couple of weeks , 2) Moving to Houston, 3) Transitioning to a freelance/contractor from being an employee so it's gonna be a "wee" crazy. Crazy good that is!

        I've been playing with John Doublestein's autorigging system the last two nights and I have to say it's pretty awesome. John works with my buddy Dave and we're using his rig for Dave's film. I hadn't realized a bunch of the neat little features workin so far on the film. He's got some great little right click menus that get built when you rig a character that snap between fk and ik.

        You can play with the rig on a character by downloading the Andy Rig on that same page. Some neat stuff I noticed on that version that aren't in the autorigger that I'm planning on implementing to Olaf:
        • Squash and stretch through the spine using scale. Prolly will do that in other places too
        • An extra curl on the hand that allows that pinky and ring finger base bones in the hand bend for a proper fist.
        Couple of things I noticed with the rig:
        • Some of the systems don't work properly in Maya 2008 - namely the right click menu
          • Speaking of Maya 2008, the new smooth skin weights feature is awesome. I saw it in a Austin 3d user group meeting a couple months back and had been dying to play with it.
        • Joint placement and orientation is critical but this matters regardless of what rig you're using. Having the ability to quickly try out joint placement by quickly adding an arm rig and a default skinning is a great boon to the work flow.
          • That workflow allowed me to identify problem areas - I updated Olaf's tail and made major adjustments to the hands
        What's next for Olaf?
        • Facial Rig - This is where I wanna spend some time over the next...well while...got a bunch of things I wanna try. I'm planning on blogging that process pretty well so tune back in if you're interested.
        • Tail Rig - at some point I'll have to rig his tail, but it'll be a bit
        • Animation - That's really the whole point....:)

        Also....
        Fingers are a pain in the rear to model well so that the proportions work to "roll the finger" on itself. If anyone knows a good tutorial or book on the subject, by all means let me know.


        Monday, January 28, 2008

        Pivot points...

        • "Locating Your Center" - No this isn't a philosophical rant. Having such a hard time keeping my own in check hardly would afford me a seat of authority on that matter. Pivot points matter in more than life changes; they have a good deal to do with proper rigging. Some examples might be wheels, orbs and the like. If you start spinning one in 3d and it's pivot point isn't dead center you're gonna get wobble. Like a flat tire.....more on that in my next post.

          Today I was rigging a car and for reasons unbenonced to me, the joint for the steering wheel had a pivot that didn't align with the tilt of the wheel. For various reasons I create a separate skeletal hierarchy for the rig and bake the animation down to the skinned hierarchy. Not having the luxury to fix the underlying issue I was looking for a good method to find the exact orientation of a pivot that would allow that wheel to spin properly on the steering column.

          To do so, I wanted a script that would find a center pivot based on a selection of verts and place a locator there so that I might snap things to it. I don't like reinventing the wheel, so my first stop was highend3d where a quick search revealed a handy script that did just what I was looking for.

          With that in hand, it was as easy as finding the center of two edge loops worth of verts snapping a couple of joints and reorienting the joint to the correct orientation.

        Quick example with some dummy geometry....

        Good edge loops and this little script have aiding the placing of Olaf's finger bones quite nicely.

        If you know a faster way of accomplishing the same, by all means let me know.

        • Rig for Olaf - I think I'm gonna give John's tools a try for the body. He works with my buddy Dave (speaking of, looks like he has a new site in progress) and we're using the rig on Dave's film. It's pretty darn good.

        All the stuff on this site is 2000 - by Josh Burton...unless otherwise noted. All rights reserved.