摘要:1. 分为以下几类: (1) data classes: 用来访问scene中的geometry 和 shaders (2)scene override: 主要是用户自定义的drawing 、shading和effects (3)Rendering overrides: custom renderi
阅读全文
摘要:---恢复内容开始--- 1. File Translator可以将信息从maya中导入和导出。 2. 创建一个file translator需要从MPxFileTranslator继承。 3. 函数介绍: (1)::canBeOpened()方法决定了file translator是否可以打开文件
阅读全文
摘要:1. The control points are attributes on the shape which are usually arrays of points. Control points become interactive, i.e. they can be selected and
阅读全文
摘要:1. Manipulators是可以用三维进行绘制的的节点,可以将用户行为值化,对其他节点的属性进行modify。 2. 属性值可以通过Channel Box 和Graph Editor进行修改。同其他的dg节点不一样,manipulator直接修改属性值,而不通过plug。 3.可以用以下几种方法
阅读全文
摘要:1.DG是dependency graph,我认为是依赖图,和DAG(有向无环图)的区别:DAG用来做场景管理,每个node代表的不是tranform就是shape,有父子关系。 DG是代表了每个实体节点之间的相互关系,通过plug,从output到input,再在每个DG节点中,对数据进行存储和计
阅读全文
摘要: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.首先我使用的平台是xcode version 5.1.1 ,MAYA2015, MAX OS X 10.9.4。 MAYA2015要求的是:Mountain Lion 10.8.5, Xcode 5.0.2 with SDK 10.8 (Mountain Lion), clang with l...
阅读全文
摘要:1、maya主要用于建模,动画, 视觉特效,游戏, 和模拟 一般分为以下几类: l 建模: ploygons, nurbs, subdivision surfaces 这是不同的建模方法. polygons 是创建模型表面通过建立和reshapeing一些简单的面. nurbs则是方便你创建平滑的弯曲的表面通过一些高级的控制 subdivision surfaces 则允许你编辑所有表面的一个子集,如果表面是由polygon构成的话。 l character rigging,角色绑定。大多数的动画中有character,articulated models铰链...
阅读全文