OpenSceneGraph/examples/osgviewerMFC
2013-09-09 12:37:52 +00:00
..
res Ran svn propset -R svn:eol-style native . on the OpenSceneGraph 2011-04-19 11:40:22 +00:00
ChildFrm.cpp
ChildFrm.h
CMakeLists.txt From Michael Hartman, "CMakeLists.txt: 2007-06-01 21:28:18 +00:00
MainFrm.cpp
MainFrm.h
MFC_OSG_MDI.cpp
MFC_OSG_MDI.h
MFC_OSG_MDI.rc
MFC_OSG_MDIDoc.cpp
MFC_OSG_MDIDoc.h
MFC_OSG_MDIView.cpp From Wang Rui, "I've encountered a strange problem that osgviewerMFC doesn't work well 2011-09-12 10:47:59 +00:00
MFC_OSG_MDIView.h From Wang Rui, "I've encountered a strange problem that osgviewerMFC doesn't work well 2011-09-12 10:47:59 +00:00
MFC_OSG.cpp From Wang Rui, "Some developers report that the osgviewerMFC example is broken in 3.2, in which depth test is not enabled by default so all models loaded look awkward. I submit this patch to make it work again. I haven't gone deep to check why previous example goes wrong in newer version but I believe the problem was because the newly created camera object missed some important global statesets before set as the main camera." 2013-09-09 12:37:52 +00:00
MFC_OSG.h From Wang Rui, "I've encountered a strange problem that osgviewerMFC doesn't work well 2011-09-12 10:47:59 +00:00
ReadMe.txt
Resource.h
stdafx.cpp
stdafx.h

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.