It's a good starting point. You could add a viewpoint to the command line and set it on the camera manipulator, and you also probably want to wait for the database pager to finish up before taking a screenshot too. So just keep calling frame until viewer->getDatabasePager()->getRequestsInProgress() return false and then take the screenshot.
On Thu, Jul 27, 2017 at 8:40 AM gwaldron [via osgEarth] <[hidden email]> wrote:
No, but you might look into ScreenCaptureHandler in OSG's osgViewer library.
Hope this helps!
Glenn Waldron / Pelican Mapping
If you reply to this email, your message will be added to the discussion below: