0

I want to colorize these stylised bronchial tubes in an animation from the top (wider tube) to the bottom (narrow tubes). Do you have an idea how to achive this? Maybe with animation nodes? How would you do it?

Ideas are very welcome, thank you in advance!

enter image description here

Chrischan
  • 130
  • 1
  • 5

1 Answers1

1

I would do a UV Unwrap > Project from View, align the UV islands (subtrees) along the Y(V)-axis, and use a UVWrap modifier with 2 Empties or a driver in the Mapping Node to animate it:

example animation

If you want to make it perfect you need to rotate and align every branch top-down. I did it only for the main branches:

UV map

Set the extrapolation mode for the Image Textexure node to Extended:

material setup

Use the UV Warp modifier or the Y value of the Mapping node to animate the color.

Blunder
  • 13,925
  • 4
  • 13
  • 36