26-04-2012, 12:26 PM
Maya Programming Interface Overview
Maya.ppt (Size: 170 KB / Downloads: 41)
Dependency Graph (DG)
Data flow model
Data manipulated by series of operations
Pipeline
Push-pull model
DG - heart of Maya
Data and operations represented as nodes
Network of nodes to perform task
Add functionality by defining new node
The Scene
Entire 3D graphics state - the DG
Models
Animations
Textures
Lights
cameras
Programming interfaces hide much of DG complexity
Connecting attributes
Window->General Editors->Connection editor
OR
MEL: connectAttr sphere.tx cone.ty
Connecting Nodes
Connect nodes by connecting node attributes
Attribute can only connect to attribute of same type
Maya handles flow of data; node not ‘aware’ of connections
Connections: one-to-many mappings
When connections broken, node retains value