[osg-users] Removing objects with shared GL state from scene graph

Robert Osfield robert.osfield at gmail.com
Fri Jul 26 03:30:39 PDT 2019


Hi Martin,

On Fri, 26 Jul 2019 at 11:12, Martin Siggel <martinsiggel+osg at gmail.com>
wrote:

> Yes, it's the standard manipulator. I am not sure though, if it keeps a
> direct reference or an indirect reference (via other nodes) to the camera.
>
> Still I noticed, if I keep a reference to the camera manipulator my viewer
> is not cleaned up correctly.
>

I'm afraid I'm not able to parse the above.  Do you have a ref_ptr<> to the
camera manipulator in your application outside of the View/Viewer handle to
it?  What CameraManipulator are you using?

Could you create a small example to illustrate this usage case?  I've been
reviewingan testing all the CompositeViewer/View and associated examples
today but haven't yet come across an example of usage case they is causing
the problems.

Robert.

Robert.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20190726/8014fb62/attachment.html>


More information about the osg-users mailing list