Hi Marco, We are doing this exact thing. We currently are creating an image that is 2 times as big as the desktop resolution. Basically we do the following:
1) get the camera settings of the current sceneview camera (clearcolor,transform order,viewmatrix,frustum etc). 2) calculate frustum values for breaking the scene into 4 quadrants that tile the original camera frustum 3) create a camera node for each quadrant with an image as an attachment and the node to render as a subgraph of each camera, setting the props from the old camera on each new camera (RenderTarget == FRAME_BUFFER_OBJECT, RenderOrder==POST_RENDER,attach image to COLOR_BUFFER) 4) add the cameras to a group node (top level node) 5) render the top level node with sceneview (update,cull,draw) 6) use image->copySubImage with the appropriate dimensions and offsets to assemble the total hires image from the 4 tiles. 7) write image out to file Works pretty well for us. Of course you'll have to set the sceneview scenedata back to it's original node but other than that, there weren't any "sticky" points. biv On 8/30/07, Marco Fiocco <[EMAIL PROTECTED]> wrote: > > Hi all, > I want to save in a file a rendering with a resolution that could exceed > the screen resolution. > I guess that I have to tile it in a way similar to the osgwindows example, > but then i have to combine the tiles in one big image to save. > Is there something already done to do this fusion? > > Thanks > Marco > > _______________________________________________ > 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

