[osg-users] object deletion and rtts
Poojan Prabhu
poojanpromin at gmail.com
Fri Jan 27 06:52:19 PST 2017
Hi,
I have a problem when I load a file and am using rtts. If I close the file and clear it out of the scene graph, with rtt on, memory does not seem to be reclaimed, unless I turn off the rtt. If not using rtts memory is immediately reclaimed upon closing the file.
The reclaim in both cases seems to happen when stateset ref counts for the objects in question goes to zero (via prune), which leads me to believe that ref count is off by one when rtt is enabled. But I am not really sure where to look.
I was wondering if there is something I need to do in addition to just turning off the rtt cameras.
Thank you!
Cheers,
Poojan
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70066#70066
More information about the osg-users
mailing list