Hi Fred,

On Fri, May 27, 2011 at 2:22 PM, Fred Smith <[email protected]> wrote:
> Run the modified osggeometry.cpp sample and look at the memory usage. There 
> is, apparently, a big memory leak. Increase the number of times 
> testRTTCamera() is called and you should see the leak even better.

The modified example is *mess*.  I wouldn't know if it was a memory
leak due to the messy code or an actual bug in the OSG.

> As to why I'm doing what I'm doing, this is to do RTT. I need to do offscreen 
> rendering at some point in my application, and for this purpose I'm adding a 
> slave camera to my existing viewer, then do my RTT rendering, then dispose of 
> the aforementionned camera. It's either that, or I use a separate viewer and 
> do the RTT rendering from there.
> In both cases I have a memory leak.

Off screen rendering is nothing unusual, but convoluteed means of
doing it aren't.

Please think about isolating one problem at a time and providing a
clean code example, telling me just to run an example that I have
already reviewed and decided it's too convulteed to know what going is
of no help to me.

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

Reply via email to