Difference between revisions of "Scenery:Generating Scenery"
(→Generate textures) |
(→Generating the terrain model) |
||
Line 31: | Line 31: | ||
texmapper <texture config> <output dir> <output config> | texmapper <texture config> <output dir> <output config> | ||
− | This command will read the texture config | + | This command will read the [[Scenery:Texmapper.cfg_File|texture |
+ | mapper config file]] tile it into suitable pieces and create a hierarchy of downscaled images for the lower resolutions. It will also render shadows into the textures if necessary (If the aerial photos already contain shadows, this process may be skipped). | ||
+ | |||
[[Category:Scenery]] | [[Category:Scenery]] |
Revision as of 20:09, 9 January 2010
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 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>
This command will read the texture mapper config file tile it into suitable pieces and create a hierarchy of downscaled images for the lower resolutions. It will also render shadows into the textures if necessary (If the aerial photos already contain shadows, this process may be skipped).