Happy New Year Mountains!

by Gong Liu January 20, 2012 09:27

The Video

At the beginning of the year I made the following Youtube video as a retrospective of my hiking/climbing activities in 2011. I have been asked how to make it and hence this post.

2011 was a fantastic year for me as a hiker. I logged some 430 hiking miles, summited more than 30 unique mountain peaks, visited 6 national parks, and met a bunch of awesome people. Here is a list of all the hiking trips I did in 2011:

How to Make It

Making the video involves these steps:

  1. Create the 3D greeting signs
  2. Erect the signs on mountain tops
  3. Create a tour visiting each sign
  4. Play and record the tour as a video

I'll explain each step in detail. But before you continue, make sure you have the following software tools:

Create the 3D greeting signs

Here are the steps to create a 3D greeting sign:

  1. Launch Google SketchUp
  2. Click Tools -> 3D Text
  3. Enter a greeting text and set the height and thickness (extruded) of the text, as shown in Fig. 1. You want to make the sign big enough so that it can be seen miles away. I set the text height 30 ft. As a comparison the famous Hollywood Sign is 45 ft tall.
  4. Use the Paint Bucket on the tool bar to paint the text in the color or texture of your choice, as shown in Fig. 2.
  5. Click File -> Export -> 3D Model..., enter a name for the file where the 3D model will be saved, select .dae format, which is what Google Earth recognizes, and press OK. This will save your 3D sign to a .dae file, say "Hello.dae".
  6. Repeat steps 2 - 5 for each additional sign you have. Each sign must have its own .dae file.

Fig. 1. Enter text and its height and thinkness

Fig. 2. Color the text using Paint Bucket tool

Erect the signs on mountain tops

Basically you'll need to create a KML document that looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2"
xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom"> 
  <name>Hello Sign Demo</name>
   <Placemark id="Hello">
    <description><![CDATA[Hello Hollywood]]></description>
      <latitude> 34.134282</latitude>

Here are some highlights about the KML document:

  • The 3D model, "Hello.dae", is referenced under the <Link> tag. This assumes that "Hello.dae" is in the same folder as the KML document.
  • <tilt>-90</tilt> erects the sign from horizontal position to vertical position.
  • If you want to align the long side of the sign (width) to a mountain ridge or a certain direction, adjust the <roll>.
  • You need to know the latitude/longitude coordinates of the mountain top where you want to put the sign. The coordinates go under the <Location> tag.
  • The altitude is relative to the ground as indicated by the <altitudeMode> tag. Within the long side of the sign the mountain top may not be level. If you set altitude to 0 (ground level), part of the sign may be buried underground. You need to adjust <altitude> so that the whole bottom of the sign is just above the ground.
  • I put the <Placemark> that represents the 3D sign in a <Folder> for easy organizing. For each additional sign, just add another <Folder>.

Fig. 3 shows what it looks like when the KML document is loaded in Google Earth.

Fig. 3. The "Hello" sign is put on top of Mt Lee, above the famous Hollywood Sign.

Create a tour visiting each sign

In Google Earth a tour in its simplest form is just a series of camera points looking at an object of interest. Google Earth has a built-in touring feature that automatically generates a tour based on a predefined path. The automatically generated tour is fixed in terms of range (distance from camera to object), tilt (camera angle) and speed. It is most suitable for flying by a hike trail, for example. In our case, we are interested in individual 3D signs, not the paths between them. We want to see a sign/mountain top in different distances, angles and directions. This means we have to create the tour manually, one camera point at a time. It can be quite time consuming, if we have a lot of signs and each sign requires multiple camera points. However, the flip side is that we are our own film director. How cool is that?! We decide the camera settings, the shots, and overall effects. We can swipe across the sign, pierce through the sign, approach and leave the sign in any angle, direction and speed we like. It's all up to our imagination and creativity!

As an example I have created 4 views (camera points) around our "Hello" sign, as shown in Fig. 4.

Fig. 4. Four camera points looking at "Hello" sign

Here are the steps to turn a view into a <gx:FlyTo> tag - the building block of a tour:

  1. Manipulate Google Earth to form the view you want using the navigation controls.
  2. Click the Record a Tour button. The tour recorder appears at the bottom-left of the map screen.
  3. Click the Record button twice in quick succession. This creates a mini tour of current view and brings up the Tour Player at the bottom-left of the map screen.
  4. Click the Save button on the Player and the OK button in the New Tour dialog box. This adds an Untitled Tour entry to the KML document tree in the left-hand panel.
  5. Right click the Untitled Tour entry and select Cut.
  6. Open a text editor, such as Notepad, and Paste the Untitled Tour to the text editor.
  7. You should see two <gx:FlyTo> tags in the editor. Copy the first one and paste it to the KML document that contains your 3D sign.
  8. Repeat steps 1 - 7 for each additional camera point.
  9. Repeat steps 1 - 8 for each additional sign.

The final result looks like this:

  <name>Hello Sign Demo</name>
    <name>Play me!</name>






    <!-- the Hello Placemark here -->

Some key points about the KML document:

  • For each <gx:FlyTo> add a <gx:duration> tag to allow some time for Google Earth to fly from previous point and current point.
  • For the first <gx:FlyTo> add extra <gx:Wait> time to allow tiled map images fully loaded. This is especially helpful for a slow computer with slow internet connection.
  • For each subsequent <gx:FlyTo> add <gx:flyToMode>smooth</gx:flyToMode> tag to allow smooth transition from one point to the next.
  • You can use <gx:SoundCue> to add background music to the tour.
  • You can use <gx:AnimatedUpdate> to pop up a balloon with additional information about the sign or the mountain.

Play and record the tour as a video

Once you have created the KML document that includes your 3D signs and the tour visiting each of them, you can play the tour by opening the KML in Google Earth, highlighting the tour entry in the left-hand panel, and clicking the Play Tour button, as shown in Fig. 5.

Fig. 5. Play a tour

To make a video out of the tour, you can use one of the following three methods, depending on what software and hardware you have:

  • Using Google Earth Pro. Google Earth Pro Edition has a built-in video capture function.
  • Using 3rd party screen recording program. I tried Camtasia Studio but I had difficulty to record a HD video with it. Playing the tour and recording the screen in full HD at the same time turned out to be too much for my lil' old computer.
  • Recording off the screen with your camcorder or camera. I ended up using this method for the video in this post. Just set my point n' shoot camera on a tripod and recorded the screen and sound in one shot. Not the best quality but good enough for a Youtube video.

As a final touch I used the simple video editing features in Youtube to add annotations and credits. Of course you can use your favorite video edting program to do the same and much more to make your video look more professional.


Hello Sign Example HelloSignDemo.kmz 15.2 KB
Happy New Year Mountains with background music HappyNewYearMountains.kmz 25.7 MB
Happy New Year Mountains w/o background music HappyNewYearMountains1.kmz 3.17 MB
Comments are closed


A seasoned computer professional. A tofu culture evangelist...
more >>

Tag Cloud


<<  April 2017  >>

View posts in large calendar
Copyright © 2008-2011 Gong Liu. All rights reserved. | credits | contact me
The content on this site represents my own personal opinions, and does not reflect those of my employer in any way.