Tuesday, May 31, 2011

lights camera....scripts!

global proc dkLights ()

{

string $myLights[] = `ls -lt`;

// compartment for all the lights

global string $eachLight;

for ($i = 0; $i

{

$eachLight = $myLights[$i];

// string $eachLight = `getAttr $eachLight`;

print ($eachLight+ "\n");

//what kind of light is each one?

string $typeOfLight = `objectType $eachLight`;

//rename the lights so we can have the appropriate icon

if ($typeOfLight == "spotLight")

$iconPic = "spotlight";

if ($typeOfLight == "directionalLight")

$iconPic = "directionallight";

if ($typeOfLight == "pointLight")

$iconPic = "pointlight";

if ($typeOfLight == "areaLight")

$iconPic = "arealight";

if ($typeOfLight == "volumeLight")

$iconPic = "volumelight";

if(`window -q -exists "lightsInScene"`)

deleteUI -window "lightsInScene";

string $window = `window -title "Lights In Scene" "lightsInScene"`;

columnLayout -adjustableColumn true;

rowLayout -numberOfColumns 10;

iconTextCheckBox -style "iconAndTextVertical"

- image1 ($iconPic +".png");

text -label $typeOfLight;

$newName = `nameField -object $eachLight`;;

print ( "bambi" + $newName);

$intesityOfLight = `attrFieldSliderGrp - attribute ($eachLight +".intensity") -min 0 -max 10 -label "Intensity"`;

string $colorForLights = `attrColorSliderGrp -attribute($eachLight +".color") `;

//string $intesityForLights = `floatSlider

checkBox -label "Emit Diffuse" ;

//checkBox -label "Illuminates by Default";

checkBox -label "Emit Spec";

button -label "attEditor";

showWindow;

};

}


Still early.. but making a light tool so you can see every light in the scene and tweak all of them at once. Big ups to Diana Zeng on the problems with lights to this one. Have to tool to download sometime this week.

Monday, May 30, 2011

rigged!


if I have time this term i so want to do some facial rigs. scripting coming through in the clutch. Robot and girl are rigged. gotta redo some wieght maps but pretty stoked. Gotta work on the twin and the buildings.

Friday, May 27, 2011

keep on testing!


dont know why my shoes got jacked up. but deal with it tommorow. gotta work on rasputin. and robots now. It never seems to stop at here! Using a combination of normals but for some reason maya does not like it and marmoset does. weird. Eh.

Tuesday, May 17, 2011

messaround


just messing around in zbrush this morning. Quick head study and muscle groups. Blinn shapes in zbrush and layers are way cool! Been scripting too, Don't know how many people look at this blog but put I'll put up some scripts I'm workin on.

Thursday, May 5, 2011

catapilla WIP.

Getting this show on the road. Gotta get to scripting. Working on another project with my partner in crime Mari. Post up real soon!

Monday, May 2, 2011

bugzzz WIP!

bugg sult for creature design class. Had some help from my teach on proportions on this guy. Now to make claws!