Archive for May 14th, 2008

MEL: Look through Light or Camera

Wednesday, May 14th, 2008

As a Lighting TD I find myself often having to look through different lights to position them correctly in the scene. Here’s a MEL procedure for opening the light (or camera) in a seperate window.
Usage: lookThrough( `ls -sl` );

proc lookThrough( string $selection[] ) {

    string $shapeType[] = `listRelatives -shapes $selection[0]`;

    string $type = [...]