Canvas scenery overlays: Difference between revisions

Jump to navigation Jump to search
Line 338: Line 338:




If you want to apply effects to other kinds of models, you would need to generalie MakeEffectVisitor "in both directions." StateSet objects can appear in any scene graph node and also in the Geometry nodes that sit below osg::Geode. A more general effects visitor needs to track the graphics state as it traverses the scene graph and also needs to examine the geometry. Effects sit at the Geode level. <ref>{{cite web
If you want to apply effects to other kinds of models, you would need to generalize MakeEffectVisitor "in both directions." StateSet objects can appear in any scene graph node and also in the Geometry nodes that sit below osg::Geode. A more general effects visitor needs to track the graphics state as it traverses the scene graph and also needs to examine the geometry. Effects sit at the Geode level. <ref>{{cite web
   |url    =  https://sourceforge.net/p/flightgear/mailman/message/26794801/  
   |url    =  https://sourceforge.net/p/flightgear/mailman/message/26794801/  
   |title  =  <nowiki> Re: [Flightgear-devel] Comments and questions about model loading,
   |title  =  <nowiki> Re: [Flightgear-devel] Comments and questions about model loading,

Navigation menu