1
$\begingroup$

In animation nodes is it possible to take an object data path output and run it with an instancer? I am trying to give a ghost type effect to the wave modifier on text. Throught the wave of the text, I want to be able to see a slightly invisible version of where its going.

I can do what i want to an object, but the modifiers do not get instanced in animation nodes.

also it looks as if I am instancing it, however that is just the data from the wave modifier, as well as the wave modifier applied to the object. I cant get more than these 2 instances or manipulate the second instance (x,y,z space ect.)

enter image description here

$\endgroup$

1 Answer 1

1
$\begingroup$

Actions in Animation Nodes are abstractions of F-Curves, or possibly other data. So actions are not effective when it comes to animations that depends solely on data such as the current frame in this case.

If I understand what you want to do correctly, you can use the time offset parameter of the wave modifier. So, instance your objects using the Copy Full Object option to copy the modifiers from the source object to the instance, and modulate the time offset parameter using an attribute output node as follows:

Node Tree

Ghosting Value

What you can do is set the pass index of object to an arithmetic sequence, then in the shader, sample the object's pass index, and divide it by the number of instances as follows:

Node Tree

$\endgroup$
7
  • $\begingroup$ Omar your the man, How would you get these instances into a list, to add colors for each instance? Im trying to go from the object action output to invoke subprogram, but as far as I can tell it will not modify the colors, once it is brought into the shatder with the attribute node. $\endgroup$ Jan 12, 2019 at 20:38
  • $\begingroup$ Sorry Omar, figured it out, didnt have the viewport on render $\endgroup$ Jan 12, 2019 at 20:42
  • 1
    $\begingroup$ @NickSieben Also, make sure to check Deep Copy when editing mesh data such as vertex colors. Moreover, since your colors are merely evenly spaced grey scale values, you can set the Object Index of the objects and use the output from the Object Info node to color your objects. Let me know if you want me to elaborate on that. $\endgroup$
    – Omar Emara
    Jan 13, 2019 at 7:12
  • $\begingroup$ yes I would appreciate if you could elaborate on that. Thank you $\endgroup$ Jan 13, 2019 at 20:03
  • 1
    $\begingroup$ @NickSieben I elaborated on the coloring method. Feel free to ask a more specific question if you want. $\endgroup$
    – Omar Emara
    Jan 13, 2019 at 20:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .