Added LODScaleHandler

This commit is contained in:
Robert Osfield
2008-02-28 20:02:43 +00:00
parent 1dfffc0494
commit ca513efc1d
3 changed files with 94 additions and 5 deletions

View File

@@ -118,6 +118,9 @@ int main(int argc, char** argv)
// add the record camera path handler
viewer.addEventHandler(new osgViewer::RecordCameraPathHandler);
// add the LOD Scale handler
viewer.addEventHandler(new osgViewer::LODScaleHandler);
// load the data
osg::ref_ptr<osg::Node> loadedModel = osgDB::readNodeFiles(arguments);
if (!loadedModel)