8,567
edits
m (→Obtaining TerraGear: Gitorious link) |
(Small fgfs-construct cleanup) |
||
Line 132: | Line 132: | ||
== Generating scenery == | == Generating scenery == | ||
You will now have a work directory | You will now have a work directory, with subdirectories like: | ||
{| | {| | ||
|AirportArea | | | ||
: AirportArea | |||
: AirportObj | |||
: Bog | |||
: DryCropPastureCover | |||
: EvergreenBroadCover | |||
: GrassCover | |||
: IrrCropPastureCover | |||
: Lake | |||
: Landmass | |||
: Marsh | |||
: MixedCropPastureCover | |||
| valign="top" | | |||
: MixedForestCover | |||
: Railroad | |||
: Road | |||
: Sand | |||
: ScrubCover | |||
: Shared | |||
: SRTM-3 | |||
| | : Stream | ||
| | : Town | ||
: Urban | |||
|} | |} | ||
Now we can actually generate the scenery. This is done by the fgfs-construct command. Run the command with | Now we can actually generate the scenery. This is done by the fgfs-construct command. Run the command with <code>--help</code> to get usage information. | ||
We need to define: | We need to define: | ||
* | * The work (--work-dir) and output (--output-dir) directories. | ||
* the center of the scenery we want to generate (--lat, --lon) | ** '''Note''' about the output directory: this must point to a <tt>Terrain/</tt> directory, else recent FlightGear versions will be unable to load the terrain. | ||
* | * The center of the scenery we want to generate (--lat, --lon). | ||
* The radius (--xdist, --ydist) from which to generate. | |||
* All the work directories to include in the scenery. | * All the work directories to include in the scenery. | ||
For example: | For example: | ||
{{Pre2|<nowiki>fgfs-construct --work-dir=./work --output-dir=./output/Terrain --lon=55 --lat=60 --xdist=3 --ydist=3 AirportArea SRTM-3 AirportObj Stream Bog IrrCropPastureCover Town Lake Urban Landmass Railroad DryCropPastureCover Road EvergreenBroadCover Marsh Sand MixedCropPastureCover ScrubCover GrassCover MixedForestCover</nowiki> }} | |||
When this finishes, the output directory will contain a scenery sub-tree. | When this finishes, the output directory will contain a scenery sub-tree. Point to it by setting either [[$FG_SCENERY]] or by using the --fg-scenery command-line option to fgfs, and give your new scenery a try! | ||
Point to it by setting either [[$ | |||
== Troubleshooting == | == Troubleshooting == |