Howto:Create custom terrain

From FlightGear wiki
Revision as of 16:40, 23 October 2009 by F-ojac (talk | contribs)
Jump to navigation Jump to search

Template:Languages

Enhancing the ground texture
A small picture is always better than a big topic

Look here an example of the achievable result.

Why enhancing the ground texture ?

Let's take a look at the Finistère in Brittany, Western France : if you click [1], you will quickly see and understand how the Finistère county is know of FlightGear. Some towns/city (red), a few forests (green), etc. Overall, it is not a very good resolution : a lot of angles, the detail level is not that good, some towns are missing. If you want a better definition on ground, there is some work to be done ! The goal being to obtain something like this :

  1. Berlin
  2. BodenSee surroundings
  3. Oshkosh surroundings
  4. Carribs

You will immediately notice the improvement to the ground. When flying, the difference is huge. Moreover, this enables the autogeneration of cities, trees, and so on.

Downloading the Landsat pictures

Browse to the Earth Science Data Interface interface to grab your Landsat data.

  1. Click Map Search.
  2. Click ETM+ (left column).
  3. Click on Update Map on the right bottom of the map.
  4. Click on the Placetab on the upper side of the map, in order to do a search by place, or you can do a search by latitude/longitude.
  5. In the Place field, type Brest, France for instance.
  6. You'll get the following :
1c9334d970963364b5ce1bc3a166a4fa.media.426x192.png
  1. Check that you have 2 images in selection for example : this confirms that your selection is good. For Brest, there are two Landsat pictures to cover the area.
  2. Click on Preview and download. You will get the following screen. On the left you can check the picture you are going to download. The size of the pictures is also given.
C31e36f2a2cbb278a1603dfe2ba91193.media.395x288.png
  1. Click on Download to get a FTP access.
  2. Only the files with a .tif.gz and .met extensions are of interest.
  3. Uncompress the .tif.gz files in the directory of your choice.
Working with QGIS

Using a GIS software gives you the opportunity to realize a full range of interesting operations : modification of VMAP data, updates on the ground classification, etc...

  1. This process is made under GNU/Linux. If this is the case, you can install QGis with your usual package repositery manager : see here. The process is easy and not described here, but it is one the QGIS website.
  2. If you are running Windows, you can useFGIS, the process is very close. And QGIS works under Windows by now as well.
  3. Launch QGis.
Capture.png
  1. Click on Layer -> Add a Raster layer.
Capture-2.png
  1. Modify the filter to search for *.tif files
Capture-3.png
  1. Add the TIFF file you have just downloaded.
Capture-4.png
  1. Click on Layer -> Aadd a new vector layer or on the corresponding icon.
Capture-5.png
Capture-6.png
Capture-7.png
Capture-8.png
Capture-9.png
Capture-10.png
  1. Switch to the edition mode.
Capture-11.png
Capture-12.png
Capture-13.png
Capture-15.png
Capture-17.png
Useful links
  1. Lien vers la page correspondante du Wiki anglophone
  2. Le site de terragear-cs
  3. Le Wiki de QGIS
  4. Les forums FlightGear dédiés à l'amélioration des scènes
  5. Le Wiki de OSGEO