Re: [osg-users] Memory increasing when using rtt,any clues?

2014-11-25 Thread Robert Osfield
Hi Wu, There really isn't enough information for others to know what might be amiss, The only code you provide is how you create a single Camera, you don't provide any information about how you use this, what type of point the camera is. The only things I can suggest is to look at the memory

Re: [osg-users] Memory increasing when using rtt,any clues?

2014-11-25 Thread ttaw
is the mother of success. Wu Zhicheng -- Original -- From: Robert Osfield;robert.osfi...@gmail.com; Date: Tue, Nov 25, 2014 04:06 PM To: OpenSceneGraph Usersosg-users@lists.openscenegraph.org; Subject: Re: [osg-users] Memory increasing when using

[osg-users] Memory increasing when using rtt,any clues?

2014-11-24 Thread ttaw
Hi, all: In my application, I set a rtt camera with a texture2d object attached whose size is 4096*4096, and then I called tex2d-getTextureObject(contextID) to obtain the texture. But as a result, the memory keeps increasing 60MB per second. It's an MFC program. I wonder if there's any point