On Tue, 2010-08-03 at 12:30 +0200, Honnet Vincent wrote: > Hi, > > I'm a new in using OpenSceneGraph, so if this problem was already > solved, please send me the link. But I didn't find anything that could > help me from the archive. > > My problem is the following: > > I would like to: > 1- initialize the texture 0 > 2- modify the texture 1 by using the data from the texture 0 > 3- render texture 1 through a shader > 4- put the texture 1 into the texture 0 (switching the buffers actually) > 5- return to step 2 > this is like updating a texture from its old state. > > I'm currently having a look to demo "osgmultiplerendertargets" but I'm > not used enough with osg to understand everything or/and to modify it so > that I get the process I need.
I can't be 100% sure, but this sounds like a job for osgPPU. :) If I'm not mistaken, this is exactly the kind of thing it purports to do (and more). > Could someone help me ? > Thanks in advance, regards, > Vincent > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- Follow us on Twitter! http://twitter.com/emperorlinux EmperorLinux, Inc. http://www.emperorlinux.com 1-888-651-6686 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

