[osg-users] Multiple GraphicsContexts
robert.osfield at gmail.com
Tue Sep 11 04:44:28 PDT 2007
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 <john.donovan at embryonicstudios.com> 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!
> 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
> osg-users at lists.openscenegraph.org
More information about the osg-users