Canvas view camera element: Difference between revisions

m (→‎Create a Canvas Element subclass: + per-view/camera frame throttling comments)
Line 446: Line 446:


=== Standardize the View manager  ===
=== Standardize the View manager  ===
{{Note|As of 11/2020, Jules has already created a custom view manager implementation (see {{flightgear file|src/Viewer/sview.cxx}}) that supports multiple independent instances, so this step might be obsolete by now.}}
{{Note|As of 11/2020, Jules has already created a custom view manager implementation [[StepView]] that supports multiple independent instances, so this step might be obsolete by now.}}


<small>The first step would be to port the view code to SimGear so it can be used and known by the Compositor and Canvas. The view manager ({{flightgear file|src/Viewer/viewmgr.cxx}}) currently has some hardcoded assumptions, so it would either need to be rewritten to remove them or a new interface for the Views could be created specifically for the Canvas Camera View.
<small>The first step would be to port the view code to SimGear so it can be used and known by the Compositor and Canvas. The view manager ({{flightgear file|src/Viewer/viewmgr.cxx}}) currently has some hardcoded assumptions, so it would either need to be rewritten to remove them or a new interface for the Views could be created specifically for the Canvas Camera View.