Tuesday, May 10, 2011

Light Ramp Fall-Off

As an exercise, I wrote a PyMel script that would require the user to select objects in the scene. The script would check object types, identifying lights and cameras - and would then create a node tree that would allow for a ramp with random color attributes to be attached to the selected light's fall off.

As a result, all lights in the scene would give off unique falloffs based.
I thought this was pretty cool. I was also rather proud of this exercise because Python and PyMel are starting to make much more sense to me.

Next up - Data Visualization! This will also lead into my final project. More to come later.