Type of material

Is there any way to find out what type a given material is through mel.
Is it Lambert, Blinn, Anisotropic, etc.....

Novy Dhillon
Radical Entertainment Inc.
Vancouver BC.
ndhillon@radical.ca

ls -st blinn3;
// Result: blinn3 blinn //

BTW.. I looked into if it was possible to change the type but I did not find a way

---a note from our sponsor---
Have you tried searching highend3d?

www.gmask.com

How about:
nodeType blinn1;
// Result: blinn //

rokl

If you want to change the type of a material you can do the following:

If you don't call delete yourNode then yourNode will still exist. This way you can make a bunch of materials based on yourNode by repeatedly calling replaceMaterial.

Gordie Neill
Software Engineer
Alias|wavefront