Hello, 

I'm trying to port some code which worked in OpenSceneGraph 1.0 and used the 
old Producer's viewer.  

previously i had a statement which said: 


Code:
viewer.getCamera(0)->getRenderSurface()->setWindow(gtk_plug_id);  



I tried creating a graphics context and setting the inheritedWindowData traits 
as: 


Code:

traits->inheritedWindowData = new osgViewer::GraphicsWindowX11(gtk_pli_id);





I noticed that it does black out the appropriate window (so it seems like its 
doing something right) but then fails to render anything to that area.  Is 
there another step that I might be missing?  

thanks in advance, 

-vinay

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=16648#16648





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to