colorAtPoint Maya command

Expressions for transforming nodes via pixel values.

[text]
string $cubes2[] = `ls -type transform "newCube*"`;
for( $each in $cubes2) {
float $u = `getAttr($each + ".translateX")`;
float $v = `getAttr($each + ".translateZ")`;
float $capValueF[] = `colorAtPoint -o RGB -u (($u+40)/80) -v (($v+40)/80) file1`;
setAttr ($each + ".scaleY") (($capValueF[0]+$capValueF[1]+$capValueF[2])*10);
setAttr ($each + "Lam.incandescenceR") $capValueF[0];
setAttr ($each + "Lam.incandescenceG") $capValueF[1];
setAttr ($each + "Lam.incandescenceB") $capValueF[2];
}
flushUndo;
[/text]

Errol Morris

Errol Morris is a documentary filmmaker famous for his investigatory films.

Check out an engaging interview with Morris here.

Filmography:

Gates of Heaven (1978)
Vernon, Florida (1981)
The Thin Blue Line (1988)
The Dark Wind (1991)
A Brief History of Time (1991)
Fast, Cheap and Out of Control (1997)
Mr. Death: The Rise and Fall of Fred A. Leuchter, Jr. (1999)
First Person (2000)
The Fog of War: Eleven Lessons from the Life of Robert S. McNamara (2003)
Standard Operating Procedure (2008)
Tabloid (2010)

Vegas CES

Traveling to Vegas, January 10th through the 16th, for the Consumer Electronics Show. We will be featured in the Samsung booth, showing off our app ComicBook!.

Check out ComicBook! here.

Python import modules

Simple workaround to setting the environment variable, so that you can import custom modules saved at the specified path.

[py collapse=”False”]
import os,sys
sys.path.append(‘/path/to/modules/’)
[/py]

Else to set the environment variable on the Mac by adding:
[py collapse=”False”]
export PYTHONPATH=/path/to/modules/
[/py]
to the .bashrc file