Hi John, What you need is to use osgViewer rather than mess around managing SceneView & RenderSurfaces yourself, it'll take me work to tell you how to do the later safely than to complete osgViewer...
The hitch is that osgViewer isn't complete yet, and only properly functionality under X11 so far - I'm waiting on GraphicsWindowWin32 & Cocoa to arrive for use to provide full cross platform support. If you can bide your time then do so, it'll save you a lot of time and heart ache. Robert. On 1/5/07, Argentieri, John-P63223 <[EMAIL PROTECTED]> wrote:
Robert and Gang, I seem to remember you mentioning the use of a sceneview object within an opengl app that has been setup without using a rendersurface, using standard opengl techniques. Could anyone point me in the right direction to an example of this technique? The reason that I ask is that rendersurface's thread is giving me troubles when I close a window in a multiple viewport/window setup. Perhaps I can allocate the rendersurface on the stack? When I allocate it on the heap, it's not cleaning up properly. Perhaps I should be using Producer's ref_ptr object with it? I can't have memory allocation continually increase as user creates and destroys views. Thanks for your input.. Your pal, John _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
