Re: [osg-users] Open/Close the window on win32

2008-09-11 Thread christophe loustaunau
Hello, This is something I'd like to make available as well. I have tried to implement a function that restores the previous graphic context one the window as been closed. Nothing has been successful. Is such a thing possible with osg? Thanks On Tue, Sep 9, 2008 at 3:00 PM, Lucas Lallement

Re: [osg-users] Open/Close the window on win32

2008-09-11 Thread brettwiesner
Hi, Recycling context id's is something that seems fixed in 2.6.0. I'm not sure if you can keep a graphics context around without a window however you can keep the scene graph around. Just hold onto a ref ptr to the root node of your scene graph. You should be able to open a new window and

[osg-users] Open/Close the window on win32

2008-09-09 Thread Lucas Lallement
Hey all, My software receives orders such as play, pause but also close and open window. I was wondering what was the best way to close (or hide) the osgViewer window on win32 to later on reopen it without having lost what is going on (video being played on a node). Everything I have tried so far