I am using different graphics contexts simply because I want to display
the texture(s) in a separate window from the window in which my original
scene is rendered. Is it possible to have 2 windows which share the
same context, but have different scenegraphs? How would I create the
shared context?
CD
On 2014-03-21 12:17, Robert Osfield wrote:
On 21 March 2014 15:59, Conan <[email protected]> wrote:
I have a RTT camera which renders to texture using graphics context
1. Can I render this texture on quad in graphics context 2?
If you explictly create the graphics contexts so they are shared you
can share texture objects, however, to do this you have make sure that
the two graphics contexts are syncronized so that they never
read/write to the same GL objects at the same time, which for
practically purposes means running them in single threaded.
RTT Texture are best managed within the same context as the texture
will be used.
Robert.
_______________________________________________
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