Added support for pruning old images, recording the Duration in the .osg file, and -o filename output support in osgimagesequence.
This commit is contained in:
@@ -104,7 +104,11 @@ int main(int argc, char **argv)
|
||||
// create a model from the images and pass it to the viewer.
|
||||
viewer.setSceneData(createModel());
|
||||
|
||||
//osgDB::writeNodeFile(*viewer.getSceneData(),"test.osg");
|
||||
std::string filename;
|
||||
if (arguments.read("-o",filename))
|
||||
{
|
||||
osgDB::writeNodeFile(*viewer.getSceneData(),filename);
|
||||
}
|
||||
|
||||
return viewer.run();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user