[osg-users] osgViewer on MFC

Ümit Uzun umituzun84 at gmail.com
Wed Jul 30 08:26:57 PDT 2008

Hi all,

Sorry for simple question, but I am new on MFC windowing toolkit. I have
looked at the mail-archive and web-site but there was no more sample except
osgviewerMFC. I want to open my project on MFC window. At normal, I am using
code as below.

osgViewer::Viewer viewer;
viewer.setSceneData( root.get() );

while( !viewer.done() )

But for using MFC, how can I create my window. Am I using
osg::GraphicsContext ? And how can I use osg::GraphicsContext for opening
MFC mod? I mean, How can a manage open my project in mfc?

Thanks so much. Best regards.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080730/d2f0b8e0/attachment-0002.htm>

More information about the osg-users mailing list