Oscar In Da House

By nikos | June 15, 2008

Oscar In Da House

I don’t want to brag or anything, but I had the honour to hold the Oscar for approximately 53 seconds in a rare photo opportunity. This was for the work undertaken by Cinesite on the Golden Compass movie.

How coOol is that?!

Hmm… ok maybe not that cool, but at least I now know that it’s not made of plastic.

As a matter of fact its damn heavy. :)

Topics: Misc | No Comments »

MEL: Setting the color for multiple lights

By nikos | May 16, 2008

Here’s a snippet if you want to set the RGB color for multiple lights at once.

colorEditor;
  1. if (`colorEditor -query -result`) {
  2.     string $lights[] = `ls -sl -dag -type light`;
  3.     float $values[];
  4.     $values = `colorEditor -query -rgb`;
  5.  
  6.     for ( $l in $lights ) {
  7.         setAttr ($l + ".color") -type double3 $values[0] $values[1] $values[2] ;
  8.    }
  9. }

Topics: Maya | No Comments »

Save Our Soho

By nikos | May 15, 2008

A pub in Soho
Apparently Westminster Council is proposing to impose a ban on all outdoor drinking in Soho, in the heart of London’s West End. Considering how cramped conditions already are in the pubs it would be near impossible to enjoy oneself on a night out.

From a health point of view it is obviously good because fewer people would go out drinking, but it would spell a disaster for the balance sheets of the pub owners and also Soho would lose a lot of its charm.

If you are a London resident you can sign a petition on the governments website here:
http://petitions.pm.gov.uk/SaveOurSoho/

Topics: Misc | No Comments »

MEL: Look through Light or Camera

By nikos | May 14, 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[] ) {
  1.     string $shapeType[] = `listRelatives -shapes $selection[0]`;
  2.     string $type = nodeType( $shapeType[0] );
  3.  
  4.     if ( $type == "spotLight" || $type == "areaLight" || $type == "volumeLight" || $type == "camera" || $type == "directionalLight" ) {
  5.         string $wndName = "";
  6.         string $cmdStr;
  7.         string $whichPanel = `getPanel -withLabel $selection[0]`;
  8.         string $panelType = "modelPanel";
  9.         string $panelLabel = $selection[0];
  10.  
  11.         $wndName = $whichPanel + "Window";
  12.  
  13.         if ("" != $whichPanel) {
  14.             if (`panel -q -to $whichPanel`) {
  15.                 showWindow $wndName;
  16.             }
  17.             else {
  18.                 $cmdStr = ($panelType + " -e -to " + $whichPanel);
  19.                 eval $cmdStr;
  20.             }
  21.         }
  22.         else {
  23.             $cmdStr = ($panelType + " -l \""+ $panelLabel +"\" -to;");
  24.             eval $cmdStr;
  25.             $whichPanel = `getPanel -withLabel $selection[0]`;
  26.         }
  27.         lookThru $whichPanel $selection[0];
  28.     }
  29. }

Topics: Maya | No Comments »

Welcome

By nikos | May 12, 2008

Welcome to my brand new blog from WordPress! On these pages I will blog a little bit of anything that comes into my mind. Stay tuned…

Topics: Misc | No Comments »

Next Entries »