11 February 2011

MEL and Expression : Object and Attributes

Object : existed objects in a scene such as nurbs shpere, polygon plane, ambient light, Phong shader, etc.


These objects has original attributes. There are different types of attribute like attribute related to translation, rotation, scale ( translateX, rotateY, scaleZ), relate to shape (radius, spans), related to material (colorT, transparencyG, specularColorB) and many others.

In maya, the concept of "Node" is much important than object. This node is the minimum element to consist a scene. One object can be consisted with many nodes, each node has its own unique attribute.




nurbsSphere2 : Transform node



nurbsSphereShape2 : Shape node




Transform node has the value of translation, rotation, scale, Shape node has attributes related to its shape like radius.




Reference
  • Jo Sang Bum., 2002. programming with MAYA MEL & Expression. Seoul: Ahn Dae Sik
  • Autodesk Maya 2011, 2010. Autodesk Maya Online Help : Introduction. [online] Available at : < file:///Applications/Autodesk/maya2011/docs/Maya2011/en_US/index.html?url=./files/GS_Introduction.htm,topicNumber=d0e1838 > [Accessed 25 February 2011].
  • Jeon Gye do, 2000. MEL 4 Artists. [online] Available at: <http://gyedo.pe.kr/zbxe/mayaExpression> [Accessed 25 February 2011]

No comments:

Post a Comment