GlennimusPrime Posted June 19 Share Posted June 19 (edited) 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: I'd like that mask attribute to expand / grow outwards until it covers the whole sphere. File attached: attribute_spread.hiplc Edited Thursday at 09:32 PM by GlennimusPrime Quote Link to comment Share on other sites More sharing options...
Librarian Posted June 19 Share Posted June 19 Find ZengChen on Github and Vimeo @GlennimusPrime 1 Quote Link to comment Share on other sites More sharing options...
konstantin magnus Posted June 19 Share Posted June 19 Hi @GlennimusPrime, you could measure and over time remap the surface distance from the mask. attribute_spread_KM.hiplc Quote Link to comment Share on other sites More sharing options...
hannes603 Posted June 19 Share Posted June 19 untitled.mp4 infection_on_animated__simple.hip here a vop version Quote Link to comment Share on other sites More sharing options...
GlennimusPrime Posted June 22 Author Share Posted June 22 (edited) 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: 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. Any ideas when working with animated changing point count objects? Updated file attached: attribute_spread_v2_animated.hiplc Edited June 22 by GlennimusPrime 1 Quote Link to comment Share on other sites More sharing options...
Librarian Posted June 23 Share Posted June 23 https://github.com/linkanr/Infection Quote Link to comment Share on other sites More sharing options...
hannes603 Posted June 23 Share Posted June 23 infection on changing point count is usually no problem . it should work directly like here right untitled.mp4 pop_infection_on_changing_point_count.hiplc Quote Link to comment Share on other sites More sharing options...
GlennimusPrime Posted June 23 Author Share Posted June 23 (edited) 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 June 23 by GlennimusPrime Quote Link to comment Share on other sites More sharing options...
hannes603 Posted June 24 Share Posted June 24 (edited) 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 untitled.mp4 Edited June 24 by hannes603 Quote Link to comment Share on other sites More sharing options...
Librarian Posted June 24 Share Posted June 24 @GlennimusPrime It works just make changes in this section inside POP VOP to inf1 Quote Link to comment Share on other sites More sharing options...
GlennimusPrime Posted June 25 Author Share Posted June 25 (edited) 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 June 25 by GlennimusPrime Quote Link to comment Share on other sites More sharing options...
Librarian Posted June 25 Share Posted June 25 (edited) 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 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 . Edited June 25 by Librarian 3 Quote Link to comment Share on other sites More sharing options...
GlennimusPrime Posted June 25 Author Share Posted June 25 Thanks @Librarian although this example is working post popnet, the number of points is static. The issue still exists of this working on a changing point count sim (post sim, not inside the popnet). That has been the most difficult part of this process that has me stumped. Quote Link to comment Share on other sites More sharing options...
Librarian Posted June 26 Share Posted June 26 something like this Or? Changing position and count @GlennimusPrime Quote Link to comment Share on other sites More sharing options...
hannes603 Posted June 26 Share Posted June 26 (edited) 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 untitled.mp4 infection_with_changing_point_count_post_solve_simple_improved.hip Edited June 26 by hannes603 1 1 Quote Link to comment Share on other sites More sharing options...
vicvvsh Posted June 26 Share Posted June 26 On 6/23/2025 at 3:29 AM, GlennimusPrime said: Any ideas when working with animated changing point count objects? Updated file attached: attribute_spread_v2_animated.hiplc Hi, changing "Max Points" parm on attribute wrangle will be able to control speed of infection spreading. attribute_spread_v2_animated_01.hipnc 2 1 Quote Link to comment Share on other sites More sharing options...
GlennimusPrime Posted June 27 Author Share Posted June 27 18 hours ago, hannes603 said: 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 Amazing, that's it! Thanks so much @hannes603 Really appreciate all the effort both you and @Librarian have gone through here to tackle this one. Goes to show the greatness of the Houdini community. Many thanks. 1 Quote Link to comment Share on other sites More sharing options...
hannes603 Posted June 27 Share Posted June 27 15 hours ago, vicvvsh said: Hi, changing "Max Points" parm on attribute wrangle will be able to control speed of infection spreading. attribute_spread_v2_animated_01.hipnc 434.97 kB · 2 downloads okay thats actually the easiest and best way to do it. super simple and effectiv and so obvious. Quote Link to comment Share on other sites More sharing options...
GlennimusPrime Posted Thursday at 09:32 PM Author Share Posted Thursday at 09:32 PM On 6/27/2025 at 4:35 AM, vicvvsh said: Hi, changing "Max Points" parm on attribute wrangle will be able to control speed of infection spreading. attribute_spread_v2_animated_01.hipnc 434.97 kB · 9 downloads Apologies @vicvvsh I missed your post. This is even perfect. So simple and fast to work with. Thank you! 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.