1
$\begingroup$

following How to store particle locations in a list?

you can trace particles to splines (list), but

how can we have a random color in the material for each of the splines...

they are all in one object so Object Info -> Random doesn't work,

I don't wanne to copy/split this afterwards...

maybe/I think the animation nodes tree can expanded somehow, but I a too noob with it...

$\endgroup$
1
$\begingroup$

There are several methods:

  1. In blender 2.82, In geometry node there is a socket "random per island", that will generate color for separated meshes within the same object. Be aware, currently this socket can only work for cycles, not possible in eevee. enter image description here

  2. while using "curve object output" node, it's preferred in a loop, and input an object list. Since you are making them multiple objects, you can use "object info - random". This method allows you work in eevee, and transform different splines separately. enter image description here Must a method over the other? I don't think so.

Edit: Specifically in particle tracing, it's exactly the same principle. You are outputing multiple splines, before you curve object output anything, simply generate a loop that input iterators of object list and spline list. and it will solve the problem.

$\endgroup$
3
  • $\begingroup$ okay I see, but, can the traced particle splines like it the orignal post, be transformed into individual splines !? $\endgroup$ – sonicdee Jan 13 '20 at 10:15
  • 1
    $\begingroup$ It's the same principle. In particle tracing, you are outputing multiple splines. generate a loop that has iterators of object list and spline list. and output curve within the loop, will solve this problem. If you are still not clear, see the edit of this post. $\endgroup$ – Gertsmann Bradley Jan 13 '20 at 11:03
  • $\begingroup$ wow - AN is getting more clear to me now ! $\endgroup$ – sonicdee Jan 13 '20 at 12:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.