Hi,

I encountered the problem of heavy memory growth when inserting and removing 
multiple MatrixTransforms with a common child.
I am not very familiar with the cull / draw traversal, but i guess it is 
related to that.

Some properties of the problem:
- the application is a dynamic driving simulator - nodes are inserted in front 
of the camera and removed behind it after some time
- the used object renders a tree (generated by a software I forgot the name 
of). It consists of a Geode for the trunk and one for the leafs. If I remove 
the leaf Geode, no memory is accumulated. If I remove the trunk Geode, the 
amount of accumulated memory remains unchanged.
- the per-object accumulated memory corresponds to the memory needed for the 
leaf Geode (vertex + normal + texture coord. data)
- if the object is inserted into the scene behind the camera, no memory is 
accumulated
- I checked the destructors of the (inherited) MatrixTransforms, the nodes are 
removed from the scene

I am on the problem since long, so any help would be deeply appreciated.

Thank you!

Cheers,
Sebastian

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=48747#48747





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to