Custom light setup
#1
Hi everyone!

Maybe you guys will have an idea of how to approach to this task Smile
I have a simple setup: randomly sized array of rectangular area lights (let's take 3x3 for simplicity). And I have a bunch of "forbidden" objects. When any light will see any "forbidden" object (i.e. object will cross the light's normal) it should immediately turn off. When the object is gone, the light will turn on again.

Lights probably will be generated with this technique https://youtu.be/Xf4bFMwyX7E
The questions for now are: how to trigger the lights and how to pass them that on/off state. I know that we have an option to transfer the light intencity from a custom float. But I don't know how to record it there Sad

My first approach was to mimic that light array with the long boxes and scale that boxes close to zero when they physically hit the "forbidden" object. But I didn't manage to scale them back when the object gone and make a proper loop from that.


Attached Files
.mp4   3x3_prv.mp4 (Size: 549.66 KB / Downloads: 11)
  Reply


Forum Jump: