Show
Ignore:
Timestamp:
07/22/08 18:44:49 (6 years ago)
Author:
robert
Message:

Added support for pruning old images, recording the Duration in the .osg file, and -o filename output support in osgimagesequence.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgimagesequence/osgimagesequence.cpp

    r8657 r8660  
    105105    viewer.setSceneData(createModel()); 
    106106 
    107     //osgDB::writeNodeFile(*viewer.getSceneData(),"test.osg"); 
     107    std::string filename; 
     108    if (arguments.read("-o",filename)) 
     109    { 
     110        osgDB::writeNodeFile(*viewer.getSceneData(),filename); 
     111    } 
    108112 
    109113    return viewer.run();