Canvas troubleshooting: Difference between revisions

Jump to navigation Jump to search
m
Line 464: Line 464:
Once a complex Canvas texture (MFD) has been set up, the following patch can be used for invoking osgUtil::Optimizer() to finalize and optimize the scene graph:
Once a complex Canvas texture (MFD) has been set up, the following patch can be used for invoking osgUtil::Optimizer() to finalize and optimize the scene graph:


<syntaxhighlight lang="diff">
</syntaxhighlight>
=== Experimenting with Osg::Simplifier  ===
We can extend each Canvas element inheriting from the CanvasElement  base class to have its own osg::Simplifier sub-class implementing 2D simplification using CGAL.
Such nodes (CanvasGroups) could in turn be used for procedurally creating LOD nodes for different viewer distances.
<syntaxhighlight lang="diff">
<syntaxhighlight lang="diff">
</syntaxhighlight>
</syntaxhighlight>

Navigation menu