Not sure why the optimizer crashed but with the second issue I had the same 
problem on my home computer and found that the pixel description needed to have 
PFD_DOUBLEBUFFER defined.  Once I added this I was able to see the object but 
without it all I had was a blue background for the window.  Please check to 
make sure that your pixel description has this defined (located in the 
MFC_OSG.cpp file).   I know that the latest subversion contains this change.
 
As for the last issue; I have also seen this (on my home pc, it is 
intermittent) and believe it is a threading issue (trying to close the window 
before all threads have exited) and I don't have much experience with threading 
so I would have to rely on the community to get into the code and figure out 
how to fix the issue.
 
Thanks,
Mike

________________________________

From: [EMAIL PROTECTED] on behalf of Miguel Martinez
Sent: Mon 5/28/2007 3:49 AM
To: osg users
Subject: [osg-users] about the osgViewerMFC example



Hi all,

I have the 1.9.5 OSG release, and testing the osgViewerMFC example I
have found several problems:

- When loading a model, optimizer.optimize crashes
- When I comment this line, the program runs correctly but when I load a
file, I dont see the model, just an empty scene.
- When I close the app, the program crashes in CMDIChildwindow::MDIDestroy()

I'm using VC.NET 2003.
Am I the only one with this problem ? Am I doing something wrong ?
Can someone post another more stable example using MFC's ?

thanks !

// Miguel Martinez
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/


<<winmail.dat>>

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to