1
0
Fork 0
flightgear/src
Richard Harrison c99ea20883 LOD ranges rework.
Rework the LOD ranges.

1. The scenery ranges are now deltas (avoids overlapping values)
2. The AI/MP pixel mode now has a default radius that is 20 for Aircraft, 200 for ships, 350 for carriers. This is a simple constant in a virtual function.
3. Added the ability to set the AI/MP ranges equal which means use the low detail model.
4. Changed high detail only to be indicated by a -ve number in maxRangeDetail
5. Re-ordered the range list to go from lowest detail at [0] to highest detail at the end. This is because OSG always loads the models starting from zero on the assumption that the detail increases with the index.

This fixes the pixel mode, which previously would use the radius of the parent which would be confusingly large, and unrelated to the actual size of the model. With the simple defaults that we have the pixel values set in the ranges won't exactly match the rendered size of the model on screen, but it will be a lot closer and more importantly meaningful.
2018-10-30 21:05:55 +01:00
..
Add-ons TestSuite: Migration of the Add-ons management unit tests. 2018-03-23 17:26:05 +01:00
AIModel LOD ranges rework. 2018-10-30 21:05:55 +01:00
Aircraft Whoops, fix a bad typo. 2018-09-15 10:57:02 +01:00
Airports Crash fix: warn doing fallback for heliport runways 2018-09-10 10:44:49 +01:00
ATC One more ATC text formatting fix 2018-04-09 09:33:28 +01:00
Autopilot Route-manager: expose new flight-plan values 2018-10-12 15:27:51 +01:00
Canvas canvas GUI: Cleanup and trigger dragstart/end events 2018-02-25 14:59:56 +01:00
Cockpit Unify SGGeodVec definition 2018-08-29 14:55:23 +01:00
EmbeddedResources fgrcc: use octal escape sequences instead of hexadecimal ones 2018-01-19 08:12:24 +01:00
Environment Change CAVOK visibility to 9999.0 metres 2018-09-29 12:47:29 +01:00
FDM New features for JSBSim (not to be included in release 2018.3) 2018-10-28 16:16:20 +01:00
GUI Launcher: fix a bug when using MP server 0 or 1 2018-10-25 12:10:42 +01:00
Include Disabling translations is tricky. 2018-08-28 17:12:31 +01:00
Input Fix for jumping view when right-dragging 2018-10-24 22:16:51 +01:00
Instrumentation Bug Fix #1999 missing "break"-s. 2018-09-28 00:24:58 -05:00
Main XLIFF: Fix loading of indexed strings 2018-10-13 21:22:18 +01:00
Model Model relative property tree root binding. 2017-07-05 11:37:17 +02:00
MultiPlayer Fix crash on invalid(?) fallback model id. 2018-08-25 18:43:05 +05:00
Navaids Bugfix: fix range/ident priority of loaded wpts 2018-10-08 16:40:25 +01:00
Network Switch next to use trunk aircraft catalog 2018-10-23 12:08:28 +01:00
Radio Adapt includes according to relocation of SimGear's iostreams-related files 2017-02-12 21:30:51 +01:00
Scenery LOD ranges rework. 2018-10-30 21:05:55 +01:00
Scripting Fix for a flight-plan / delegate crash 2018-09-07 15:17:55 +01:00
Sound Detect AeonWave and if it is installed use it, otherwise fall back to OpenAL. Also let get_available_devices() use C++ strings instead of const char* 2018-06-02 14:06:36 +02:00
Systems Electrical system: cache property nodes 2018-09-10 10:45:58 +01:00
Time Added time statistics for the simulation host. 2018-09-02 13:47:55 +02:00
Traffic camelCase identifier in code and hyphenated property names. Suffix "-sec" is used because it complies to other timestamp properties in the property tree. Suffix "utc" is not used because the property just reflects an internal value used by the AI system. Whether it is UTC (currently it is) is up to the AI system and cannot be defined by the property name. 2018-04-24 09:54:35 +02:00
Viewer PUI: change alpha composition mode. 2018-10-25 00:04:54 +01:00
CMakeLists.txt Improved infrastructure for add-ons: C++ classes, metadata file, Nasal interface 2017-12-08 00:36:41 +01:00