Hi Vincent,

I would propose to change colors in a shader, this would be the simplest way. 
Just take the osgPPU, with following structure: Processor->UnitInOut (here is 
your shader) -> UnitOutCapture (this will write the .png files). Should be very 
easy.

Other way would be to take the picture of the rendered camera and to apply the 
shader on it, by rendering screen size aligned quad with appropriate shader 
(the same what osgPPu does ;) ).

And the non-efficientest way would be just to scan through all your pixels on 
the CPU and just change the colors in the way you need them.

cheers,
art

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=7200#7200





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to