MEL%20Scripting%20 PowerPoint PPT Presentation

presentation player overlay
About This Presentation
Transcript and Presenter's Notes

Title: MEL%20Scripting%20


1
MEL Scripting Mayas C API
2
Why do I care?
  • Purpose adding functionality to maya that
    doesnt exist (yet!)
  • Great way to introduce a technical element

3
Code Example
  • Part 1 Programming in MEL

4
  • Part 2 Writing Plug-ins in C

5
Maya Plug-in Wizard for Visual Studio
  • http//www.highend3d.com/f/4139.html
  • Maya Libraries located in maya/x.x.x/include and
    maya/x.x.x/lib directories

6
How Maya Stores/Represents Data
7
Accessing Nodes
  • Maya node types
  • Subclasses of MFnType
  • MFnkMesh, MFnkTransform, MFnkLambert, etc.
  • Accessed using maya iterator types

8
Using iterators example
9
Great. Now how do I do something useful with this?
  • Use function sets to access attributes

10
The Easier Way
  • Download a plug-in thats already been written
  • http//www.highend3d.com/maya/downloads/plugins/

11
Additional Resources
  • Available in the Engineering Science Library
    (Wean 4th floor)
Write a Comment
User Comments (0)
About PowerShow.com