Monday, August 26, 2013

GO WATCH THIS NOW!

http://www.youtube.com/watch?feature=player_embedded&v=xFZazwvYc5o#t=92

Yes please watch this now. It is sweet.

The Last of Us. Rigging Video

I am watching the video now and right off the bat.

They talk about modeling the eyes half closed and the mouth open... I am glad this is finally taking off.

Judd Simantov: Rigging, The last of us. Youtube Link.

Also they talk about using joints more like muscles. I feel like CG artists are finally pulling themselves away from how things are traditionally done and looking for more realistic ways of rigging.
Every time I watch a rigging video the joints are always put center of mass. I am sorry but your spine and neck do not run down the middle of your body. they run along the back.

The wrist setup was interesting. I have been fighting with wrists my entire rigging life and this has given me an idea. I will keep everyone posted. All in All good video and I understand why they never go into the actual setup, money, but it's enough to get my brain rolling on a couple new setups.

Wednesday, August 14, 2013

I shall call him, "Fizzle"

New project I'm working on.

HE IS THE FIZZLE!


Look at him, love him, fear him.

The little things that kill.

Just a couple of interesting things I found out while rigging batman.


  1. If you like a perfectly clean rig NEVER turn on show auxiliary nodes. You will find yourself staring down a couple hundred un-named nodes, like group IDs and trying to discern where they come from and how to name them will drive you up a wall. In my opinion just leave the aux nodes alone unless you need to edit them.
  2. DO NOT Rigid bind unless you are sure you need the functionality of a rigid bind. A parent constraint works just as well and with less nodes than a rigid bind. For a parent it creates one node, for a rigid bind it creates at least 3 if not more depending on how you apply the rigid bind
  3. Dual Quaternion Skinning weights are not always your friend, specifically on the leg to groin area. The problem is the skin from the groin to leg stretches linearly not rotationally so you get unwanted bulging on the inner thigh when the legs spread apart.
  4. Never Ever Ever assume that the way you were shown was the right and only way to do things. If we never question we will keep repeating the same unseen mistakes.
Just a couple things. Bon Appetit.

Tuesday, August 13, 2013

Retopologizing the world one quad at a time.

As I flipped through the 3D magazines at Barnes & Noble years ago and saw all the incredible sculpts being done on zBrush I was amazed by the level of detail and always wondered how it would look animated and why Pixar wasn't using this high frequency detail in all their work. I decided to look into it and as I pulled back the layers I found that most, if not all of the sculpts were completely un animatable, and I was kinda bummed when I learned the reasons.

High resolution sculpted mesh until very recently had major problems it was fine to sculpt but the topology was usually just boxy with no edge flow defining shape. This problem is magnified by the fact that you needed to use the lowest possible level to animate because less geometry in a mesh the easier to setup, rig, and animate. This problem is that when you reduce a non properly apologized mesh you almost immediately lose the ability to deform the mesh while still keeping the shapes and mass. Soon enough I was looking at these amazing sculptures, yes they are just sculptures if they cannot move, in these pieces of software and saying to myself.

"This is great but it will do nothing more than just sit there lifeless in a render and look pretty."

UNTIL NOW!

Thats right folks! Now when you want to use your high resolution sculpted mesh for animation purposes look no further than,
 "THE RETOPOLOGIZING WORKFLOW!"
Thats right now mudbox and maya come built in with re top tools, I'm starting a new catch phrase, thats right re top tools.

This is actually the answer to the dreams of a lot of people including me. Now I know that zBrush has been working on this for a while but ignore that for now.

The ability to retopologize is an amazing step in allowing the art to take forefront and the topology be worried about after you finish. A great example: You have multiple sculpts for your boss and each uses a different set of scull spikes or ears that would if modeled involve 3 different sets of topology. Instead of re modeling then re sculpting you can sculpt layer each change from a base mesh then re top the mesh after your boss has chosen the final look. He chooses the one he likes then you allow the re top tools to do the rest, kinda.

So to all of you sculptors out there.

START SCULPTING IN A RIGGABLE POSE THEN IF YOU WANT POSE AND RE SCULPT!
Do not make the riggers cry as we cannot rig pre posed models easily.
You don't want to make the riggers cry... bad things happen, like your model gets his head shoved up his sphincter.

Catcha on the flipside of the normal.

Monday, August 12, 2013

Gimme` a "T"(pose) Gimme` an "A"(pose). The battle of the Poses.

Ok this has been bugging me for a long time now and it falls into the category of , why are we doing it this way.

The T pose and the A pose.

T Pose : This pose is the standard pose. Arms straight out 90 degreees from the body, hands are palm down. Legs are straight and feet point straight ahead.

Pros :
Easy to setup joints and other rig pieces that function or setup easier or better when limbs are aligned with the world axis. Easier to model into T pose as limbs are once again straight.

Cons :
I will go area by area.

  1. Forearm: The forearm is modeled twisted and can cause issues when un twisted during rigging and animation.
  2. Shoulder and Clavicle : When modeled in T pose the clavicle is slightly raised and the deltoid is engaged and squashed. This means that you must model the deltoid knowing that it is at its maximum squash as the shoulder only rotates to 90 degrees before the clavicle is engaged. This one is a double edged sword because on larger characters with fat and skin, un squashing the underarm a little can help when modeled in the T pose and puts the arms higher.
  3. Groin : How comfortable are you sitting with your legs completely straight? I know I'm not because it squishes my groiny bits together. T pose squashes your inner legs and groin together and also in this pose the skin begins to self collide and must be modeled as such. In modeling collided flesh you flatten out the area that must later be given volume when the legs are spread.

Now onto.

A Pose : Limbs are modeled in a more relaxed position minimising any squash or stretch to any part of the body. Arms are at a 40 degree angle and slightly forward. Elbows slightly bent.

Forearms: This is a biggie as there are 2 ways to model this. As the arm twists just less then 132 degrees we will call the middle point 67.5 and zero is with palms forward and forearm bones completely un twisted

  1. Anatomically un twisted: Modeled palm forward this puts the forearm in its un twisted form the Zero degree twist state. The bones are straight and the muscles are straight but the arm geometry will need to twist 132 degrees for the maximum human rotation, thus twisting the geometry more than the next option.
  2. Anatomically neutral : This is when you model the arm at the 67 degree mark and slightly twist the forearm but model the geometry straight so that it deforms minimally from median to max/min as it is only going 67 degrees in either direction.

Pros : 
When rigging and deforming the mesh starts from a more neutral state. The mesh must go through less deformation to assume opposite maximum poses e.g. : Arm from straight out in T pose to straight down along the body.
Also this means that the joints need to rotate less to assume certain positions. This means less flipping or other bad joint behavior.

Misc Pros :

Cons : 
Personally the hardest thing is not being able to model straight out, having things in an A pose means making sure things flow at the proper angle the whole time and not letting things get curvy.

Other differences :
Eyes: The eyelids are modeled in a closed position, this is the natural state of eyelids as when open they fold onto themselves and into the brow or cheek. This makes rigging easier as the eyelids line up  perfectly during a blink and not in the hands of the rigger to make the blink work by deforming the eyelid to eyeball line.

Mouth :  Also modeled in the slightly open position so that the upper and lower lip do not touch. This allows for easier rigging of lip collisions and squashing as when the jaw is completely shut the lips push together slightly which is not a neutral state.


All of this is just my opinion because at the end of the day it is art.

Here is a grain of salt.

Wednesday, July 31, 2013

Batrman Beyond Google drive file.

https://docs.google.com/file/d/0B4d5Pj9EtfQTY0NRNzlrUGZmSUE/edit?usp=sharing

Still waiting for Creative Crash to upload my file. In the meantime!

HOLY BATMAN...batman...

BATMAN IS UP!

Creative Crash Link

Play with it, use it, spank it, make it do things Adam West would not do!

Break it and tell me about it.

Sometimes I wish that my hangups about my skills were less, well, there. Sometimes I wish I could just take a big shit on the street turn around and say, "Ya thats my crap and it's wonderful, you will never find better crap than this. My shit will cure cancer and solve the grand unifying theory in physics." Just a thought considering I have seen horrible work from some people and they call it gold, so why do I have such a hard time calling my stinky poop gold?


anyway...

BATMAN!!!!!!

BATMAN TODAY! And some nVidia tech.

So its been a week or ten since I posted last. I have been hard at work on Batman and will be releasing him today. Seeing as this is my first rig I have released to the masses I am quite apprehensive. I should be able to speed up my release schedule seeing as I have built up a library of over 30 scripts I just need to clean them up for general use.

I came across this piece of interestingness today

nVidia Cloud Based Real Time Lighting

There is a video at the bottom of the article on Tom's Hardware here :

Article on Tom's Hardware

This means a lot of great things for high end production visualisation. As a renderer I can now, with shit ton of horsepower can basically instantly preview my global illumination and then simply ramp up the settings as usual to get real world GI.

On the other hand this tech is still exactly the same as if you had a computer 5 years from now with 16 cores running at 3.5ghz a TB of ram and 6 raid enabled SSDHDs all humming away in one box. The moral here folks, give any system enough room to work and enough juice and you get things faster and better.

Either way it's awesome.

Wednesday, January 16, 2013

First scripts up on Creative Crash

The first of my script suite is up.

synPlaceController: Places a controller in line with a joint and constrains the joint to the controller.

synMirrorController: Works with place and can mirror a controller

synStackControllers: Select a couple controllers, this goes to the top of their hierarchy and parents them into a chain.

There is a shit ton more to come and I hope someone will find these useful, I know I do.

CLICK HERE FOR LINK TO DOWNLOAD

Wednesday, January 9, 2013

Code monkey is flinging code! Duck! "Quack".

Will probably put up my first 2 scripts tomorrow. This will be the first time I release anything I have done to the world. My goal is to create a series of scripts that build into an pseudo auto rigging suite. I set it up so that it is compartmentalized and builds on existing systems in place to produce varying setups. Example: with my place controller scripts I allow you to use null groups to zero out translations, extra groups for set driven key manipulation with the controller an offset of that, options for parent or orient or no constraints, renaming, mirroring, and a crap ton more options. This makes it so you can use my scripts and not feel as if you are corralled into my preferred rig setups. Which brings me to my next topic.

 While I like auto rigging scripts I question if it will cause a stagnation of original thought when it comes to rigs and riggers. When you automate something you stop thinking about the why and how and start accepting the "just is" of something. I am not saying that using auto rigging scripts is lazy but just a time saver that is a tool and should be used like all tools with understanding of how the tool works and why you are using it for any given instance. I guess I am just scared that auto rigging tools will replace character setup artists. But also I see riggers adopt a style simply because that's just the way they learned it.

 I learned rigging styles in school that I now find out dated and frankly not very solid in their implementation. If I had created an auto rigging tool that utilized these archaic setups I would probably never go back and question them as long as they kinda worked most of the time and just learn to live with a non bullet proof setup. When I say bullet proof I mean something that is hard to break and does not use anything it doesn't need. I would akin this to using a point and a orient constraint in such a way that you should have just used a parent constraint. My point? Don't just accept a way of rigging a character just because its the way that it was done by your teacher and your teacher's teacher, build your own style and don't be afraid to use what came before you and realize you should never stop and believe your way is the best.

Wednesday, December 19, 2012

Ya cant have any rigging if you don't orient your joints. How can you have any rigging if you don't align your joints!?

YOU, yes you behind the hypershade! Stand still laddie!
Yes Pink Floyd is still just as amazing today as he was 20 years ago sitting in a speaker egg chair experiencing Dark side of the moon for the first time.

Anyway, it's been a while and I am in need of a good blogging. Mmmm feels so good.

Joints need to be overhauled. They need to use quaternian rotations so they don't flip as with euiler rotations. But for the time being we need to just grin and bare it. This is just my recommendation but it works for me.

1 : You can translate, scale or rotate the joint to your hearts content as long as you freeze the transforms before you orient them. As long as your rotations and scale are 0, your cool.

2 : This is the big one! Make absolutely sure that under your transform attributes in the attribute editor are all 0, or zero, or what ever version of nada you believe in. This attribute will screw up your constraints big time because this attribute is added after the constraint. E.g. if your rotate axis X is 90 but your rotate X is 0 and you parent without offset it will rotate X 90 degrees when you parent even if all the rotations are 0.

Non-zero rotate axis attributes usually happen if you go into component mode and rotate the joints transform axis.

So all to all those people who say never rotate a joint, or always rotate never translate, or vice verca, in the end the one thing that will bite you in the ass is the rotate axis.

This is a side note and is completely personal preference but if you must have a clean joint this is what it should look like.

There should be only one axis with translation, all of your rotations should be zero and your scale should be 1 across the board. Rotation axis should be zero. and your joint orient attributes should only have one non zero number. This is a clean joint that when constrained or scaled or translated it does not flip or jump, it will move along the joint not at some strange angle. This is one of the secrets of stretchy or rubber tube limbs.

TLDR: The rotate axis attribute of a joint will fuck your day up and then piss in your cornflakes.

Thursday, November 1, 2012

Battle Royal, three chain vs. single chain.

I love The Big Bang Theory, and to a lesser extent I seem to enjoy most things from Chuck Lorre. Dharma and Greg was good but it fell short and for some reason and I can't find anything but the first season on DVD. I don't watch Two and a Half Men that often but it's that good kind of stupid funny, like Aqua Teen what ever the hell they named them selves this season. Anyway onto the other stuff.


The three joint chain setup for limbs, the FK chain, the IK chain and the chain bound to the mesh. This seems to be the standard setup for most of the rigs I have seen. This setup is the one I was taught in school. Being the one who always has to reinvent things I looked at what made this setup the standard. I will start with the obvious stuff.

This is the three chain setup.
FK and IK chains parent constraint the bind chain and you use an attribute to drive all the weights on the parent constraints. Simple right?

I asked myself if this was the best way to do it and at least in my opinion you do not need all 3 of these chains.

I use one chain for my FK, IK and bound joints. This is the setup I use in Maya simply because Maya has everything built into the IK handle and joints. Mayas joints remember their FK and IK rotations and these can be accessed for scripts and what not. The IK blend attribute on a limbs IK handle acts just like the three chain setup in that it will move the chain from its FK position to its IK position.

This is my setup.
What you are seeing is literally a 3 joint setup all under one joint chain and Maya's IK handle. You have the FK chain, the IK chain and the bound chain. Now since rigs are meant to be as fast as they can this setup is faster then the three chain setup. Reason one is that when you setup an IK FK switch using the three chain setup you are creating 2 of the exact same systems on top of each other so now Maya is not only calculating the three joint chains you created but also the three joint chains it created doubling the amount of joints to calculate. Reason two is that now you only have one set of constraints to worry about as you only constrain the FK controls to the joints. With the three chain setup you are using two constraints per joint, FK joint to bind joint and IK joint to bind joint. Then on top of that there are constraints from the FK controls to the FK joint chain that add to the number of constraints. Maya also has less connections to update since you aren't driving as many attributes when you go from FK to IK.

I will admit that the single chain setup is harder to work with if you need to get under the hood. The three joint setup is much more visible and you can easily get to each component if there is a need to edit the rig. Also this lets you allow someone to paint weights and another to rig at the same time and simply import the bind skeleton with weighted skin and constrain the rig skeleton to the bind skeleton. With the single chain you would need to copy the weights from one setup to another.

This FK IK setup also works for spline setups too.

As for the scripting to moving FK to IK and IK to FK
Code monkey stuff starts here. 

#three chain

float $ikRot[]=`getAttr IKjoint.rotation`;

#one chain

float $ikRot[]=`getAttr joint.ikRotate`;

So There ya go I find the single chain setup simpler to setup and cleaner for Maya to evaluate.

Wednesday, October 31, 2012

Here's Imrod in all his low poly glory.

I have always found it interesting how joint placement and alignment are at odds with natural placement, your taught that you should keep your shoulder, elbow and wrist in line with each other and only bend one axis. Great and all but your actual shoulder socket joint is offset from your elbow so you have to go out slightly to get the elbow where its supposed to be.

And technically your elbow is almost perfectly between your wrist and shoulder, and yet if you take into account style and concept art you will almost never rig a stylized character with perfect human proportions  Yes I know they are stylized and its way more fun to rig a character that's catty wonkus than a perfectly symmetrical model. But I will admit it's so much easier to rig a symmetrical model, not that I am lazy or anything.

I am trying to get into the habit of not fixating on the models topology and just working with how it is when I get the model. I will be honest though sometimes I wish there was a way to snap my fingers and fix all the bad topology and no I am not insulting all you modelers out there, I highly respect what you guys do.

Back to my day.
Is there someone behind you?

HOLY CRAP WHAT THE HELL IS THAT!
...

What I'm working on and how cool I think they are.

So as I am in the unfortunate position were my skills as a TD are being underutilized by the industry, AKA I don't have a job in CG right now, so I am working on anything I can get my hands on. Currently I am working on two rigs.

I would like to again thank Mark Vick a.k.a Ritorian over at CGhub.com for this beauity

This is a farily low poly model with normal maps.

Na na na na na na na na na na BATMAN!

Ya I know shweet hunh.
Im almost finished with a base rig for this guy and I hope to get Marks permission to release this rig free on creative crash.

I'm working on a bataraang

And number 2. I just picked this up from Dmitry Parkin's site.

Some call him Imrod...

Game resolution model with normal and glow maps

I know its like candy from heaven to work with this stuff.

As with Batman I would like to release this rig.

Oh to be able to rig this stuff for a living... I can dream. If my dreams aren't answered I can always beg.

These are both amazing looking models and I hope my rigs at least do them a little justice.


Monday, October 29, 2012

Reinventing the wheel.

Morning TD fans, lets have a look into my thought process and my logic. I know like blood from a stone right.

    Now that I am a person who blogs I might as well go ape shit and post a bunch of stuff in the same day. Lets start with some of my thoughts about the term, reinventing the wheel.

    In my not so humble opinion you cannot reinvent something that is already at its apex you can only make it crappier. The wheel is, at its core functionality, already stripped down to a perfectly working system. Sure you can add rubber but its still a circle, its still a wheel, it still functions the same as every other wheel out there, just with rubber. My point is you can't reinvent the wheel, only upgrade the way it does its core function which is to roll. There we go, that's my logic when it comes to that expression. A useless argument in  the grand scheme of things but its still how I feel. Now on to scripts.

    Scripts are written for many reasons, from the need to automate a repetitive or tedious task to adding functionality that a software suite does not offer. Either way your ass is writing a script because the program just can't do it by itself. Now there are many scripts already written and available from websites like creative crash for you to use. However, you have probably run into this at some point were the script is either broken for some reason or does not work as you expected. Which ever reason this script does not work for you and this is were I say, okay fine I'm just going to re-write my own version of the script. I figure if they can do It so can I. So this brings us back to reinventing the wheel.

    My curse is I will fixate on finding a way to make something better, cleaner, faster and simpler. This is usually involves me figuring out the base effect I wanted and rebuilding from there. I do it with scripts I do it with rig setups. I know your not supposed to do it all the time but I guess the excuse is that I am creating my own style for my art of rigging. Unfortunately its usually a thankless process and I often hear, well why not use this setup its already a standard? Well to be honest a lot of the setups that are standard are out dated or have been in need upgrading to meet the updated software. 

  Either way I think I have spouted enough for this one. My next blog post will probably be me talking about the 30 some odd scripts I have created to speed up my rigging workflows.

   See you next time, same bat time, same bat channel.


Stop talking and just do it.

I am finally following my own advice and starting a blog. But Syn, you ask, why start a blog? Well, that's a good question little Timmy or Susie, so here is the best answer I can give.

I want to share my thoughts and exploits with everyone in hopes that somewhere, someone will find it interesting because personally I live for this shit.

Also for some reason I need to "network". Yes I know I used quotes, screw you grammar Nazis. I can't spell, I don't use grammar well at all, and punctuation can go spork itself. The only reason any of this is correct is thanks to the built in spell check so thank it for making this post not look like a three year old wiped his diaper on the keyboard.

So as for my debut to blogging goes lets wrap this up.

Here be dragons, all things CG specifically rigging, and limited access to that thing in my skull that is supposed to separate me from the apes and good thing it seems to be doing its job for the time being.