Hello,

I noticed when I call the osgpick example from a driver the memory used does not go away until the process goes away and not when the viewer goes away.  The memory usage grows by ~80 mb each time I call osgpick.  There seems to be no cleanup when the viewer closes.  Can I use osg in this manner? 

I am trying to use OpenSceneGraph in the following manner;

1. Calling it from another routine (works)

2. Passing it an model filename (works)

3 Displaying the building model in the viewer (works)

4. Getting the x,y,z intersect of a point the wall of the building (works)

5. Placing a model at and x,y,z with the model having the proper facing based on the normal (works)

6. Return the position and normal information to the calling routine (works)

7. Calling routine with x,y & z information of model to place (works)

8.  Not having memory usage grow each time I call the routine.  ( My problem).

Thank you,

Chris Kosek




 



Don’t quit your job – Take Classes Online and Earn your Degree in 1 year. Start Today!
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to