Virtual Planet Builder: Difference between revisions

Jump to navigation Jump to search
Line 63: Line 63:
  -b -4 50 -3 51 \
  -b -4 50 -3 51 \
  --PagedLOD \
  --PagedLOD \
  -l 8 \
  -l 4 \
--radius-to-max-visible-distance-ratio 5 \
  -o vpb/w010n50/w004n50/ws_w004n50.osgb
  -o vpb/w010n50/w004n50/ws_w004n50.osgb


Line 74: Line 75:
* --PagedLOD to generate PagedLOD nodes
* --PagedLOD to generate PagedLOD nodes
* -l 4 the number of LOD levels to generate. At the equator, a 1x1 degree tile has a 157km diagonal. The LoD follows a quad-tree like structure, with each LOD level having 4 sub-tiles in a 2x2 array.  If we want our smallest tile to have a ~10km diagonal, we need 4 LoD levels
* -l 4 the number of LOD levels to generate. At the equator, a 1x1 degree tile has a 157km diagonal. The LoD follows a quad-tree like structure, with each LOD level having 4 sub-tiles in a 2x2 array.  If we want our smallest tile to have a ~10km diagonal, we need 4 LoD levels
*  --radius-to-max-visible-distance-ratio is self-explanatory.  We want the lowest level of LoD to be visible 20km away, so a ratio of 5 is appropriate.
* -o is the output file, in this case native OSG binary format.  FG expects WS3.0 data in a vpb subdirectory, with the structure shown.
* -o is the output file, in this case native OSG binary format.  FG expects WS3.0 data in a vpb subdirectory, with the structure shown.


[[Category:Scenery software]]
[[Category:Scenery software]]

Navigation menu