Thursday, May 14, 2009

Let's comedy!

I was watching the comedic show performed by Zhou Libo just now, making me LOL many many times. I was depressed these days because my mom is seriously sick. I was trying to be happy. However, nothing could make me laugh to my heart.

Having watched Zhou Lobo's comedic show, I felt so well.

The story of my Master Project seems too depressed. I hoped that the animation could give a hand to those people who were suffering from depression. Why did I decide to say a depressed story? How can a depressed story help a depressed person? I questioned myself.

I think I should make audiences be happy. Yes. The world needs comedies.

OK! My story will be changed. It will make you smile. Oh no! Not just smile, laugh please. hehe....

The solution to the "bump shade" error

An error happened when I used Mental Ray’s misss_fast_skin_maya.
I couldn't open bump shade values.

The problem happened on both PC and Mac. The same error:

// Error: Cannot find procedure "AEmisssSimpleMayaBumpReplace"

Finally, I found the solution on CG Society forums. So share the solution on my blog.

Find the mel file: AEmisss_fast_skin_mayaTemplate.mel
Open it by Texteditor.
Find line 149.
And replace the code of line 149 with:

editorTemplate -callCustom "AEmisssSkinMayaBumpNew" "AEmisssSkinMayaBumpReplace" "normalCamera";

Then save the mel file.

I also tried another method mentioned on CG Society forums.
Create a new mel file and name it as AEmisssSimpleMayaBumpReplace.mel
Enter the code:

global proc AEmisssSimpleMayaBumpReplace(string $attr) {
attrNavigationControlGrp -edit
-attribute $attr
bumpControl;
}


And then place the new mel file in scripts folder. But it didn't work for me.