20,741
edits
No edit summary |
No edit summary |
||
Line 25: | Line 25: | ||
--> | --> | ||
For the time being, FlightGear only supports one view position at a time. Multiple independent view positions (e.g. one screen for the tower view and a second screen for the plane) would complicate a "locked to cache" flag quite a lot...<ref>http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg28864.html</ref>. | For the time being, FlightGear only supports one view position at a time. Multiple independent view positions (e.g. one screen for the tower view and a second screen for the plane) would complicate a "locked to cache" flag quite a lot...<ref>http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg28864.html</ref>. | ||
A number of contributors <ref>https://sourceforge.net/p/flightgear/mailman/message/30235494/</ref> have been pointing out that the way we do the tile cache [with a single viewer] is not optimal. Apparently we cache all scenery up to twice the visibility range, and not doing so would save us half the memory at the expense of more hard disk operations when back-tracking on the course and not having tower view available when the plane is far from the tower. Old tiles being cached are a problem when terrain becomes a main memory occupant. The advantage of the tile cache for back-tracking is minimal, very few flights to that regularly, and tower view from large distance is useless, the plane is a dot, and basically unsupported by many features<ref>https://sourceforge.net/p/flightgear/mailman/message/31981615/</ref> | |||
Ideally we would throw out the tile-cache and let the OSG DB-Pager handle all this - Mathias has even done some work towards that solution, and the osgEarth renderer does something similar <ref>https://sourceforge.net/p/flightgear/mailman/message/31981671/</ref> | |||
Aircraft can define their own views and so on. But only one view can be active at a time. So no matter how many windows and cameras you define in [[Defaults.xml]], they all are relative to the current view in FG (i.e. cockpit, tower...). <ref>http://forum.flightgear.org/viewtopic.php?p=146136#p146136</ref> | Aircraft can define their own views and so on. But only one view can be active at a time. So no matter how many windows and cameras you define in [[Defaults.xml]], they all are relative to the current view in FG (i.e. cockpit, tower...). <ref>http://forum.flightgear.org/viewtopic.php?p=146136#p146136</ref> |