Re: [osg-users] osgParticle restart...

2013-04-04 Thread Peter Wraae Marino
Hi,

I think this is a really good question. Right now I'm just creating new 
instances and I would really like to a have a pool of instances for better 
performance.

I can see this question was asked in 2010... can anyone answer this question?

Thank you!

Cheers,
Peter

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=53450#53450





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgParticle restart...

2013-04-04 Thread Sergey Polischuk
Hi Peter

if i understand you correctly:
there are interfaces to control some particle related objects in such a way (to 
be exact - all objects that inherited from ParticleProcessor - emitters and 
particle programs)
all they have methods to get\set startTime, currentTime, endTime and resetTime, 
so they can be configured to repeat their behaviour with some time intervals or 
can be reset manually, or configured to be endless or whatever you want :)

Cheers,
Sergey.

04.04.2013, 12:13, Peter Wraae Marino marino.pe...@gmail.com:
 Hi,

 I think this is a really good question. Right now I'm just creating new 
 instances and I would really like to a have a pool of instances for better 
 performance.

 I can see this question was asked in 2010... can anyone answer this question?

 Thank you!

 Cheers,
 Peter

 --
 Read this topic online here:
 http://forum.openscenegraph.org/viewtopic.php?p=53450#53450

 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] osgParticle restart...

2010-09-29 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
All,

 

I have a simple question regarding osgParticle effects.

 

Is there a simple way to restart the effects once they expire? For example,
I have a burning object emitting a smoke effect that I want to restart after
the smoke disappears. Is there a clean way to restart the smoke effect?

 

Thanks,

-Shayne



smime.p7s
Description: S/MIME cryptographic signature
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org