20,741
edits
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 465: | Line 465: | ||
* LOD ranges etc. <ref>https://forum.flightgear.org/viewtopic.php?f=71&t=32845&p=318027&hilit=canvas+draw+masks#p318028</ref> | * LOD ranges etc. <ref>https://forum.flightgear.org/viewtopic.php?f=71&t=32845&p=318027&hilit=canvas+draw+masks#p318028</ref> | ||
Simplifying a lot, this Canvas Element would be an aggregation of a Compositor instance | Simplifying a lot, this Canvas Element would be an aggregation of: | ||
* a Compositor instance | |||
* a View | |||
* a pointer to a <tt>osg::Group</tt> representing the scene graph to render. | |||
This setup could be replicated in {{flightgear file|src/Viewer/fg_os_osgviewer.cxx}}, with the difference of ignoring Canvas and using native windowing features from OSG. | |||
== Related == | == Related == |