摘要:DAG 节点有两种,Transformation/shape。 shape节点是transformation的子节点。 transformation节点包括position, rotation, scale, parents infromation. A dag path 代表从root node到
阅读全文
摘要:1. Tool Property Sheets: 是用来更改context属性的编辑框,类似于attribute editor。(property和attribute本质上是一个意思)作用于activated context。The tool property sheet for the acti...
阅读全文
摘要:context command是用来新建自己的工具,可以调用OPENGL,获取鼠标操作函数,在view窗口画自己想画的东西。(我是这麽理解的,可以以后再确定一下)下面是一个context command的例子,通过例子来说明context command的代码怎么写,又怎么样来activate。包含...
阅读全文
摘要:1. MAYA API支持不同类型的plugin (1)Command Plugin——扩充MEL命令 (2)Tool Commands——通过鼠标输出 (3)DG plugin——对场景添加新的操作 (4)Device Plugin——让其他的device链接到maya2. registe...
阅读全文
摘要:1. 命令通常从selection list中得到input, 调用MGlobal::getActiveSelectionList(MSelectionList &dest, bool orderedSelectionIfAvailabel=false).得到MSelectionList和MItSe...
阅读全文
摘要:只是作简单的了解。1区别(1)Python scripts:可以在Maya的script editor 执行。用于扩展maya.cmd模块。The import statement below is typically found at the head of Maya Python scripts...
阅读全文
摘要:For example, a fully implemented render utility node will have at least three files:the plug-in file containing the node;an Attribute Editor script;an...
阅读全文
摘要:1. 两种方式:(1)plugin:实例在:C:\Program Files\Autodesk\maya2015\devkit\plug-ins(2)standalone API application:C:\Program Files\Autodesk\maya2015\devkit\applic...
阅读全文
摘要:#include #include DeclareSimpleCommand( hello, "Autodesk", "2013");MStatus hello::doIt( const MArgList& args ){ cout #include #include #include #in...
阅读全文
摘要:1.静态链接库:就是在编译的时候把库中代码复制进工程中,导致工程变大,但是速度快。缺点在于一套代码可能在内存中有多份拷贝,占用内存。2.动态链接库:库由windos api加载库代码,内存中只有一份拷贝。工程中只保留链接到这份代码的引用,有两种动态链接库, (a)load time dynamic...
阅读全文