1
$\begingroup$

I'm trying to Animate / turn lights on and off in a specific order using geometry nodes. The numbers are the order I wish them to turn on/off. So when 1 is turned on all others are off, when 2 is turned on all others are off, etc... Can geometry nodes do this?

img1

iimg2

$\endgroup$

1 Answer 1

2
$\begingroup$

An individual assignment of materials is only possible if they are no longer instances (==copies of a single object), but a freely processable mesh.

For this you have to use the node Realize Instances. But first you would have to capture the index of the instance with Capture Attribute to be able to work with it further:

enter image description here

However, there are also situations where the objects should remain as instances. For this the following solution would fit, where you simply build a kind of switch at instantiation, where you decide which points should instantiate which objects:

enter image description here


(Blender 3.1+)

PS: I don't know how you want to control the lights, but you could solve the animation for example with the help of the node Scene Time. Maybe the math node Snap will help you further on.

$\endgroup$

You must log in to answer this question.

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