Hi,

I'm trying to cupture screenshot with the following code:


Code:

osgViewer::ScreenCaptureHandler* scnsvr;
scnsvr = new osgViewer::ScreenCaptureHandler();

osgViewer::ViewerBase* viewer = _viewer->getViewerBase();
_scnsvr->captureNextFrame(*viewer);




I would like to do the following:

1) To disable static counter on the output file name and alway overwrite the 
last file.

2) Save this file in custom path on hard drive.

How can set these option to ScreenCaptureHandler?


Thank you!

Cheers,
Danny

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=25423#25423





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to