Download presentation
Presentation is loading. Please wait.
Published byAdele Lilian Collins Modified over 9 years ago
1
CS777 Project 1 Developing Maya Plug-ins for motion related projects Kyungsuk David Lee
2
Objectives Simplify the process in doing various motion related research Understand Maya’s architecture Create custom objects and commands that do what we want Modify custom object attributes using Maya’s user interface Get interactive response from Maya
3
Types of Maya Plug-ins Command Plug-ins Temporary objects Undo/Redo easily ex> group –empty –name UW –parent Wisc Dependency Graph Plug-ins Creates a node that stays in the scene Need to a mechanism to respond to changes in the environment ex> TransformNode
4
DAG Hierarchy (Directed Acyclic Graph) 2 Types of nodes Transform Nodes Shape Nodes DAGPath is needed to specify an object that is instanced example) |Transform1|Transform3|Leaf Object names can be reused as long as the same name does not appear on more than one DAG node with a common parent
5
Using Hypergraph to see DAG Hierarchy
6
Dependency Graph Nodes Stays in the scene and affects each other DAGNodes are also a type of Dependency Graph Node Does not have to be acyclic Uses plugs to communicate with each other
7
DG Node Attributes & Plugs Each node can contain static and dynamic attributes Plugs are used to connect the attributes that affect another Does not have to be acyclic between nodes Shouldn’t have cycles in the graph of affected attributes Push and Pull system to update the effect of changes
8
Using Hypergraph to see Dependency Graph
9
LoadBVH & LoadPlants Command Implemented in MEL Loads a BVH file into Maya Loads foot plant information from a file that is in a specific format We don’t need to use BVH files but the structure of a skeleton should be in UberSkeleton format for use with FootSkateSolver
10
FootSkateSolve Command Takes the currently selected DAGNode and if it has the proper hierarchy, does foot skate solving in ways described in Lucas Kovar’s paper. Limb stretches are done by joint scaling Commands can be easier to implement in MEL (Maya Embedded Language)
11
FootPlantLocator DG Node A Locator Node is a transform DAGNode that visualizes our custom object in ways we like Locator Nodes are not renderable Can be transformed using Maya’s UI ex> FootSkatePlant, Camera
12
FootSkateSolverNode A Dependency Graph Node that stores the original motion and could possibly do interactive FootSkateSolving interactively Connects the translate attributes of all the FootPlantLocators to its internal attributes by using plugs
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.