Thursday, 26 November 2009

Stretchy Limbs

Right, I'm back in Maya again, rigging my character from some time ago. I've made a few minor tweaks to the model such as finishing the hair, and scaling up the body so the head is a bit more proportioned... you seem to notice the smallest things after not seeing your own work for a couple of weeks, and the head:body ratio stood out too much for my liking.

But yes, for a special treat, I've been working on my rig for the model. Ideally I want it to be as functional and user friendly as possible, being a stock rig and all. There are a number of things I've learnt from the past 3-and-a-bit years of character building, and one of those is that it's all well and good to automate features such as the clavicle raising once the arm lifts above the t-pose (see this vid for what I mean), but if you have to then fight it during animation... just leave it or give the animator the option to turn it off.

With this in mind, I'm currently making a variety of different features for the limbs which can be toggled on or off. One of these is a stretchy limb option. Pretty much once the IK leg control moves out of range for the typical leg, the joints and mesh stretch a little (or a lot) to meet it. So you have some squash and stretch at hand if you want it in your piece. This is pretty much all done with the expression editor.

First of all, you use the distance tool (under Create>Measure Tools) to look at the distance between the hip and ankle joints, and point constrain the resulting locators to the hip, and the foot Control (the ankle locator has to stay with the contoller at all times for good reasons). You will see a number between these locators. Now, this may be the same as the Distance Attribute or may not (I was lucky as it was), but this number is important to note when you stretch your IK leg to its maximum.



A little expression needs to be written that pretty much says "if the distance between the 2 locators is greater than the full length of the joint chain is, then scale the joints along the appropriate axis until they meet."

To keep that scale even, so the joint stretches at a proportioned rate with the distance, you just have to divide the distance attribute by the original distance. (Bit of example maths distance of 30, original distance is 20:. the scale will be 30/20= ScaleX 1.5) The rest is sorted by a few conditional branches to ensure the scale is at its default of 1 at any other time.


And this is the result when the stretch is switched on! When skinned, the leg will stretch out nicely to meet the foot controller. Note the distance is greater than normal, so the scale is increased to stretch the joint chain.

That's about it. It's eaten up a lot of time as I'm new to expressions. A word of advice... make sure the distance number you jot down is actually right. Mine was a fraction too low to start with. That's 2 hours I shan't see again!

-Stuart

Saturday, 14 November 2009

bpelt

Hey all, if anyone is into Photoshop, particularly for cartoons or webcomics, there are some handy plugins I recommend. This makes colouring in and shading a real easy task, as you don't have to worry about messing up the line art, going over the lines, leaving any white patches and so forth.

If you search for bpelt on Google (it may actually just be www.bpelt.com in fact) you will find two plugins on the site; multifill and flatten. Download these both and drop them into the plug-ins in your Adobe Photoshop folder in Program Files. They'll install when you open the program.

If you draw anything with either a graphics tablet or the pen tool onto a new layer, you can fill the closed sections with solid colour. A bit like Paint I guess, but with anti-aliasing and a damn sight more ease in tiny sections. Pretty much all you do is duplicate the drawn layer, merge one of those with a layer of solid white (hide the other drawn layer for now) and use the tolerance tool to remove all the anti-aliasing for the layer, so we just have black or white; no greys.

You will then use the multifill plugin to automatically fill any section with solid colour. No white bits, it's solid. Then flatten it to remove the black outlines, and voila, you have a crazy multicoloured layer that's accurate to your drawing, and all you need to do is change the colours with the paint bucket tool (turn anti-aliasing off for now, just so colours remain solid round the edges), and put the original drawn layer on over the top of the colour layer.

This is how I coloured my character sheets for Want That Ball, and believe me, it's much faster than any other way I've dealt with. The other bonus is when you want a darker shade round an edge, you can do so just as fast. Essentially what you do is when you have a duplicated version of the drawn layer, add a few lines to indicate where the light will change. Then merge this with a white layer as before. It gives you other sections of colour to deal with, without having lines over every different colour. If need be, turn anti-aliasing back on when you're fine tuning the shades of colour.

When I get access to my own PC with the tablet and scanner, I'll put up some images to illustrate exactly what I mean. http://www.questionablecontent.net/tutorial.php has a great tutorial of how to get some good cartoon shading on the go, I recommend reading this.

Chat soon!

Saturday, 7 November 2009

Social Care TV, etc

Hey folks, I've now finished at RJDM, so hopefully I'll be able to work some animation round day and evening shifts at work. Or at least make more worthwhile updates.

One thing I'd like to show is the Social Care TV advertisement that Brad, James and I designed, animated and comped. The clean. updated version is also now up! It can be found here.

It's a shame I can't show any of the other pieces we put together, but they're top secret, prototype projects for big companies so they'd kill us if we leaked any of it.

More to say soon!

Wednesday, 28 October 2009

Tiiired

Apologies for no update last week... my brain has been truly fried. 6 or 7 day weeks tend to make you forget things, namely to update on time! This could either be seen as an early update, or a very late one from last week (Hopefully the latter, I do have other things to say but it's too late to say them now)

My final week of RJDM is upon us now. I'm going to miss it, as I've really enjoyed working there. Not much conventional animation has gone on; no building and animating full characters, but then again the kind of stuff we've been working on of late just shows how much potential work there is for animators if you're willing. It's a huge market, and random 'basic' shorts (arrows, AGH!) are just as frequent in the industry (if not more so) than character based stuff.

I've learnt some pretty neat tricks, and I hope to show them in blog form. Seriously, arrows following a simple motion path is NOT as straightforward as you'd think!

Anyway, I've been doing homework for the last two nights til midnight so I think it's time I got some sleep.

Be good.

Sunday, 18 October 2009

Very late, been hard at work

Woah, this update is somewhat late. But in my defense, I've been insanely busy at RJDM. In order to get our project done for the client for Monday (well, technically last Friday...) we have all been on a mad one to get scenes to match up, and for renders to be consistent. Apparently ambient occlusion nodes are somewhat unpredictable when you attach them to objects that have been scaled up, even if you keep the attributes to the same level. Some clever camera trickery had to be performed there, along with many other places to bodge out the bugs.

I've also had a good old play in my old friend Combustion yesterday, where I learnt the benefit of Mattes and contribution passes in Maya. It seems that a render layer will render out, say just the floor and shadows that are cast on it, but contribution passes literally cut out patches of the floor where anything would normally be rendered over it. Although this would generally be handy as you can recolourise sections of a render without adding time to render areas you'd never see, you are then prone to getting some ugly black outlines round each pass where the Matte does a poor job of masking everything. Luckily you can shrink this in Combustion to minimise it, but personally I find render layers are much better to control the compositing of your shot. Still, either are very easy to set up in Maya 2009 and 2010 compared with older versions, with the help of material overrides and surface shaders.

I've been invited back to RJDM for another week or 2, so expect late updates again, as I don't tend to get home til 8pm and I'm usually too frazzled to type, but I'll keep everyone posted.
Also, keep an eye out for our video online soon. I'll post a link when it's released!

Friday, 9 October 2009

2nd week of RJDM

Oops... a little late this week (Updates seem to have been happening every Thursday so I'll try and stick to that) but I just clean forgot. Let's put it down to being drained from work.

Again, no work of my personal stuff as I've had my second week at RJDM studios. It's been hectic trying to ensure this project meets the standards of our client (they are pretty indecisive which is very frustrating) so we could be spending a morning on one thing, only to find the feedback received at noon says they don't like that aspect. So we're back to the drawing board. And that has happened, and I'm sure it will again.

I've got to play in Maya a lot more this week, animating short sequences and staring at the graph editor. We have also got an additional project to do by the end of next week, which consists of making an advert for a website. The storyboards are down and the feedback has been pretty good, which is a bonus. That should all be done and dusted in the short time we have.

Next week may be the final week in the studio, until November anyway when I may well be going back to help out.

Thursday, 1 October 2009

Employed and everything!

Well, it's been a fun few days at RJDM, as we have all been working there since Saturday (that was a doozy). I can't really say that much in terms of the projects, but we're going to be fairly busy with juggling about 3 projects. A lot of time so far has been spent storyboarding, trying to make the first piece as clear and polished as possible to the client. God, I hate storyboarding, especially when you add in a single frame, and eeeeeverything has to be pushed back one space on Photoshop files with 6 frames. Such a hassle! And I'm getting a bit sick of the cheesy smiles that istock has to offer, even on kids with black eyes.
In terms of programs, Photoshop has been on my agenda a lot for many reasons. Maya has been used a smidge by myself, but a lot more by others. I've also got to grips with Final Cut Pro even more which is handy for my own experience... I'd try to stay away from Macs if I can help it, but being forced to use them does give me opportunity to widen my knowledge of them.
Not much else to say really as I haven't progressed further with my own work. Closing statement will be 'I must learn AfterEffects!'

Until next time