Level Of Detail (LOD) Ranges: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
No edit summary
Line 31: Line 31:


The actual visibility range is randomly distributed from /sim/static-lod/rough to twice /sim/static-lod/rough, to reduce apparent "popping".
The actual visibility range is randomly distributed from /sim/static-lod/rough to twice /sim/static-lod/rough, to reduce apparent "popping".
== References ==
{{Appendix}}

Revision as of 19:45, 10 November 2016

Level of Detail (LOD) is controlled by three properties in FlightGear, with the following defaults values:

  • /sim/static-lod/detailed=1500
  • /sim/static-lod/rough=9000
  • /sim/static-lod/bare=30000

These properties control the distance at which various parts of the scenery become visible. They are also used by aircraft modellers to control the visibility of different aircraft parts.

We also have the following settings used for AI models:

  • /sim/static-lod/ai-range-mode-pixel=false - this is used to change the LOD model to use apparent pixel size rather than distance
  • /sim/static-lod/ai-detailed=10000
  • /sim/static-lod/ai-bare=10000 - currently commented out
  • /sim/static-lod/ai-interior=50


They are used to control the loading and visibility of scenery elements as follows:

/sim/static-lod/bare

  • Scenery tiles

/sim/static-lod/rough

  • Objects listed in scenery STG files using OBJECT_STATIC or OBJECT_SHARED verbs
  • Random scenery objects
  • Random trees
  • Random buildings
  • Building meshes using OBJECT_BUILDING_MESH_ROUGH. (Additional 1414m is added as these meshes are 2000mx2000m)

The actual visibility range is randomly distributed from /sim/static-lod/rough to twice /sim/static-lod/rough, to reduce apparent "popping".

/sim/static-lod/detailed

  • Building meshes using OBJECT_BUILDING_MESH_DETAILED (Additional 1414m is added as these meshes are 2000mx2000m)

The actual visibility range is randomly distributed from /sim/static-lod/rough to twice /sim/static-lod/rough, to reduce apparent "popping".


References

References