Hi sajjad, Take a look to osgPPU <http://projects.tevs.eu/osgppu> done by Art Tevs. This is a nodeKit to do want you want. Some example show you how to use it. To blur the just the half of the scene, you can use the windows coordinate available in fragment shader.
HTH David Calu 2010/11/24 Sajjad <[email protected]> > Hello forum, > > I already have scene that i want to render to an FBO-attached texture and > run that texture through a fragment shader that applies a image > processing(blurring) to the half of the scene. Then with a particular key > press event the processed image(half of the scene) will go through several > passes of blurring operation. > > > At last the two color outputs - one half - the original scene and the > other half - the blurred part with one/several passes of blurring > operation, from the fragment shader are mapped to an FBO with two color > attachments. The two textures with two different framebuffer effects are ten > tiled a final pass to the window after unbinding the fbo. > > > Which examples demonstrate the scenario that i am trying get? > > > Thanks > Sajjad > > _______________________________________________ > 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

