OSGMFC】的更多相关文章

在OSG的Demo中找到MFC_OSG类文件. #pragma once #include <osgViewer/Viewer> #include <osgViewer/ViewerEventHandlers> #include <osgViewer/api/win32/GraphicsWindowWin32> #include <osgGA/TrackballManipulator> #include <osgGA/KeySwitchMatrixMa…
在OSGMFC程序基础上修改OSG_MFC类的方法,如下: void cOSG::InitSceneGraph(void) { // Init the main Root Node/Group mRoot = new osg::Group; //// Load the Model from the model name //mModel = osgDB::readNodeFile(m_ModelName); //if (!mModel) return; // Optimize the model…