Canvas troubleshooting: Difference between revisions

Jump to navigation Jump to search
Line 691: Line 691:
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
osgUtil::Simplifier simplifier;
osgUtil::Simplifier simplifier;
simplifier->setSampleRatio(0.7f);
simplifier->setSampleRatio(0.7f); // simplify down to 70%
simplifier->setMaximumError(3.0f);
simplifier->setMaximumError(3.0f);


Navigation menu