Jump to content

Age of an attribute


Recommended Posts

I want to find the age of an attribute, starting from once it has passed a certain threshold.

I tried the sop solver but my geometry is deforming and it appears to reset it every frame.

Is there a pure SOP way of doing this?

Link to comment
Share on other sites

Well, I made some progress.

In the file below I emitted particles and attached the nearest geometry $PT as an attribute and the made groups out of it. The idea is that now I can count how many particles are in each group and then use that as an age. It's quite acrobatic and I have to solve this problem before it works:

I have groups named

att_age_123

where the last numbers represent the $PT of the original geometry. Now I have to count the members of that group ( pointlist ? ) and apply that to the point number indicated in the last 3 digits from the group name.

Any ideas?

Link to comment
Share on other sites

an image for aid.

Oh Gergely, I missed you there. Thanks for the cool CHOP but I wanted to avoid chops this time (I often get problems when the geometry is too heavy, using dops, or point count is changing) ;)

post-4013-127918718959_thumb.jpg

Edited by Macha
Link to comment
Share on other sites

in the past if i wanted to use a sop solver with deforming geometry i would just create a copy of the geo, having it non-animated, and use that as the place-holder for the sop solver, then i would dop import that and copy the attributes to the deforming version

would this solution not work for you?

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