Per particle opacity

Anonymous

Per particle opacity

Anonymous
Not applicable

Hello,

 

I wonder if someone could help me with the following:

 

I have particles applied to a goal mesh, on creation each particle has an opacity of 0,

 

I am trying to work out how to set the opacity of the particles to 1, one particle at a time.

 

Currently I have:

 

In the particleShape1 OpacityPP (Creation) :  

 

particleShape1.opacityPP = 0;

 

In the particleShape1 OpacityPP (Runtime before dynamics)

 

int $myTimeVariable1 = rand (200,1000);

if (frame > $myTimeVariable1)

{

particleShape1.opacityPP = 1;

}

else{

particleShape1.opacityPP = 0;

}

 

The 200, 1000 is an attempt to get the process to start after frame 200 and also to add randomization to the particles which are made visual. This seems to work okay but the particles are only keping their opacity for 1 frame.

0 Likes
Reply
334 Views
0 Replies
Replies (0)