Canvas view camera element: Difference between revisions

m
→‎Create a Canvas Element subclass {{Pending}}: reorder: first scenegraph, then view ... i.e. aircraft-specific views don't make sense for a non-aircraft scenegraph (think ADI ball)
m (→‎Create a Canvas Element subclass {{Pending}}: begin incorporating early findings based on testing CV+CanvasView)
m (→‎Create a Canvas Element subclass {{Pending}}: reorder: first scenegraph, then view ... i.e. aircraft-specific views don't make sense for a non-aircraft scenegraph (think ADI ball))
Line 457: Line 457:
This derived class would require the following configuration:
This derived class would require the following configuration:
* [[Compositor]] to use.
* [[Compositor]] to use.
* Scene graph to use. By default the main scene graph would be used, but an arbitrary XML file can be loaded to [[Howto:Extending Canvas to support rendering 3D models|render a custom model]]. A typical use-case would be instruments that need to [[Shuttle ADI ball|manipulate/render a 3D object]] (for which we have working code, too)
* [[View manager|View]] to use. This could be one of the "main" ones (i.e. the ones on the main property tree), or a locally-defined one that is only known to this Canvas Element (think FLIR).
* [[View manager|View]] to use. This could be one of the "main" ones (i.e. the ones on the main property tree), or a locally-defined one that is only known to this Canvas Element (think FLIR).
* Scene graph to use. By default the main scene graph would be used, but an arbitrary XML file can be loaded to [[Howto:Extending Canvas to support rendering 3D models|render a custom model]]. A typical use-case would be instruments that need to [[Shuttle ADI ball|manipulate/render a 3D object]] (for which we have working code, too)
 
* Several optimization/miscellaneous parameters like:
Several optimization/miscellaneous parameters like:
* framerate cap
* framerate cap
* [[Draw masks|node masks]]
* [[Draw masks|node masks]]