[osg-users] How to reduce the cache size limit of OSG ?

OpenSceneGraph Users osg-users at lists.openscenegraph.org
Tue May 26 02:36:18 PDT 2020

Hi Robert, 

The codes looks like this: 
root = GroupOfSwitch(); 
while (!viewer->done()) {
    root->removeChild(0); // Remove the point cloud 
    pc = sensor.Capture();  // Get the point cloud
    geo = CreateGeometryNode(pc);
    root->addChild(geo); // Add the pointcloud 



On Monday, May 25, 2020 at 6:33:59 PM UTC+8, OpenSceneGraph Users wrote:
> Hi??
> There is nothing we can advice as you say nothing how you are managing 
> your scene graph.  All we know is you are doing something with a point 
> dataset and memory keeps growing.
> You need to provide some source of how to you are setting up your scene 
> graphs and how you are updating it.  Once we know what you are doing we'll 
> be able recommend  a better way to do it without memory growth.
> Robert.

You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/fb930ca9-ea99-401a-93eb-3d0d823670a6%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20200526/a7ef697c/attachment.html>

More information about the osg-users mailing list