Bender Tutorial: How to Travel by Map
Project Type: Animation
Software: Blender 2.72b
OS: Mac OSX 10.10.5
This is based on a project by David Mcsween. You should check out his video.
This is a tutorial on how to animate red dots to travel across a map. You can use any hi-res image of a map.
Here's a 4 minute screen cast. There's no sounds after the music.
Get the Map Into You're scene
Right Click on the Default Cube and press the X key to delete it.
Go to the File menu and choose Import > Images as Planes. Navigate to the map image you want to use and Import it.
You'll see a flat grey plane in the scene but there's no map on it. Click on Viewport Shading and change the setting to Material.
The plane will now show the image of your map.
Make the dotted path
Press Shift + A to pull up the add menu. Choose Curve > Path.
Change the path's name to anything you want. I named mine Dots Path. This is the path I will use for the red dots to follow.
Super Important: Do Not Change The Location, Rotation or Scale of the Path in Object Mode. Only make changes to the Path in Edit Mode. Changing the path in Object Mode will wreak havoc with your animation.
With the Path selected, press TAB to enter Edit Mode. The path will change into a series of arrows indicating the direction. More on this later.
Press TAB to go back into Object Mode. Right click on the map to select it. Press S and use the mouse to scale up the map a little.
Right click on the path again. TAB into edit mode and edit the path by moving the points around. Just click on the points and press G (grab) to manipulate the path. I edited mine to jump from Oklahoma to Illinois then to Florida.
TAB back into Object Mode. Press Shift + A to add a plane. This will be the red dots for the animation.
Super Important: Do Not Change The Location, Rotation or Scale of the this plane in Object Mode. Only make changes to this Plane in Edit Mode. Changing the plane in Object Mode will wreak havoc with your animation.
TAB into Edit Mode and press S to scale down the plane.
Click on the wrench icon on the menu to the right and add an Array Modifier.
You'll notice right away that the plane has been duplicated but the copy is sitting right next to the original.
Increase the relative offset on the X - Axis to put a little space between the planes.
Now click on the icon that looks like a ball then click on New to create a new Material for the plane.
Change the color to red and now you'll have the red dots for the animation.
Now add a Curve Modifier.
Choose the Dots Path as the Object
TAB back into Object Mode and you'll see the red dots snap to the Path.
Now adjusting the Count of the Array Modifier will increase the number of dots. Go to the beginning of the animation, set the count to 0 and hover the cursor over the count and press I to insert a key frame.
Go to the end of the animation, adjust the count so that the dots reach the end of the path and press I to add another key frame there.
Time to Animate the Camera
Press Shift + A to add another Path.
Rename it. I named mine Camera Path.
TAB into Edit Mode and edit the path any way you like.
TAB back into Object Mode then Right click on the camera. The current setting of the Camera are going to interfere with our animation. Clear the Location and Rotation of the Camera by pressing ALT+G then ALT+R respectively.
Now let's get the Camera to move along the path. With the Camera selected, click on the chain icon and add the Follow Camera Object Constraint. Choose the Camera Path as the Target and press the Animate button.
The Camera with snap to and travel along the path but it is pointing straight down.
Pointing the Camera
Press Shift + A to add and Empty and choose the Sphere shape.
I renamed mine Camera Target.
With the Camera selected and a Track to Constraint.
Choose the Camera Target as the Target.
The Camera will be pointing in a weird direction so you'll need to change the "To" setting to -Z and change the "Up" setting to Y. I don't know why these setting make the Track To Constraint work.
Now just key frame the Camera Target location anywhere you want to control the Camera.
The red circles are just circle curves. I key frames their scale as needed
That's it! Find yourself a hi-res map image and get started.