ITeye博客

欣龙

DragonXin · 共 8 篇文章

After Effects Basic

对比度:画面黑与白的比值,也就是从黑到白的渐变层次,一般来说对比度越大,图像越清晰醒目,色彩也越鲜明艳丽; 而对比度小,则会让整个画面都灰蒙蒙的。

2011-01-13 22:56 · After Effects · 评论(0)

3dlight Install

Install 3delight. Open a dos window and type: licutils hostid Write down your hostid. 3.Get license.dat Copy the license.dat file to your installed dir (c:\program files\3delight for instance) Start the license server with bat file licserver.exe -d "C:\Program Files\3Delight\license.dat"

2010-12-03 00:40 · Rendering&Lighting · 评论(0)

Mirror shave mel

/* * Problem:mirrored shave shorter than original * * Create: Dec 22 2009 Last Modify: * */ proc shaveMirrorWin() { if( window -exists mainWindow == true) deleteUI mainWindow; window -sizeable true -minimizeButton true -maximizeButton false -menuBarVisible false -widthHeight 200 300 -title "Mirror …

2010-11-20 08:08 · Maya · 评论(0)

次级骨骼生成

#此脚本在python中运行 #选择所需要的面,执行脚本即可生成次级控制骨骼 #对话框中输入角色名字 如:“xr_JYB_L_brown_”,"xr_JYB_mouth_" #如遇到旋转,可将locator属性 fixPolyFlip 打开。 import maya.cmds as mc import maya.mel as mm jntg = aShape = selFace = mc.filterExpand( ex=1, sm=34 ) for h in selFace: mm.eval('cMuscleSurfAttachSetup()') a = mc.ls(sl=1) for p…

2010-11-05 00:42 · Maya · 评论(0)

表达式驱动手指

//curl控制主要弯曲程度值 relax控制弯曲程度浮动值 /////////////////////////////////////////////////////R_finger////////////////////////////////////////////////// R_thumbA_skin_jnt.rotateX=R_thumbA_ctrl.rotateX+R_finger_ctrl.ThumbAx; R_thumbA_skin_jnt.rotateY=R_thumbA_ctrl.rotateY+R_finger_ctrl.ThumbAy; R_thumbA_skin_…

2010-11-02 21:31 · Maya · 评论(0)

Maya Node frameCache

frameCache的简介和基本用法: frameCache是maya的一个节点,可以将输入的数值延时输出; 在用户界面上是找不到的,但是可以通过mel命令来建立; createNode frameCache -n "frameCache_test"; //建立一个名为frameCache_test的frameCache节点; //假如Pa为移动物体; //Pb为跟随物体; connectAttr -f Pa.tx frameCache_test.stream; //链接Pa的tx到frameCache_test的stream上,输出Pa的tx运动给frameCache; connectAt…

2010-10-19 10:47 · Maya · 评论(0)

Setup Panel

Face Panel for setup(Update to Maya2009) import maya.cmds as cmds def createPanelWin(): if cmds.window('faceWin', exists=True): cmds.deleteUI('faceWin', window=True) if cmds.window('faceWin', exists=True): cmds.windowPref('faceWin', remove=True) cmds.window('faceWin', title='Face', widthHeight=(350…

2010-10-08 14:02 · Maya · 评论(0)

Functools-partial

functools.partial(func) 只为函数提供部分参数,同样可以返回一个可操作的对象 import maya.cmds as cmds from functools import partial def myfunc(inst=None, thing=None, arg=None): print 'arg: ', arg print 'inst: ', inst print 'thing: ', thing data = cmds.button(inst.btnA, query=True, label=True) print data class ui(): def init …

2010-10-08 11:58 · Maya · 评论(0)