HI Mo,

If you want to use the result in a separate window/display you'll need
to copy the result back to an osg::Image and then use this image on
another texture on the other windows.  osg::Camera supports attaching
an osg::Image to it and will automatically copy the frame buffer(or
FBO) to the image, and osg::Texture* all are able to detect an update
to an osg::Image so will automatically download the result, so it's
possible to do this wiring up relatively easily, but.. performance
won't be great as it requires a round trip to the CPU/main memory.

Robert.

On Mon, Aug 30, 2010 at 3:20 PM, Mo Flanders <dreiun...@gmail.com> wrote:
> Hi,
>
> First of all, thank you for your prompt response. However another quick 
> question:
> Is it also possible to display both buffers based on RTT and stored in the 
> texture memory in different windows or on multiple displays?
>
> What I want to do:
> 1. Pre-Render the scene using FBOs
> 2. Store the color buffer and the appropriate render buffer in the texture 
> storage
> 3. Create 2 Windows with an Orthographic Camera
> 4. Display the Color Buffer and the Render Buffer on Planes
>
> ...
>
> Thank you!
>
> Cheers,
> Mo
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=31157#31157
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to