Light By Cam

Version: 
v.1.2
Date Updated: 
06/18/2012
Author Name: 
Willian Kim Marotta
Additional Info: 

Simple Script and useful for several scenes with various cameras and lights.

Description:
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

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
JokerMartini's picture

Interesting but creative

Interesting but creative script.
Thanks for sharing it here on script spot.

John Martini
Digital Artist
http://www.JokerMartini.com (new site)

kimarotta's picture

Yeah Thanks, Crystal3d... Now

Yeah Thanks, Crystal3d...

Now I added selectionset to work with the same name of the camera.

But I do not understand the question of "renderable"...

kimarotta.com.br
3d Artist  

crystal3d's picture

i think naming has become a hassle,

i would assing selection sets to camera so that the script would perform on the lights in that selection.

I would add object's "renderable" attributes to the mix , sure if i had the knowledge.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.