This is a pretty simple script, that craetes lights (either Spotlights or Pointlights) based on the vertexpostions of any polygonal surface.
How does it work?
Just source the script to execute it. After sourcing u can type customLightdome in the command line to execute it.
Upon executing a little UI should pop up. All the stuff in there is pretty self explanatory.
Select a polygon object in your scene and hit the "load Source Object" button.
Chose the type of lights you want to create and hit the "create Dome" button.
For every Dome a locator will be created (at the position of the source Objects pivot point) that offers some control over the lights. To acces these controls, select the locators shapenode and expand the "extra attributes" tab in the attribute editor. Spotlights are aimconstrained to the locator.
WARNING: Please make sure to safe your scene before using this script, or test it in an empty scene.
If youload an object with thousands of vertecies and hit "create Dome" maya might crash.
so USE AT YOUR OWN RISK;)
If you have any comments, requests, suggestions or actually found a use for this script, drop me a mail, i would be glad to hear about it:)
Please use the Feature Requests to give me ideas.
Please use the Support Forum if you have any questions or problems.
Please rate and review in the Review section.