Hi Fred, Just set the Camera's viewport so it only covers the part you want to render to.
Robert. On Wed, Mar 25, 2009 at 2:06 PM, Frederic Marmond <[email protected]>wrote: > hello world, > > on a win32 project, I would like to display an osg Viewer in a part of > the window. > I set my osg::GraphicsContext::Traits with coords I want, set the > inheritedWindowData with osgViewer::GraphicsWindowWin32::WindowData( > hwnd ) > > my model is well placed and displayed (in the area I wanted), but the > entire window is filled with background color. > Is there any way to avoid this? any suggestion ? > > thanks in advance > > Fred > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

