I created this class called LightController.py, which is a work in progress at this point.
I uploaded the code to my Git Hub repo just so it is here if anyone wants to verify what I think is a bug.
https://github.com/DataJuggler/PythonScripts/blob/main/LightController.pylightName = "Point Light"
all_lights = RLPy.RScene.FindObjects(RLPy.EObjectType_Light, lightName)
This same code works for Spot Lights and Directional Lights, so not sure why I can't find any Point Lights
I also tried:
all_lights = RLPy.RScene.FindObjects(RLPy.EObjectType_PointLight, lightName)
I was excited to have a tool to turn off all lights till I realized I couldn't find Point Lights.
I haven't tried the singular FindObject, I am trying that now but it seems something could be wrong since I can find the other two light types.
Thanks
In this Before / After pictures, everything hides but the Point Lights around each shoe.
Creator of the free website:
PixelDatabase.Net
A Free Online Text Based Image Editor
Edited
3 Years Ago by
Data Juggler