Hi Sajjad, it seem that osgPPU don't find osg library. You have to define the OSG_DIR environment variable on the OSG directory path and be sure this directory have a "lib" directory with osg libraries inside.
You can also precise OSG libraries path directly in cmake. About osgstereomatch, I can't answer you now, need to dig the code and don't have the time before this week end. If anyone can answer on this, he is welcome ... HTH David 2010/11/25 Sajjad <[email protected]> > Hello David, > > Thanks for the link. But failed to compile the source , the error fro the > cmake is : > > ***********************************************' > -- Detectd OpenSceneGraph v2.8.3. > -- Plugins will be installed under osgPlugins-2.8.3 directory. > CMake Error: The following variables are used in this project, but they are > set to NOTFOUND. > Please set them or make sure they are set and tested correctly in the CMake > files: > OPENTHREADS_LIBRARY_RELEASE > linked by target "osgppu_hdr" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/hdr > linked by target "osgppu_viewer" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/viewer > linked by target "osgppu_dof" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/dof > linked by target "osgppu_cubemap" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/cubemap > linked by target "osgppu_texture3D" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/texture3D > linked by target "osgppu_video" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/video > linked by target "osgppu_ssao" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/ssao > linked by target "osgppu_glow" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/glow > linked by target "osgPPU" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/osgPPU > linked by target "osgdb_ppu" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/osgPlugins/osgPPU > OSGDB_LIBRARY_RELEASE > linked by target "osgppu_hdr" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/hdr > linked by target "osgppu_viewer" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/viewer > linked by target "osgppu_dof" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/dof > linked by target "osgppu_cubemap" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/cubemap > linked by target "osgppu_texture3D" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/texture3D > linked by target "osgppu_video" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/video > linked by target "osgppu_ssao" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/ssao > linked by target "osgppu_glow" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/glow > linked by target "osgPPU" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/osgPPU > linked by target "osgdb_ppu" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/osgPlugins/osgPPU > OSGGA_LIBRARY_RELEASE > linked by target "osgppu_hdr" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/hdr > linked by target "osgppu_viewer" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/viewer > linked by target "osgppu_dof" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/dof > linked by target "osgppu_cubemap" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/cubemap > linked by target "osgppu_texture3D" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/texture3D > linked by target "osgppu_video" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/video > linked by target "osgppu_ssao" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/ssao > linked by target "osgppu_glow" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/glow > OSGTEXT_LIBRARY_RELEASE > linked by target "osgppu_hdr" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/hdr > linked by target "osgppu_viewer" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/viewer > linked by target "osgppu_dof" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/dof > linked by target "osgppu_cubemap" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/cubemap > linked by target "osgppu_texture3D" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/texture3D > linked by target "osgppu_video" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/video > linked by target "osgppu_ssao" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/ssao > linked by target "osgppu_glow" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/glow > linked by target "osgPPU" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/osgPPU > linked by target "osgdb_ppu" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/osgPlugins/osgPPU > OSGUTIL_LIBRARY_RELEASE > linked by target "osgppu_hdr" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/hdr > linked by target "osgppu_viewer" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/viewer > linked by target "osgppu_dof" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/dof > linked by target "osgppu_cubemap" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/cubemap > linked by target "osgppu_texture3D" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/texture3D > linked by target "osgppu_video" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/video > linked by target "osgppu_ssao" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/ssao > linked by target "osgppu_glow" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/glow > linked by target "osgPPU" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/osgPPU > linked by target "osgdb_ppu" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/osgPlugins/osgPPU > OSGVIEWER_LIBRARY_RELEASE > linked by target "osgppu_hdr" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/hdr > linked by target "osgppu_viewer" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/viewer > linked by target "osgppu_dof" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/dof > linked by target "osgppu_cubemap" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/cubemap > linked by target "osgppu_texture3D" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/texture3D > linked by target "osgppu_video" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/video > linked by target "osgppu_ssao" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/ssao > linked by target "osgppu_glow" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/glow > OSG_LIBRARY_RELEASE > linked by target "osgppu_hdr" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/hdr > linked by target "osgppu_viewer" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/viewer > linked by target "osgppu_dof" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/dof > linked by target "osgppu_cubemap" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/cubemap > linked by target "osgppu_texture3D" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/texture3D > linked by target "osgppu_video" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/video > linked by target "osgppu_ssao" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/ssao > linked by target "osgppu_glow" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/example/glow > linked by target "osgPPU" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/osgPPU > linked by target "osgdb_ppu" in directory > /home/sajjad/Downloads/osgPPU/osgPPU-0.4.0/src/osgPlugins/osgPPU > > -- Configuring incomplete, errors occurred! > > > ************************************************** > > > Sorry for this lengthy paste. I know that this forum is not meant for > osgPPU. > > > Could have been better if you know some examples within the osg main > repository. > > > Going thruough the osgstereomatch example and i am not sure if this example > provide the hints i am looking for. > > > > Regards > Sajjad > > > On Thu, Nov 25, 2010 at 12:01 AM, David Callu <[email protected]> wrote: > >> 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 >> >> > > _______________________________________________ > 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

