Re: [osg-users] strange problems about memory used

2010-06-16 Thread Kai Xia
Hi, robert All my RTT camera is useing separte FBOs and I only create a new camera for each back view without new graphic context assigend explicitly, but I create a new osg::group below each camera to add the same scene, the group is assigend with different shaders to the main rendering. I

Re: [osg-users] strange problems about memory used

2010-06-15 Thread Robert Osfield
On Mon, Jun 14, 2010 at 11:10 PM, Connor Webb w...@arsc.edu wrote: I DO have a LOD node for each particle. Is that a mistake? Yes, a big mistake. A good example of premature optimization - deciding that there will be a problem and then coming up with a solution even before you've established

Re: [osg-users] strange problems about memory used

2010-06-15 Thread Robert Osfield
Hi Kai, The memory consumption you describe is odd for what you are doing, which makes me wonder if the setup is not quite right. Are all your RTT camera's using FBO's and sharing the same graphics context as the main window? Robert. On Thu, Jun 10, 2010 at 9:22 AM, Kai Xia k_...@hotmail.com

Re: [osg-users] strange problems about memory used

2010-06-14 Thread Connor Webb
I'd like to report a similar sort of issue with excessive memory usage. I'm developing a piece of code that displays 250,000 (more intended) sand particles. I'm doing the rendering of the particles as Sphere objects, using a very low level of detail and LOD nodes to reduce the number of

Re: [osg-users] strange problems about memory used

2010-06-14 Thread Tomlinson, Gordon
...@lists.openscenegraph.org] On Behalf Of Connor Webb Sent: Friday, June 11, 2010 8:21 PM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] strange problems about memory used I'd like to report a similar sort of issue with excessive memory usage. I'm developing a piece of code that displays

Re: [osg-users] strange problems about memory used

2010-06-14 Thread Connor Webb
I DO have a LOD node for each particle. Is that a mistake? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=28907#28907 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] strange problems about memory used

2010-06-10 Thread Kai Xia
Hi, I currently do a car sim program, and I encount a problem about heigh memory CPU used when I add RTT camera: I want add 3 back mirrors to the car, so I create 3 relative camera to render the scene to a texture, and use root-addChild(mirror_camera) to bind camera to root node, these mirror