The goal was to have a single proc command that you can call on to make both materials. Using what I wrote, you'd change these lines in both your buttons. symbolButton -w 40 -h 40 -image "blinn.svg" -c "createMat("blinn")" ; symbolButton -w 40 -h 40 -image "blinn.svg" -c "createMat("lambert")" ; I know this stuff can be…
Hi, this code is modified by bodizz (he gave me the blinn command ) but I want to add lambert material also so I changed in the Blinn material command. After changing the blinn command they both are working as a Lambert command or lambert material how can I make it unique. proc createMat(){ string $sel[] = `ls -sl`; string…