How to modulate light intensity?
Posted: Mon Sep 21, 2020 7:37 pm
Hello! Is it possible to change the leds light intensity through time? The idea is to modify the constant value of the intensity each simulation step.
<light id="l0"
position="0,0,0.5"
orientation="0,0,0"
color="yellow"
intensity="0.0" (i want to modulate the intensity, ex: sine wave)
medium="leds"/>
I thought about getting the light entity in a loop function and then changing the value in the PostStep() but I don't know how to use SetIntensity() command.
I would appreciate your help
Best regards
Romina and Tomás
<light id="l0"
position="0,0,0.5"
orientation="0,0,0"
color="yellow"
intensity="0.0" (i want to modulate the intensity, ex: sine wave)
medium="leds"/>
I thought about getting the light entity in a loop function and then changing the value in the PostStep() but I don't know how to use SetIntensity() command.
I would appreciate your help




Best regards
Romina and Tomás