bretik Posted August 8, 2019 Share Posted August 8, 2019 (edited) Hi there, is there a way to have just last iteration of the for each loop? I mean the last "generation" ? Im scattering points, looping a copytopoint node. So it is growing mesh. But i would like to have just the new ones every frame. metadata from each loop maybe, somehow? I also have a popnetwork after scatter, to get age and tried to use "Just Born group". But I still get the whole mesh every frame (for obvious reasons) Iteration Method is by count. Im rising iterations with $F. Thanks. BK. Edited August 8, 2019 by bretik Quote Link to comment Share on other sites More sharing options...
DonRomano Posted August 8, 2019 Share Posted August 8, 2019 Hey, I don't really understand what you mean, but you can add an attribute to the point for each iteration, based on the detail attribute you have in the metadata node, and after your loop you can put down a blast node and keep the points of the iteration you want based on the attribute you created in the for loop Quote Link to comment Share on other sites More sharing options...
bretik Posted August 9, 2019 Author Share Posted August 9, 2019 (edited) Yes, Thanks Don, that's correct. Here is a file if anyone wonders how to use this. B. BK_for_loop.hip Edited August 9, 2019 by bretik Quote Link to comment Share on other sites More sharing options...
AntoineSfx Posted August 20, 2019 Share Posted August 20, 2019 On 8/8/2019 at 6:18 PM, bretik said: Hi there, is there a way to have just last iteration of the for each loop? I mean the last "generation" ? Im scattering points, looping a copytopoint node. So it is growing mesh. But i would like to have just the new ones every frame. metadata from each loop maybe, somehow? I also have a popnetwork after scatter, to get age and tried to use "Just Born group". But I still get the whole mesh every frame (for obvious reasons) Iteration Method is by count. Im rising iterations with $F. Thanks. BK. use Feedback mode in Block End / Gather mode. That way, you only output the last generation. Quote Link to comment Share on other sites More sharing options...
bretik Posted August 20, 2019 Author Share Posted August 20, 2019 Thanks, but, I have this "Feedback each iteration" but it output all generations... 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.