1
$\begingroup$

I have a question about the material of a grease pencil. How do I set different materials for the Grease Pencil objects duplicated in AnimationNodes?

Like motion graphics, I want to duplicate a grease pencil object to stagger its color and timing. I was able to use the Build Modifier and Animation Nodes to stagger the replication and timing, but not the colors. For example, object 1 to be red, object 2 to be blue, and so on, but they all have the same color. Apparently only the last one of the Loops has been generated. However, when I check with Loop VIewer, multiple materials should have their own colors.

I'd appreciate if you could answer this question. I have attached a .blend file, so I hope you can check it.

$\endgroup$
2
  • $\begingroup$ Hello, which version of AN are you using ? $\endgroup$
    – Gorgious
    Commented Jan 19, 2021 at 8:19
  • $\begingroup$ Thank you for reply. I'm using AN version 2.2.1 for macOS. $\endgroup$
    – Okurage
    Commented Jan 20, 2021 at 2:04

1 Answer 1

1
$\begingroup$

The Material Instancer node didn't work on my AN-version, so I used a Create Material List node and fed that in the Invoke Subprogram node. Now that I had a working tree I played around a little bit. After checking the Deep Copy option of the Object Instancer the different colours for the individual strokes appeared.

$\endgroup$
1
  • $\begingroup$ Thank you. I tried it as your answer and it was reflected normally. Different colours for the individual strokes appeared. It was very helpful. $\endgroup$
    – Okurage
    Commented Feb 6, 2021 at 8:05

You must log in to answer this question.

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