Hi Fabian, Creating a pbuffer or fbo is straight forward, have a look at the osgprerender and osgscreencaptures for various takes on doing this.
Robert. On Thu, Aug 7, 2008 at 10:58 AM, Fabian Bützow <[EMAIL PROTECTED]> wrote: > Hello everybody, > > 1) im new to osg, hello ;) > > 2) i want to compute an average image out of several camera images. > > My plan is using glsl: > draw the cam image as a texture to a screen-filling rectangle, set > orthographic projection. > render the rectangle several times, and divide the pixels by the number of > render passes in the fragment shader. > The results of the render passes need to be saved & added up in a > pixelbuffer. > > question: how can i render to the pixelbuffer? (and is the plan ok? ;)) > And is there something like a pixelbuffer? > > i looked through several mailinglist posts, but found nothing concrete, and > no tutorial at all concerning the buffer question.. > so pls help! > > cheers, > Fabian > > _______________________________________________ > 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

