Soften those distant lights
Download (2kb) -- Put it in the Tool folder in the scripts folder.
I humbly submit my first (usable) little script, made because I was working on something where I wanted a softer shadow than what the distant light casts. It simply clones and rotates the selected distant light a specified number of times, dimming them appropriately as it goes, and puts the new lights in a tidy folder named after the original light's name.
Not too special, but I hope someone finds it useful. Any suggestions or modifications are welcome. Perhaps it could be combined with Todd's sun script?
Oh, and Martin, a couple things I learned from making this... I was surprised to find that a script-made DISTANTLIGHT object is not quite the same as a normal light set to distant -- is there any big difference, aside from fewer options? Also, when typing a value in a text field and then clicking right on an action button, sometimes the field reverts to its old value; thought you should know. And lastly, is it right that the addParameterBool documentation has min and max values?...
Download (2kb) -- Put it in the Tool folder in the scripts folder.
I humbly submit my first (usable) little script, made because I was working on something where I wanted a softer shadow than what the distant light casts. It simply clones and rotates the selected distant light a specified number of times, dimming them appropriately as it goes, and puts the new lights in a tidy folder named after the original light's name.
Not too special, but I hope someone finds it useful. Any suggestions or modifications are welcome. Perhaps it could be combined with Todd's sun script?
Oh, and Martin, a couple things I learned from making this... I was surprised to find that a script-made DISTANTLIGHT object is not quite the same as a normal light set to distant -- is there any big difference, aside from fewer options? Also, when typing a value in a text field and then clicking right on an action button, sometimes the field reverts to its old value; thought you should know. And lastly, is it right that the addParameterBool documentation has min and max values?...
Attachments
Last edited: