Hi, have a look at osghud example. It shows how to use postDrawCallbacks to save the rendered image into a file
-Nick On Fri, Jun 18, 2010 at 7:49 PM, Prakhar Jain <[email protected]>wrote: > [quote="Paul Martz"]Prakhar Jain wrote: > > > I wish to do a Render to Texture in which I have set the render target > for the camera to be an osg image. > > > > Is there a way by which I can know if the prerender pass has finished or > not ?. > > > > Attach a post-draw callback to the Camera. See the Camera header file. > > > > Thank you for the answers. How can I do this, can you give me a rough idea > ? > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=29159#29159 > > > > > > _______________________________________________ > 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

