Hi Emre, On Jan 12, 2008 2:30 PM, Emre Koc <[EMAIL PROTECTED]> wrote: > How can I render my scene to a win32 window ? I would like to have a > gui with win32 buttons etc and want to see the osg context in the same > window. > Does osgViewer has a support on this ? If so, how can I do that?
The OSG doesn't provide GUI features like mentu bars, pull downs etc, but leaves this up to the application to provide. This is quite straight forward though, you just need to create the window and call osgViewer::Viewer using a GraphicsWindowEmbedded as done in the osgviewerGLUT and SDL examples. or inherit the window into the GraphicsWindowWin32/X11/Carbon as done in the osgviewerWX and osgviewerMFC examples, the later two are probably the best guides for yourself. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

