Hi Werner, The OSG by default usas display lists, and I'd guess that this is main contribution to extra memory usage. You can disable display lists, see osgUtil::GLObjectVistor.
Robert. On 8/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hello there. I have a question on the memory usage of OSG regarding the objects that are beeing created and rendered. We have just recently ported an application from an older 3D platform to OSG. Now we run the same models on old and new versions of our applications, but the memory usage is quite a bit higher on OSG than the other platform. What is also strange, is that we read and initialize the model and insert it into the apropriate scenegraph nodes. A model that took about 100 MB, all of a sudden jumped to over 200MB of mem usage just after the following three commands were run: SceneView::Update() SceneView::Cull() SceneView::Draw() What is the "magic" that happens in these functions to increse the mem usage? Regards, Werner Lindgård. _______________________________________________ Werner Lindgård, Programmerer Telephone +47 67 81 70 00 Direct line +47 67 81 70 68 [EMAIL PROTECTED] ViaNova Systems AS Leif Tronstads Plass 4, P.O.Box 434 N-1302 Sandvika, Norway ________________________________________________ http://www.vianova.no http://www.novapoint.com ________________________________________________ _______________________________________________ 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/
