For an application that is essentially just a bunch of open mel scripts, Extensibility is a BUILT IN Maya function. And was at one time celebrated for it.
Hey there. Begginer question. Is it possible in MEL to convert string text back to variable name. Here is rough example: $x=smoothstep(0,30,frame); $y=smoothstep(50,60,frame); $a=$x*$y; //down the script i have this: string $a="$x*$y"; Can i convert it back from string variable to $a=$x*$y; consisting corresponding values…
Hi guys, I'm currently wondering how I could do this little trick. Converting the rotations of the perspective camera in a vector (giving me the direction of the camera). I'm so dumb in maths that I can't figure it out. :poly136: I already know how to get the camera values and how to play with vectors in Mel, but doing…
I've gotten really interested in the fur via alpha mapped dots: example from bobo And I was wondering if there is any way, within maya, to take some paint effects grass or fur, place 3 or 4 planes bisecting the grass/fur and run a MEL script to say "wherever a blade of grass/fur passes through a plane, render a cross…
ya when i have some time i cold rewrite your match procedure in python. also if you want to go aobut jump from mel to maya, you should prolly just use the maya.cmds and stick away from pymel, since useing maya.cmds is more similar to mel, since it allows a purely procedural scripting style like mel. pymel will force you…
Disconnecting the LUT manually every time via the hyper shader became tedious I made myself a shelf button with this mel code inside: disconnectAttr file9.outColor MI_GenericUberShader.TEX_brdf_lut; Of course you would have to adjust it to your materials name. Surely some real mel wizard would also know how to run this on…