Scenery:Generating Scenery
From Silent Wings Wiki
Revision as of 11:18, 6 March 2007 by 129.240.228.21 (talk)
Contents
Generating the terrain model
This article describes the commands used to create a scenery file from a set of input data and configuration files.
Read data
data_reader <terrain config> <work dir>
This command will read the input data as described in the [Scenery:Terrain.cfg_File terrain config file], tile it into suitable bits and put it on the work directory in a simple work format.
Generate airports/runways
apt_gen <terrain config> <airports file> <work dir>
This program will make runway polygons for the airports within our area and put the polygon files in the work directory.
Generate terrain surface
terrain_gen <terrain config> <work dir> <output name>
This program will read the input data from the work directory and make a multiresolution triangulation of the data based on the parameters in the terrain config. There will be generated three files called <output name> with the extensions .tin, .idx and .grd.
Generate textures
texmapper <texture config> <output dir> <output config>