Jump to content

Scaling individual particles based on age


Mcronin

Recommended Posts

OK, I've been trying unsuccessfully to scale particles individually based on age. I tried using an age attribute, and a couple other thinngs with no success. I'm no real clear on how to use the age attribute and $LIFE doesn't seem to work as I expect either. Basicly I have a Source POP with a Render POP appended to it. I've been trying to use the particle scale paramter in the Render POP with a wave CHOP to scale the particles individually based on their lifespan. All the expressions I try give me errors, and the only thing I have been able to do successfully, is scale all the prticles in unison based on time. Can anyone help?

Link to comment
Share on other sites

Got it all sorted now, well at least I'm getting the results I want. This is the solution I came up with. I'd like to run it by you guys and if there's a better way to do this please enlighten me.

I wanted to scale particles individually over their life. What I wanted to do is grow the particles from a scale of 0 at birth, to a specific maximum size, and shrink them back to 0 as they die.

I have my Source POP with a Property POP appended to it and the Scale property enabled.

I add a spare channel to my Source POP named "SparePScale". In this spare channel I created a curve, 10 frames long with three keys. 0 to start, my max value around frame 7.5, and 0 again at frame 10. I applied ease functions on each segment to get a smooth transition,

In the Property POP I put this in the Scale field:

chf("../source1/SparePScale", $LIFE*10)

Now like I said this works for me, but I'm really new to this stuff, and was wondering if there's a better or more proper solution for this.

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...