Hello,
I need to retrieve the current contextID or the contextID that a
Viewer is working on, how do I do it?
I saw in the documentation that one should retrieve the SceneView but
it doesn't say how / from where, and I couldn't
figure it out, as far a I could see osg::View and its subclasses
doesn't have such a getSceneView() method
or similar. I saw that there were some posts about how to retrieve the
context from a camera but that seemed
to be more of an hack than the actual "standard" way so if possible I
would like to avoid that solution.
So, what is the clean and mean way of retrieving the SceneView given
an osgViewer::Viewer?

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

Reply via email to