Level Of Detail (LOD) Ranges: Difference between revisions
(Fix incorrect path to LOD properties.) |
(→Forum topics: + Forum topic that touches on not using LOD range animations in scenery models) |
||
Line 55: | Line 55: | ||
=== Wiki articles === | === Wiki articles === | ||
* [[FlightGear configuration via XML]]. See in particular the section [[FlightGear configuration via XML#Adding your own settings|Adding your own settings]]. | * [[FlightGear configuration via XML]]. See in particular the section [[FlightGear configuration via XML#Adding your own settings|Adding your own settings]]. | ||
=== Forum topics === | |||
* {{forum link|t=37353|title=3d models, how to produce them in an understandable way}} (April 2020-) - Touches on the subject of not using LOD range animations in scenery models. | |||
=== Source code === | === Source code === |
Revision as of 11:12, 3 May 2020
Level of detail (LOD) ranges are controlled several properties in FlightGear, with the below default values.
Scenery ranges
Note The LOD ranges are only set during the scenery loading process. Therefore a scenery reload may be required to change the currently loaded tiles. |
Property | Default | Description |
---|---|---|
sim/rendering/static-lod/detailed |
1500 m | All objects (buildings etc) display withing this range.
|
/sim/rendering/static-lod/rough |
7500 m | Terrain and non terrain objects will be displayed within this range, as follows:
The actual visibility range is randomly distributed from |
/sim/rendering/static-lod/bare |
21000 m | Only terrain after this point |
AI/MP ranges
AI/MP models (other models that aren't being flown/operated by the user) have two models. The first of these is the low detail (or fallback) model, which can be defined by an model developer (sim/model/fallback-model-index
) as one of the values in $FGData/AI/Aircraft/fallback_models.xml
. When there is no fallback model defined for a model the blue-yellow glider will be used.
There are three properties that control the operation of the LOD ranges for We also have the following settings used for AI models:
Property | Default | Description |
---|---|---|
/sim/rendering/static-lod/aimp-range-mode-distance |
false | When true the distances in the following aimp- properties are considered to be the distance from the camera. |
/sim/rendering/static-lod/aimp-detailed |
400 px | This property works differently depending on the range mode.
|
/sim/rendering/static-lod/aimp-bare |
0 px | This property works differently depending on the range mode.
|
Model interiors
Property | Default | Description |
---|---|---|
/sim/rendering/static-lod/aimp-interior |
200 m | Range at which to display the model interior (when the model has a mesh defined as being the interior). |
Related content
Wiki articles
- FlightGear configuration via XML. See in particular the section Adding your own settings.
Forum topics
- 3d models, how to produce them in an understandable way topic on the forum (April 2020-) - Touches on the subject of not using LOD range animations in scenery models.
Source code
- flightgear/fgdata/next/defaults.xml. Do not change this file, rather follow these instructions.
- flightgear/simgear/next/simgear/scene