CompositeViewer support: Difference between revisions

Jump to navigation Jump to search
 
Line 101: Line 101:
* Video showing extra view windows and initial implementation of Canvas View: [http://op59.net/cvcanvas-demo.ogv cvcanvas-demo.ogv]
* Video showing extra view windows and initial implementation of Canvas View: [http://op59.net/cvcanvas-demo.ogv cvcanvas-demo.ogv]
* When enabled, CompositeViewer requires OpenSceneGraph-3.6 to work well.
* When enabled, CompositeViewer requires OpenSceneGraph-3.6 to work well.
* Extra view windows:
* For more details see: [[ExtraViewWindows]]
** Can be created using new View menu items to clone the current view or take eye/target points from two earlier views. This seems to be convenient and avoids the need for a separate dialogue box or similar.
** Can be created using XML. See detailed docs for '''SviewCreate()''' in https://sourceforge.net/p/flightgear/flightgear/ci/next/tree/src/Viewer/sview.hxx.
** Can be resized.
** Can be panned.
** No support for zoom yet.
** Can clone all existing views.
** One can create an extra view window that keeps two aircraft in view with one in the foreground. E.g. see this video from 2020-9-6 (prior to getting textures working): http://op59.net/fg-cv-demo3.mpeg
** One can create an extra view window that uses the eye points from two recent views as eye and target. For example this allows a window to show a view from one aircraft to another.
** There doesn't seem to be any noticeable speed penalty if no extra view windows are opened.
** Use a new view system called Sview (step view), which allows multiple instances and dynamic specification of eye and target points.
* CompositeViewer support will allow us to render a view to a canvas and implement things like rear-view mirrors etc - see: [[Canvas_View_Camera_Element]].
* CompositeViewer support will allow us to render a view to a canvas and implement things like rear-view mirrors etc - see: [[Canvas_View_Camera_Element]].


219

edits

Navigation menu