If you wish to reuse texture objects generated by one context then you
need to share the various contexts with each other.  You can set this
via the GraphicsContext::Traits::sharedContext variable.

On 9/11/07, John Donovan <[EMAIL PROTECTED]> wrote:
> Is it possible to have a viewer with a RTT camera render with one
> GraphicsContext, then to use that texture with another viewer and a different
> GraphicsContext? It works ok if all the cameras use the same GC.
> What I'm aiming for is to render to texture in a completely offscreen buffer,
> then use that texture in a different scenegraph with a different 
> GraphicsContext.
> I'm just in the process of upgrading to the latest SVN, but do we have an
> estimated release date for 2.2? I've been out of the OSG loop for a while, but
> I'm really impressed with what's happened over the past 12 months or so. Keep
> up the good work!
>
> -J
>
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to