Jump to content

$LIFE in POP network


Michael1

Recommended Posts

I have a POP network in which I have a colour node which uses $LIFE in the 'Lookup' section to control a colour ramp to change the colour of the particles in their lifetime. This works fine, I then have another colour node which has $LIFE controlling an Alpha ramp, which should fade out the alpha in the lifetime. This does not work, I'm stumped as to why it doesn't work. Both nodes have $LIFE in the look up, the only difference is that one is affecting the colour ramp, the other a alpha ramp.

Any ideas?

Link to comment
Share on other sites

I have a POP network in which I have a colour node which uses $LIFE in the 'Lookup' section to control a colour ramp to change the colour of the particles in their lifetime. This works fine, I then have another colour node which has $LIFE controlling an Alpha ramp, which should fade out the alpha in the lifetime. This does not work, I'm stumped as to why it doesn't work. Both nodes have $LIFE in the look up, the only difference is that one is affecting the colour ramp, the other a alpha ramp.

Any ideas?

Try this in the Lookup

$F / $NFRAMES

Not sure what you are after it helps if you leave a hip to play around with the POP you made.

Link to comment
Share on other sites

For anyone who might need to do something similar, this is what we did:

Basically the lookup of the color and alpha of the particles is now done (in Michael's file) outside of the pop network by feeding the $LIFE into the shader. This way the pop network doesn't need to be re-simulated. $LIFE is the normalized age which is then used to drive some ramps in the shader.

Link to comment
Share on other sites

For anyone who might need to do something similar, this is what we did:

Basically the lookup of the color and alpha of the particles is now done (in Michael's file) outside of the pop network by feeding the $LIFE into the shader. This way the pop network doesn't need to be re-simulated. $LIFE is the normalized age which is then used to drive some ramps in the shader.

hi pclaes...is it possible for you to put up the .hip file. The POP_Alpha.hipnc file whic is posted, uses the color sop to play with the alpha.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...