View Single Post
# 119 29-07-2006 , 06:42 PM
arneoog's Avatar
Registered User
Join Date: Mar 2006
Posts: 189
user added image Don't know what to say user added image
user added image hehe :p



Object Editor GUI update:
Code:
window -title "Object Editor" -h 400 -w 570 objEditor0087;
rowLayout -numberOfColumns 2 -columnWidth2 174 310;
scrollLayout -h 366 -w 170 -backgroundColor 1 1 1;
 			                setParent ..;
 			setParent ..;
columnLayout;
text -label "Material Settings" -w 400 -align "left" -font "boldLabelFont";
	separator -h 10 -w 400;
 			shelfLayout -width 388 -cellWidth 34 -cellHeight 34;
shelfButton -annotation "Diffuse Shader" -image "indigo_diffuce.bmp" -command "diffuce";
shelfButton -annotation "Phong Shader" -image "indigo_phong.bmp" -command "phong";
shelfButton -annotation "Specular Shader" -image "indigo_specular.bmp" -command "specular";
shelfButton -annotation "Mesh Light Shader" -image "indigo_meshLight.bmp" -command "meshlight";
shelfButton -annotation "Metal Shader" -image "indigo_metal.bmp" -command "metal";

 				setParent ..;

rowLayout -numberOfColumns 2 -columnWidth2 140 240;
text -label "*Name Of Material Type*" -w 140 -align "right";
textField -w 180 -text "*the material's name*";
 			                setParent ..;
rowLayout -numberOfColumns 2 -columnWidth2 140 240;
text -label "Material Sample" -w 140 -align "right";
picture -image "" -w 64 -h 64 -backgroundColor 0.5 0.5 0.5;
 			                setParent ..;
	separator -style none -h 5 -w 400;
scrollLayout -h 130 -w 388;
 			                setParent ..;
	separator -style none -h 5 -w 400;
optionMenu -label "Add Existing Materials";
		menuItem -label "?????";
	separator -style none -h 5 -w 400;
text -label "Object settings" -w 400 -align "left" -font "boldLabelFont";
	separator -h 10 -w 400;
checkBox -label "Normal Smoothing" -value 1;

 			                setParent ..;
 			setParent ..;

			showWindow;