All right in this video let's take a look at something called Shape keys.
So shape keys What are they and why do we use them and why do we need them.
What shape keys if we select our lattice modifier you can see that right here we have something called
Shape keys now shape keys basically allow for you to animate modify and edit your mesh in edit mode.
So that's pretty much what it does.
Whereas right here we animated objects in Object mode.
What if we want our ball.
Let's say we wanted Let's actually add in a new Kuban do this with this shift.
And mesh cube.
We'll go to our lattice to do it right after as well.
Hit delete on the keyboard to zoom into your cube.
And now hit tab to go into Edit Mode W and let's subdivide it three times by W..
Subdivide and left clicking.
Now if you go to the data on the cube as well it also has a shape key group.
Now as I was saying we can animate our cube by moving it like so and rotating it and scaling it.
But let's say What if we want our cube to be like this.
And then all of a sudden have spiky parts to it that it just you know it becomes a flat cube and then
becomes a spiky cube all of a sudden.
How would you animate something like this.
Well that's where shapes he's come in.
They actually allow for you to animate the editing portion of your mesh whereas right here in Object
mode we're only we're only animating the object when we go to Edit mode and use shaped keys.
We could actually animate the individual vertices and faces and shape keys are what we are going to
use for facial features.
If you make a character you will use shape keys to animate you know the mouth the lips and everything.
So let's go ahead and take a quick look at shaped keys and how they work.
And let's do a quick little example here with our cue.
I'm going to hit.
I'm going to close this window just so we have a full window for this video.
And now with our cube selected I'm going to add a shape key.
Now the basis shape key is always there when you add it.
And this is basically the shape key or the shape of your object as it is in its original format.
So the shape key as the name implies determines the shape of your mesh via the editing or via the edit
mode and the Via the vertices and the faces so basis.
This is how it will look on the basis keyframe.
Now we just have to add another one by hitting the plus sign.
And now we have one called key one.
We could go ahead and rename it by double clicking.
Let's name it is Nike underscore hube and hit enter.
Now let's bring the value all the way.
Let's go into edit mode first.
Actually nevermind Let's stay in object mode and bring the value all the way up.
Sometimes I think we could do things both in that it mode in object mode.
No you can only do it in Object mode.
So an object might bring the value all the way up to 1 and now hit tab to go into edit mode hit control
tab to go into vertex select mode and let's select some vertices and hit G and Z and just grab them
g x.
Grab this one as well gee g y and let's do one more here G.
X.
All right.
So that is our spiky cube we can hit tab to go back into object mode.
And now you will see that the value out one the cube will look like this and add zero.
The cube looks normal and it looks flat.
How awesome is that.
That's pretty cool isn't it.
So you could actually then animate these values by inserting a keyframe just like we did when you animate
a object.
So if you animate an object you could just hit I and insert a key frame for the location rotation scaling.
Here you would insert a key frame for the value you could actually insert key frames for values of anything.
Believe it or not.
Or the majority of things I should say.
So let's go ahead and try that.
Let's go to frame 1.
And in frame 1 let me hide my ground floor as well.
In Flint and frame one I'm going to hit I with my mouse hovered over this value.
So it's going to tell Blendr that on frame 1 the value of this shape key is going to be 0.
So go ahead and hit I.
And we get a yellow.
We get yellow over the values showing that there is now a keyframe.
Let's go to frame 15 15 and bring the value all the way up to 1 and then hit I with your mouse hovered
over the value and you can see added the key frame there.
And a key frame in the timeline as well.
So now if we scroll through here you can see that we're actually able to animate the editing portion
of an object that is pretty awesome using shaped keys of course.
So that is how you use shape keys.
Now couple other things that we need.
Take a look at or we could take a look at this right here.
Let's say let's go to frame 30 right here.
The maximum amount is 1.
So you could bring it all the way up to 1.
How about if we want to inverse these spikes and bring them into the cube.
Well we could go ahead and you know add in and you keyframe or a new shape key.
And with this one go into Edit Mode bring these in and do that all over again.
But since the since going in and going out is the exact same thing just inversed.
So going out is this way and going in would be the same thing but in the opposite direction what we
could do is you could see right here if we go to zero.
It's completely flat but our minimum value is actually set to zero.
So if we set this negative one you can see that now we have more to play with our value option here.
So now if we bring it down you could see that the value is going in words it's going to a negative to
a negative number or two and negative.
And I came in from my work today yet to a negative value.
There we go to negative value on the cube where we're not all perfect.
All right.
So goes the negative value and then the positive goes to a positive value.
Pretty awesome so now I'm on frame 30 I could go to a negative value hit.
I insert the keyframe.
And now we have this.
If I hit Altay up eight to play that is our animation of our shape keys.
We could also increase the maximum value let's say to 10.
So now you could bring your spikes even further out.
How awesome is that.
So again shape keys are really really cool.
Just like with the other one you could actually copy and move them with this little option menu that
we have here.
We have different options here from mirroring the shape key.
And you know moving it to the top or the bottom.
And we could probably we might take a look at that later.
But these are the main options here.
The plus and minus sign to add or to take away shape key.
The value here.
And then the range of minimum and maximum are the main options that you're going to be using for the
shape keys.
So really really cool.
And again the basis is how your shape looks in its original position.
So once again those are shape keys.
And let's go ahead and now use shape keys with our lattice modifier in order to make our ball look like
it's squashing and stretching.
All right.
Let's head over back to our scene see you there.
And you come up with some kind of catchy phrase.
I'll see you there or B.
Now I can say I'll see you there.
And this image is in black and white.
What is happening.
All right I decided throw black and white image in there.
Hopefully that's cool with the belief in oneself is what one needs to start planning into the mind.
The seeds of one's goals that were once just dreams until one day they grow up to things that can be
seen Believe in yourself and in your dreams.
Ladies and gentlemen start planning that seed of belief into your mind for your 3-D arts and for anything
else in life as well.
I'll see you in the next video.
Oh wow.
Appreciate you all as always.