Hi,

start with osggameoflife, it has a simple ping-pong example.

jp

On 03/08/10 12:30, 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.

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

--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support.

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

Reply via email to