Thursday, 12 February 2009

Week 15

Morphing.

This week I learnt how to morph one shape into another shape using the ‘morpher’ modifier.
I practised making one box morph to the shape of 2 other edited boxes.

Firstly I created one box by selecting ‘box’ from the ‘create’ menu and changing the ‘height seg’ parameters to ‘2’ and then converted it to an editable poly and cloned it twice, so I ended up with three different boxes, named; box01, box02 and box03.



I then selected the second box and used the ‘vertex’ selection to select the top points of the box and then used the scale tool to drag them into each other and create a point. I then used this same technique on the third box but scaled the bottom points and pulled them into each other.



I then selected the first box and used the modifier drop down menu to select ‘morpher’




Once I had selected the modifier I then completed the following steps seen below within the image.


I then selected auto key button at the bottom of the window and used the slider to select what fame I wanted to morph my shape on, I chose frame 20. I then went to the ‘morpher’ modifier and channel list and changed the percentage next to ‘box02’ to 100%, this means that the original box will morph 100% of the shape from box02.


I then repeated this for frame 40 and box03, once I was happy with the movement I deselected ‘auto key’

I then rendered this and saved it as an ‘avi’ file and played it to make sure it was working correctly and as I wanted.
This is the original shape of the box,



This then morphed to the shape of ‘box02’


Finally the box morphed to the shape of ‘box03’

I was happy with the outcome of morphing as it went as planned and morphed to the right shapes at the right times.
I then played around with morphing different shapes, but the important thing to remember is that morphing will only work with shapes that have the same number of vertices.
Here is the video of the morphing animation,

Thursday, 5 February 2009

Week 14

Following a path.

This week I learnt how to animate objects to follow a path .
Firstly I used a sphere to follow a basic circle spline shape, to do this I created a sphere,



I then created a circle spline and placed this around the sphere,


I then selected ‘Animation’ from the top toolbar, then selected ‘constraints’ from the drop down menu then finally selected ‘Path constraints’


I then had to select my path, so to do this I clicked on the circular spline, this attached the sphere to the path I created from the spline.



I then rendered the animation and played it, it worked successfully with the sphere moving round the circular path as planned,


Here is a shot of the rendered AVI file being played with the ball moving around the path.



I then wanted to make a rectangle follow a wavy path, so I created my rectangle from the shapes toolbar and then I created my path using line spline.
I attached the rectangle shape to the line path the same as I did with the sphere and circle path. I then played the animation and the rectangle moved along the path, but not as I wanted, the rectangle stays at the same flat position whilst moving up and down gradients,



I wanted the rectangle to point down whilst going down a gradient and to point up whilst going up a up gradient, to do this I selected the box and opened up the ‘path parameters’ and used the ‘path options’ to select the ‘follow’ and ‘bank’ check boxes to get the box shape to follow the path how I wanted.
I then played around and used this technique to get a camera to orbit around a stationary object so that you can see all sides to the object.
To do this I created a teapot in the middle of the scene, I went to the ‘create’ toolbar, ‘geometry’, ‘standard primitives’ then selected ‘teapot’ and dragged it out onto my scene.
I then added a camera by using the ‘cameras’ tab under the ‘create’ menu. I selected target camera and dragged it out onto my scene pointing it at the teapot, I then added a circular spline to the scene same as I done before, then my scene looked like this,

I the selected the camera and got it to follow the path of the spline just like I done for the sphere, I then rendered this,

Here is a screenshot of the AVI file being played, this was also successful, and the camera orbited around the teapot on the circle spline whilst staying focused at the teapot.