1
0
Fork 0
flightgear/src/AIModel
Stuart Buchanan 236b7c0f83 Multiple LoD levels of MP Aircraft
At a basic level, the implementation supports two levels of LoD:

FAR from /sim/rendering/static-lod/ai-range-bare to /sim/rendering/static-lod/ai-range-detailed.
NEAR from /sim/rendering/static-lod/ai-range-detailed to 0.

(First of many digressions:  If /sim/rendering/static-lod/ai-range-mode-pixel=true then instead of measuring LOD distance in meters, the size of the object in pixels is used, so the ranges are different)

The models that are loaded for FAR and NEAR depend on a combination of the availability of a model in /AI/AIrcraft/ and FG_AIRCRAFT directories.

If /sim/rendering/static-lod/ai-range-detailed=false then an AI aircraft will be used in preference for both NEAR and FAR.

If /sim/rendering/static-lod/ai-range-detailed=true then an AI aircraft will be used for FAR, and an FG_AIRCRAFT for NEAR.

Obviously if only an AI or a FG_AIRCRAFT model are available, that will be used for the entire NEAR+FAR range.
2018-06-05 21:58:03 +01:00
..
AIAircraft.cxx Fix a crash when updating the user aircraft 2018-04-27 23:32:28 +01:00
AIAircraft.hxx Use a unique_ptr to manage FGAIFlightPlan 2017-09-21 18:37:14 +01:00
AIBallistic.cxx Generalise AI-model search ordering in AIBase 2018-05-23 09:46:05 +01:00
AIBallistic.hxx Generalise AI-model search ordering in AIBase 2018-05-23 09:46:05 +01:00
AIBase.cxx Multiple LoD levels of MP Aircraft 2018-06-05 21:58:03 +01:00
AIBase.hxx Multiple LoD levels of MP Aircraft 2018-06-05 21:58:03 +01:00
AICarrier.cxx Generalise AI-model search ordering in AIBase 2018-05-23 09:46:05 +01:00
AICarrier.hxx Generalise AI-model search ordering in AIBase 2018-05-23 09:46:05 +01:00
AIEscort.cxx Generalise AI-model search ordering in AIBase 2018-05-23 09:46:05 +01:00
AIEscort.hxx Generalise AI-model search ordering in AIBase 2018-05-23 09:46:05 +01:00
AIFlightPlan.cxx Work with new SGPath API. 2016-06-22 17:36:05 +01:00
AIFlightPlan.hxx Checkpoint - ground-net skips the cache 2015-12-01 14:01:32 +00:00
AIFlightPlanCreate.cxx Add missing include <algorithm> for std::max() and std::min() 2017-11-16 12:54:49 +01:00
AIFlightPlanCreateCruise.cxx ATC/Traffic doesn’t crash reset. 2015-12-11 12:11:59 -06:00
AIFlightPlanCreatePushBack.cxx Improve AI parking-pushback warning message 2018-04-05 12:58:58 +01:00
AIGroundVehicle.cxx Generalise AI-model search ordering in AIBase 2018-05-23 09:46:05 +01:00
AIGroundVehicle.hxx Generalise AI-model search ordering in AIBase 2018-05-23 09:46:05 +01:00
AIManager.cxx Property to toggle between preferred MP models 2018-05-28 20:54:09 +01:00
AIManager.hxx Property to toggle between preferred MP models 2018-05-28 20:54:09 +01:00
AIMultiplayer.cxx Generalise AI-model search ordering in AIBase 2018-05-23 09:46:05 +01:00
AIMultiplayer.hxx Generalise AI-model search ordering in AIBase 2018-05-23 09:46:05 +01:00
AIShip.cxx Generalise AI-model search ordering in AIBase 2018-05-23 09:46:05 +01:00
AIShip.hxx Generalise AI-model search ordering in AIBase 2018-05-23 09:46:05 +01:00
AIStatic.cxx Generalise AI-model search ordering in AIBase 2018-05-23 09:46:05 +01:00
AIStatic.hxx Generalise AI-model search ordering in AIBase 2018-05-23 09:46:05 +01:00
AIStorm.cxx Generalise AI-model search ordering in AIBase 2018-05-23 09:46:05 +01:00
AIStorm.hxx Generalise AI-model search ordering in AIBase 2018-05-23 09:46:05 +01:00
AITanker.cxx std:: namespace fixes, AIBase cleanup. 2013-03-28 16:49:52 +00:00
AITanker.hxx std:: namespace fixes, AIBase cleanup. 2013-03-28 16:49:52 +00:00
AIThermal.cxx Generalise AI-model search ordering in AIBase 2018-05-23 09:46:05 +01:00
AIThermal.hxx Generalise AI-model search ordering in AIBase 2018-05-23 09:46:05 +01:00
AIWingman.cxx Generalise AI-model search ordering in AIBase 2018-05-23 09:46:05 +01:00
AIWingman.hxx Generalise AI-model search ordering in AIBase 2018-05-23 09:46:05 +01:00
CMakeLists.txt CMake header support for XCode/Visual Studio 2011-07-19 07:58:03 +01:00
performancedata.cxx Compile AI wake numerical core in FG main executable. 2017-06-10 20:19:43 +02:00
performancedata.hxx Compile AI wake numerical core in FG main executable. 2017-06-10 20:19:43 +02:00
performancedb.cxx Work with new SGPath API. 2016-06-22 17:36:05 +01:00
performancedb.hxx Make PerformanceDB a real subsystem 2015-12-19 00:29:00 -08:00
submodel.cxx Build- and run-time concept of developer mode. 2017-02-27 23:37:59 +00:00
submodel.hxx submodel: Support <offsets> with <x-m>, <y-m>, and <z-m> 2015-05-28 10:43:06 +02:00