Hi Experts,

Could you please provide a OS X sample in using GraphicsWindowCocoa?

I need bind a cocoa window to an osgview.

BTW, the osgviewerCocoa example works, it used setUpViewerAsEmbeddedInWindow 
and seems only works in single draw/cull thread mode.

I tried 
    
osgViewer::GraphicsWindowCocoa::WindowData(osgViewer::GraphicsWindowCocoa::WindowData::PoseAsStandaloneApp);

In a new window and displays the node but hanged, and 
osgViewer::GraphicsWindowCocoa::WindowData(osgViewer::GraphicsWindowCocoa::WindowData::CreateOnlyView);
 looks not work in my side.

Macbook pro 13 late 1013, OS X 10.9.3 XCode 5.02

Thank you!

Cheers,
Yu

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





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

Reply via email to