[osg-users] How can I render to two textures by turns?

J.P. Delport jpdelport at csir.co.za
Sun Sep 28 23:56:40 PDT 2008


the attached example shows a simple way to do this.

Also search the list for osgPPU.


Lilinx wrote:
> hi,
>    how can I do this ?
>         1;  render to texture A;
>         2:  textureA  render to textureB;
>         3.  textureB  render back to textureA
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: osgpingpong.zip
Type: application/zip
Size: 7518 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080929/b2d7d4c2/attachment-0003.zip>

More information about the osg-users mailing list