]> git.mxchange.org Git - flightgear.git/commit
Optionally use SCREEN_SIZE_PIXEL for LOD
authorTorsten Dreyer <torsten@ŧ3r.de>
Wed, 19 Nov 2014 16:26:58 +0000 (17:26 +0100)
committerTorsten Dreyer <torsten@ŧ3r.de>
Wed, 19 Nov 2014 16:26:58 +0000 (17:26 +0100)
commite46ab5faa32eeba4597d564f97afd61fe3346ace
tree827cb5ff4784721309fcfdc76ff321a5ffaae01c
parent5f0bffde58556bd69e490b7f344595cae434fbac
Optionally use SCREEN_SIZE_PIXEL for LOD

This patch enables AIModels to use the size on the screen for LOD instead
of distance from eye point.
With /sim/rendering/static-lod/ai-range-mode-pixel set to true
/sim/rendering/static-lod/ai-detailed now contains the minimum size of the
model on the screen to be displayed. Values of 10-50 seem to make some sense.
src/AIModel/AIBase.cxx