Changes

Jump to navigation Jump to search
m
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, a View and 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.
+
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 ==

Navigation menu