Hi Phil, Creating a pbuffer context and then rendering a single frame to this should work just fine. You can create the viewer, then just run one frame and then let it destruct.
Robert. On Thu, Apr 24, 2008 at 9:48 PM, Tessier, Philip <[EMAIL PROTECTED]> wrote: > > > > All, > > I was able to use the osgprerender example to obtain most of what I need - > the rendering of a scene into an osg::Image. As that's ALL I want, I need > help with a tweak to it. It uses a viewer.run() to do the work. I've > replaced this with a viewer.frame(). This produces a flicker on the screen > as the viewer realizes the frame. As I'm interested in an off-screen grab, > this is annoying. > > I'm reasonably sure that I don't want a viewer at all, but I don't know what > to simplify it to. > > Thanks, in advance, > Phil > > Philip A. Tessier > Northrop Grumman IT > [EMAIL PROTECTED] > 210-867-6775 > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org