From Volker Walkiewicz (with tweaks from Robert Osfield):

Fix to the update of the error metrics on the edges in the simplification mesh that are affected by an edge collapse.

Addition of 'n' and 'p' keyboard control in osgsimplifier example to allow users to control the sample ratio manually.
This commit is contained in:
Robert Osfield
2005-09-28 16:05:35 +00:00
parent 3ef0406105
commit b38f491c12
3 changed files with 107 additions and 44 deletions

View File

@@ -36,8 +36,7 @@ class OSGUTIL_EXPORT Simplifier : public osg::NodeVisitor
void setMaximumError(float error) { _maximumError = error; }
float getMaximumError() const { return _maximumError; }
class ContinueSimplificationCallback : public osg::Referenced
{
public: