OpenSceneGraph/applications
Robert Osfield cad2f6d4fc From Jean-Sebastien Guay, "Changes attached so that the CaptureOperation is passed in the constructor of the ScreenCaptureHandler (default 0 = default CaptureOperation). This way, you can do:
viewer.addEventHandler(new osgViewer::ScreenCaptureHandler(
   new osgViewer::WriteToFileCaptureOperation("filename", "jpg")));

and the filename will be what you want. The WriteToFileCaptureOperation will add the context ID and the file number (if in SEQUENTIAL_NUMBER mode) to the file name.

(The attached also clarifies some notify messages, and corrects the comment when adding the handler in osgviewer.cpp)

I also remembered, the current architecture could allow a different CaptureOperation for each context, but currently the API only allows setting one CaptureOperation for all contexts. This could be improved if need be.

"
2008-07-21 21:28:48 +00:00
..
osgarchive From Rainer Oder, removed duplicate conditional 2008-01-28 20:27:33 +00:00
osgconv Added --plugins and --formats query support into osgconv to help with querying the 2008-07-14 20:22:38 +00:00
osgfilecache Fixed lat/long ordering 2008-05-13 18:28:26 +00:00
osgversion Updated version and AUTHORS.txt for 2.5.5 release 2008-07-17 14:25:04 +00:00
osgviewer From Jean-Sebastien Guay, "Changes attached so that the CaptureOperation is passed in the constructor of the ScreenCaptureHandler (default 0 = default CaptureOperation). This way, you can do: 2008-07-21 21:28:48 +00:00
CMakeLists.txt Initial cut of file cache population app 2008-05-09 17:08:31 +00:00