Showing posts with label Animation. Show all posts
Showing posts with label Animation. Show all posts

Monday, February 9, 2009

#28 Morphing Letters Animation in Cinema 4D

You don’t always have to move the letters you have on your screen to replace them with other letters. With this technique you can make your letters change their shape into other letters. You can also do this with words, once you get the hang of it. It would be a good idea to check out my post on Morphing Setup with PoseMixer, to make it easier to follow this post.

To get things started, we have to make sure that the first letter we will use has enough points to be able to morph into every other letter we use. MorphLetter

I am going to start with the letter “B” because those two holes, which we will be able to use. Create a Text Object, and make it show the letter “B”. Make it Editable and put it under an Extrude Object.

MorphLetter2We will make it able to easily morph into the letter A, B and C. Make the following setup in the PoseMixer Tag. All the spline objects are copies of the first spline. Make sure to rename them the same way as on the picture( to the left).

 

Now that you have the PoseMixer set up, now you can proceed to shape the letters A and C. Hide all the other objects one working on one of the letters, and work with the points. Remember not to add or delete any of the points. If you have some extra points, either align them with the others, or scale them down. The process of making the letter A:

MorphLetter

You can make as many letters as you like, and add them all to the posses list at the PoseMixer tag.

All you have to do is animate the sliders for the corresponding letters, and you got your self morphing letters.

MorphLetter2

Depending on how much time you have on your hands, and how perfect you want it to be, this might take a while. You can also do this with entire words, so it can actually be quiet interesting. You might even want to leave the imperfections, or make graffiti-like letters. I was thinking of making an entire song like this. It might take a while, but it can look great!

Friday, January 30, 2009

#26 Making An Animated Asteroid Field Using Arrays

Sometimes you will want to be able to create a vast number of objects with as little effort, so you can concentrate on the more important parts of your project. This shows you how to do just that! I also made a post on Making an Asteroid!

Let’s say that we need a monotonous asteroid field. Creating one asteroid and copying it doesn’t even sound too bad. But what if you want all your asteroids to move independently? This turns into a bigger task. This is one way to make things easier on you.

For this tutorial, all you need is a sphere. We will leave Modeling an Asteroid for another time, to keep this on point.

Add the sphere to an Array Object(Objects – > Modeling –> Array), and set the Arrays settings like so:

Sphere Array

Sphere Array Settings

If you press the play button now you will see a slow moving asteroid field. That was the desired effect. Things you can do to modify this:

You can copy and intertwine multiple arrays for a bigger and denser asteroid field.The reason why I don’t suggest just increasing the number of copies is that if you look from the top perspective, you will see that the spheres form a circle. So a good Idea would be more smaller arrays, and rotate them around their axis for a more “random” effect.

You could use lights instead of spheres for some interesting jumping lights scenes. Experiment with different objects, and don’t stop on solids.

Asteroid Field

Just add the material for the spheres to the array and you’ll have it applied to all the spheres. Have fun with what you have learned, and think of different uses for the Array object, to make your animating life easier.

Tuesday, January 27, 2009

#24 Morphing Setup with PoseMixer

A long time ago I used this tool for an animation that required my character to move his lips in accordance to the lyrics of the song in the background. Back then I actually thought that this was the only purpose of the PoseMixer, but by experimenting with it I found many more. For now, I am just going to show you the basics. 

To get things started, create an object in Cinema 4D(PoseMixer is part of Cinema 4D) and make sure it has more then just a few polygons to it, so if you created a cube, increase the number of subdivisions in all sides by at least 2, so you have something to work with.

MorphCube

A cube with all the subdivisions increased to 3. Make it Editable so you can work with its shape. Right click on the Cube’s name and navigate: Character Tags –> PoseMixer.

Something to keep in mind is being organized in you projects. I say this because we are going to create more Cube objects, and we don’t want to keep them named the same. So, make two more Cubes so that you have 3 of them now. Move them away from each other and rename them as follows:

MorhpCube2

The MorphCube(the one with the PoseMixer Tag) is the one that we will use for our animation.

The Default Cube is just the basic shape of the MorphCube when no Pose Mixing is applied. It should be the shape you want for the objects “rest” position.

The TwistCube is what shape our MorphCube will be able to animate to. Things will become clearer as we progress.

Select the PoseMixer Tag and add the Cubes to their corresponding text boxes:

MorphCube3

Using the slider next to the TwistCube now won’t do anything, so let’s set it up. Go and mess with the TwistCube a little, but don’t do the things that add new points, like Extrude or Bevel. Instead, just move it’s points around, or resize it, to make the shape you want.

Once you are done, select the PoseMixer Tag and try sliding the TwistCube slider. See what happens? The more you slide it, the more the MorphCube becomes like the TwistCube.

To make it look better, put the MorphCube as a child to the HyperNurbs object so you get a better looking shape. The various results are as follows:

MorphCube4

Now you can easily animate your box changing shape by just adding keyframes to the timeline track of the slider for the TwistCube. Make more different shapes that start form the Cube object, and add them to the PoseMixer so you have even more control. Later on I’ll show you more tricks involving this, including how to make your animations lip-synch to the song.

Sunday, January 18, 2009

#20 Quick Animation Path, Flying Disc

From time to time, you’ll come up with an animation idea that involves an object flying around, randomly or not. One way is to use the Vibrate Tag. Another way is to set the object on a path.

If you want the objects motion to be in your control, you would probably go with this way.

Using Cinema 4D, create a Cubic spline. Don’t make a Freehand spline because that can make for shaky movement. Your path could look something like this:

Spline

It doesn’t have to look nothing like that, but it should at least be curvy, because sharp edges don’t make for a smooth animation, unless the aim is bouncing of walls or something of the sort.

The next step is adding an object to the path. Create a disc for the sake of practice. Add an Align To Spline Tag to the Disc. Click on the Tag and drag the Spline object in to the Spline Path field.

Now you control the position of the Disc with the Position slide in the Align Tag. Check the Tangential checkbox for a different way of moving on the spline.

Use keyframes to animate the Disc motion on the Path. Use different speeds on the path to kill the monotony.

You can always move the Spline’s points to change the motion of the Disc. The Spline is not visible.

I used a curvy spline, but that is just one of the choices here. There are many possibilities here, along with choice of object, path and speed.

If you want you can even use a SweepNurb to make the spline visible, but more on that some other time.

Thursday, January 1, 2009

#9 Head Banging Animation Loop

One of things I love about Cinema 4D is that it has all this nifty little tools that help you make certain animations more easily. One of such tools is the Vibrate Tag.

I have mentioned the Vibrate Tag in another post. That time, we didn’t get the exact effect that we needed, but it will do just fine here.

Just for fun, the example that we are going to use this on will be a head banging animation, but with only the head. The full body animation is a bit beyond this example.

For starters either get a head that you modeled, or a plain box will do now. Now make it a child of a null object. Move your object away from the null object, upwards for about 450 if you are using the initial size of the box or sphere.

Right click on the Null Object, navigate to Cinema 4D Tags, and add a vibrate tag. activate what I did, and set the values like so:

vibrate Tag2

Now, when you press Play, you will have the basic swinging animation. But, if you want to make it more dynamic, make the current Null Object a child of another Null Object that also has the Vibrate Tag, but without the Regular Pulse checked, and with some rotation added. Keep experimenting, there are a lot of possibilities there, and it’s up to you find what suits your needs.

With the right object, some music, and some settings for the Vibrate Tag, you can make an interesting project. Add to that Cinema’s possibility to add keyframes to any of the Values and checkboxes, and you have yourself a Video with endless possibilities, and a looping animation:

The best part is, when you make the settings once, it’s easy to transfer them to other objects, enabling you to make hordes of head bangers, if that’s what you are looking for. Just one of the many possibilities of the Vibrate Tag. Bang your head off!

Monday, December 29, 2008

#6 Animated Beat

This time, I’ll show you what to pay attention too, when trying to make your 3D Speaker beat to your beat.

First, you’ll need a 3D speaker, with the part that has to vibrate to the beat detached. But, for the sake of practice, you can even use a simple sphere, and we will make it’s size vibrate through the beat.

Now, there are 2 ways of going through this: the quick(effortless) way, and the long(or proper) way. I’ll show you both.Vibrate Tag

First, I’ll show you the easy way. Start off by making a sphere. Now, in Cinema 4D, add the Vibrate Tag to it(click on the image to enlarge it). I don’t know if you other 3D software has such a thing.

Select the Vibrate Tag, check the Regular Pulse checkbox, and Enable Rotation checkbox. Now all you need is to set the Frequency to match the beat you are using.

That’s the easy way. The reason why we are not sticking to this way is that it doesn’t really give us the desired results when it comes to replicating speakers. Although it can give you a nice “move to the groove” effect on your objects, for a more realistic effect, the sphere would need to grow in spikes, instead of so regularly varying in size. Something like …!…!…!… Instead of /\/\/\/\.

Now, delete the Vibrate tag, or start a new scene and just create a new sphere. Select the sphere and Add A Keyframe(ask me if you don’t know how). Now, move the timeline by 4 frames to the right and add another Keyframe.

Now move the timeline by 2 frames, make the sphere bigger(at least twice as big) and the add another keyframe. Then move the timeline by 2 more frames, and resize the sphere to it’s original size, and Keyframe it.

Now you have the first “bump”. You can proceed like this, or you can use Cinema’s ability to copy/paste keyframes. The end result of your timeline should look like this(click to enlarge):

codegen keyframes

When you press Play, you should get a certain beat. You can enter Cinema’s Timeline Window to stretch or resize the beat in a way that suits the music.

I modeled my Codegen Speakers in Cinema 4D, added materials, a camera, and used the above keyframe spread on the speakers and got:

There it is. The speakers weren’t to tough to model, If someone requests it, I’ll be glad to make a post out of it. You can apply these keyframing rules on any object that needs to move in accordance to the music, so have fun with it!