Hi Aviral,
On 2/28/2014 4:36 AM, Aviral Goel wrote:
But the callback doesn't get executed.
I have 2 questions -
1) what am I doing wrong
2) Is this the preferred way to get the snapshot of the scene
You may want to look at osgViewer::ScreenCaptureHandler available in the
osgViewer/ViewerEventHandlers header and implemented in
osgViewer/ScreenCaptureHandler.cpp.
Regards,
Judson
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org