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 yesterday at 11:00 AM 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 Sunday at 10:29 PM Author Share Posted Sunday at 10:29 PM (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 Sunday at 10:38 PM by GlennimusPrime 1 Quote Link to comment Share on other sites More sharing options...
Librarian Posted Monday at 09:07 AM Share Posted Monday at 09:07 AM https://github.com/linkanr/Infection Quote Link to comment Share on other sites More sharing options...
hannes603 Posted Monday at 09:24 AM Share Posted Monday at 09:24 AM 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 Monday at 09:14 PM Author Share Posted Monday at 09:14 PM (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 Monday at 09:53 PM by GlennimusPrime Quote Link to comment Share on other sites More sharing options...
hannes603 Posted Tuesday at 07:39 AM Share Posted Tuesday at 07:39 AM (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 Tuesday at 08:37 AM by hannes603 Quote Link to comment Share on other sites More sharing options...
Librarian Posted Tuesday at 08:02 AM Share Posted Tuesday at 08:02 AM @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 yesterday at 04:53 AM Author Share Posted yesterday at 04:53 AM (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 yesterday at 05:39 AM by GlennimusPrime Quote Link to comment Share on other sites More sharing options...
Librarian Posted yesterday at 08:15 AM Share Posted yesterday at 08:15 AM (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 yesterday at 08:55 AM by Librarian 2 Quote Link to comment Share on other sites More sharing options...
GlennimusPrime Posted 18 hours ago Author Share Posted 18 hours ago 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 10 hours ago Share Posted 10 hours ago something like this Or? Changing position and count @GlennimusPrime Quote Link to comment Share on other sites More sharing options...
hannes603 Posted 9 hours ago Share Posted 9 hours ago (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 8 hours ago by hannes603 1 Quote Link to comment Share on other sites More sharing options...
vicvvsh Posted 1 hour ago Share Posted 1 hour ago 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 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.