WildayHeart Posted September 20, 2018 Share Posted September 20, 2018 Hello Guys, i am struggling with something and i am asking for help. What i want is quite simple in theory. I have points from a particle sim and i want those points to have trails that have a different length for each point - can be totally random, but should the length should just differ in some ways. I am unable to change the length in the trail sop for each point - i tired a for each loop over every point and using the "iteration" etc. but somehow could not get it to work. I also tried to use the points as source for another particle sim, but also that way i did not find anyway to have them emit particles in a trail like way and having different lengths. Also the particles then got new IDs, so it is hard to group them (to get lines from the add sop via attribute) Same with the sourceptnum - there are sometimes points from the same source point emitted (with time in between) and they should not go together. I have attached a scene file that hopefully further clarifies my issues. My request/challenge would be - take this scene and give each point a different trail length and connect the trails to a line! All the best! trails.hiplc Quote Link to comment Share on other sites More sharing options...
fencer Posted September 20, 2018 Share Posted September 20, 2018 Something like trails_v02.hiplc 6 Quote Link to comment Share on other sites More sharing options...
Jaron Posted September 20, 2018 Share Posted September 20, 2018 (edited) My go: Uses SOP solver to add time, deletes based on new age. Although recommend Fencer's version. trails.hiplc Edited September 20, 2018 by Jaron 2 Quote Link to comment Share on other sites More sharing options...
WildayHeart Posted September 20, 2018 Author Share Posted September 20, 2018 Hi fencer! Thanks for your file - i definitely like the non linear motion version! Looks really good! With the linear version i only have the problem, that the lines get drawn the moment the particle is created. The non linear version is great though! Thanks for the help! On a side note - should it not somehow also be possible with the popreplicate? I found another thread that got a similar example using the older split pop node. Anyway - really liking the solution! Quote Link to comment Share on other sites More sharing options...
Atom Posted September 20, 2018 Share Posted September 20, 2018 Here is a third option as well. ap_trails_v02.hiplc 3 1 Quote Link to comment Share on other sites More sharing options...
WildayHeart Posted September 20, 2018 Author Share Posted September 20, 2018 This is also a nice solution - pretty straight forward with the wrangles. Thanks for posting the file. I am happy to see there was not one button i missed or something like that. Another thing i did is just grouping the points based on the rand(@id) and divided them into a few groups. With each splitting off to a different trail sop. Not the most elegant way, but what the hell. Quote Link to comment Share on other sites More sharing options...
fencer Posted September 20, 2018 Share Posted September 20, 2018 1 hour ago, Atom said: Here is a third option as well. ap_trails_v02.hiplc Foreach non hardcore))) btw in this case "carve" can be used Quote Link to comment Share on other sites More sharing options...
karanjaura Posted September 21, 2018 Share Posted September 21, 2018 18 hours ago, fencer said: Foreach non hardcore))) btw in this case "carve" can be used the "carve" version ap_trails_v03.hiplc 3 Quote Link to comment Share on other sites More sharing options...
WildayHeart Posted September 21, 2018 Author Share Posted September 21, 2018 Thanks for that karan! Really cool of you guys that you keep adding your setups to the existing ones. This way there should be a method for anyone^^ Is there a technical reason why the trail sop for example cannot read in attributes? 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.