Hi Trystan,

On 22 May 2012 17:35, Trystan Larey-Williams <[email protected]> wrote:
> So, this seems to confirm that the FBO I had the texture attached to for the 
> render is indeed released before the callback. It would save a lot of hassle 
> if the one of the DrawCallbacks could be invoked while the render targets for 
> the camera were still intact. But I assume there's some reason for the 
> current behaviour. Anyone venture a guess?

At a high level the OSG state is managed in way that is relatively
self contained without state bleeding out from one operation to the
next.  In your particular usage pattern it might not be the 100% most
convenient thing for the OSG to do, but what you are doing is very
niche, the OSG can't handle everyone niche requirements in the more
effortless way, such a utopia is an impossibility.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to