Hi Mattias,
On Monday 18 August 2008 22:42:04 Mattias Helsing wrote:
On Mon, Aug 18, 2008 at 8:44 PM, Carlos Sanches [EMAIL PROTECTED] wrote:
to do this I need to change the color of particles after your creation
only when I press the key.
yes it is possible. You need an EventHandler and a
hey man I did it .
look the example particle
cor is the float that is variable of alpha to me , but can be r g or b
and using the code in the principal loop:
initial_color = osg::Vec4(R, G, B, cor);
final_color = osg::Vec4(fR, fG, fB, 0.0);
I m doing a rain with particles and I want to press one key and the rain
disapear.
I m doing this with osgSwitch and is working very well , but , I 'd want
that the rain disapear with something like a FADE OUT .
to do this I need to change the color of particles after your creation only
when I
Hi Carlos,
On Mon, Aug 18, 2008 at 8:44 PM, Carlos Sanches [EMAIL PROTECTED] wrote:
I m doing a rain with particles and I want to press one key and the rain
disapear.
I m doing this with osgSwitch and is working very well , but , I 'd want
that the rain disapear with something like a
4 matches
Mail list logo