Light By Cam
Simple Script and useful for several scenes with various cameras and lights.
This script turns on and off the lights according to the camera in view.
The name of the camera must be present on behalf of the light or in selectionSet.
If one light among all the cameras, it should contains “All” in the name.
P.s.: The name of camera need be in behalf the name of lights or in behalf in selectionSet.
---- V.1.1 - Add selectionSets with same name of the Camera
*P.s.: Is now possible to create a selectionset with the same name for the camera lights that are part of each camera
---- V.1.2 - Fix the bug, where the view not in cam.
Fix bug in selectionSets
For use “Run” the file in Max and Customize -> Customize User Interface… -> ToolBars -> Category: Kimarotta Scripts. Drag and Drop Script in Your ToolBar.
*suggestions are welcome