Hi Martin, I coded up a solution using the handlers and submitted it to Robert. You can find it on the osg-submissions list. Maybe take a look at it and see how it compares to what you've done. What I did was basically replicate what was in the osgkeyboardmouse example into osgviewer.
Thanks. chuck > -----Original Message----- > From: [email protected] [mailto:osg-users- > [email protected]] On Behalf Of Martin Beckett > Sent: Thursday, March 04, 2010 5:48 PM > To: [email protected] > Subject: Re: [osg-users] OSGViewer 'o' save scene key removed? > > Hi, > I coded something to do this as a test of writing handlers > > It's probably not the best solution - the keyboardhandler example > describes using a single handler with loadable functions mapped to each > key. > > But this does work and should get you started. > It saves the entire scene with a filename which increments with each > save. > > Cheers, > Martin > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=25218#25218 > > > > > Attachments: > http://forum.openscenegraph.org//files/keysavehandler_394.h > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users- > openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

