CompositeViewer support: Difference between revisions

Jump to navigation Jump to search
m
→‎Status: https://sourceforge.net/p/flightgear/mailman/message/37075206/
m (https://sourceforge.net/p/flightgear/mailman/message/37075206/)
m (→‎Status: https://sourceforge.net/p/flightgear/mailman/message/37075206/)
Line 72: Line 72:


{{Note|According to Richard, when testing the database pager extensively (running with 20 DB pager threads), the main problem is the way that random objects (buildings, vegetation) are inserted into the scene graph doesn't seem  to be compatible with lots of pager threads.<ref>https://sourceforge.net/p/flightgear/mailman/message/36536293/</ref>}}
{{Note|According to Richard, when testing the database pager extensively (running with 20 DB pager threads), the main problem is the way that random objects (buildings, vegetation) are inserted into the scene graph doesn't seem  to be compatible with lots of pager threads.<ref>https://sourceforge.net/p/flightgear/mailman/message/36536293/</ref>}}
In August 2020 Julian reported additional progress: He set things up so that one can 'clone' the current view using a key-press. This creates a new top-level view window with its own copy of the current view's camera projection matrix etc. The view is added to the CompositeViewer so it sees the same scene.
For now at least, cloned views' projection matrices don't change so the cloned views are completely independent from movement of the aircraft or changes to the main view. Eventually he would like to make them behave more dynamically, e.g. follow the aircraft if cloned from Helicopter View.
At the moment most of the scenery doesn't show up and the background colours are wrong, but this screen shot shows it working: http://op59.net/fg-cv.png
The cloned view on left was cloned from Pilot View when the aircraft was at the end of the runway. Since then the aircraft has been moved up the runway and is hovering. The cloned view on the right was cloned from a Tower AGL view of the hovering aircraft.<ref>https://sourceforge.net/p/flightgear/mailman/message/37075206/</ref>


{{See also|Draw masks}}
{{See also|Draw masks}}

Navigation menu