Hi Robert and Jeremy,

On Dec 10, 2007 9:12 PM, Jeremy Moles <[EMAIL PROTECTED]> wrote:
> > I'm writing a little application which renders images to texture and
> > passes them out to a Matlab program.  So far it all works fine, but I
> > was wondering if there is any way I can get rid of the window that
> > appears when the application is running.  It doesn't display anything
> > as the only camera in the scene graph is set up for RTT, so its just a
> > bit untidy.  I'm running windows XP if that makes any difference.
> >
> > Thanks
>
> Surprisingly, something like this is more difficult to do on each OS
> (and the case of Linux, WindowManager) than you might imagine! I'm
> guessing OSG doesn't currently support this with it's 3 main
> GraphicsWindow{Carbon,X11,Win32} classes, but I'm not 100% sure. The
> latest SVN version of SDL has a function called SDL_HideWindow, which
> purports to do what you want as well...

Where supported one can use a pbuffer on Win32, X11 and Carbon
implementations in osgViewer. Just create the Traits with the pbuffer
option set to true, then create your GraphicsContext as per the
osgcamera or osgwindows examples.

Robert.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to