MEL Scripting & Maya’s C++ API

Слайд 2

Why do I care? Purpose: adding functionality to maya that doesn’t

Why do I care?

Purpose: adding functionality to maya that doesn’t exist

(yet!)
Great way to introduce a “technical element”
Слайд 3

CODE EXAMPLE Part 1: Programming in MEL

CODE EXAMPLE

Part 1: Programming in MEL

Слайд 4

Part 2: Writing Plug-ins in C++

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

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

How Maya Stores/Represents Data

Слайд 7

Accessing Nodes Maya node types: Subclasses of MFn::Type MFn::kMesh, MFn::kTransform, MFn::kLambert,

Accessing Nodes

Maya node types:
Subclasses of MFn::Type
MFn::kMesh, MFn::kTransform, MFn::kLambert, etc.
Accessed using maya

iterator types
Слайд 8

Using iterators: example

Using iterators: example

Слайд 9

Great. Now how do I do something useful with this? Use “function sets” to access attributes

Great. Now how do I do something useful with this?

Use “function

sets” to access attributes
Слайд 10

The Easier Way Download a plug-in that’s already been written: http://www.highend3d.com/maya/downloads/plugins/

The Easier Way

Download a plug-in that’s already been written:
http://www.highend3d.com/maya/downloads/plugins/