Jump to content

Attribute Growth


Recommended Posts

This one is a little tricky. I have seen many tutorials showing how to expand / grow an attribute from a start point outward, but I'm struggling with expanding an animated attribute.

I have this sphere that accumulates a mask attribute over time, leaving a trail where another object has moved across the surface:
image.png.8bf5683ae348889372590a3d1e810a09.png

I'd like that mask attribute to expand / grow  outwards until it covers the whole sphere.
image.png.d4bc5558d93a8d07ef39dfcfa995190a.png

File attached:

attribute_spread.hiplc

Edited by GlennimusPrime
Link to comment
Share on other sites

Thanks @Librarian @konstantin magnus @hannes603 all really great examples!

Just to throw a spanner in the works, one pretty major issue I forgot to mention was the points I'm working with are disconnected and animated..

I managed to get @hannes603 example working on an animated static point count object by swapping the inputs of the vop inside the solver:
image.gif.b665594fb153093348429b70e53b89b7.gif

But unfortunately this does not work when I have a changing point count when working with particles - I tried copying the attribute from previous frame onto the current frame using point ID to match attributes, but the entire object is filled almost instantly with the infected attribute.
image.gif.b0bec42cf773844172590da7ee6b952b.gif

Any ideas when working with animated changing point count objects?

Updated file attached:
attribute_spread_v2_animated.hiplc

Edited by GlennimusPrime
  • Confused 1
Link to comment
Share on other sites

Would love to see that working please @hannes603 Your example file looks incomplete? The infection spread does not work unfortunately.

@Librarian That infection solver looks amazing, but unfortunately I'm unable to install any otls at the studio I'm working.

Edited by GlennimusPrime
Link to comment
Share on other sites

11 hours ago, GlennimusPrime said:

Would love to see that working please @hannes603 Your example file looks incomplete? The infection spread does not work unfortunately.

@Librarian That infection solver looks amazing, but unfortunately I'm unable to install any otls at the studio I'm working.

what do you mean it does not work . can you explain what you after ? otherwise i cant help :)

Edited by hannes603
Link to comment
Share on other sites

Right, got it! Thank you both @Librarian and @hannes603 for the multiple attempts here. Much appreciated!

 

One last thing, what if I wanted to do this as a post-sim infection spread? I'm dealing with pre-cached particles. They have an ID attribute if that helps?
I've tried multiple variations of your popvop / pointvop setup but can't seem to get it to work post sim.

Edited by GlennimusPrime
Link to comment
Share on other sites

On 6/23/2025 at 11:14 PM, GlennimusPrime said:

I'm unable to install any otls at the studio I'm working.

 

3 hours ago, GlennimusPrime said:

One last thing, what if I wanted to do this as a post-sim infection spread?

Studio ??? 
Talk to your manager right away and give these guys a job @hannes603 @konstantin magnus :ph34r::rolleyes: if they need a job..

Find Qiita website . !Advent Houdini 2020! you have  Files for Infect and very Nice tricks for making those effects and much more using same Logic . Then(TIP) When you have Full Code that Works in Houdini you can Make anything in chatgpt(reverse and investigete)  Now days.
Have a nice Day .:wub:
 

Infect.gif

Edited by Librarian
  • Haha 2
Link to comment
Share on other sites

sure you can also do it post solve  pretty much the same way .. you only need to accumulate all particles in the solver and remove them afterwards.. otherwise  id hase no corrosponding ptnum:)

 

image.thumb.png.b9299c37c14409e518645a5d3f998379.png

 

 

infection_with_changing_point_count_post_solve_simple_improved.hip

Edited by hannes603
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...