The following is my code for the openflight mode. Am I missing something in the
code? Only blue screen appears.
osg::Node* mapNode;
mapNode = osgDB::readNodeFile("C:\\Users\\Tufan\\Desktop\\buffs.flt");
osg::Group* root = new osg::Group();
root->addChild(mapNode);
osgViewer::Viewer viewer;
viewer.setSceneData( root );
viewer.setUpViewInWindow(100, 100, 640, 480);
viewer.run();
Cheers,
Tufan
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=22239#22239
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org