The ParticleSystem also inherit from osg::Referenced.I think it can be 
released  automatically.It may be a bug!
 
 
 

在2008-10-09,"Tomlinson, Gordon" <[EMAIL PROTECTED]> 写道:

Are you removing effects from the scene ? 
 
I believe you have to remove them from the scene when they have finished their 
cycle, I don't believe they self destruct
 

Gordon

__________________________________________________________
Gordon Tomlinson

Product Manager 3D
Email  : gtomlinson @ overwatch.textron.com
__________________________________________________________
(C):(+1) 571-265-2612
(W):(+1) 703-437-7651

"Self defence is not a function of learning tricks 
but is a function of how quickly and intensely one 
can arouse one's instinct for survival" 
- Master Tambo Tetsura

 
 


From:[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of GuiYe
Sent: Wednesday, October 08, 2008 3:30 PM
To: osg-users
Subject: [osg-users] The Bug of osgparticleeffects??


 
 
   Hello.
 
     I tested the example of osgparticleeffects yesterday.I find a problem:When 
we create particle effects to the scene and the particle effects 
disappeared,the memory don't release.If we add many particle effects,the memory 
will increase all the time until the end of the program.Who can tell me how to 
release the memory when the particle effects disappeared?Is it the bug of 
ParticleSystem???
 
    Thank you!!



[广告] 特惠尝必胜客26道新品
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to