Virtual Planet Builder: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 35: Line 35:
== Running VPB ==
== Running VPB ==


Here are the options I've used:
Here are the options I've used to generate some scenery of the UK:


  ./bin/osgdem --geocentric -t /home/stuart/FlightGear/VPB/data/CORINE/u2018_clc2018_v2020_20u1_raster100m/DATA/U2018_CLC2018_V2020_20u1.tif -d /home/stuart /FlightGear/VPB/data/SRTM90/srtm_36_01.tif -e -5 54 -2 56 --PagedLOD -l 5 --RGB-24 -o foo.osgb
  ./bin/osgdem --TERRAIN \
--compressor-nvtt \
--compression-quality-highest \
--geocentric \
-t /home/stuart/FlightGear/VPB/data/CORINE/u2018_clc2018_v2020_20u1_raster100m/DATA/U2018_CLC2018_V2020_20u1.tif \
-d /home/stuart/FlightGear/VPB/data/SRTM90/srtm_34_02.tif \
-d /home/stuart/FlightGear/VPB/data/SRTM90/srtm_35_01.tif \
-d /home/stuart/FlightGear/VPB/data/SRTM90/srtm_35_02.tif \
-d /home/stuart/FlightGear/VPB/data/SRTM90/srtm_36_01.tif \
-d /home/stuart/FlightGear/VPB/data/SRTM90/srtm_36_02.tif \
-b -10 50 0 60 \
--PagedLOD \
-l 8 \
-o uk.osgb


* --TERRAIN to use osgTerrain::Terrain database
*  --compressor-nvtt --compression-quality-highest to generate native mipmaps
* --geocentric because that's what FG uses
* --geocentric because that's what FG uses
* -t the texture to drape (in this case CORINE)
* -d the DEM to use (in this case pieces of SRTM90)
* -b is the extents in decimal degrees: LON1 LAT1 LON2 LAT2
* --PagedLOD to generate PagedLOD nodes
* --PagedLOD to generate PagedLOD nodes
* -l 5 the number of LOD levels to generate
* -l 5 the number of LOD levels to generate
* -t the texture to drape (in this case CORINE)
* -d the DEM to use (in this case a piece of SRTM90)
* -e is the extents in decimal degrees: LON1 LAT1 LON2 LAT2
* --RGB-24 to user an RGB output texture
* -o is the output file, in this case native OSG binary format.
* -o is the output file, in this case native OSG binary format.

Navigation menu