Canvas view camera element: Difference between revisions

Jump to navigation Jump to search
m
→‎Use CompositeViewer: this is also underway
m (→‎Use CompositeViewer: this is also underway)
Line 442: Line 442:
=== Use CompositeViewer ===
=== Use CompositeViewer ===
{{Progressbar|80}} {{See also|CompositeViewer Support}}  
{{Progressbar|80}} {{See also|CompositeViewer Support}}  
 
<small>
Currently FlightGear uses only one instance of <tt>osg::Viewer</tt>, which is used by CameraGroup to manage the slave cameras. Supporting CompositeViewer would require modifying {{flightgear file|src/Viewer/fg_os_osgviewer.cxx}} and creating some kind of wrapper class that manages the CompositeViewer instance and assigns a CameraGroup to each <tt>osg::View</tt>. It's also important to note that currently all FG subsystems assume there is a single instance of [[Howto:CameraGroup talks|CameraGroup]].
Originally, FlightGear only used one instance of <tt>osg::Viewer</tt>, which is used by CameraGroup to manage the slave cameras. Supporting CompositeViewer did require modifying {{flightgear file|src/Viewer/fg_os_osgviewer.cxx}} to create some kind of wrapper class that manages the CompositeViewer instance and assign a CameraGroup to each <tt>osg::View</tt>. It's also important to note that currently all FG subsystems assume there is a single instance of [[Howto:CameraGroup talks|CameraGroup]].</small>


=== Standardize the [[View manager]]  ===
=== Standardize the [[View manager]]  ===

Navigation menu