STG Verbs
This article is a stub. You can help the wiki by expanding it. |
Update 09/2016: Stuart committed the code to enable two new STG verbs:
- OBJECT_BUILDING_MESH_ROUGH
- OBJECT_BUILDING_MESH_DETAILED
These were introduced to Modify FG to recognie the new STG verb and add controls to enable/disable loading these models and logic to disable the random objects and buildings for tiles (or better sub-tiles) when these are enabled and exist.[1]
To enable the reading of these verbs you will need to set /sim/rendering/building-mesh=true and obviously reload scenery.[2]
as the name suggests, loads buildings and sets LOD to /sim/rendering/static-lod/rough and /sim/rendering/static-lod/detailed respectively. The verbs are only parsed by the STG loader if /sim/rendering/osm-buildings=true so there will be no runtime or loadtime impact on systems with this disabled. The reason for the two verbs is to allow osm2city to generate two levels of LOD for larger and smaller buildings. It currently does this by generating a single model with two meshes, one for each LOD level. Rather than do this within the model, I think it's more effective to handle this in the STG loader as two separate models and simplify the scenegraph by saving an extra LOD node.[3]
- ↑ Stuart Buchanan (Sep 10th, 2016). Re: [Flightgear-devel] Maldives, once again ;) .
- ↑ Stuart Buchanan (Sep 22nd, 2016). Re: [Flightgear-devel] osm2city integration (was Re: Maldives, once again ; ) .
- ↑ Stuart Buchanan (Sep 13th, 2016). [Flightgear-devel] osm2city integration (was Re: Maldives, once again ; ) .