MFC_OSG_MDI

所属分类:3D图形编程
开发工具:Visual C++
文件大小:11588KB
下载次数:58
上传日期:2009-08-04 14:03:36
上 传 者lodestar
说明:   osgMFC,基于MFC和OSG的3D图形渲染程序,需安装OSG之后才可编译。
(osgMFC, based on the MFC and the 3D graphics rendering OSG procedure can be compiled after the installation of OSG.)

文件列表:
MFC_OSG_MDI\MFC_OSG_MDI\ChildFrm.cpp (1104, 2007-05-11)
MFC_OSG_MDI\MFC_OSG_MDI\ChildFrm.h (522, 2007-05-11)
MFC_OSG_MDI\MFC_OSG_MDI\CMakeLists.txt (381, 2007-06-25)
MFC_OSG_MDI\MFC_OSG_MDI\MainFrm.cpp (2272, 2007-05-11)
MFC_OSG_MDI\MFC_OSG_MDI\MainFrm.h (791, 2007-05-11)
MFC_OSG_MDI\MFC_OSG_MDI\MFC_OSG.cpp (4086, 2009-07-20)
MFC_OSG_MDI\MFC_OSG_MDI\MFC_OSG.h (1143, 2007-07-23)
MFC_OSG_MDI\MFC_OSG_MDI\MFC_OSG_MDI.APS (54000, 2009-07-20)
MFC_OSG_MDI\MFC_OSG_MDI\MFC_OSG_MDI.cpp (3951, 2007-05-11)
MFC_OSG_MDI\MFC_OSG_MDI\MFC_OSG_MDI.h (549, 2007-05-11)
MFC_OSG_MDI\MFC_OSG_MDI\MFC_OSG_MDI.rc (12099, 2007-05-11)
MFC_OSG_MDI\MFC_OSG_MDI\MFC_OSG_MDI.vcproj (5465, 2009-07-29)
MFC_OSG_MDI\MFC_OSG_MDI\MFC_OSG_MDI.vcproj.PC-200901142236.LiangQH.user (1427, 2009-07-29)
MFC_OSG_MDI\MFC_OSG_MDI\MFC_OSG_MDIDoc.cpp (1110, 2007-05-11)
MFC_OSG_MDI\MFC_OSG_MDI\MFC_OSG_MDIDoc.h (734, 2007-05-11)
MFC_OSG_MDI\MFC_OSG_MDI\MFC_OSG_MDIView.cpp (2315, 2007-09-03)
MFC_OSG_MDI\MFC_OSG_MDI\MFC_OSG_MDIView.h (1211, 2007-09-03)
MFC_OSG_MDI\MFC_OSG_MDI\Release\BuildLog.htm (7926, 2009-07-29)
MFC_OSG_MDI\MFC_OSG_MDI\Release\ChildFrm.obj (1697500, 2009-07-29)
MFC_OSG_MDI\MFC_OSG_MDI\Release\MainFrm.obj (1700415, 2009-07-29)
MFC_OSG_MDI\MFC_OSG_MDI\Release\MFC_OSG.obj (9327696, 2009-07-29)
MFC_OSG_MDI\MFC_OSG_MDI\Release\MFC_OSG_MDI.exe.intermediate.manifest (619, 2009-07-29)
MFC_OSG_MDI\MFC_OSG_MDI\Release\MFC_OSG_MDI.obj (9251762, 2009-07-29)
MFC_OSG_MDI\MFC_OSG_MDI\Release\MFC_OSG_MDI.res (31268, 2009-07-29)
MFC_OSG_MDI\MFC_OSG_MDI\Release\MFC_OSG_MDIDoc.obj (1696868, 2009-07-29)
MFC_OSG_MDI\MFC_OSG_MDI\Release\MFC_OSG_MDIView.obj (9249785, 2009-07-29)
MFC_OSG_MDI\MFC_OSG_MDI\Release\mt.dep (69, 2009-07-29)
MFC_OSG_MDI\MFC_OSG_MDI\Release\stdafx.obj (1688255, 2009-07-29)
MFC_OSG_MDI\MFC_OSG_MDI\Release\vc80.idb (896000, 2009-07-29)
MFC_OSG_MDI\MFC_OSG_MDI\Release\vc80.pdb (3616768, 2009-07-29)
MFC_OSG_MDI\MFC_OSG_MDI\res\MFC_OSG_MDI.ico (21630, 2007-05-11)
MFC_OSG_MDI\MFC_OSG_MDI\res\MFC_OSG_MDI.rc2 (402, 2007-05-11)
MFC_OSG_MDI\MFC_OSG_MDI\res\MFC_OSG_MDIDoc.ico (1078, 2007-05-11)
MFC_OSG_MDI\MFC_OSG_MDI\res\Thumbs.db (5120, 2009-07-20)
MFC_OSG_MDI\MFC_OSG_MDI\res\Toolbar.bmp (1078, 2007-05-11)
MFC_OSG_MDI\MFC_OSG_MDI\Resource.h (513, 2007-05-11)
MFC_OSG_MDI\MFC_OSG_MDI\stdafx.cpp (204, 2007-05-11)
MFC_OSG_MDI\MFC_OSG_MDI\stdafx.h (2836, 2007-05-11)
MFC_OSG_MDI\MFC_OSG_MDI.ncb (18689024, 2009-07-29)
... ...

This project is a very simple implementation of the Microsoft Multiple Document/View Architecture. The only changes needed to compile the project should be to modify the include paths for headers and librarys. This project was written to show how to implement the new osgViewer library with MFC. There is only one problem that I have seen to this point and that is when you have multiple OSG documents open and then you close one of them then all remaining OSG documents quit rendering. I have a small work around in the code that calls AfxMessageBox when the closing windows tread exits and this keeps the other windows rendering correctly. Not sure what the problem is at this point so if anyone finds the cause and has a fix please update the code.

近期下载者

相关文件


收藏者