FYI, I have taken the liberty of adding this to the FAQ: http://www.openscenegraph.org/projects/osg/wiki/Support/FAQ#HowdoIembedanOSGviewerina.NETcontrol
Glenn On Wed, May 28, 2008 at 3:04 PM, Robert Osfield <[EMAIL PROTECTED]> wrote: > Hi Jason, > > On Wed, May 28, 2008 at 7:02 PM, Jason Beverage <[EMAIL PROTECTED]> > wrote: > > In the Producer days, one could just call viewer.setWindow with the > window > > handle to the control, but I can't find an equivalent using the new > > osgViewer classes. The slave camera approach that Hesicong posted was > the > > closest I could find. > > You use the Traits.inheritedWindowData member variable to pass in > details of the window handle, as Glenn > demonstrates in his code segment. > > The osgviewerMFC, osgviewerQT and osgviewerWX examples also have code > paths that do just this too. > > Robert. > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- Glenn Waldron : Pelican Mapping : http://pelicanmapping.com : 703-652-4791
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org