Re: [osg-users] [osgPPU] Very basic example ?

2011-10-03 Thread Aurelien Albert
Currently, I have this code. I try to do a simple operation : invert Red and Green color components, but I get only a black screen. Could anyone help me ? Thanks. Code: // Configure Camera p_osgCamera-setRenderTargetImplementation(osg::Camera::FRAME_BUFFER_OBJECT);

Re: [osg-users] [osgPPU] Very basic example ?

2011-10-03 Thread Aurelien Albert
Ok, I found the solution... An error in my shader code :-* -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=43164#43164 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] [osgPPU] Very basic example ?

2011-10-01 Thread Aurelien Albert
Hi, After 2 days playing with osgPPU exmaples, I stil did not succeed to do a very basic PPU unit... Is there any very basic example for osgPPU ? Something like : * create PPU * add PPU unit which use a shader for a very basic operation (like switch red and green color components) * attach