Hi,
to do a post-processing effect without using Render To texture, I know two
choices.
First, you can implemented your own effect with osgFX (see osgFX::Cartoon).
Or, in your scene graph, you add a quad (with an orthogonal projection
before) at the end, and create your drawable::callback. In the
drawImplementation method, you can do an osg::Image->readPixels(), to fill
your texture, before calling the drawable->drawImplementation().
I hope this can help you
good luck

2007/7/16, Andreas Hollmann <[EMAIL PROTECTED]>:

I need to implement post process effect.

I have to change the color of rendered picture depending on the depth
buffer.  So I wrote shader for my post process, but as input it needs the
rendered image and depth buffer.

Is there some another technique to render post process as differing
shading?

I looked at osg prereder and reflection examples, but I do not have real
strategy. :-(

Help!!!
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066

_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to