Re: [osg-users] Effect Durations

2012-02-24 Thread Tolga Yilmaz
that seems not work, even i set endless true but the animation soon ends. so 
does the duration is effectless, or i'm making a mistake on my implementation...

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





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


Re: [osg-users] Effect Durations

2012-02-16 Thread Sergey Polischuk
Hi

If you use osgParticle for this, both particles and emitter have lifetime in 
seconds, which is configurable through their interface. For emitter you should 
also call emitter->setEndless(false); as it is endless by default iirc

Cheers,
Sergey.

16.02.2012, 18:36, "Tolga Yilmaz" :
> Hi,
> I'm creating an explosion effect with it is fire and smoke trail it is ok but 
> i want to set a duration that determines how many seconds/miliseconds this 
> effect will be shown. Does fire smoke and explosion effect classes have such 
> control or how we can achieve this implementation?
>
> Thank you!
>
> Cheers,
> Tolga
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=45509#45509
>
> ___
> 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] Effect Durations

2012-02-16 Thread Tolga Yilmaz
Hi,
I'm creating an explosion effect with it is fire and smoke trail it is ok but i 
want to set a duration that determines how many seconds/miliseconds this effect 
will be shown. Does fire smoke and explosion effect classes have such control 
or how we can achieve this implementation?

Thank you!

Cheers,
Tolga

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





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