Softbox Light MEL Script

Posted by on Jun 7, 2010 in code, lighting, MEL, rendering | One Comment

This PyMEL (Python) script creates a rigged light and procedurally textured reflector card, simulating a studio style soft box light. The rig is intended to be used for reflection or IBL when rendering using Mental Ray in Maya.

Usage tip: Select the locator on the rig, called “softBoxLightControl”, to find attributes to control Color, Shadows, and light Intensity.

note: The easiest way to position the light, without affecting the “roll” orientation of the reflector card, is to position (translate) the locator in one plane (ex: the X Y plane) to set the distance from the subject and light angle, then rotate the top node (pick-walk up once) in the Y axis to set the “horizontal” orientation.

XPM icon for shelf item.

If you prefer, you can download the older MEL version of this script here.

Email this to someoneTweet about this on TwitterShare on FacebookShare on Google+Share on LinkedInShare on StumbleUponShare on RedditDigg this

1 Comment

  1. martin
    March 15, 2013

    thank you for these lightrigs – they really enrich my workflow.
    great work !

Leave a Reply