Hi, More odd questions connected to my Oculus integration.
Is there a simple way to detect when the osg::viewer is ordered to close? I need to execute some Oculus related code before the OpenGL context is closed. So what I am looking for is some form of opposite of viewerBase.setRealizeOperation() function. My first idea was to subclass the osg::GraphicContext class and run my own custom destructor before the default constructor. But that idea is a no go, because the OS dependent windowing APIs are already implemented as subclasses to osg::GraphicContext. Best regards Björn ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=64814#64814 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

