Same memory leaking problem happened to me too. After switched to WIN32+OSG, there was no memory leak anymore. But it was painfull to use raw WIN32 APIs to create 2D GUI. So finally I choosed OSG+FOX ( www.fox-toolkit.com). You could see GUI of my program on my website (http://mason.gmu.edu/~yliu6/gallery.htm#vhass). Maybe FOX is not fancy enough, but not a big deal, fancy 2D GUI is not my focus. Another good thing is that OSG+FOX is platform independent.

On 5/30/06, Yigang Wang <[EMAIL PROTECTED]> wrote:
I want to use osg  under MFC envrionment. I test the example OSGMFC, which uses rendersurface and sceneview in MFC MDI. However, I find two problems.
1) After two osg files are loaded, and close one, then the other osg data can not be correctly rendered, some textures are missing.
2) When the window is closed, the memory leak is very huge.

Does anybody know how to solve the problem? Is there another way to use osg+MFC? How about to use MFC+osgProducer::View?
Thanks for your reply.
Yigang  
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/


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

Reply via email to