Sead Posted Tuesday at 04:29 PM Share Posted Tuesday at 04:29 PM (edited) Hi, All. I was trying to do a growth animation, Paths was using findshortestpath node to generate, animation driven by carve node. But after I dissolved all those overlapping paths, animation from carve node changed together. The main goal is maintain the carve node animation after I dissolved all those overlapping paths. I have tried some methods down below: attatch carve node before I get rid of those overlapping paths, create an attribute to save those points position. and then put a point wrangle after I get rid of those overlapping paths to transfer P attribute. (it will appear some lines connect to points in the beginning of animation, I dont know if my problem) attatch first carve node before I get rid of those overlapping paths, then create a point attribute, and transfer it after I dissolved all those overlapping paths, and use second carve node to pick up that attribute. (Because that attribute based on point, So when they travel through the position that between points will cause lag, like skip frames did.) I use carve node instead of clip node is because I need the first points actual moving, So I can pick up their Velocities to render motionblur. Any ideas? Match_Carve.hip Edited Tuesday at 05:05 PM by Sead Quote Link to comment Share on other sites More sharing options...
hannes603 Posted Wednesday at 06:44 PM Share Posted Wednesday at 06:44 PM untitled.mp4 maybe that helps you for the carving. cheers cost_simple.hip Quote Link to comment Share on other sites More sharing options...
Sead Posted Thursday at 02:17 AM Author Share Posted Thursday at 02:17 AM (edited) 7 hours ago, hannes603 said: untitled.mp4 51.11 kB · 0 downloads maybe that helps you for the carving. cheers cost_simple.hip 215.3 kB · 0 downloads Hi, Hanne. Thank you for reply. unfortunately, This is not what I after it. They might seem like the same, But they are not. Your result was when one path had grown, and another starts. What I after it more like, The others start to growth When the first one came by. Edited Thursday at 02:28 AM by Sead Quote Link to comment Share on other sites More sharing options...
hannes603 Posted Thursday at 10:52 AM Share Posted Thursday at 10:52 AM (edited) 8 hours ago, Sead said: Hi, Hanne. Thank you for reply. unfortunately, This is not what I after it. They might seem like the same, But they are not. Your result was when one path had grown, and another starts. What I after it more like, The others start to growth When the first one came by. you can simply but an offset or a noise to the cost attribute or use the meta data from the loop to change the timing and randomise like in the example below untitled.mp4 growth_carve_random_for_each.hip Edited Thursday at 11:09 AM by hannes603 Quote Link to comment Share on other sites More sharing options...
Sead Posted Thursday at 04:47 PM Author Share Posted Thursday at 04:47 PM 5 hours ago, hannes603 said: you can simply but an offset or a noise to the cost attribute or use the meta data from the loop to change the timing and randomise like in the example below untitled.mp4 growth_carve_random_for_each.hip 224.4 kB · 2 downloads Paths overlapping, I am new in houdini here, can you combine them in my .hip? Quote Link to comment Share on other sites More sharing options...
hannes603 Posted Thursday at 05:19 PM Share Posted Thursday at 05:19 PM rand_carve_with_cost_foreach.hip Quote Link to comment Share on other sites More sharing options...
Sead Posted Friday at 06:04 PM Author Share Posted Friday at 06:04 PM (edited) On 12/20/2024 at 1:19 AM, hannes603 said: rand_carve_with_cost_foreach.hip 321.94 kB · 3 downloads Thank you for reply. But this setup seems like quite heavy in my scene, Is another way could do it? I am thinking, is it possible to set an attribute that reference original carve node animation. (in this case which is "Second U" of original carve node) and then group all those longest paths, they start the animation first, then calculate their distance to not equal longest path group, (main goal is let others paths know longest paths have came) When the distance less to a value, and that attribute starts to kick in, and then use this attribute to drive Second Carve Node? I have done the group longest paths part, And i don't know how to do it next. mostly don't know is it possible? Anyway, Thank you for the help also, And I would like you to use my .hip file to the next step if not bother. Match_Carve_v2.hip Edited Friday at 06:06 PM by Sead Quote Link to comment Share on other sites More sharing options...
Aizatulin Posted yesterday at 12:17 AM Share Posted yesterday at 12:17 AM (edited) You can probably try to capture the u position of the parent prim using xyzdist() limiting to the Prim_ID you have defined. Once you have the u-parameter from the start and end point you can use the fit function (to fit them to 0-1). Match_Carve_mod.hipnc Edited yesterday at 12:18 AM by Aizatulin 1 Quote Link to comment Share on other sites More sharing options...
Sead Posted 1 hour ago Author Share Posted 1 hour ago (edited) On 12/21/2024 at 8:17 AM, Aizatulin said: You can probably try to capture the u position of the parent prim using xyzdist() limiting to the Prim_ID you have defined. Once you have the u-parameter from the start and end point you can use the fit function (to fit them to 0-1). Match_Carve_mod.hipnc 199.79 kB · 2 downloads Hi, Aizatulin, Thanks for replying. Your method seems like worked, I don't know how you do it, I try this before, But not with xyzdist(). More like capture the points position and transfer it to another. But situation in carve node is a bit complex, Because the ptnum will change, At the beginning ptnum was 0, Over time it became to growth.. and if you try to transfer position to them, at the beginning there is nobody home. Edited 17 minutes ago by Sead 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.